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

The shelf life of eggs depends on how you store them and whether they are raw or cooked. Raw eggs in their shells last longest — typically three to five weeks when kept in the coldest part of your refrigerator, usually the back of a shelf rather than the door. The exact timing depends on the egg's age when you bought it, which you can check on the carton date.

Cooked eggs have a much shorter window. Hard-boiled eggs last about one week in the refrigerator. Scrambled eggs, fried eggs, and egg dishes mixed with other ingredients (like quiches or casseroles) are safest to eat within three to four days. Once you crack a raw egg and leave it sitting, use it within two hours at room temperature, or refrigerate it in a covered container and use it within one to two days.

Key Takeaways

  • Raw eggs in their shells keep for three to five weeks when stored in the coldest part of your refrigerator, not in the door.
  • Hard-boiled eggs last about one week; scrambled or fried eggs last three to four days.
  • The carton date tells you how old the eggs were when packaged, helping you predict how long they will stay fresh.
  • Eggs absorb odors easily, so store them in their original carton to protect them from strong-smelling foods.
  • A simple water test can tell you if an old raw egg is still safe: fresh eggs sink, old eggs float.

Where to store eggs so they last longest

The back of a shelf — not the refrigerator door — is the best spot for raw eggs. The door is the warmest part of your refrigerator because it opens and closes constantly, letting warm air in each time. Eggs are sensitive to temperature swings, so they deteriorate faster there. The back of a shelf, especially the lower shelves, stays at a steady, cold temperature.

Keep eggs in their original carton rather than transferring them to a basket or egg holder. The carton does two things: it protects the eggs from cracks (which let bacteria in) and it shields them from absorbing odors from nearby foods like onions, garlic, or fish. Eggs have porous shells, so they pick up smells easily. The carton also has the packing date printed on it, which tells you how old the eggs are.

Reading the date on your egg carton

The date stamped on an egg carton is a packing date, not an expiration date. It tells you when the eggs were graded, cleaned, and packed — not when they were laid. This date is usually a three-digit number called the Julian date, where 001 is January 1 and 365 is December 31. Some cartons also show a calendar date for clarity.

Eggs are safe to eat for about three to five weeks after the packing date, depending on storage conditions. If your carton shows a packing date of 010 (January 10), the eggs are safest to use by around early February. If you see a "sell by" or "use by" date on the carton instead, that is a retailer's guideline, not a safety deadline — eggs often stay fresh past that date if stored correctly.

How to tell if a raw egg is still good

The simplest test is the water test. Fill a bowl with cold water and gently place the egg in it. A fresh egg sinks and lies flat on the bottom. An older egg stands upright or tilts up because the air pocket inside has grown larger. A very old egg floats because the air pocket is large enough to make it buoyant. Floating eggs should not be eaten; standing or tilted eggs are still safe but should be used soon.

You can also crack the egg into a bowl and look at it. A fresh egg has a thick, cloudy white and a yolk that sits high and round. An older egg has a thin, clear white and a yolk that spreads out and flattens. Neither appearance means the egg is unsafe — they just show age. If the egg smells sour or sulfurous when you crack it, discard it.

Storing cooked eggs and egg dishes

Hard-boiled eggs should be cooled completely before you refrigerate them. Store them in a covered container on a shelf (not the door) and eat them within one week. If you peel them, they dry out faster, so keep them in their shells until you are ready to eat them. Peeled hard-boiled eggs last about three to four days.

Scrambled eggs, fried eggs, and egg-based dishes like quiches, frittatas, or egg salad should go into an airtight container as soon as they cool to room temperature. Use them within three to four days. If you are unsure how long a dish has been in the refrigerator, smell it — a sour or off odor means it should be thrown away. Egg dishes with mayonnaise (like egg salad) spoil faster because mayonnaise can harbor bacteria; use those within two to three days.

Freezing eggs for longer storage

If you have eggs you will not use before they age past the safe window, freezing extends their life to about four months. Raw eggs freeze well if you crack them first — do not freeze them in the shell, as the contents expand and crack the shell. Beat raw eggs together (yolks and whites mixed) and pour them into ice cube trays or a freezer container, leaving a little space at the top. Label the container with the date and the number of eggs.

Cooked eggs do not freeze well — the whites become rubbery and the texture changes noticeably. Hard-boiled eggs are better kept in the refrigerator for the week they are safe. Egg dishes like quiches and frittatas freeze better than scrambled or fried eggs, though the texture will not be identical to fresh. Thaw frozen raw eggs in the refrigerator overnight and use them within one to two days, just as you would with fresh cracked eggs.

Signs an egg has gone bad

A cracked or leaking shell is the clearest sign to throw an egg away. Cracks let bacteria inside, and you cannot see where contamination has spread. If an egg is visibly dirty or has mold on the shell, discard it. A sulfurous or rotten smell when you crack the egg is a definite signal — do not taste it, just throw it away.

Pink, green, or black discoloration inside a cooked egg is a sign of bacterial growth and means the egg should not be eaten. This can happen if cooked eggs are stored too long or at the wrong temperature. When in doubt, throw it out — eggs are inexpensive, and the risk is not worth it.

Frequently Asked Questions

Can I eat an egg that floats in the water test?

No. A floating egg has a large air pocket, which means it is very old and may harbor bacteria. Discard it. An egg that stands upright or tilts is still safe to eat but should be used soon — cook it thoroughly.

Why do eggs smell like sulfur when I cook them?

That smell comes from a natural compound in the egg white that releases when heated. It is normal and does not mean the egg is bad. The smell is stronger in older eggs because the chemical reaction is more pronounced, but it is still safe to eat.

Do I need to wash eggs before I store them?

No. Eggs come from the farm already washed and sanitized. Washing them at home can remove the protective coating on the shell and actually make them more likely to absorb bacteria. Store them as they come.

Can I store eggs on the counter at room temperature?

In the United States, eggs are washed and sanitized at the farm, which removes the protective coating. They must be refrigerated to stay safe. In some other countries, eggs are not washed and can be stored at room temperature. Check your local guidelines, but in the US, refrigeration is necessary.

How long do eggs last after the sell-by date on the carton?

The sell-by date is a retailer guideline, not a safety deadline. Eggs typically stay fresh for three to five weeks after the packing date (which is different from the sell-by date). If the carton shows only a sell-by date, add three to five weeks to the packing date to estimate when they will no longer be fresh.