Turn off the heat immediately when the water boils. As soon as the water starts boiling completely, turn the heat off and leave the lid on. Eggs cook very quickly, and the heat of the water and the warm burner will be enough to cook the eggs thoroughly. Depending on how hard or soft you like your eggs, you can leave them in for between 5 and 20 minutes: