Boiling an egg sounds simple, but the difference between a perfect soft-boiled egg and a rubbery, overcooked one comes down to minutes—sometimes seconds. This guide focuses on the minimum cooking time needed for each style, from a barely-set white with a liquid yolk to a fully hard-boiled egg. You’ll learn exactly how long to cook eggs for your preferred texture, and how to adjust for altitude, egg size, and starting temperature. The goal is a consistent, safe result every time, without guesswork.
What You’ll Need
- Fresh eggs (large size recommended for the times below)
- A saucepan large enough to hold eggs in a single layer
- Water (enough to cover eggs by at least 1 inch)
- A timer (phone timer works fine)
- A slotted spoon for lowering and removing eggs
- A bowl of ice water (for stopping the cooking)
- Optional: a pin to poke a tiny hole in the round end of the egg (helps peeling)
Step-by-Step
- Start with room-temperature eggs (optional but helpful). If you have time, take eggs out of the fridge 15–20 minutes before cooking. This reduces the temperature shock and helps prevent cracking. If you skip this, just add 30 seconds to the cooking time.
- Place eggs in a single layer in the saucepan. Do not stack them. Add cold tap water until the eggs are covered by about 1 inch (2.5 cm) of water.
- Bring the water to a full, rolling boil over high heat. Watch the pot—do not walk away. You want a vigorous boil, not a gentle simmer.
- As soon as the water reaches a rolling boil, turn off the heat and cover the pot. This is the “off-heat” method. The residual heat in the water will cook the eggs gently and evenly, which prevents rubbery whites and green yolks.
- Start your timer immediately. The minimum times below are measured from the moment you turn off the heat and cover the pot. Do not start the timer earlier (when you first put eggs in cold water) or later (after the water has cooled).
- Use these minimum times for large eggs:
- Very soft (white just set, yolk completely runny): 4 minutes
- Soft-boiled (white set, yolk thick but still liquid): 5 minutes
- Medium (yolk partially set, jammy center): 6–7 minutes
- Hard-boiled (yolk fully set, no soft center): 9–10 minutes
For medium or extra-large eggs, add 30 seconds to 1 minute respectively. For small eggs, subtract 30 seconds.
- While the eggs cook, prepare an ice water bath. Fill a bowl with cold water and a handful of ice cubes. This stops the cooking instantly and makes peeling easier.
- When the timer goes off, immediately remove the eggs with a slotted spoon and place them into the ice water bath. Leave them for at least 5 minutes for soft-boiled, or 10–15 minutes for hard-boiled. This halts the cooking process—otherwise, the residual heat inside the egg will continue to cook the yolk, turning a 5-minute egg into a 7-minute egg.
- Peel and serve. For soft-boiled eggs, tap the top with a knife or spoon and scoop out. For hard-boiled, crack the shell gently on the counter, roll to crack all over, then peel under running cold water.
Common Mistakes
- Starting the timer too early. If you time from when you put eggs in cold water, you’ll overcook them. The water takes several minutes to reach a boil, and that time does not count toward the minimum cooking time.
- Boiling at a hard boil for the entire time. A violent boil makes eggs bounce and crack, and it cooks the whites faster than the yolks, giving you rubbery whites and undercooked yolks. The off-heat method avoids this.
- Skipping the ice bath. Without it, the egg’s internal temperature stays high for several minutes, so a 6-minute egg becomes a 7-minute egg. This is the #1 reason for “overcooked” soft-boiled eggs.
- Using eggs straight from the fridge in boiling water. If you drop cold eggs into already-boiling water, they will crack. Always start with cold water and bring it up to temperature together.
- Not adjusting for altitude. At high altitude (above 3,000 feet), water boils at a lower temperature, so eggs take longer to cook. Add 1 minute for every 3,000 feet above sea level.
Tips
- Use a timer, not your phone’s clock. It’s easy to lose track. Set a countdown timer for the exact minute you need.
- Fresh eggs are harder to peel. If you’re making hard-boiled eggs for a salad or snack, use eggs that are 5–7 days old—they peel much more easily. For soft-boiled, freshness matters less.
- Poke a tiny hole in the round end. Use a pin or an egg pricker to make a small hole in the wider end (where the air sac is). This helps the egg cook more evenly and makes peeling easier. Do not poke the pointed end.
- Test one egg first. Every stove and pot behaves a little differently. If you’re unsure, cook one egg at your estimated time, cut it open, and adjust by 30 seconds for the rest.
- For jammy eggs (6–7 minutes), transfer directly to ice water and peel immediately—they are easier to peel when still slightly warm.
Troubleshooting
- The egg cracked during cooking. This usually happens because the egg was too cold or the water boiled too hard. If it cracks, the white will leak out and cook in the water. It’s still edible but looks messy. Next time, lower the heat or start with room-temperature eggs. You can also add a teaspoon of vinegar to the water—it helps the white coagulate faster and seal the crack.
- The yolk is undercooked (too runny). You pulled it out too early. Put it back in the hot water (if it’s still warm) for 1–2 minutes, or just accept it and eat it as a very soft egg. For the next batch, add 30 seconds to your timer.
- The yolk is overcooked (greenish-gray ring around the yolk). This is a sign of overcooking, not spoilage. It’s safe to eat but has a slightly sulfurous taste. To avoid it, reduce your cooking time by 1 minute and make sure you plunge eggs into ice water immediately.
- The egg is hard to peel. This is almost always because the egg is too fresh. If you must use fresh eggs, try peeling under running water—the water gets under the shell and helps release the membrane. Another trick: after boiling, gently crack the shell all over before putting the egg in the ice bath; the cold water seeps in and loosens the shell.
- You forgot to set the timer. If you’re not sure how long the eggs have been sitting, do a quick test: spin the egg on the counter. A hard-boiled egg spins easily and smoothly; a raw or soft-boiled egg wobbles and stops quickly because the liquid inside sloshes. If it spins easily, it’s likely hard-boiled. If it wobbles, it’s still soft—remove it immediately and check by cracking one open.
Frequently Asked Questions
Q: What is the absolute minimum time to make an egg safe to eat?
A: The USDA recommends cooking eggs until both the white and yolk are firm—that’s a hard-boiled egg, which takes about 9–10 minutes with the off-heat method. Soft-boiled eggs (4–7 minutes) have a runny yolk, which carries a small risk of salmonella, especially for children, pregnant women, the elderly, or anyone with a weakened immune system. If you are in a high-risk group, stick to hard-boiled.
Q: Can I eat a 3-minute egg?
A: Yes, but the white will be barely set and the yolk completely raw. It’s safe only if the egg is pasteurized or from a very trusted source. The texture is quite runny—more like a poached egg. For most people, 4 minutes is the practical minimum for a pleasant soft-boiled egg.
Q: Do I need to add salt or vinegar to the water?
A: No, neither is required for cooking time. Salt raises the boiling point slightly but not enough to matter. Vinegar helps coagulate whites if an egg cracks, but it can also give a slight vinegary taste. For clean, simple eggs, plain water is best.
Q: How do I know when a 6-minute egg is done without cutting it open?
A: You can’t tell by looking. The only reliable way is to use a timer and trust the times given. If you want to check, remove one egg, run it under cold water for 30 seconds, crack it open, and look. If it’s not right, you can adjust the remaining eggs by adding or subtracting time from the pot.
Q: Why is my egg white still runny at 5 minutes?
A: This can happen if your eggs are extra-large or if you started with very cold eggs. Also, if you removed the lid too often to peek, you let heat escape and the water cooled down. Make sure the pot is covered the whole time and check your egg size. Add 30–60 seconds if needed.
Q: Can I reuse the hot water for a second batch?
A: Yes, but the water will be cooler, so you’ll need to bring it back to a full boil first. Then turn off the heat, add the new eggs, and start the timer again from zero. The second batch will cook the same as the first, as long as you follow the same steps.