How Long to Hard-Boil Eggs
How long to hard-boil eggs for a fully set but creamy yolk, why yolks turn green, and how long hard-boiled eggs keep in the fridge once cooked and peeled.
How Long to Hard Boil Eggs: The Single Answer That Works
The most common mistake is believing one time works for every egg. It doesn't. Egg size, starting temperature, and altitude all shift the clock. For a large egg from the fridge dropped into boiling water, 7 minutes gives a firm yolk and fully set white. That is your baseline. Adjust from there.
Here is one reliable set of times, an explanation of why the green ring forms and how to stop it, and how long hard-cooked eggs keep in the fridge. No formulas. No conflicting charts.
Boiling-Start Method: The Most Repeatable
Lower eggs into already-boiling water. This is the method the American Egg Board uses and the one Serious Eats tested in time-lapse. It gives consistent results because the timing starts at the same cooking temperature every time.
Use large eggs straight from the refrigerator. Bring a saucepan of water to a rolling boil. Gently lower the eggs with a slotted spoon to avoid cracking from thermal shock. Start your timer immediately.
Times for Large Eggs, Hot Start
- Very soft, runny yolk: 4 minutes
- Soft, slightly thickened yolk: 5 minutes
- Medium, jammy yolk: 6 minutes
- Hard, fully set yolk: 7 minutes
- Very hard, crumbly yolk: 8 minutes
After the time is up, transfer eggs immediately to an ice water bath to stop cooking. If you skip the ice bath, the residual heat will push the doneness 30 to 60 seconds past your target. The ice bath also prevents the green ring and improves peelability.
Cold-Water Start Method and Times
Place eggs in cold water, bring to a boil, then time from the boil. Serious Eats found that cold-start eggs peel significantly easier than hot-start eggs. The trade-off is precision: you are timing from a variable point (when the water reaches a boil) rather than from a fixed one.
Because the eggs heat gradually during the temperature rise, cold-start times are longer. For large eggs from the fridge, the total time from the moment the water reaches a rolling boil is:
- Very soft: 6 minutes
- Soft: 7 minutes
- Medium: 8 minutes
- Hard: 9 minutes
- Very hard: 10 minutes
The cold-start extra time over a boiling start is roughly 2 minutes across all doneness levels. If you are boiling eggs for meal prep and peeling matters more than exact yolk set, use the cold start.
Why Yolks Go Green or Grey and How to Prevent It
The green ring between the yolk and white is iron sulfide. Harold McGee explains in On Food and Cooking that it forms when prolonged heat causes iron in the yolk to react with sulfur in the white. The ring is harmless, but it signals that the egg was overcooked or cooled too slowly.
Prevention is simple: cool the eggs immediately after cooking. Plunge them into an ice water bath for at least 10 minutes. The rapid temperature drop stops the iron-sulfur reaction before the ring can form. If you let eggs cool in the hot water or at room temperature, you will get the green ring every time.
The ring also appears when eggs are boiled too long beyond the hard-cooked stage. Stick to the times above and do not let the eggs sit in hot water after the timer goes off.
Cooking a Big Batch for Meal Prep
To boil a dozen eggs at once, use a pot large enough to hold them in a single layer. Cover with at least 1 inch of cold water. Bring to a rolling boil, then follow the cold-start method above. Do not crowd the pot; if eggs stack, the ones on top cook unevenly.
The American Egg Board method works for batches: place eggs in a single layer, cover with 1 inch water, bring to a boil, remove from heat, and cover. Let stand for 9 minutes for firm hard-cooked large eggs. This is a reliable hands-off approach for meal prep.
For consistent results across different egg sizes, know your USDA egg size grade. A jumbo egg (30 oz per dozen) needs about 30 seconds more than a large egg for the same doneness. A medium egg (21 oz per dozen) needs about 30 seconds less.
How Long Hard-Boiled Eggs Keep
The USDA FSIS egg storage chart says hard-cooked eggs in the shell keep for 1 week when refrigerated at 40 °F (4.4 °C) or below. Peeled eggs also keep for 1 week, but they must be stored in a covered container to prevent absorbing fridge odors.
Raw shell eggs in the shell can be stored 3 to 5 weeks from the pack date (the Julian date on the carton), but once cooked, the clock resets to that 1-week window. Do not leave hard-cooked eggs at room temperature for more than 2 hours.
For vulnerable groups, the elderly, infants, pregnant women, and immunocompromised people, the USDA FSIS and FDA recommend cooking eggs until both the yolk and white are firm. Runny yolks carry a risk of Salmonella. If you are cooking for someone in a vulnerable group, use the 8-minute (very hard) time for large eggs.
Deviled Eggs and Egg Salad: Which Doneness to Use
For deviled eggs, use the hard-cooked (7-minute) time for large eggs. The yolk needs to be fully set to hold its shape when halved. A medium-boiled jammy yolk will not slice cleanly. The cold-start method makes peeling easier, which matters for deviled eggs where appearance counts.
For egg salad, use the very hard (8-minute) time. The yolk should be crumbly so it mixes evenly with mayonnaise and seasonings. A soft or medium yolk will create an uneven texture. Older eggs, 7 to 10 days from packing, peel more easily than very fresh eggs, making them the better choice for both recipes.
Common Questions
How do I adjust hard-boiled egg times for altitude?
Water boils at 202 °F at 5000 ft instead of 212 °F. The USDA FSIS and Colorado State Extension both recommend adding 1 minute per 1000 ft above 5000 ft. Start with that adjustment, then test. The exact additive varies by egg size and starting temperature.
Can I use the same times for duck or quail eggs?
No. Duck eggs are larger than jumbo chicken eggs and need more time. Quail eggs are smaller and need less. There is no single formula. Use the egg weight and compare it to a large chicken egg (about 50 g) to estimate, then test.
Why do my hard-boiled eggs smell like sulfur?
Sulfur smell is different from the green ring. It indicates bacterial spoilage, not overcooking. Discard any egg with a sulfur odor. The green ring from iron sulfide has no smell and is harmless.
How do I peel hard-boiled eggs without tearing the white?
Use the cold-start method for easier peeling. Older eggs (7 to 10 days from packing) peel significantly better than very fresh eggs. Shock them in ice water immediately after cooking. The temperature change contracts the white away from the shell membrane.