Bring water to a boil: Fill a pot with enough water to cover your eggs by 1 inch. Bring to a full rolling boil over high heat.
Lower the eggs in: Gently lower eggs into the boiling water using a spoon or tongs.
Keep the water at a steady but not violent boil.
Simmer briefly: Let the eggs boil for 30 seconds, then reduce heat to medium-low so the water is just simmering.
Cover and cook off-heat: Put the lid on, turn off the heat, and set a timer for the doneness you want: Jammy: 8–9 minutes (set whites, custardy yolks).
Classic hard-boiled: 10–12 minutes (fully set yolks, no chalkiness).
Very firm: 13 minutes (for egg salad or grating).
Prepare an ice bath: While eggs sit, fill a large bowl with ice and cold water.
Chill immediately: When the timer ends, transfer eggs directly to the ice bath. Chill for at least 10 minutes. This stops cooking and makes peeling easier.
Peel or store: Crack each egg gently, roll to loosen the shell, then peel under a thin stream of water.
Dry and refrigerate. If storing unpeeled, dry them before chilling.