Hard-Boiled Egg

A hard-boiled egg is an egg cooked in its shell until the white and yolk are fully firm. It takes about 10 to 12 minutes.

Say it: hard BOYLD eg

By Andrew Cooks · Updated · 7 min read

At a glance

A hard-boiled egg is an egg cooked in the shell in hot water until both the white and the yolk are fully set and firm. It's the fully-cooked cousin of the soft-boiled egg: where a soft-boiled egg keeps a runny or jammy yolk, a hard-boiled one is cooked through: a pale, firm, crumbly yolk and a firm white, ready to peel, slice, and eat cold or warm. Hard-boiled eggs are the base of deviled eggs, egg salad, and a classic garnish for salads (like the Cobb or niçoise) and ramen; they're a portable snack and a lunchbox staple. The two skills that matter are timing (about 10 to 12 minutes of cooked time for a fully firm yolk, less for a jammy center) and peeling: older eggs, an ice-water plunge, and steaming or a gentle simmer all make the shell come off cleanly instead of taking chunks of white with it.

What it does for you

A hard-boiled egg gives you a fully cooked, firm, portable egg you can peel, slice, chop, or stuff. Simmering (or steaming) an egg in its shell coagulates first the white and then, with more time, the yolk into a firm solid; a fully hard-boiled yolk takes roughly 10 to 12 minutes of cooking and comes out pale, firm, and crumbly.

Cook's tip

Move the eggs straight into ice water when the time is up. This stops the cooking, helps prevent a gray-green yolk ring, and makes the shell easier to peel.

Kitchen trivia

Did you know fresh eggs are the worst ones to hard-boil?

See the answer

Key facts

Method
Moist heat
Skill level
Beginner
Origin
Universal
Cuisines
Universal
Key ingredients
Eggs and water (a little salt or vinegar in the water is said to help set any leaks)
Equipment
Saucepan or steamer, timer, bowl of ice water; some use an electric egg cooker or pressure cooker
Traditional equipment
Saucepan, slotted spoon, bowl of cold water
Credited to
An ancient, universal way of cooking eggs

Common uses

Deviled eggs and egg salad; slicing over salads (Cobb, niçoise, chef's), ramen, avocado toast, and grain bowls; Scotch eggs; a portable snack and lunchbox protein; and chopped as a garnish for greens and asparagus.

She peeled the hard-boiled eggs under running water, the shells sliding off in big pieces, and halved them for the deviled-egg platter.

Cooking with hard-boiled egg tonight?

Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.

Save your recipes in Cooked.it, free

More about hard-boiled egg

An egg cooked in the shell until both white and yolk are fully firm, roughly 10 to 12 minutes of cook time for a set, crumbly yolk. The fully-cooked counterpart to the runny-yolk soft-boiled egg. Peeled and eaten whole, sliced, or chopped; the base of deviled eggs and egg salad and a garnish for salads and ramen.

Cooled promptly in ice water to ease peeling and avoid a gray-green yolk ring.

A peeled hard-boiled egg is a smooth, firm, glossy-white oval enclosing a pale-yellow, fully-set, crumbly yolk. Perfectly cooked, the yolk is bright and even; over-cooked, a gray-green ring forms around it (a harmless iron-sulfur reaction from too much heat or time). In the shell it looks like any egg, but spins fast when cooked (a raw egg wobbles).

That firm structure is what makes it useful: halved and piped, it becomes deviled eggs; chopped and bound with mayonnaise, egg salad; sliced, it tops salads (Cobb, niçoise, chef's), ramen, and grain bowls, and stars in a Scotch egg or a picnic plate. Because it's fully cooked, it also keeps and travels well: a hard-boiled egg is a classic make-ahead snack and lunchbox protein. The craft is in two things beyond doneness: avoiding the gray-green yolk ring (don't overcook, and cool promptly in ice water) and peeling cleanly (slightly older eggs, a steam or gentle simmer, and an immediate ice bath loosen the membrane so the shell slips off).

Step by step

  1. Bring a pot of water to a boil (or set up a steamer), then gently lower in the eggs. Simmer or steam for about 10 to 12 minutes for a fully firm yolk (9 to 10 for a slightly softer center). Immediately transfer the eggs to a bowl of ice water and let them cool for several minutes: this stops the cooking and makes them far easier to peel. Peel under running water or in the bowl, starting at the wide (air-cell) end. Use, or refrigerate in the shell.

How to tell it's done

Both white and yolk fully set; the yolk is pale, firm, and crumbly (no translucent center); the egg spins fast when cooked. A gray-green yolk ring means it went too far.

Troubleshooting

Gray-green ring around the yolk: overcooked. Shorten the time and ice-bath promptly. Hard to peel: eggs too fresh, or no ice bath.

Use older eggs, steam them, and shock in ice water. Cracked in the pot: lower them gently and keep it at a simmer, not a hard boil. Uneven doneness: start timing from a consistent point (e.g., steaming from boiling water).

Common confusions

A hard-boiled egg is fully cooked (firm yolk), unlike a soft-boiled egg (runny yolk): they're different doneness targets, not the same dish. 'Boiling' is really a simmer or steam; a hard rolling boil cracks shells and toughens the white. Fresh eggs aren't better here: older eggs peel more cleanly.

Safety notes

General kitchen safety tips. Always follow the manufacturer's instructions and current food safety guidance.

A hard-boiled egg is fully cooked, so it meets egg-safety guidance. Cool and refrigerate cooked eggs within 2 hours and keep hard-boiled eggs in the shell up to one week, and eat peeled ones the same day. Don't leave deviled eggs or egg salad in the 40 to 140°F danger zone for long, as they're a common source of foodborne illness at picnics.

Substitutions

Substitutes for hard-boiled egg
Use insteadHow muchWhat changes
soft-boiled eggBoil 6 to 7 min insteadFor a runny/jammy yolk over toast or ramen: a different doneness, not a like-for-like swap
Steamed eggsSteam 12 minSteaming instead of boiling; often peels more easily for the same firm result
Hard-cooked in an electric cooker/pressure cookerPer deviceHands-off firm eggs that many find peel cleanly

Common mistakes

  1. Overcooking, which turns the yolk chalky and rings it gray-green (from iron and sulfur reacting): stick to about 10 to 12 minutes and cool promptly in ice water.
  2. Peeling very fresh eggs (they cling to the shell; slightly older eggs peel more cleanly).
  3. Skipping the ice bath, which both stops the cooking and shrinks the egg from the shell for easier peeling.
  4. Cracking the shell during a hard rolling boil (a gentle simmer or steaming is kinder).
  5. And starting the clock at the wrong point: count from when the water reaches the target, not from a cold start, unless the recipe accounts for it.

In short

Product picks

History

Boiling an egg in its shell is about as old and universal as cooking with eggs, and the hard-cooked egg (firm enough to carry, peel, and slice) became a staple of picnics, packed lunches, and garnishes worldwide, as well as the foundation of dishes from deviled eggs to the British Scotch egg and the components of a salade niçoise. Modern cooks have refined the method (steaming, precise timing, the ice bath) chiefly to solve the two perennial frustrations: hard-to-peel shells and the gray-green ring around an overcooked yolk.

Is it still used today?

Yes, hard-boiled eggs are an everyday staple: a snack, a salad and ramen topping, and the base of deviled eggs and egg salad in home and professional kitchens alike.

Questions people ask

How long do you boil an egg to hard-boil it?

About 10 to 12 minutes of cook time gives a fully firm, crumbly yolk; 9 to 10 minutes leaves the center slightly softer and more golden. Bring water to a boil, lower the eggs in gently, simmer for the chosen time, then move them straight to ice water. Steaming for a similar time works just as well and often peels more easily.

What is the difference between a hard-boiled and a soft-boiled egg?

Doneness. A hard-boiled egg is cooked until both the white and the egg yolk are fully firm (about 10 to 12 minutes): good for peeling, slicing, deviled eggs, and egg salad. A soft-boiled egg is cooked only until the white sets while the yolk stays runny or jammy (about 6 to 7 minutes): eaten from the shell or over toast and ramen.

Same method, different time and result.

Why is there a green ring around my egg yolk?

It's from overcooking. Too much heat or time makes the egg's iron and sulfur react to form green-gray iron sulfide around the yolk. It's harmless and doesn't change the taste much, but you avoid it by not over-boiling (10 to 12 minutes is plenty) and cooling the eggs promptly in ice water as soon as they're done.

How do you peel a hard-boiled egg easily?

Use slightly older eggs (very fresh ones cling to the shell), steam them or start them in already-boiling water, and shock them in ice water the moment they're done: the cold makes the egg contract away from the shell. Then crack all over, start peeling at the wide end (where the air cell is), and peel under running water to float the shell off.

How long do hard-boiled eggs keep?

Refrigerated in the shell, up to one week. Once peeled, eat them the same day. Cool them within 2 hours of cooking.

Don't leave them, or deviled eggs and egg salad made from them, out at room temperature for long.

Why won't my very fresh eggs peel cleanly?

Very fresh eggs have a lower internal pH and a membrane that clings tightly to the white, so the shell tears off in chunks. As eggs age a week or two, the pH rises and the membrane loosens, so they peel much more easily. If you only have fresh eggs, steaming them and shocking them in ice water helps a lot.

Can I cook eggs in the shell in the microwave or pierce them first?

The American Egg Board says never to microwave eggs in their shells, because steam builds up too quickly inside and the eggs are likely to explode. It also advises against piercing shells before cooking: a needle that is not sterile can carry bacteria into the egg, and piercing makes hairline cracks that let bacteria in after cooking.

Trivia answer

Counterintuitively, older eggs peel far more cleanly than fresh ones. As an egg ages its white becomes slightly more alkaline and its inner membrane pulls away from the shell, so a week-or-two-old egg slips out of its shell where a just-laid one clings and tears.

Origin and background

Why it was developed

To cook an egg through in its shell into a firm, portable, sliceable form.

Cooking with hard-boiled egg tonight?

Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.

Save your recipes in Cooked.it, free

Sources

About this page

Andrew Cooks tasting sauce from a wooden spoon at the stove

Written by Andrew Cooks for Cooked.it. Pages are drafted with AI from our research database, then checked against sources and our editorial rules. Found something wrong? Tell us and we’ll fix it.

How we writeFound an error? Tell us