Egg Temperature Safety: Safe Cooking & Storage
In this article
Yes, egg temperature safety comes down to two numbers: cook eggs until the yolk and white are firm (which is about 160°F / 71°C for egg dishes and casseroles), and keep raw or cooked eggs out of the “danger zone” between 40°F and 140°F (4°C and 60°C) for no more than 2 hours. For whole eggs, that means cooking until both the white and yolk are set, not runny, unless you’re using pasteurized eggs. For dishes like quiche, cheesecake, or custards, the target is 160°F (71°C) at the center.
Why Temperature Matters for Eggs
Eggs are a high-protein, high-moisture food, which makes them a perfect breeding ground for Salmonella if they’re held at the wrong temperature. The bacteria can be present inside the egg or on the shell, so visual cues alone aren’t always reliable. That’s why the U.S. Department of Agriculture (USDA) recommends cooking eggs until both the white and yolk are firm, and heating egg dishes to an internal temperature of 160°F (71°C). This temperature is high enough to kill Salmonella in seconds, provided the egg reaches it throughout.
Temperature also affects texture. Eggs are mostly water and protein. As they heat, the proteins unwind and bond, turning from liquid to a soft gel to a firm solid. The coagulation starts around 144°F (62°C) for yolks and 149°F (65°C) for whites, but it’s not complete until about 158°F (70°C). So the safe temperature and the “done” temperature for eggs conveniently overlap.
Safe Internal Temperatures for Egg Dishes
Different egg dishes have slightly different targets, but 160°F (71°C) is the benchmark for any dish where eggs are the main ingredient. Here’s a quick rundown:
- Scrambled eggs, omelets, fried eggs: Cook until the eggs are firm throughout, with no visible liquid egg. For scrambled, that means curds that are set but still moist, not wet or shiny.
- Quiche, frittata, egg casseroles: Insert an instant-read thermometer into the center. It should read 160°F (71°C). If it’s lower, bake a few minutes more and check again.
- Custards (crème brûlée, flan, cheesecake): These are often served soft, but the USDA still recommends 160°F (71°C) for food safety. A cheesecake that reads 160°F at the center will be set but still slightly jiggly in the middle—that’s normal.
- Eggs in baked goods (cakes, cookies, breads): These are safe when the baked item is fully cooked, since the internal temperature of the batter reaches well above 160°F during baking.
If you’re making a recipe that calls for raw or undercooked eggs (like homemade mayonnaise, hollandaise, or tiramisu), use pasteurized eggs or pasteurized egg products. Pasteurized eggs are heat-treated to kill bacteria without cooking the egg, so they’re safe to use raw.
Cold Storage: Keeping Eggs Below 40°F
Raw eggs should be refrigerated at or below 40°F (4°C). In the U.S., commercial eggs are washed and must be refrigerated to prevent bacterial growth. Keep them in their original carton on an interior shelf, not in the door, where the temperature fluctuates. The carton also protects the eggs from absorbing strong odors from other foods.
Here are the key storage times:
- Raw whole eggs in shell: 4–5 weeks from the pack date if refrigerated.
- Raw egg whites: up to 4 days in the refrigerator.
- Raw egg yolks: up to 2 days in the refrigerator, covered with a little water to keep them moist.
- Hard-cooked eggs: up to 1 week in the refrigerator.
- Cooked egg dishes (quiche, scrambled eggs): 3–4 days in the refrigerator.
Eggs should not sit at room temperature for more than 2 hours total, including the time they’re on the counter while you’re cooking. If the room is over 90°F (32°C), that drops to 1 hour. After that, bacteria can multiply quickly, so refrigerate promptly.
How to Check Doneness and Temperature
For egg dishes, an instant-read thermometer is your best friend. Insert it into the thickest or center part of the dish, avoiding the pan bottom. For a quiche, that means the center of the custard; for a frittata, the middle of the egg mixture. Wait about 10 seconds for the reading to stabilize.
For whole eggs, you can rely on visual cues: the white should be completely set and opaque, and the yolk should be firm. If you like your yolks runny, you’re taking a slightly higher risk—but if you’re cooking for a healthy adult, the risk is low. For vulnerable populations (pregnant women, young children, older adults, or anyone with a weakened immune system), cook eggs until the yolk is firm or use pasteurized eggs.
If you’re baking a cheesecake or custard, the thermometer is the only reliable way to know it’s safe without overcooking. Many recipes say “set but jiggly in the center,” but that jiggle can be misleading. A thermometer reading of 160°F (71°C) is the definitive check.
Common Mistakes and Misconceptions
“The eggs look done, so they’re safe.” Not always. If you’re making a large casserole, the center may still be under 160°F even when the edges are set. Always check the center with a thermometer.
“Leaving eggs out overnight is fine if they’re not cracked.” No. The 2-hour rule applies to all raw eggs, cracked or not. The shell is porous, and bacteria can grow on the outside and migrate inside.
Commercial eggs are already washed; just wash your hands after handling them, and cook them properly.
“You can tell if an egg is safe by the float test.” The float test (placing an egg in water to see if it sinks or floats) only indicates age, not safety. A floating egg may be old, but it could still be safe—or not. The only reliable way to know if an egg is safe is to cook it to the right temperature and store it properly.
Temperature and Baking: How It Affects Texture
Eggs play a structural role in baking. The proteins in eggs set the structure of cakes, custards, and quiches. If you cook them too fast at too high a temperature, the proteins tighten and squeeze out moisture, causing curdling or a rubbery texture. That’s why custards are often baked in a water bath—the water moderates the heat so the eggs cook gently and evenly.
For cheesecake, the target is 160°F (71°C) at the center, but many bakers prefer to pull it out at 155°F (68°C) and let carryover cooking finish it. The residual heat will raise the temperature the last few degrees while the cake cools. That’s a common technique, but it’s only safe if you’re confident your oven and pan carry heat predictably. If you’re serving to a vulnerable person, stick to 160°F.
For quiches, the same logic applies. A quiche that reads 160°F at the center will be set but still silky, not dry. Overbaking to a higher temperature will make the custard curdle and weep.
Frequently Asked Questions
Can I eat raw eggs if they’re fresh from a farm?
Fresh eggs from a farm are not automatically safe to eat raw. They may carry Salmonella just like store-bought eggs. If you want to eat raw or undercooked eggs, use pasteurized eggs, which are heat-treated to kill bacteria.
What temperature kills salmonella in eggs?
Salmonella is killed at 160°F (71°C) almost instantly. That’s why the USDA recommends cooking egg dishes to that internal temperature. For whole eggs, cooking until the white and yolk are firm achieves the same effect.
How long can eggs sit out on the counter? No more than 2 hours, and 1 hour if the room is over 90°F (32°C). After that, discard them. Use pasteurized eggs for any dish where the eggs are not fully cooked.
Is it safe to eat sunny-side-up eggs with runny yolks?
For healthy adults, the risk is low, but it’s not zero. The white is cooked, but the yolk is not. If you’re pregnant, elderly, or immunocompromised, cook the yolk until firm or use pasteurized eggs.
Can I refrigerate leftover scrambled eggs and reheat them?
Yes. Refrigerate within 2 hours of cooking, and eat within 3–4 days. Reheat until steaming hot (165°F / 74°C) before eating.
Does adding milk or cream to eggs change the safe temperature?
No. The target remains 160°F (71°C) for any egg dish, whether it’s plain scrambled eggs or a rich custard. The added liquid just changes the cooking time, not the safe endpoint.
Final Takeaway
Egg temperature safety is simple: cook eggs to 160°F (71°C) for dishes, cook whole eggs until firm, and keep eggs refrigerated at 40°F (4°C) or below. Use a thermometer for casseroles and custards, and never leave eggs out for more than 2 hours. Follow those rules, and you can enjoy eggs without worry.