How Long for Hard Boiled Eggs (Perfect Every Time)

Updated November 5, 2026

Total time
20 min
prep 5 min · cook 15 min
Serves
6
portions as written

Jump to recipe

How Long for Hard Boiled Eggs (Perfect Every Time)

Hard boiled eggs are a kitchen staple, but getting the timing right can be the difference between a creamy, vibrant yolk and a dry, gray one. This guide gives you exact cooking times for your preferred doneness, plus foolproof steps for easy peeling and safe storage. Whether you want them for breakfast, salads, or snacking, this method delivers consistent results every time.

Ingredients

  • 6 large eggs (room temperature is ideal, but cold works too)
  • Water (enough to cover eggs by 1 inch / 2.5 cm)
  • 1 tablespoon (15 ml) white vinegar (optional, helps with peeling)
  • 1 teaspoon (5 g) salt (optional, helps with peeling)
  • Ice water bath (2 cups / 480 ml cold water + 1 cup / 240 g ice)

Instructions

  1. Place eggs in a saucepan: Arrange the eggs in a single layer at the bottom of a medium saucepan. Do not stack them.
  2. Cover with cold water: Add cold tap water until it covers the eggs by about 1 inch (2.5 cm). If using, add the vinegar and salt now—they help coagulate any egg white that might leak from cracks, making peeling easier.
  3. Bring to a rolling boil: Place the saucepan over high heat and bring the water to a full, rolling boil (large bubbles breaking the surface). This usually takes 5–8 minutes depending on your stove and pot.
  4. Turn off the heat and cover: As soon as the water reaches a rolling boil, turn off the heat, cover the saucepan with a lid, and remove it from the burner. This gentle cooking method prevents rubbery whites and green rings.
  5. Set your timer based on desired doneness: Leave the eggs in the hot water for the following times:
    • Soft-boiled (runny yolk): 4–5 minutes
    • Medium-boiled (jammy, slightly soft center): 6–7 minutes
    • Hard-boiled (fully set, creamy yolk): 9–12 minutes
    • Firm hard-boiled (crumbly, fully cooked): 13–15 minutes
  6. Ice bath: While the eggs cook, prepare a bowl of ice water. When the timer goes off, use a slotted spoon to transfer the eggs immediately to the ice bath. This stops the cooking process, prevents the yolk from turning gray-green, and makes the eggs much easier to peel.
  7. Cool completely: Let the eggs sit in the ice bath for at least 5 minutes, up to 15 minutes for fully chilled eggs. For hard-boiled, 10 minutes is ideal.
  8. Peel and serve: Gently tap the egg on a hard surface to crack the shell, then roll it between your hands to loosen the shell. Peel under running cold water to help remove any stubborn bits. For boiled eggs, the yolk and white should be firm—no thermometer needed, just visual doneness.

Tips

  • Use older eggs for easier peeling: Fresh eggs (1–2 days old) are notoriously hard to peel. Eggs that are 7–10 days old have a slightly higher pH, which makes the inner membrane less sticky. If you only have fresh eggs, steaming them (place in a steamer basket over boiling water, cover, and steam for 12 minutes) can also help.
  • Don’t overcook: Leaving eggs in hot water beyond 15 minutes will produce a greenish-gray ring around the yolk and a sulfurous smell. This is harmless but unappealing. Stick to the timer.
  • Shocking in ice water is non-negotiable: Skipping the ice bath means the residual heat continues cooking the egg, leading to overcooked yolks and harder peeling. Always prepare the ice bath before you start cooking.
  • Peeling under water: For the easiest peel, do it under a stream of cold running water or directly in the ice bath. The water helps separate the shell from the egg white.

Serving Suggestions

Hard boiled eggs are incredibly versatile. Slice them over a green salad, chop them into egg salad sandwiches, or serve them halved with a sprinkle of paprika and flaky salt as a simple appetizer. They also make a great protein-packed snack on their own, or can be added to grain bowls, ramen, or deviled eggs. For a classic breakfast, serve with toast and fresh fruit.

Variations

  • Tea eggs: After boiling, gently crack the shell all over (leave it on), then simmer the eggs in a mixture of soy sauce, black tea, star anise, and cinnamon for 30 minutes. Let cool in the liquid overnight for a marbled effect and savory flavor.
  • Pickled eggs: Peel hard-boiled eggs and submerge them in a mixture of vinegar, water, sugar, salt, and spices (like beet juice for color). Refrigerate for at least 3 days before eating. They keep for up to 2 weeks in the fridge.
  • Scotch eggs: Wrap a hard-boiled egg in seasoned sausage meat, coat with breadcrumbs, and deep-fry or bake until the meat is cooked through (160°F / 71°C internal temperature for the meat).
  • Curried eggs: Halve hard-boiled eggs and serve them in a warm, spiced tomato or coconut sauce (like an egg curry) with rice or bread.

Storage and Reheating

Refrigerate: Unpeeled hard-boiled eggs can be stored in the refrigerator for up to 1 week. Keep them in their shells—the shell protects them from odors and moisture loss. Peeled eggs should be kept in a covered container with a damp paper towel to prevent drying, and used within 2 days.

Freezing: Hard-boiled eggs do not freeze well—the whites become watery and rubbery. It’s best to only freeze the yolks if needed, but they will be crumbly after thawing.

Reheating: Hard-boiled eggs are usually served cold or at room temperature. If you want to warm them, place them in a bowl of hot (not boiling) water for 5 minutes, or microwave in 10-second bursts, but be aware that reheating can make the texture rubbery. Never reheat eggs in the microwave while they are still in the shell—they can explode.

Frequently Asked Questions

Why do my hard-boiled eggs have a green ring around the yolk? The green ring is caused by overcooking—the iron in the yolk reacts with sulfur in the white. It’s safe to eat but looks unappealing. To avoid it, use the off-heat method and immediately cool the eggs in an ice bath.

How can I tell if an egg is hard-boiled without cracking it? Spin the egg on a flat surface. A hard-boiled egg spins easily and quickly, while a raw egg wobbles and stops quickly because the liquid inside shifts. This is a quick and reliable trick.

Can I boil eggs in the microwave? No—eggs in the shell will explode in the microwave due to steam pressure. If you need a quick boiled egg, use a microwave egg cooker (which uses a special cup) or stick to the stovetop method.

Why are my eggs so hard to peel? Fresh eggs are the most common culprit. The membrane sticks tightly to the shell. Use older eggs, add vinegar and salt to the water, and shock them in an ice bath. Peeling under running water also helps.

How long do hard-boiled eggs last at room temperature? They should not sit out for more than 2 hours (or 1 hour if the room is above 90°F / 32°C). After that, bacteria can multiply rapidly. Always refrigerate them promptly.

Can I use the same method for medium or soft-boiled eggs? Yes—just adjust the resting time in the hot water as noted in the instructions. For soft-boiled, use 4–5 minutes; for jammy, 6–7 minutes. Always cool them in the ice bath to stop cooking.

Related

More recipes to cook

Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes

Spotted an error? Tell us and we will correct it (corrections policy).