This easy method makes great hard-boiled eggs every time.
Place on the stove top and bring to a boil.
Once the water in the pan has begun to boil, turn off heat. Let sit for 15 minutes.
Place pan under cool running water (don’t dump out water the eggs cooked in) over the sink allowing the water to become fully cool in the pan gradually. This will cool the eggs slowly preventing cracking, but also makes them easier to peel.