03Food & Kitchen · Updated
How Long to Boil an Egg? Timing for Every Yolk
Short answer
Boil eggs for 6 to 12 minutes
For large eggs, simmer about 6 minutes for a runny yolk, 9 minutes for a jammy center, or 12 minutes for a firm yolk. Start timing when the eggs enter already-boiling water, then cool them promptly.
Boiling time by yolk texture
For large eggs taken directly from the refrigerator and lowered carefully into gently boiling water, these times are useful starting points. They describe the cooking time in the hot water, not the time needed to bring a pot of cold water to a boil.
- About 6 minutes: The white is mostly set, while the yolk is soft and runny. This is best eaten from the shell or served promptly, rather than used in a recipe that needs a firm slice.
- About 7 to 8 minutes: The white is set and the yolk is soft but less fluid. The center may still be creamy.
- About 9 minutes: The yolk is usually jammy, with a tender, slightly soft middle. This texture works well halved over salads or noodles.
- About 10 to 11 minutes: The yolk is mostly firm but can retain a little softness near its center.
- About 12 minutes: The yolk is generally firm throughout, making the egg easier to chop, slice, or mash.
These are practical ranges, not laboratory guarantees. Egg size, starting temperature, pot shape, water volume, altitude, and how steadily the water simmers can shift the result. If you are cooking a particular brand or size regularly, adjust by a minute at a time until the texture suits you.
How to boil eggs step by step
- Choose a pot. Arrange the eggs in one layer so they are not crowded or stacked. Use a pot that leaves room to cover them with water.
- Add water. Cover the eggs with cold water by about an inch. Starting in cold water is a useful alternative method, but timing is less consistent because the time it takes to heat varies with the stove, pan, and amount of water.
- Bring the water to a boil. Heat the pot until the water reaches a full boil. For more repeatable timing, lower cold eggs gently into water that is already boiling, then start the timer as they enter.
- Cook gently. Reduce the heat enough to maintain a gentle boil or active simmer, and cook for the time that matches the yolk texture you want. A violent boil can make eggs knock together and crack.
- Cool promptly. Transfer the eggs to a bowl of ice water or very cold water. Leave them until cool enough to handle; this also stops residual cooking and can make peeling easier.
- Peel or refrigerate. Tap the shell gently all over and peel under running water if needed. If you are not eating the eggs soon, refrigerate them promptly.
Some cooks begin with cold water, cover the pan, bring it to a boil, then turn off the heat and let the eggs stand. That approach can work, but the standing time depends on how much heat the pot retains. A timer measured from placing eggs into boiling water is easier to compare from one batch to another.
What changes the cooking time?
Eggs are not identical, and a minute can make a noticeable difference near the soft-yolk end of the range. Use the times as a baseline and account for the conditions that matter most.
- Size: Small eggs heat through faster than extra-large eggs. The times above assume large eggs; give larger eggs somewhat more time and smaller ones somewhat less.
- Starting temperature: Cold eggs from the refrigerator need longer to heat than eggs already at room temperature. For food safety, do not leave eggs out for extended periods merely to warm them.
- Water temperature: A timer started before the water boils includes heating time, so it cannot be compared directly with a timer started when eggs enter boiling water.
- Altitude: Water boils at a lower temperature at higher elevations. Because the water is less hot, cooking may take longer; use the texture of a test egg to refine the timing.
- Batch and pot: A crowded pot or a large number of cold eggs can lower the water temperature temporarily. A small pot with little water can also lose heat quickly when eggs are added.
For a dependable routine, keep the egg size and method consistent. If the yolks come out too soft, add a minute next time. If they are too firm, reduce the time by a minute. Cooling the eggs the same way each time also helps make results more comparable.
Why timing changes the yolk
Egg white and yolk contain proteins that change structure as they heat. The white sets first; the yolk thickens and firms as heat reaches its center. A short cooking time therefore leaves the yolk fluid, while continued heating produces a soft, then firm center.
Heat continues moving through an egg after it leaves the pot. That is why an ice-water bath matters especially for soft and jammy eggs: it slows carryover cooking. Without prompt cooling, an egg removed at the right moment can become firmer while it sits on the counter.
A green-gray ring around a hard-boiled yolk is usually a sign of overcooking or prolonged hot holding. It is caused by a reaction involving sulfur from the white and iron in the yolk. It may look unappealing, but the ring itself does not mean the egg is unsafe. Shorter cooking followed by prompt cooling helps avoid it.
Boiling versus steaming
Steaming is a common alternative to submerging eggs. The eggs sit above boiling water and cook in the steam, which is hot enough to set them. Some cooks find this method easier to peel, but the ideal time depends on the steamer, egg size, and whether eggs start cold. Follow a tested timing for the particular setup rather than assuming that a boiling-water time transfers exactly.
Both methods can produce soft, jammy, or firm yolks. Boiling is straightforward when you want the eggs covered by water; steaming can use less water and keep eggs from moving around in a vigorous pot. In either case, cool the cooked eggs promptly and refrigerate those you will not eat right away.
Peeling and common problems
Fresh eggs can be harder to peel than eggs that have been stored for a while, because the connection between the white and the inner shell membrane changes during storage. Cooling helps, but it cannot guarantee a shell will come off in large pieces. Peel gently, beginning at the wider end where there is often an air pocket, and use a little running water to loosen stubborn bits.
- Cracked shells: Lower eggs gently with a spoon, avoid a hard rolling boil, and do not crowd the pan. A crack can let some white escape, but it does not automatically mean the egg must be discarded.
- Uneven yolks: Eggs can tilt as they cook. For a centered yolk, gently roll the eggs in the water during the first minute or two, taking care not to bump or crack them.
- Hard-to-peel eggs: Cool them promptly, tap the shell all over, and peel under water. The result also depends on freshness and the individual egg.
- Rubbery whites or dry yolks: These usually indicate that the eggs cooked too long or stayed hot after cooking. Shorten the next batch and use an ice bath.
Adding salt or vinegar to the water is sometimes suggested as a way to prevent cracking or make peeling effortless. Neither is a reliable substitute for careful handling and cooling. Vinegar may help the white set more quickly if a shell cracks, but it will not ensure an easy peel.
Food safety and storage
Eggs with runny or soft yolks are not fully cooked. The U.S. Department of Agriculture advises cooking eggs until both the yolk and white are firm; people at greater risk of foodborne illness should avoid raw or undercooked eggs and choose fully cooked eggs or pasteurized egg products. A cooking time is not a substitute for that guidance, because egg size and cooking conditions vary.
For hard-cooked eggs, refrigerate them within two hours of cooking, and do not leave them at room temperature for longer than that. Keep them in the refrigerator, preferably in their shells until needed, and use them within one week. If the eggs are part of a dish containing other ingredients, follow the safe handling and storage guidance for that dish as well.
Do not rely on smell or appearance alone to establish whether an egg has been handled safely. Clean hands and utensils, prompt chilling, and a refrigerator kept at 40°F or below are practical safeguards. If eggs have been left out too long or their handling is uncertain, discard them rather than tasting them to check.
Frequently Asked Questions
Do you put eggs in before or after the water boils?
Either method works, but putting eggs into already-boiling water makes the timing easier to define: start the timer as they enter. Lower them gently to reduce the chance of cracking, and keep the water at a gentle boil.
How long should I boil an egg for a runny yolk?
For a large, refrigerator-cold egg placed in boiling water, start with about 6 minutes. Cool it immediately, since the yolk continues to firm as the egg stays hot.
How long does a hard-boiled egg take?
Allow about 12 minutes for a large egg in boiling water for a firm yolk. Cool it promptly to stop carryover cooking and reduce the chance of a green-gray ring.
Why are my boiled eggs hard to peel?
Egg freshness and the way the shell membrane attaches to the white affect peeling. Cooling the egg and peeling it under running water can help, but no method guarantees that every shell will come off cleanly.
How long do hard-boiled eggs keep?
Refrigerated hard-cooked eggs should be used within one week. Chill them within two hours of cooking, and keep them refrigerated until serving.
Further reading: USDA FoodSafety.gov. Details can change, so check the official page for anything that matters to you. Spotted a mistake? Tell us. How we write an answer.