Whether your sights are set on a hard- boil or you prefer a soft, runny yolk, the secret to mastering egg boiling is timing. Learn how long to boil an egg for the perfect consistency, whether you're after runny yolks or hard- boiled . Plus, check out our recipe ideas. Perfect hard- boiled eggs , every time! With firm whites and creamy yolks, this foolproof method ensures your eggs are cooked just right. Learn how to boil eggs gently and avoid overcooking, green rings, and hard-to-peel shells. Follow the easy steps and tips for perfect hard boiled eggs every time.