Hard-boil an egg for 9 to 12 minutes in boiling water for fully firm yolks and whites. Many people assume timing starts when the water boils, but it begins only once the water returns to a rolling boil after adding the eggs. Starting timing too early leads to overcooked, greenish-gray yolks.
How Long to Cook Hard-Boiled Eggs
For a standard large egg, cook for 9 minutes for a just-set yolk with no green ring, 10 minutes for a fully firm yolk with slight creaminess, and 12 minutes for a completely dry, crumbly yolk preferred for egg salad. These times assume the eggs are at room temperature and placed in boiling water. Adjust for altitude, egg size, and starting temperature.
Factors That Affect Cooking Time
Several variables change how long it takes to fully cook a hard-boiled egg. The most common mistake is treating all eggs the same, regardless of size or fridge temperature. Below is a table of key factors and their impact.
| Factor | Effect on Time | Recommended Adjustment |
|---|---|---|
| Egg size | Larger eggs take longer to cook through | Add 1–2 minutes for extra-large or jumbo eggs |
| Starting temperature | Cold eggs from the fridge slow heat transfer | Add 1–2 minutes if starting from fridge (39°F/4°C) |
| Altitude | Water boils below 212°F (100°C) above sea level | Add 1 minute per 1,000 feet (300 m) above sea level |
| Number of eggs | More eggs lower water temperature longer | Use a large pot; add 1 minute if boiling 6+ eggs |
How to Check When Eggs Are Done
Perfect hard-boiled eggs have fully set whites and yolks with no greenish-gray ring around the yolk. This ring forms when iron in the yolk reacts with hydrogen sulfide from the white due to overcooking or too-long sitting in hot water. To avoid it, follow precise timing and cool eggs immediately.
After cooking, remove eggs with a slotted spoon and place them in a bowl of ice water for at least 5 minutes. This stops cooking and makes peeling easier. To test doneness without cutting, spin the egg on a flat surface. A fully cooked egg spins smoothly; a wobbly spin means the inside is still liquid.
Worked Example: Boiling 6 Large Eggs at Sea Level
Suppose you are boiling 6 large eggs (about 2 oz/56 g each) taken directly from the refrigerator (39°F/4°C) at sea level. Use a 3-quart (2.8 L) pot with enough water to cover the eggs by 1 inch (2.5 cm). Bring the water to a rolling boil. Gently lower the eggs using a spoon. Wait for the water to return to a full boil, then start timing.
Because the eggs are cold and large, add 1 minute to the base time. Cook for 10 minutes. After 10 minutes, remove eggs and immediately transfer to an ice-water bath for 5 minutes. The result is a fully set yolk with no green ring and a clean, easy-to-peel shell.
Common Misconception: Boiling Time Starts at Water Boil
Many sources say to boil eggs for 10 minutes, but they often don’t clarify when the timer should start. Starting the timer when you first bring water to a boil, before adding eggs, results in overcooking. The correct method starts the timer only after the water returns to a full, rolling boil post-addition. This accounts for the temporary temperature drop when cold eggs are added.
For example, if you start with boiling water, add cold eggs, and immediately start a 10-minute timer, the eggs may cook for up to 13 minutes total—3 minutes while water reheats plus 10 minutes of actual boil. This leads to overdone yolks. Always restart the timer once the water is boiling again.
Peeling and Storage
Peel under cool running water to help separate the shell from the membrane. Older eggs (1–2 weeks old) peel more easily than fresh ones because their higher pH reduces membrane adhesion. If peeling immediately, do so after the ice bath. For meal prep, store unpeeled hard-boiled eggs in the refrigerator.
Refrigerate hard-boiled eggs within 2 hours of cooking. Store in a covered container or original carton for up to 1 week. Do not leave peeled eggs at room temperature more than 2 hours (1 hour if above 90°F/32°C). For longer storage, freeze only in mashed or processed form (e.g., for egg salad), not whole, as whites become rubbery.
Soft vs. Medium vs. Hard Boil: What the Times Mean
The difference between soft, medium, and hard-boiled eggs is based on yolk consistency and cooking duration. A soft-boiled egg (4–6 minutes) has a runny yolk and partially set white. A medium-boiled egg (7–8 minutes) has a firm white and a jammy, spreadable yolk. A hard-boiled egg (9–12 minutes) has fully firm whites and yolks.
For dishes like deviled eggs or egg salad, use 10–12 minute eggs for clean slicing and no runny centers. For ramen or toast, 6–7 minutes gives a creamy yolk. Always cool eggs in ice water regardless of doneness to prevent overcooking.
Altitude Adjustments Explained
At higher elevations, atmospheric pressure drops, lowering the boiling point of water. At 5,000 feet (1,524 m), water boils at about 203°F (95°C), not 212°F (100°C). This 9°F (5°C) difference slows heat transfer into the egg, requiring longer cooking.
For every 1,000 feet (300 m) above sea level, add 1 minute to the base cooking time. At 3,000 feet (914 m), add 3 minutes. So, a 9-minute sea-level cook becomes 12 minutes. Use a food thermometer to verify: a fully cooked hard-boiled egg has both yolk and white firm, meeting the USDA FSIS standard for egg dishes.
Why Ice Water Bath Is Essential
Immediately cooling boiled eggs in an ice-water bath stops residual cooking. Even after removal from boiling water, eggs continue to cook from internal heat. Without rapid cooling, this can add 1–2 minutes of unintended cooking time, leading to a greenish yolk ring.
The ice bath also contracts the egg inside the shell, creating a small air pocket that aids peeling. Use equal parts ice and water, enough to submerge all eggs. Soak for at least 5 minutes—longer is safe, but 5 minutes is sufficient for temperature stabilization.
Choosing Eggs for Hard Boiling
Freshness affects peelability but not safety or taste. Eggs 7–10 days old are ideal for hard boiling because they have lost some moisture through the shell, increasing the air pocket and reducing membrane stickiness. Eggs laid the same day are harder to peel cleanly.
If using very fresh eggs, still follow safe cooking procedures. There is no food safety risk in using fresh eggs, but expect more shell fragments when peeling. Avoid cracking eggs before boiling; hairline cracks let water in and cause white leakage.
How to Prevent Cracked Shells During Boiling
Cool eggs are prone to cracking when dropped into boiling water due to thermal shock. To prevent this, let eggs sit at room temperature for 15–30 minutes before boiling, or start them in cold water and bring to a boil slowly. However, cold-start methods often yield less consistent results.
A better method: use a pin or egg piercer to make a tiny hole in the rounded end of the egg, where the air cell is. This releases pressure during heating and reduces cracking. Alternatively, lower eggs gently with a spoon and avoid overcrowding the pot. If a crack occurs, the egg is still safe to eat; the white may leak slightly but will cook in place.
Related
- How Long Do Hard Boiled Eggs Last in the Freezer
- Bread Crust Too Hard? Fix and Prevent It
- How Long Does Egg Salad Last in the Freezer?
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).