The short answer: 10 to 12 minutes for a large egg, if you lower it into already-boiling water. But the USDA tells you to do something different, and the gap between those two answers explains most of the frustration people have with hard boiled eggs — the grey-green ring, the shell that takes half the white with it, the yolk that is chalky in the middle.
There are two legitimate methods. One is the federal food-safety method, which is built around residual heat and is very hard to overcook. The other is the hot-start method, which is what nearly every cook uses because it peels better and gives you precise control over the yolk. Below are both, the timing tables for each, and the science behind why fresh eggs refuse to peel and why overcooked yolks turn green.
The 30-second version
- Hot start, large egg, fully set yolk: 11 minutes at a gentle boil, then straight into ice water.
- USDA method: cold start, bring just to a boil, kill the heat, cover, stand 15 minutes for large eggs.
- Use old eggs. The USDA says it outright: extremely fresh eggs will be difficult to peel.
- Green ring is overcooking. It is harmless, and an ice bath prevents it.
- Refrigerate within two hours and eat within seven days, shell on or off.
How long to cook hard boiled eggs: the timing table
These times are for the hot-start method — water already at a rolling boil, eggs lowered in with a slotted spoon, heat reduced to a gentle boil, timer started the moment the last egg goes in. Times are for eggs straight from the refrigerator at or near sea level.
| Minutes (large egg) | Yolk | Best for |
|---|---|---|
| 6 | Liquid centre, set white | Ramen, toast soldiers |
| 7 | Jammy, bright orange, spreadable | Grain bowls, avocado toast |
| 8 | Fudgy — set at the edge, soft core | Salad Niçoise, halving cleanly |
| 9 | Just set through, still moist | The sweet spot for eating plain |
| 10 | Fully set, tender | Deviled eggs, egg salad |
| 11 | Fully set, firm | Lunchboxes, meal prep, slicing |
| 12 | Firm, chalk starting | Grating over vegetables |
| 14+ | Chalky, green ring likely | Nothing, really |
Egg size shifts everything by roughly a minute in each direction. The USDA’s own guidance uses the same three-tier spread.
| Egg size | Hot start, fully set | USDA cold-start stand time |
|---|---|---|
| Medium | 9–10 min | 12 min |
| Large | 10–12 min | 15 min |
| Extra-large | 12–14 min | 18 min |
Altitude matters more than people expect. Water boils cooler as you go up, so the egg cooks more slowly. Above roughly 3,000 feet, add about a minute; in Denver or Santa Fe, add two. If you are unsure, sacrifice one egg at the low end of the range and cut it open.
The USDA method, and why it looks nothing like the internet’s
If you look up hard boiled eggs on any recipe site, you will be told to boil the water first. The USDA’s Food Safety and Inspection Service tells you the opposite, and it is worth understanding why before you dismiss it.
The official method: put the eggs in a single layer in a saucepan. Add cold tap water to come at least an inch above them. Cover the pan and bring the water just to boiling. Turn the heat off and let the eggs stand, covered, for 12 minutes (medium), 15 minutes (large) or 18 minutes (extra-large). Then run cold tap water over them immediately, tap the shells all over, and peel under running water. Refrigerate within two hours.
That stand time sounds long because the eggs are not sitting at a boil — they are coasting down through a falling temperature curve in a covered pan. The egg never experiences the sustained 212°F that a rolling boil delivers, which is precisely the point. It is the most forgiving method there is. An extra two minutes at the end of a residual-heat stand does almost nothing. Two extra minutes at a rolling boil turns a good egg into a rubbery one.
So why does nobody cook them this way? Two reasons. First, the cold start means the egg warms slowly, and slow warming is the single worst thing you can do for peelability — the white sets gently against the membrane and grips it. Second, there is no control. You cannot get a jammy yolk out of a residual-heat stand; you get “cooked through,” and that is all you get.
Use the USDA method when you are cooking two dozen eggs for a crowd and precision does not matter. Use the hot-start method when you want a specific yolk and intact whites.
The method I actually use
Bring about two inches of water to a rolling boil in a saucepan with a lid. Lower the eggs in one at a time on a slotted spoon — do not drop them, the fall cracks them on the base. Reduce to a gentle boil, cover, and set a timer. Have a bowl of ice water waiting. When the timer goes, move the eggs to the ice bath with the same slotted spoon and leave them there for at least five minutes. Peel under a thin stream of cold running water, starting at the fat end.
Two inches of water is enough. You are not submerging the eggs so much as creating a steam chamber, which is why the lid matters and why this method is nearly identical to steaming.
Steaming instead of boiling
Steaming is the quiet upgrade. An inch of water, a steamer basket, lid on, same times or a minute longer. Steam transfers heat more gently at the surface than turbulent boiling water, which means fewer cracked shells, and the whites tend to release more cleanly. If you own a steamer insert and have been ignoring it, this is what it is for.
The Instant Pot version
The pressure-cooker crowd swears by 5–5–5: five minutes at high pressure, five minutes natural release, five minutes in ice water. It works, and the shells come off almost by themselves, because rapid pressurised heating slams the white away from the membrane. The catch is that yolk control is coarse — you are choosing between “set” and “very set,” and you cannot see what is happening. If you already use one for other things, our Instant Pot guide for beginners covers the release settings this relies on.
Why fresh eggs will not peel
This is the part that feels like a personal failing and is not. The USDA states it plainly: “extremely fresh eggs will be difficult to peel, so it’s best to hard cook eggs that have been in the refrigerator for several weeks.”
The mechanism is pH. A fresh egg white is mildly acidic. Eggshells are porous, and over days and weeks carbon dioxide diffuses out through them, which raises the pH of the white. As the white becomes more alkaline, the bond between the set albumen and the inner shell membrane weakens. An egg laid three days ago is chemically glued to its shell. An egg that has sat in your refrigerator for three weeks is not.
This is the great irony of the farmers’ market egg and the backyard flock: the better the egg, the worse it peels. If you have a source of very fresh eggs, buy them for scrambling and frying, and set aside a carton to age in the back of the refrigerator for a fortnight before you hard cook them.
What actually helps, and what does not
| Trick | Verdict |
|---|---|
| Using older eggs | Works. The biggest single factor, and the one the USDA names. |
| Hot start (lowering into boiling water) | Works. The white sets fast and pulls away from the membrane. |
| Ice bath immediately after | Works. Contracts the white away from the shell and stops the cooking. |
| Peeling under running water | Works. Water gets under the membrane and floats the shell off. |
| Baking soda in the water | Marginal. Raises pH slightly; far less effective than just using older eggs. |
| Salt in the water | No effect on peeling. It does make leaks from a cracked shell set faster. |
| Vinegar in the water | No effect on peeling. Same cracked-shell benefit as salt. |
| Piercing the fat end with a pin | Marginal, and a real risk of cracking the shell. |
| Shaking eggs in a jar | Works on good eggs, destroys bad ones. Fine for egg salad, not for deviled eggs. |
The green ring around the yolk
That grey-green halo where the yolk meets the white is iron sulfide. The white contains sulfur; the yolk contains iron. Heat drives sulfur compounds out of the white toward the yolk, and at the boundary they meet the yolk’s iron and form ferrous sulfide, which is greenish-grey.
It is entirely harmless. The quantities are trace, and it is chemically close to compounds used in iron supplements. It tastes faintly sulfurous at the edge and it looks unappetising in a deviled egg, which is the only real argument against it.
Two things cause it: cooking too long, and cooling too slowly. Both are fixed by the same habit — pull the eggs at the right minute and put them in ice water immediately. Eggs left to cool on the counter keep cooking from their own retained heat for several minutes, which is enough to produce the ring on an egg that was perfect when the timer went off.
Older eggs, with their higher pH, also green up slightly more readily. This is the one small cost of the peelability trade, and it is easily outweighed.
Storage, safety and how long they keep
The federal rules here are short and worth committing to memory.
- Refrigerate within two hours of cooking. Hard cooked eggs are a perishable, high-protein food; they do not get a pantry pass just because they were boiled.
- Seven days, and that is the limit — in the shell or peeled. The USDA does not give peeled eggs a shorter window, but it does not give them a longer one either.
- Do not freeze them. The white turns rubbery and weeps. You can freeze cooked yolks alone if you are making something with them later.
- Peeled eggs need a sealed container, ideally with a damp paper towel over them, or they dry out and take on refrigerator smells within a day.
One thing worth knowing: boiling does not sterilise an egg’s interior in any lasting sense, and a cooked egg left out re-contaminates easily because the shell’s natural protective coating is gone. The two-hour rule matters more for hard cooked eggs than for raw ones in the shell.
Is it still good? The float test
The float test tells you about raw eggs, not cooked ones, and what it measures is age rather than safety. As an egg ages, the air cell grows, so an egg that stands on end or floats is old. Old is not the same as unsafe — and for hard boiling, old is what you want. For a cooked egg, go by the date you cooked it, which is why a marker on the shell or a piece of tape on the container earns its keep.
Batch cooking eggs for the week
A dozen hard boiled eggs on a Sunday is one of the highest-return twenty minutes in a household kitchen, and it is the backbone of most of our weekly meal prep and packed-lunch routines. A few things that make a dozen behave differently from four:
- Do not crowd the pan. Eggs in two layers cook unevenly and knock against each other. Two batches beat one crowded one.
- A dozen cold eggs will drop the water temperature hard. Bring it back to a gentle boil before you start the timer, or add 30 seconds.
- Leave them in the shell. Shell-on eggs keep better, taste fresher on day five and are less prone to absorbing odours. Peel as you eat them.
- Mark them. A pencil dot on the shell distinguishes cooked from raw in the carton and saves at least one unpleasant surprise a year.
- Salt separately. Pre-salting draws moisture out over a week. Carry a twist of salt and pepper in a scrap of foil instead.
Eggs do most of the work in a lunchbox that has to survive four hours without refrigeration — though they should still ride with a cold pack. If you are building out a rotation, our family dinner formulas use the same component-cooking logic, and a jar of boiled eggs slots into almost all of them.
Troubleshooting
| What went wrong | Why | Fix |
|---|---|---|
| Shell takes chunks of white with it | Eggs too fresh, or cold start | Age the eggs 1–2 weeks; lower into boiling water |
| Green ring | Overcooked or cooled slowly | Cut a minute; ice bath immediately |
| Cracked in the pan, white streaming out | Dropped in, or fridge-cold into a hard boil | Lower gently; reduce to a gentle boil; a splash of vinegar sets leaks fast |
| Yolk off-centre | Normal in older eggs | For deviled eggs, stir the water for the first 30 seconds |
| Rubbery white | Cooked at a hard rolling boil | Gentle boil only — vigorous water toughens protein |
| Yolk still soft in the middle | Extra-large eggs, altitude, or a crowded pan | Add 1–2 minutes and retest |
| Flat side on the egg | Air cell — a sign of an older egg | Nothing to fix; it peels better |
Frequently asked questions
How long do you boil eggs for hard boiled eggs?
Ten to twelve minutes at a gentle boil for a large egg lowered into already-boiling water, then straight into ice water. Eleven minutes gives a fully set, tender yolk. The USDA’s alternative method uses a cold start: bring the water just to a boil, turn the heat off, cover, and let large eggs stand 15 minutes.
Do you start hard boiled eggs in cold water or boiling water?
Boiling water, if you care about peeling. Lowering a cold egg into boiling water sets the outer white quickly and makes it contract away from the shell membrane. A cold start warms the egg slowly and lets the white bond to the membrane, which is the main reason eggs peel badly. The USDA’s official method uses a cold start because it is safer against overcooking, not because it peels better.
Why are my hard boiled eggs so hard to peel?
They are too fresh. A fresh egg white is mildly acidic and bonds tightly to the inner shell membrane. As an egg ages, carbon dioxide escapes through the porous shell and the white becomes more alkaline, which weakens that bond. The USDA recommends hard cooking eggs that have been refrigerated for several weeks. A hot start and an immediate ice bath help, but neither will rescue a three-day-old egg.
Is the green ring around a hard boiled egg yolk safe to eat?
Yes. The ring is iron sulfide, formed when sulfur from the white meets iron in the yolk under prolonged heat. It is present in trace amounts, it is harmless, and it is chemically similar to iron compounds used in supplements. It signals overcooking rather than spoilage. To avoid it, shorten the cooking time by a minute and cool the eggs in ice water immediately instead of letting them sit out.
How long do hard boiled eggs last in the fridge?
Seven days, according to the USDA, whether they are still in the shell or already peeled. They must be refrigerated within two hours of cooking. Keep peeled eggs in a sealed container with a damp paper towel so they do not dry out or pick up refrigerator odours, and mark the cooking date on the container rather than relying on memory.
Can you eat hard boiled eggs left out overnight?
No. Cooked eggs are a perishable protein food and the USDA’s two-hour rule applies. Boiling also removes the shell’s natural protective bloom, so a cooked egg is more vulnerable to bacterial contamination than a raw one in the shell, not less. An egg that has been at room temperature overnight should be thrown away regardless of how it looks or smells.
How long to boil eggs for a jammy yolk?
Seven minutes for a large egg in already-boiling water, then an immediate ice bath. At seven minutes the white is fully set and the yolk is bright orange and spreadable. Six minutes gives you a liquid centre; eight gives a fudgy yolk that is set at the edge with a soft core. The ice bath is not optional here — residual heat will carry a jammy egg past the point you wanted within about two minutes.
Does adding salt or vinegar to the water help eggs peel?
Not meaningfully. Neither changes the bond between the white and the shell membrane in any way you would notice. What they do is help a leaking egg seal itself if the shell cracks, because both encourage the escaping white to coagulate quickly. Baking soda has a slight theoretical case, since it raises the water’s pH, but using older eggs achieves far more.