How Long Do Eggs Last?

How long do eggs last? Fresh eggs keep 3 to 5 weeks in the fridge. Learn storage times, date codes and a simple test to tell if an egg is still good.

Carton of brown and white eggs resting on a kitchen counter beside a wire basket

Key Takeaways

  • Raw eggs in the shell stay good for 3 to 5 weeks in the refrigerator, often past the date printed on the carton.
  • Hard-boiled eggs last only 1 week in the fridge, and raw yolks or whites last 2 to 4 days once separated.
  • The fridge must stay at 40 degrees F or below, and eggs belong on a shelf, not in the door.
  • A bowl of water or a sniff test can show a bad egg, but cracked eggs and slimy shells should always be thrown out.

How long do eggs last? Fresh eggs in the shell keep for 3 to 5 weeks in the refrigerator, and the exact time depends on how you store them. Once an egg is cooked, cracked or separated, the clock runs much faster.

How Long Do Eggs Last in the Fridge?

Raw eggs in the shell stay good for 3 to 5 weeks after you bring them home, as long as your fridge is at 40 degrees F or below. The 3 to 5 week count starts when you put them in the fridge, not on the date stamped on the box.

The USDA Food Safety and Inspection Service gives this same window for shell eggs. It also says to buy eggs only from a refrigerated case and to take them straight home. Eggs left out for more than 2 hours should be thrown away.

Keep eggs in their original carton on an inside shelf. The carton blocks strong smells, which shells can absorb, and it keeps the date code handy. The door is warmer and swings in temperature each time you open it, so it is a poor spot.

How Long Do Different Egg Foods Last?

Time limits change fast once an egg is cooked or broken open. Hard-boiled eggs are the one most people get wrong, because they last only a week, even though the shell looks perfect.

This table sums up common egg foods stored in a refrigerator at 40 degrees F or below.

Egg food Fridge life Freezer life
Raw eggs in the shell 3 to 5 weeks Do not freeze in shell
Raw yolks or whites, covered 2 to 4 days Up to 1 year
Hard-boiled eggs, in shell or peeled 1 week Not recommended
Egg dishes such as quiche 3 to 4 days 2 to 3 months
Pasteurized liquid egg, unopened Date on carton Up to 1 year
Pasteurized liquid egg, opened 3 days Do not refreeze

Our take: most people throw away good shell eggs too early and keep cooked eggs too long. A carton that is 4 weeks old is usually fine, but a hard-boiled egg that is 10 days old is not.

What Do the Dates on the Carton Mean?

Most cartons show either a sell-by date or a pack date. Neither one is a hard safety deadline. A sell-by date tells the store how long to display the eggs, and eggs stay usable for a few weeks past it if you kept them cold.

The pack date is a 3-digit number from 001 to 365. It marks the day of the year the eggs were washed and packed, so January 1 is 001 and December 31 is 365. If your carton says 150, the eggs were packed on May 30 in a regular year.

The USDA egg safety guidance says a sell-by date can be up to 30 days after packing. Add the 3 to 5 weeks of fridge time, and the same carton can stay good well beyond that printed date. A “best by” date is about quality, not safety.

How Can You Tell if an Egg Is Still Good?

The easiest check is the water test. Place the egg in a bowl of cold water. A fresh egg sinks and lies flat, an older egg stands on its end at the bottom, and an egg that floats should go in the trash.

Floating happens because the shell is porous, so an older egg loses moisture and its air pocket grows. A floating egg is old and not worth the risk.

You can also check these signs after cracking an egg into a separate bowl:

  • A cloudy white is normal and means the egg is very fresh.
  • A pink, green or iridescent white points to bacterial growth.
  • A flat yolk and runny white means an older egg, but it may still be safe.
  • A sulfur or rotten smell means it is bad, no matter the date.

Always crack eggs into a small bowl first, not straight into the pan. That way one bad egg does not ruin the whole dish.

When in doubt, throw it out. A cracked shell that you find at home should also go, since bacteria can pass through the opening.

How Should You Store Eggs?

Cold and steady is the rule. Keep your fridge at or below 40 degrees F, which you can confirm with a $5 appliance thermometer. Place eggs on a middle shelf near the back, where the temperature is most stable.

Do not wash eggs before storing them. In the United States, commercial eggs are washed and sanitized before sale, which removes a natural coating on the shell. Washing at home can push bacteria through the pores.

Some people keep eggs on the counter, and you may see that in other countries. In the U.S., the FDA says to refrigerate eggs, because they are washed and lose their protective layer. Once an egg has been chilled, it should stay chilled, since moving between cold and warm air causes sweating that helps bacteria grow.

If you buy farm-fresh eggs that were never washed, they can sit on the counter for a short time. They last longer and safer in the fridge, though. When you are not sure how a seller handled them, refrigerate them right away.

Can You Freeze Eggs?

Yes, but not in the shell. A frozen shell egg expands and cracks. Instead, crack the eggs into a bowl, beat the yolk and white together, and freeze the mix in a sealed container.

Freeze them in portions you will use, such as 1/4 cup per egg. A freezer at 0 degrees F keeps eggs safe indefinitely, though quality is best within a year. Thaw them overnight in the fridge and use them within a day.

For whites alone, freeze each one in an ice cube tray, then bag the cubes. For yolks, mix in a pinch of salt or sugar to stop them from turning gummy. Use salted yolks in savory dishes and sweetened yolks in baking.

Cooked egg dishes freeze fine too. Quiche, frittatas and egg muffins hold up for 2 to 3 months. Reheat them until they reach 165 degrees F, and for more on temperatures, see our safe cooking temperatures chart.

Are Old Eggs Safe to Eat?

Eggs past their date can be safe if they were refrigerated the whole time and pass the water test. The main concern is Salmonella, a bacteria that can be on the shell or inside an egg. Cooking kills it.

The CDC estimates Salmonella causes about 1.35 million infections in the United States each year. Symptoms include diarrhea, fever and stomach cramps, usually starting 6 hours to 6 days after eating. Young children, older adults, pregnant women and people with weak immune systems face a higher risk of serious illness.

Cook eggs until the white and yolk are firm, and cook egg dishes to 160 degrees F. If you like runny yolks, use pasteurized eggs. Older eggs are also easier to peel once hard-boiled, so you do not need to waste them.

If you plan meals for the week, our guide to how to meal prep for the week shows how to use hard-boiled eggs within their 7-day window. You can also browse the everyday cooking hub for more storage and safety tips. Buying smaller cartons helps too, as part of grocery shopping on a tight budget.

Frequently Asked Questions

Can you eat eggs 2 weeks past the sell-by date?

Often yes, if they stayed refrigerated at 40 degrees F or below and show no cracks, odd smell or slime. Shell eggs keep 3 to 5 weeks after you buy them. Run the water test, crack each egg into a bowl, and cook it fully.

How long do hard-boiled eggs last?

Hard-boiled eggs last 1 week in the refrigerator, whether peeled or not. Store them in a covered container and keep them cold. Do not leave them out for more than 2 hours.

Should eggs be stored in the fridge door?

No. The door is the warmest part of the fridge and the temperature shifts every time it opens. Keep eggs in their carton on a middle shelf instead, where the air stays cold and steady.

Why do some eggs float in water?

An egg floats when its air pocket has grown large, which happens as moisture leaves through the porous shell over time. A floating egg is old, and it is safest to throw it away. An egg that sinks is fine to use.

Sources