We share the keys for perfectly boiling eggs every time.

By Allrecipes Editors
April 13, 2017

What's a perfect hard boiled egg? The whites are firm but not rubbery; the yolks are cooked but still creamy. But boiling's not the only way to hard cook eggs in the shell. Here are three ways to hard cook eggs: boiling, baking, and in a pressure cooker. We'll also answer your burning questions about boiling eggs: how long do you boil eggs? How long are hard boiled eggs good? And more!

How to Hard Boil Eggs

Why does this method of hard-boiling eggs work? Because by bringing the eggs just to a boil, you can't overcook them. You'll never have to deal with dry, chalky, overcooked eggs with weirdly greenish yolks again. Nothing but beautiful bright yellow yolks and amazing texture for you! So good, you'll want to eat them with just a sprinkle of salt.

Four Steps to Perfect Hard Boiled Eggs:

1. Place eggs in a saucepan or pot and cover with cold water.

Eggs first, then water. Why? Because if you put the eggs in second, they might crack as they fall to the bottom of the pan. It's no fun to learn this the hard way.

Note: Very fresh eggs are delicious fried or scrambled, but older eggs are actually easier to peel. Your best bet for hard-boiled eggs is to choose eggs you've had in the refrigerator for a week or two.

2. Put pan over high heat and bring water to a rolling boil. Remove pan from heat and cover.

How long does it take to boil an egg? Well, actually, you want the water to come just to a boil but not stay there. Eggs exposed to high heat for a long time go through a chemical reaction that turns the yolks green! So the answer to "How long do you boil hard boiled eggs?" is: pretty much not at all. Because the eggs cook in water that's not actually boiling, some people prefer the term "hard-cooked eggs" to hard-boiled eggs.

3. Let the eggs stand in the hot water for 14-17 minutes.

Actually, there's something else to think about when considering how long to boil eggs. How long you let the eggs stay in the hot, hot water depends on how big the eggs are and how hard you want them cooked. To cook small eggs to medium, let them stand for 14 minutes. To cook extra-large eggs to medium, let them stand for 17 minutes. (We're talking about chicken eggs here. You're on your own with ostrich eggs.)

4. Drain eggs and put in a bowl filled with ice water.

The ice water isn't just a nice-to-have; it cools the eggs down and prevents the green yolk problem. If you're planning to peel the eggs, like if you're chopping them for egg salad, crack them slightly before putting them in the ice water, and let them sit for an hour for maximum ease of peeling.

How to Hard Cook Eggs in the Oven

This method is just a bit unorthodox. It requires zero water -- which, true, technically makes this method more hard-baking than hard-boiling. But stay with us here. Oven-baked "hard-boiled" eggs are just eggs heated up in a hot, dry oven. It's a smart move when you're making loads of eggs or stovetop space is at a premium. Pro Tip: Use a muffin tin to keep the eggs from rolling about in the oven. Here's the technique in action:

How to Hard Cook Eggs in the Pressure Cooker

Here's the best way to hard boil fresh eggs. Fresh eggs are notoriously hard to peel. But this pressure cooker method makes it easy. Gremolata, who submitted the recipes, says: "If you happen to raise your own chickens or have access to really fresh eggs, a pressure cooker is the best way to make hard-cooked eggs. It doesn't really save time (the pressure cooker's usual claim to fame), but it actually makes fresh eggs easy to peel!"

Ways to Use Hard Boiled Eggs

And here's a cheat sheet full of tasty tricks for enjoying hard-boiled eggs sliced into soups, layered into sandwiches, blended into salad dressing, paired up with potatoes, and perfectly pickled!

Image by Allrecipes

Store any remaining hard-boiled eggs in the refrigerator in a covered container -- the lid prevents odors from getting out into the fridge.

How Long Do Hard Boiled Eggs Last in the Fridge?

Stored properly in the refrigerator, you can keep hard boiled eggs for one week -- 7 days. For best results, keep your boiled eggs in their shells until you're ready to eat them.

How to Store Hard Boiled Eggs

Store hard boiled eggs in their shell in the fridge for up to one week. The shell will help prevent the cooked white from absorbing fridge smells.

If you've already peeled the hard boiled eggs, you can store them in an air-tight container with a damp paper towel for up to one week. Refresh the damp towel daily.

Discover more egg info, including nutrition and safety tips, additional cooking methods, egg recipes, and more.