Food

How Long to Cook an Egg: Boiled, Fried & Poached Times

By Hayride Live · Updated · 4 min read

It takes 6 to 12 minutes to boil an egg and 3 to 4 minutes to fry it. The most common mistake is assuming all eggs cook at the same speed regardless of temperature or size; a cold, large egg needs more time than a room-temperature medium one.

Getting the timing right depends on your desired texture. For boiled eggs, the goal is usually a set white and a yolk that ranges from runny to firm. For fried or poached eggs, you are looking for a cooked white with a yolk that stays soft or hardens completely based on how long you leave them in the pan or water.

Boiled Eggs: Runny to Firm

Start with eggs straight from the refrigerator and lower them gently into already boiling water. This method gives you the most consistent results because the starting water temperature is constant. You can use a slotted spoon to lower the eggs to prevent cracking.

  • Soft-boiled (runny yolk): 6 to 7 minutes. The white is fully set, but the yolk is liquid.
  • Medium-boiled (jammy yolk): 8 to 9 minutes. The yolk is thick and creamy, not liquid.
  • Hard-boiled (firm yolk): 10 to 12 minutes. The yolk is pale yellow and crumbly throughout.

Immediately transfer the eggs to a bowl of ice water for at least 3 minutes after the timer goes off. This stops the cooking process instantly and makes peeling much easier. If you do not cool them quickly, the residual heat will continue to cook the yolk, turning it gray-green due to a chemical reaction between the iron in the yolk and sulfur in the white.

Fried Eggs: Sunny-Side to Over-Hard

Frying an egg happens much faster than boiling because the surface area is exposed directly to the heat source. Use a non-stick skillet over medium-low heat with a small amount of butter or oil. Crack the egg into the pan carefully.

  • Sunny-side up: 2 to 3 minutes. The white is set, but the yolk remains runny. Do not flip.
  • Over-medium: 3 to 4 minutes. Flip the egg once and cook for another minute until the yolk is partially set.
  • Over-hard: 4 to 5 minutes. Flip the egg and cook until the yolk is completely solid.

If you cover the pan with a lid, the steam will help cook the top of the white without flipping. This is useful if you want a set white but a very runny yolk. Be careful not to overcook, as the yolk will become rubbery.

Poached Eggs: Delicate and Soft

Poaching requires simmering water, not a rolling boil. Add a splash of vinegar to the water to help the egg white coagulate faster. Create a gentle whirlpool with a spoon and crack the egg into the center.

  • Runny poached: 3 to 4 minutes. The white is tender and the yolk is liquid.
  • Firm poached: 5 to 6 minutes. The yolk is set but still moist.

Lift the egg out with a slotted spoon and drain it on a paper towel to remove excess water. Serve immediately.

Factors That Change Cooking Time

The standard times above assume large eggs straight from the fridge. Several variables can shift these numbers significantly.

Factor Effect on Time Adjustment
Egg Size Large vs. Small Add 1 minute for extra-large; subtract 1 minute for small.
Egg Temperature Cold vs. Room Temp Room temp eggs cook about 1 minute faster than cold ones.
Altitude High Elevation Water boils at a lower temperature, so add 1-2 minutes.
Water Volume Shallow Pan Less water returns to boil slower; preheat longer before adding eggs.

Food Safety and Storage

Eggs must be cooked to a safe internal temperature to kill bacteria like Salmonella. The USDA FSIS recommends cooking egg dishes to 160°F (71°C). For whole boiled or fried eggs, this means the yolk and white should be firm. If you prefer runny yolks, there is a slight risk, especially for pregnant people, young children, older adults, and anyone with a weakened immune system.

Never leave cooked eggs at room temperature for more than 2 hours. If the ambient temperature is above 90°F (32°C), reduce this window to 1 hour. Refrigerate leftovers promptly in an airtight container. Hard-boiled eggs keep well in the fridge for up to one week if unpeeled. Peeled eggs should be eaten within two days.

Why Your Eggs Turn Green or Gray

A greenish ring around the yolk of a hard-boiled egg is harmless but indicates overcooking. It happens when iron in the yolk reacts with sulfur in the white at high temperatures. To prevent this, do not exceed 12 minutes of boiling and always use an ice bath. The taste is not affected, but the texture becomes dry and chalky.

Quick Reference for Common Dishes

Different recipes call for different egg textures. Here is how to achieve them quickly.

  • Scrambled eggs: Cook low and slow over medium heat for 3-5 minutes, stirring constantly until just set.
  • Omelets: Pour beaten eggs into a hot pan and cook for 2-3 minutes until the bottom is set but the top is slightly wet.
  • Baked eggs (shirred): Bake in a ramekin at 350°F (175°C) for 12-15 minutes until whites are set.

Common Questions About Egg Cooking

Can I use an instant-read thermometer?
Yes. Insert it into the center of the yolk. It should read at least 160°F (71°C) for safety.

Do old eggs boil better?
Older eggs peel easier because the air pocket inside grows larger, separating the membrane from the shell. Fresh eggs are harder to peel but taste slightly better.

What if my eggs crack while boiling?
Pierce the wide end of the egg with a pin before cooking to release pressure. If they crack anyway, the white will leak out but the egg is still safe to eat.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.