How long do eggs last in the fridge?

Short answer: Raw eggs in the shell keep 3 to 5 weeks in a refrigerator at 40°F or below.[1][2] Hard-cooked eggs keep 1 week. Don't leave refrigerated eggs out more than 2 hours.[1]

Fridge and freezer times for eggs

Refrigerator at 40°F or below; freezer at 0°F or below. Freezer times are for quality only; food kept continuously frozen at 0°F stays safe indefinitely.[2]

Egg productRefrigeratorFreezer
Raw eggs in shell3–5 weeksDo not freeze
Raw egg whites2–4 days12 months
Raw egg yolks2–4 daysYolks do not freeze well
Raw egg accidentally frozen in shellUse immediately after thawingKeep frozen; refrigerate to thaw
Hard-cooked eggs1 weekDo not freeze
Egg substitutes, liquid, unopened10 days (USDA) / 1 week (FoodSafety.gov)Do not freeze
Egg substitutes, liquid, opened3 daysDo not freeze
Egg substitutes, frozen, unopenedAfter thawing, 7 days or use-by date12 months
Egg substitutes, frozen, openedAfter thawing, 3 days (USDA) / 3–4 days (FoodSafety.gov)Do not freeze
Egg, chicken, ham, tuna or macaroni salad3–4 daysDoes not freeze well
Casseroles made with eggs (after baking)3–4 days2–3 months
Quiche with filling (after baking)3–4 days (USDA) / 3–5 days (FoodSafety.gov)1–2 months (USDA) / 2–3 months (FoodSafety.gov)
Eggnog, commercial3–5 days6 months
Eggnog, homemade2–4 daysDo not freeze
Pumpkin or pecan pie (after baking)3–4 days1–2 months
Custard and chiffon pies (after baking)3–4 daysDo not freeze

Figures from USDA FSIS's Shell Eggs from Farm to Table storage chart.[1] FoodSafety.gov's Cold Food Storage Chart matches on raw shell eggs, hard-cooked eggs, whites and yolks, commercial and homemade eggnog, and the pies; where the two charts disagree (liquid substitutes unopened, thawed frozen substitutes opened, quiche), both times are listed and the shorter one is safer.[2] FoodSafety.gov also notes you can freeze raw eggs by beating yolks and whites together first, not in the shell.[2]

How to store raw eggs

Buy eggs from a refrigerated case with clean, uncracked shells. Take them straight home and put them in a refrigerator at 40°F or below right away. Keep them in their carton in the coldest part of the fridge, not the door.[1]

Don't wash eggs at home. Wash water can be pulled through the shell pores and raise the contamination risk; processors already wash and sanitize graded eggs.[1]

Carton dates like sell-by or use-by are about quality and stock rotation, not a hard safety cutoff. USDA-graded cartons may show an expiration date no more than 30 days from packing, or a "use by"/"best before" style date no more than 45 days including packing day.[1] Follow the 3-to-5-week fridge window after you bring them home.

Hard-cooked eggs

Hard-cooking leaves a thin layer of water under the shell that favors spoilage bacteria, so hard-cooked eggs spoil faster than fresh ones. Refrigerate them within 2 hours of cooking and use them within 1 week. Don't freeze them.[1]

The 2-hour rule

After eggs have been refrigerated, keep them cold. A cold egg left out can sweat, which helps bacteria move into the egg, and any Salmonella present multiplies at room temperature. Refrigerated eggs should not sit out more than 2 hours.[1] Throw out perishable egg dishes left at room temperature more than 2 hours, or more than 1 hour when it's above 90°F.[3]

Cooking and leftovers

Cook eggs until both the white and yolk are firm. Cook casseroles and other egg dishes to 160°F, checked with a food thermometer. Serve cooked eggs right away, or cool them quickly in shallow containers and refrigerate; use within 3 to 4 days. Reheat egg dishes such as quiche or soufflé to 165°F before serving again.[1]

Related: How long leftovers last in the fridge · How long cooked chicken lasts · How long raw chicken lasts · Defrost-time calculator

Sources

  1. USDA FSIS — Shell Eggs from Farm to Table
  2. FoodSafety.gov — Cold Food Storage Chart
  3. USDA FSIS — Leftovers and Food Safety