Can Eggs Spoil in the Refrigerator and How to Tell
Yes, eggs do spoil in the refrigerator, but they last much longer there than at room temperature
Eggs are living cells that continue to age even when cold. In a refrigerator set to 40°F (4°C) or below, raw eggs in their shells stay safe to eat for three to five weeks from the date you bring them home. At room temperature, that window closes to seven to ten days. The cold slows the growth of bacteria and the breakdown of the egg's protective coating, but it does not stop time entirely.
Once you crack an egg, the clock moves faster. Raw egg whites and yolks keep for two to four days in a sealed container. Cooked eggs—scrambled, boiled, or baked into dishes—last three to four days. These timelines assume your refrigerator stays at a consistent 40°F or colder, which is why a working thermometer matters more than you might think.
Key Takeaways
- Raw eggs in their shells last three to five weeks in the refrigerator, but only seven to ten days on the counter.
- Cracked raw eggs keep for two to four days once opened, and cooked eggs last three to four days.
- A floating egg in water, a runny yolk that breaks easily, or a strong sulfur smell all signal that an egg has spoiled.
- Store eggs in their original carton on a shelf rather than the door, because the door temperature fluctuates every time you open it.
- The printed date on the carton tells you when the eggs were packed, not when they expire—eggs remain safe well past that date if stored correctly.
How to spot a spoiled egg before you cook it
The simplest test is the float test. Fill a bowl with cold water and gently place the egg inside. A fresh egg sinks and lies flat on the bottom. An older egg stands upright or floats because the air pocket inside has grown larger as moisture escapes through the shell. A floating egg is not necessarily spoiled—it may still be safe—but it is past its prime and tastes less rich.
If an egg floats, crack it into a separate bowl before adding it to your recipe. A spoiled egg will smell distinctly sour or sulfurous, like rotten cabbage or burnt matches. That smell is hydrogen sulfide, produced by bacteria breaking down the egg's proteins. If you notice it, discard the egg. A spoiled raw egg may also have a runny, watery white or a yolk that breaks apart too easily when you try to separate it from the white.
Cooked eggs show different signs. A slimy texture, a gray-green ring around the yolk (which is actually safe but unpleasant), or any off smell means the egg has spoiled. When in doubt, throw it out—eggs are inexpensive enough that the risk is not worth it.
Why the refrigerator door is the wrong place for eggs
Most refrigerators have an egg holder built into the door, and most people use it without thinking. This is a mistake. The door is the warmest part of your refrigerator because it opens and closes constantly, letting warm air in each time. Eggs stored there age faster than eggs stored on a shelf, where the temperature stays stable.
Keep eggs in their original carton on a middle or lower shelf instead. The carton protects them from absorbing odors from other foods—eggs are porous and will pick up the smell of onions, fish, or garlic if they sit uncovered. The carton also keeps them from rolling around and cracking, which exposes the inside to bacteria.
What the date on the carton actually means
The printed date—often labeled "pack date" or "sell by"—tells you when the eggs were packed at the farm, not when they expire. In the United States, this date is usually written as a three-digit number (the Julian date, counting from January 1st as day 001). A pack date of 032 means the eggs were packed on February 1st.
Eggs remain safe to eat for three to five weeks after packing, so a carton packed on February 1st is still good to use in early March. Some cartons also show an expiration date, which is typically 30 days after packing. You can safely use eggs past both dates if they have been stored in the refrigerator the whole time and pass the float test and smell test.
How temperature swings and power outages affect egg safety
Eggs are sensitive to temperature changes. If your refrigerator warms up above 40°F for more than two hours—because of a power outage, a broken seal, or a thermostat set too high—bacteria can begin to multiply. You cannot see or smell this happening, which makes it dangerous.
If you experience a power outage, keep the refrigerator door closed. Eggs can stay safe for up to four hours if the door stays shut and the temperature does not rise above 40°F. After four hours, discard any eggs that were in the warmest part of the refrigerator (usually the top shelf and the door). Eggs stored on lower shelves, which stay colder longer, may still be safe.
If you are unsure whether eggs have been in the danger zone, use the float test and smell test. If both pass, the eggs are likely safe. If either fails, discard them.
Storing raw versus cooked eggs
Raw eggs in their shells need only the carton and a shelf. Cracked raw eggs—whites and yolks together or separated—should go into an airtight container or a sealed plastic bag. Label the container with the date you cracked them so you do not lose track.
Cooked eggs can be stored in an airtight container or wrapped tightly in plastic wrap or foil. Whole hard-boiled eggs last longer than scrambled eggs or omelets because the yolk and white are less exposed to air. If you have cooked eggs as part of a dish—like a casserole or a salad—follow the storage rules for that dish, which are usually three to four days.
Frequently Asked Questions
Can I eat an egg that floats?
A floating egg is old but not necessarily spoiled. Crack it into a bowl and smell it. If it smells normal and the yolk and white look normal, it is safe to eat, though the flavor and texture will be less rich than a fresh egg. If it smells sour or sulfurous, discard it.
Is the gray-green ring around a cooked egg yolk a sign of spoilage?
No. That ring forms when the yolk is overcooked and the iron in the yolk reacts with sulfur in the white. It is harmless and safe to eat, though some people find it unappetizing. It does not mean the egg has spoiled.
How long do eggs last if I leave them on the counter?
Raw eggs in their shells last seven to ten days at room temperature. After that, bacteria multiply to unsafe levels. If you leave eggs out for more than two hours, refrigerate them immediately and use them within a few days.
Can I freeze eggs to make them last longer?
Yes. Crack raw eggs into an ice cube tray, freeze them, then transfer the cubes to a freezer bag. They last up to four months frozen. Thaw them in the refrigerator before cooking. Do not freeze eggs in their shells—the liquid inside expands and cracks the shell.
What should I do if my refrigerator temperature is above 40°F?
Adjust the thermostat immediately. If eggs have been stored above 40°F for more than two hours, use the float and smell tests. If both pass, they are likely safe. If either fails, discard them. Check your refrigerator temperature with a thermometer to catch problems early.