The more eggs you boil, the more water you’ll need. If you’re using more than 6 eggs, cover them with 2 inches (5. 1 cm) of water to ensure a good boil.

If you see an egg crack while you’re boiling, continue cooking it. Some of the white might slip out of the shell a bit, but it will be safe to eat as long as you cook it fully.

If you want your yolks a little translucent and runny in the middle, let them sit in the water for 6 minutes. If you want a classic hard-boiled egg with a firm yolk, let your eggs steep for 10-12 minutes. For hard, slightly crumbly yolks, keep your eggs in the water for 16 minutes.

To test if your eggs are done, remove one with a slotted spoon, run it under cold water, and cut it open with a knife. If the yolk isn’t done to your taste, let the other eggs sit for 1-2 more minutes. If you’re worried about your eggs rolling out when you strain, tilt the pan over the sink while holding the lid over the opening, so that the water runs out through a crack. You can also cool your eggs by letting them sit in a bowl of ice water for 1-2 minutes.

Only store hard-boiled eggs that are still in their shell. Once you peel the shell off, you should make sure to eat the egg that day. If a hard-boiled egg feels slimy after you peel it, throw the egg away. This is a sign that bacteria have started to grow and the egg isn’t good. [9] X Research source

If you’re still having trouble peeling your eggs, crack the shells and soak them in a pot of water for 10-15 minutes. Water will work under the shell, making it easier to peel off. [11] X Research source

Choose a saucepan that’s big enough to hold your eggs in a single layer. For a good measurement, set your eggs in the saucepan and fill it with water, then remove them before you start boiling.

For a runny yolk, let your eggs boil for 5 minutes. For slightly firmer yolk, boil your eggs for 6-7 minutes. Soft-boil in batches if you want more than 4 eggs.

You won’t be able to store soft-boiled eggs, so eat them right away, while they’re still warm and gooey.

If your egg is more firmly cooked, you can carefully crack it, peel the shell, and enjoy it on toast for a warm, savory breakfast treat.