Skip to main content

How Long Eggs Last in Your Refrigerator

Eggs stay fresh for three to five weeks from the day you bring them home, as long as you store them in their original carton on a shelf—not the door.

The carton matters more than you might think. It protects eggs from absorbing odors and flavors from other foods, and it keeps them from rolling around and cracking. The date printed on the carton is a packing date (the day the eggs were graded and packed), not an expiration date. Eggs are typically good for about three weeks after that packing date, sometimes longer if your refrigerator runs cold and consistent.

Temperature stability is what actually extends shelf life. Eggs develop an air pocket inside the shell as they age. A refrigerator that holds steady at 40°F or below slows this process. Every time the temperature fluctuates—which happens every time you open the door—that air pocket expands slightly, and the egg ages a little faster. This is why the door, which experiences the most temperature swings, is the worst place to store them.

Key Takeaways

  • Store eggs in their original carton on a middle or lower shelf, where temperature stays most consistent.
  • Eggs remain safe to eat for three to five weeks from purchase, even after the packing date on the carton has passed.
  • The packing date on the carton is not an expiration date—it tells you when the eggs were processed, not when they go bad.
  • A cracked or leaking egg should be thrown out immediately, as bacteria can enter through the break.
  • Cooked eggs last three to four days in the refrigerator, whether hard-boiled, scrambled, or baked into a dish.

Why the Carton Protects Eggs Better Than a Bowl

Eggshells are porous—they have thousands of tiny holes that let air and moisture pass through. This is how a chick breathes inside the shell during development. After the egg is laid, those same pores let odors from your refrigerator seep in. A strong-smelling food like fish or onions can flavor an egg if they sit near each other long enough.

The carton creates a barrier. It also keeps eggs from rolling and cracking, which matters because a cracked shell is an open door for bacteria. If you notice a crack when you get home, use that egg right away or discard it. A small leak means bacteria have already entered the white or yolk.

Cardboard cartons also let you see the packing date and any damage before you buy. Plastic or foam cartons work the same way, but cardboard is easier to store flat and takes up less space.

How to Tell If an Egg Has Gone Bad

The most reliable test is the float test. Fill a bowl with cold water and gently place an egg in it. A fresh egg sinks and lies flat on its side. An older egg stands upright or floats because the air pocket inside has grown larger. A very old egg floats high or bobs at the surface. Floating does not always mean the egg is unsafe—it depends how old it is—but it is a clear sign the egg is past its prime.

You can also crack the egg into a bowl before cooking. A fresh egg has a firm, rounded yolk and a thick white that does not spread far. An older egg has a flatter yolk and a thin, watery white that spreads across the bowl. Neither necessarily means it is unsafe, but both tell you the egg is losing quality. If the yolk or white smells sour or sulfurous, or if there is any visible mold or discoloration, throw it out.

Cooking kills most bacteria, so an older egg that looks and smells normal is usually safe to eat. The main risk is Salmonella, which can live inside the yolk or white. Salmonella does not change the smell, taste, or appearance of an egg. If you are pregnant, very young, elderly, or immunocompromised, use eggs within one to two weeks of purchase and cook them thoroughly—yolks should be firm, not runny.

The Right Refrigerator Shelf for Eggs

The door is the warmest part of your refrigerator because it opens and closes constantly. Every time you open it, warm air rushes in and cold air escapes. The temperature on the door can swing 10 to 15 degrees in a single day. Eggs stored there age much faster than eggs stored deeper inside.

The best spot is a middle or lower shelf, toward the back. This is where temperature stays most stable. If your refrigerator has a dedicated egg shelf or compartment, use it—manufacturers design these to hold steady temperature. If you have room, keep eggs in their carton rather than transferring them to a container, because the carton is designed to maintain the right humidity and protect against odor transfer.

Do not wash eggs before storing them. The shell has a natural protective coating called the bloom. Washing removes it, which opens the pores and lets bacteria in. Wash eggs only right before you cook them, under running water if they are visibly dirty.

Cooked Eggs and Egg Dishes Last Shorter

Once an egg is cooked, bacteria can grow on it more easily. Hard-boiled eggs, scrambled eggs, omelets, and baked egg dishes all last three to four days in the refrigerator. Store them in an airtight container to keep them from drying out and to prevent them from absorbing odors.

Hard-boiled eggs are the exception that sometimes lasts longer. If you keep them in their shells and store them in a cool part of the refrigerator, they can last up to a week. The shell provides some protection. Once you peel a hard-boiled egg, eat it within a day or two.

Egg-based dishes like quiches, frittatas, and casseroles follow the same three- to four-day rule. If a dish contains meat, dairy, or vegetables that spoil faster than eggs, follow the shelf life of the most perishable ingredient. A quiche with spinach and cheese lasts as long as the cheese would in that dish, usually three to four days.

Freezing Eggs Extends Storage to Several Months

If you have eggs nearing the end of their shelf life and you are not ready to use them, freezing is an option. You cannot freeze eggs in their shells—the contents expand and crack the shell. Instead, crack them into a bowl, beat them lightly, and pour them into ice cube trays or a freezer container. Label the container with the date and the number of eggs.

Frozen raw eggs last three to four months. Thaw them in the refrigerator overnight before cooking. Use thawed eggs in baked goods, scrambled eggs, or omelets—not in dishes where you want a runny yolk, because freezing changes the texture of the yolk.

Hard-boiled eggs do not freeze well. The white becomes rubbery and the yolk becomes grainy. If you want to meal-prep hard-boiled eggs, keep them in the refrigerator and use them within a week.

Signs Your Refrigerator Temperature May Be Too Warm

If eggs are going bad faster than three to five weeks, your refrigerator may be running warmer than 40°F. A simple way to check is to place a refrigerator thermometer on a shelf and read it after a few hours. Most are inexpensive and available at grocery stores or online.

If the temperature is above 40°F, adjust the dial or settings. Most refrigerators have a dial or digital control inside. Start with a small adjustment and check the temperature again after 24 hours. If the temperature is still too warm and you have adjusted the control, the refrigerator may need servicing—a clogged vent or a failing compressor can prevent it from cooling properly.

Until the temperature is stable, use eggs more quickly and store them on the coldest shelf, usually the bottom. You can also keep eggs in a cooler with ice packs as a temporary measure.

Frequently Asked Questions

Can I eat an egg that floats in water?

A floating egg is old but not necessarily unsafe. The float test tells you the air pocket has grown, which happens over time. If the egg smells normal and has no visible cracks, you can cook and eat it. If you are in a high-risk group (pregnant, very young, elderly, or immunocompromised), use eggs within one to two weeks and cook them thoroughly.

What does the date on the egg carton mean?

The printed date is the packing date—the day the eggs were graded and packed. It is not an expiration date. Eggs are usually good for three weeks after the packing date. Some cartons also show a "sell by" date, which is typically three to four weeks after packing. Eggs are still safe after the sell-by date if stored properly.

How long do eggs last if I leave them on the counter?

Eggs left at room temperature age much faster than refrigerated eggs. In the United States, eggs are washed and sanitized before sale, which removes the protective bloom. Without refrigeration, they last only one to two hours if left out, or about one week if kept at room temperature. Always refrigerate eggs as soon as you get home.

Can I store eggs in the refrigerator door?

The door is the warmest and most unstable part of the refrigerator. Temperature swings there can be 10 to 15 degrees each time you open it. Eggs stored on the door age faster than eggs stored on a middle or lower shelf. Move them to a shelf toward the back for the longest shelf life.

Do I need to wash eggs before storing them?

No. Washing removes the natural protective coating on the shell and opens the pores, letting bacteria in. Wash eggs only right before you cook them, under running water if they are visibly dirty. If an egg is cracked or leaking, throw it out immediately.