Raw eggs in the shell keep 3 to 5 weeks in a refrigerator set at 40°F (about 4°C) or below, according to the USDA Food Safety and Inspection Service (FSIS). The popular float test does not tell you whether an egg is safe: a floating egg is simply an old one, and FSIS advises cracking it into a bowl and checking for an off odor or an unusual appearance before deciding. Where you keep the carton, whether you wash the shells and how old the eggs are all matter more than the float test.
What the float test actually shows
An egg contains a small air cell at its wide end, and that cell grows as the egg loses moisture over time. FSIS explains that an egg floats once the air cell is large enough to keep it buoyant, which “means the egg is of poor quality, but it may be perfectly safe to use.” The test measures age, not contamination.
The UK Food Standards Agency (FSA) reaches the same conclusion. Its home food fact checker says it does not suggest the float test for safety, because the test “can’t show you which bacteria have been growing inside the egg.” A sinking egg is therefore not a guarantee either.
A doubtful egg is best cracked into a small separate bowl rather than straight into a batter. If the egg smells off or looks unusual, discard it and wash the bowl, and the rest of your ingredients stay untouched.
Where to keep eggs in the fridge
FSIS gives three storage rules: keep eggs in their carton, put the carton in the coldest part of the refrigerator, and do not store eggs in the door. FSIS’s refrigeration guide explains why: the temperature of the door bins fluctuates more than the temperature in the main cabinet, so eggs belong in the carton on a shelf.
Temperature swings also matter on the counter. According to FSIS, a cold egg left at room temperature “can sweat”, and the moisture helps bacteria move into the egg, so refrigerated eggs should not sit out for more than 2 hours. The FSA likewise warns that condensation on the shell increases the chance of Salmonella getting inside.
Freezing works, but not in the shell. FSIS says not to freeze eggs in the shell; the FSA suggests cracking them into a sealed container, whole, beaten or separated, and labelling it. For storage times of other dairy foods, see the dairy and eggs storage chart.
Why US eggs should not be washed at home
Washing eggs before storing them sounds hygienic, but FSIS says it is “not necessary or recommended.” The reason is physical: the shell is porous, and wash water “can be ‘sucked’ into the egg through the pores in the shell.” US regulations already require processors to wash and sanitize USDA-graded eggs, so the cleaning has been done before the carton reaches the shop. That guidance is written for eggs sold in the US, and readers elsewhere should follow their local food agency.
Recipes that leave eggs raw or lightly cooked, such as some homemade eggnog or ice cream, call for pasteurized eggs. FSIS notes that the equipment to pasteurize eggs in the shell is not available for home use, and that egg dishes and egg-milk mixtures should otherwise reach 160°F (71°C) on a food thermometer.
Hard-cooked eggs: peeling and the green ring
Freshly laid eggs are the hardest to peel, and FSIS explains the chemistry. The pH of an egg white rises from about 7.4 to about 9 as the egg ages, which loosens its grip on the shell membrane, so “older eggs make better candidates for hard cooking.” Eggs from the back of the carton are the ones to boil.
A gray-green ring around a hard-cooked yolk is a sign of overcooking, not spoilage. FSIS attributes it to sulfur and iron compounds in the egg reacting on the surface of the yolk, or sometimes to iron-rich cooking water, and states that “the green color is safe to consume.” A shorter cooking time avoids it. Peeled or unpeeled, hard-cooked eggs keep about 1 week in the refrigerator.