How to Fry an Egg

By the Pan AI team · Updated · 6 min read · Leer en español · Ler em português

Quick answer

To make a sunny side up egg, melt 1 teaspoon of butter or oil in a nonstick or well-seasoned pan over medium-low heat, crack in the egg, and cover the pan. Cook 2–3 minutes, until the white is fully set and opaque but the yolk still jiggles. For over easy, flip after 2 minutes and cook 20–30 seconds more; for a hard fried egg, cook the second side 1½–2 minutes.

How to Fry an Egg

Handy for this: Boiled egg timer · What can I make?

At a glance

  1. Heat a nonstick or seasoned skillet over medium-low for 1–2 minutes.
  2. Add 1 teaspoon of butter or oil and let the butter foam.
  3. Crack the egg into a small bowl, then slide it into the pan.
  4. Cover and cook 2–3 minutes until the white is set and opaque.
  5. Leave it sunny side up, or flip it and cook the second side to your style.
  6. Slide it onto a plate and season with salt and pepper.

The short version

Gentle heat and a lid are the secret to a perfect sunny side up egg. Warm a pan over medium-low, add a little butter or oil, slide in the egg, cover, and give it 2–3 minutes. When the white is opaque all the way to the yolk and the yolk still wobbles, it's ready.

Every other fried egg style starts the same way. The only difference is whether you flip it, and for how long.

What you need

  • A small nonstick or well-seasoned pan. An 8-inch pan fits one or two eggs; a 10-inch fits up to four. Cast iron and carbon steel work well once they're seasoned.
  • A thin, flexible spatula. It slides under the egg without tearing the white.
  • Fat. About 1 teaspoon per egg of butter, oil, or bacon fat.
  • A lid. Any lid that fits, even a baking sheet, helps the top of the white set.

Not sure which pan to reach for? Our guide on skillet vs frying pan breaks it down.

How to make a fried egg sunny side up

  1. Warm the pan. Set it over medium-low heat for 1–2 minutes. A drop of water should sizzle gently, not skitter wildly.
  2. Add the fat. Butter should melt and foam lightly without turning brown right away. Oil should flow easily when you tilt the pan.
  3. Crack into a bowl. Tap the egg on a flat counter, open it into a small bowl, and check for shell.
  4. Slide it in. Lower the bowl to the pan surface and tip the egg in gently so the yolk stays whole and centered.
  5. Cover. Put the lid on. The trapped steam sets the thin layer of white around the yolk, so you never need to flip.
  6. Wait 2–3 minutes. Peek after 2 minutes. You want a fully set white and a glossy, jiggly yolk.
  7. Season and serve. Slide it onto a plate and finish with salt and pepper. Seasoning at the end keeps little speckles off the yolk.

No lid? Tilt the pan and spoon some of the hot butter over the white around the yolk. That's a basted egg, and it gets you the same result.

Types of fried eggs

Sunny side up

Never flipped. The white is set, the yolk is bright and fully runny. Great on toast, rice bowls and burgers.

Basted

Cooked like sunny side up, but you spoon hot butter or oil over the top instead of covering. The yolk gets a delicate film of white while staying liquid inside.

Over easy

Fried on the first side until the white is mostly set, flipped, then cooked just 20–30 seconds. The yolk is runny and the top has a thin layer of set white.

Over medium

Flipped and cooked about 1 minute on the second side. The yolk turns thick and jammy, set at the edges with a soft center. A great choice for sandwiches.

Over hard (the hard fried egg)

Flipped and cooked 1½–2 minutes, until the yolk is fully set. Some cooks break the yolk with the spatula before flipping so it cooks evenly and flat, which makes it perfect for a breakfast sandwich.

Crispy-edged

Fried in 2–3 tablespoons of oil over medium-high heat. The white puffs and bubbles, and the edges turn lacy and golden brown in 1½–2 minutes. Spoon the oil over the white near the yolk to finish it.

Fried egg timing table

Times are for one large egg straight from the fridge in a preheated pan. Use them as a starting point and let the white and yolk tell you the rest.

StyleHeatFirst sideAfter flipYolk
Sunny side up (covered)Medium-low2–3 minNo flipRunny
Sunny side up (uncovered)Low3–4 minNo flipRunny
BastedMedium2–3 min with bastingNo flipRunny with a thin veil
Over easyMediumAbout 2 min20–30 secRunny
Over mediumMediumAbout 2 minAbout 1 minJammy
Over hardMediumAbout 2 min1½–2 minFully set
Crispy-edgedMedium-high1½–2 minOptionalRunny

If you'd rather boil than fry, our egg timer for boiled eggs gives you soft, jammy and hard-boiled times.

What Pan would say

“The white just turned fully opaque and the yolk still jiggles. Slide it out now for a perfect sunny side up.”

How to tell when a fried egg is done

Eggs cook fast, so it helps to know exactly what to look for. Here's what each of your senses picks up.

Sight

  • The white starts clear and turns milky, then bright white. It's set when no clear, glassy patches remain, especially in the ring right around the yolk.
  • For sunny side up, the yolk stays glossy and domed. Once it starts to look matte or pale on top, it's heading toward set.
  • For over easy, the white is ready to flip when the edges are set and only a little loose white remains near the yolk.

Sound

  • A soft, gentle sizzle when the egg lands means the heat is just right for tender whites.
  • A loud crackle and spitting means the pan is hot enough for crispy-edged eggs. Turn it down a notch if you want soft whites.

Smell

  • Butter smells sweet and milky when it's ready for the egg. When it turns nutty, it's browning, which tastes lovely, so get the egg in and enjoy that flavor.

Touch

  • Gently press the yolk with the back of a spoon or the tip of the spatula. A runny yolk ripples like a water balloon, a jammy yolk gives slowly, and a hard yolk feels firm.
  • Give the pan a little shake. When the egg slides freely, the bottom is set and ready to flip or serve.

Temperature and safety

USDA advises cooking eggs until the yolk and white are both firm, and cooking egg dishes to 160°F (71°C). Runny-yolk eggs are a classic, and many people enjoy them. When you're cooking for young children, older adults, pregnant people or anyone with a weakened immune system, choose pasteurized-in-shell eggs or go for over hard.

Want help nailing the timing every morning? This is exactly the moment Pan watches for: it sees the white go fully opaque and speaks up right when it's time to slide the egg out.

Tips for a perfect fried egg

  • Fresh eggs hold together. A fresh egg has a tall yolk and a tight white that stays compact in the pan. Older eggs spread more, which is perfect for crispy edges.
  • Keep the heat gentle for tender whites. Medium-low gives soft, silky whites. Save higher heat for when you want crunch.
  • Flip low and slow. Slide the spatula fully under the egg, lift it an inch, and turn it over close to the pan surface so the yolk lands softly.
  • Cooking for a crowd? A large skillet fits four eggs. Crack each into its own spot and cover the whole pan.
  • Season smart. Salt and pepper go on at the end. A pinch of chili flakes, chives or a drizzle of chili crisp makes it feel special.

What to serve with fried eggs

Fried eggs make almost anything a meal. Put one on buttered toast, a bowl of rice with soy sauce, sautéed greens, leftover vegetables, or a burger. For a cozy breakfast, pair it with a bowl from our guide on how to make oatmeal on the stove.

Got eggs and a few odds and ends in the fridge? Try what can I make with my ingredients for ideas. And if you're just getting started in the kitchen, the fried egg is the perfect first win; our how to cook for beginners guide shows you what to learn next.

Common questions

How long do you fry an egg for?

Sunny side up takes about 2–3 minutes covered over medium-low heat. Over easy is about 2 minutes plus 20–30 seconds after the flip, over medium adds about 1 minute after the flip, and over hard adds 1½–2 minutes.

What are the types of fried eggs?

The main styles are sunny side up (not flipped), basted (spooned with hot fat), over easy (flipped, runny yolk), over medium (flipped, jammy yolk) and over hard (flipped, fully set yolk). Crispy-edged eggs fried in more oil over higher heat are another favorite.

What's the difference between sunny side up and over easy?

A sunny side up egg is never flipped, so the yolk stays bright yellow on top. An over easy egg is flipped briefly at the end, which sets a thin layer of white over the yolk while the inside stays runny.

Should you fry eggs in butter or oil?

Both work. Butter gives a rich, nutty flavor and tender whites, while oil handles more heat and gives crispier, lacy edges. A mix of the two gives you some of each.

How do you keep the yolk from breaking?

Crack the egg on a flat counter instead of the pan's edge, tip it into a small bowl first, then slide it gently into the pan. Fresh eggs have firmer yolks and whites that hold together better.

Are runny yolks safe to eat?

USDA advises cooking eggs until both the yolk and white are firm. If you love a runny yolk, pasteurized-in-shell eggs are a good choice, especially for young kids, older adults, pregnant people and anyone with a weakened immune system.

Sources

Reviewed against USDA FSIS guidance. How we choose sources and fix mistakes: editorial policy.

Keep cooking