Yes, eggs are safe to consume when handled, stored, and cooked properly. For example, a hard-boiled egg is safe once the white and yolk are firm, and scrambled eggs are safe when they reach an internal temperature of 160 F (71 C).
The primary safety concern with eggs is Salmonella, a bacteria that can exist on the shell or inside the egg. To minimize risk, always keep eggs refrigerated, avoid washing them before storage, and cook them until they are no longer runny. For people in high-risk groups, pasteurized eggs are the safest choice for any recipe calling for raw or lightly cooked eggs.
Cook Eggs to 160 F (71 C) for Full Safety
Cooking eggs to the correct temperature kills harmful bacteria. The USDA FSIS safe minimum internal temperature for egg dishes and casseroles is 160 F (71 C). Use a food thermometer to check the center of the dish to ensure it has reached this mark. For whole boiled eggs, the goal is to cook them until both the yolk and the white are firm.
When preparing eggs in a pan, such as scrambled or omelets, ensure there are no liquid or translucent patches remaining. If you are making a crustless quiche or a baked egg casserole, the center should be set and not jiggly when shaken slightly. If you prefer soft-poached or runny eggs, be aware that these do not reach the safe minimum temperature. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw or undercooked eggs entirely.
Handling Raw Flour and Eggs in Desserts
Many desserts, like cookie dough, cheesecake batter, or tiramisu, contain raw eggs and raw flour. Raw flour can also carry bacteria and must be heat-treated to 160 F (71 C) before use; spread it on a baking sheet and bake until it reaches this temperature, then let it cool. Use pasteurized eggs for these recipes to further reduce risk. Keep these preparations refrigerated and do not leave them at room temperature for more than 2 hours. High-risk individuals should avoid these items unless the final product is fully baked.
Store Eggs in the Main Fridge Body
Keep eggs at a consistent temperature of 40 F (4 C) or lower. While many refrigerators have built-in egg trays in the door, the door is the warmest part of the appliance because it opens and closes frequently. Store eggs on an interior shelf where the temperature remains stable. This prevents the eggs from fluctuating in temperature, which can encourage bacterial growth.
Do not wash eggs before putting them in the refrigerator. Eggs have a natural protective coating called a bloom that seals the pores of the shell. Washing removes this layer, making it easier for bacteria to enter the egg. If the shells are dirty, gently wipe them with a dry cloth or paper towel. If you must wash them, do so immediately before cooking.
Egg Shelf Life and Freshness
Fresh shell eggs typically stay safe to eat for 3 to 5 weeks after they are placed in the refrigerator. Check the "sell-by" or "expiration" date on the carton, but remember that eggs often remain safe for several days past this date if they have been kept constantly chilled. If an egg has a sulfurous smell or a slimy texture upon cracking, discard it immediately.
To check the freshness of an egg, use the float test. Fill a bowl with cold water and gently place the egg inside. A fresh egg will sink to the bottom and lay flat on its side. An older egg will stand up on one end or tilt but still stay at the bottom. An egg that floats to the surface has developed a large air pocket due to moisture loss and should be discarded.
Manage Cross-Contamination in the Kitchen
Treat raw eggs like raw meat to prevent the spread of bacteria to other foods. Use a dedicated cutting board for any prep involving raw eggs, and never place cooked eggs on a surface that previously held raw shells without scrubbing it first with soap and hot water. Wash your hands with soap for 20 seconds after touching raw eggshells or whisking raw eggs.
Be careful when cracking eggs into a bowl. If a piece of shell falls in, use a larger piece of shell to scoop it out rather than your fingers. This reduces the chance of transferring bacteria from your hands into the food or from the shell onto your skin. Clean all utensils, such as whisks and spatulas, immediately after they touch raw egg mixtures.
Handle Hard-Boiled Eggs and Leftovers
Hard-boiled eggs must be refrigerated within 2 hours of cooking. Once cooled, store them in a sealed container in the refrigerator. They typically remain safe to eat for about 7 days. If you leave a hard-boiled egg at room temperature for more than 2 hours (or 1 hour if the room is above 90 F / 32 C), it must be thrown away.
When reheating egg dishes, such as a breakfast casserole or frittata, ensure the food reaches an internal temperature of 165 F (74 C). Do not reheat egg leftovers in a slow cooker; instead, use a microwave, oven, or stovetop. This ensures the food heats evenly and quickly, spending less time in the danger zone where bacteria multiply rapidly.
Storing Peeled Eggs
Eggs stay fresh longer if the shells are left on. If you peel hard-boiled eggs ahead of time, store them in a bowl of cold water in the refrigerator, changing the water daily. This prevents the eggs from drying out and keeps them clean. Alternatively, store them in a tightly sealed container with a damp paper towel. Consume peeled eggs within 2 to 3 days for the best quality and safety.
Use Pasteurized Eggs for Specific Needs
Pasteurized eggs have been heated to a specific temperature for a set time to kill Salmonella without actually cooking the egg. These are available in the shell or as liquid eggs in cartons. They are the only safe option for recipes that require raw or undercooked eggs, such as homemade mayonnaise, Caesar dressing, aioli, or hollandaise sauce.
If you are making a sauce like mayonnaise, follow these rules: use pasteurized eggs, keep the finished sauce refrigerated at all times, and use it within 4 days. Because these sauces are often eaten raw, the risk of foodborne illness is higher. Again, pregnant people, young children, and the elderly should avoid these sauces unless they are certain pasteurized eggs were used and the product was handled with strict temperature control.
Identifying Pasteurized Options
Look for the word "pasteurized" clearly printed on the egg carton. Liquid egg whites and whole eggs sold in cartons are almost always pasteurized. If you are using shell eggs and the carton does not say pasteurized, assume they are not. In these cases, you must cook the eggs to the safe minimum of 160 F (71 C) to ensure they are safe for consumption.