How Long Do Eggs, Milk and Cheese Last? Fridge and Freezer Times

USDA FoodKeeper gives storage times for 51 foods in the dairy, eggs and tofu group; in the refrigerator they keep anywhere from 1 day to 1–2 years, depending on the food.

USDA storage times for eggs, milk, cheese, yogurt, cream, butter, tofu and plant milks, where eggs belong in the fridge, and what to do about mold.

Last updated:

Dairy, eggs and tofu: storage times

Times are for quality and safety at 40°F (4°C) or below in the refrigerator and 0°F (−18°C) in the freezer. “From purchase” means counted from the day you buy it. Frozen food kept at 0°F stays safe indefinitely; the freezer times are for best quality.

FoodPantryRefrigeratorFreezer
Almond milkKeep refrigerated.—Until the use-by dateafter opening: 7–10 days—
ButterMay be left at room temperature for 1 - 2 days.—1–2 monthsfrom purchase6–9 monthsfrom purchase
Buttermilk—1–2 weeksfrom purchase3 monthsfrom purchase
Cheesehard such as cheddar, swiss, block parmesan—6 monthsfrom purchaseafter opening: 3–4 weeks6 monthsfrom purchase
Cheeseparmesan; shredded or grated—12 monthsfrom purchaseNot recommended
Cheeseprocessed slices—3–4 weeksfrom purchaseNot recommended
Cheeseshredded; cheddar, mozzarella, etc.—1 monthfrom purchase3–4 monthsfrom purchase
Cheesesoft such as brie, bel paese, goat—1–2 weeksfrom purchase6 monthsfrom purchase
Cheese Curdsfresh, unaged—2 weeks4 months
Coconut milkKeep refrigerated.—Until the use-by dateafter opening: 7–10 days—
Coffee creamerliquid refrigerated—3 weeksfrom purchase—
Coffee creamerpowderedStore in a dry, cool environment2 yearsfrom purchaseafter opening: 2–3 months——
Cottage cheese—2 weeksfrom purchaseafter opening: 1 weekNot recommended
Creamhalf and half—3–4 daysfrom purchase4 monthsfrom purchase
Creamheavy—10 daysfrom purchase3–4 monthsfrom purchase
CreamlightUse for cooking.—1 weekfrom purchase3–4 monthsfrom purchase
Creamwhipped, sweetened—1 day1–2 months
Creamwhipping, ultrapasteurized—1 monthfrom purchaseafter opening: 1 weekNot recommended
Cream cheese—2 weeksfrom purchaseNot recommended
Dipssour cream based—2 weeksfrom purchaseNot recommended
Egg dishesFreezing guidance applies to egg dishes after baking.—3–4 days2–3 months
Egg substitutesliquid—7 daysfrom purchaseafter opening: 3 daysNot recommended
Eggnogcommercial—3–5 daysfrom purchase6 monthsfrom purchase
Eggshard boiled cooked—1 weekNot recommended
Eggsin shell—3–5 weeksfrom purchaseNot recommended
Eggsraw whites, yolks—2–4 days12 months
Ghee6–8 months1–2 years—
Kefirfermented milk—1 weekfrom purchaseafter opening: 1–2 daysNot recommended
Margarine—6 monthsfrom purchase12 monthsfrom purchase
Milklactose-free——after opening: 1 weekNot recommended
Milkplain or flavored—Until the use-by date3 monthsfrom purchase
Miso—1 yearfrom purchaseNot recommended
Nacho cheesestore boughtFreezing not recommended - may negatively impact the texture.2 yearsfrom purchase—after opening: 2 weeks3 monthsfrom purchase
Pimento cheesepackaged—Until the use-by datefrom purchaseafter opening: 4 weeks—
Powdered milk3 - 5 year timetable based on cool temperatures, dark storage. May spoil as quickly as 3 months in hot temperatures.3–5 yearsafter opening: 3 months——
Pudding—Until the use-by dateafter opening: 2 daysNot recommended
Quarkfresh cheese—7–10 days—
Re-hydrated textured soy protein(TSP)Refrigeration time applies to prepared product.3–4 monthsfrom purchase3–4 days—
Rice milkKeep refrigerated.—Until the use-by dateafter opening: 7–10 days—
Ricotta—2 weeksfrom purchaseafter opening: 1 weekNot recommended
Sour cream—Until the use-by dateNot recommended
Soy flourfull-fat2 monthsfrom purchase6 monthsfrom purchase—
Soy milkKeep refrigerated.—Until the use-by dateafter opening: 7–10 days—
String Cheese—5 monthsfrom purchase—
Textured soy protein(TSP)2 yearsfrom purchaseafter opening: 3–4 months——
Tofu—1 weekfrom purchase5 monthsfrom purchase
Vegan Cheddar Cheese—4 monthsfrom purchaseafter opening: 3–7 days—
Whipped creamaerosol can—3–4 weeksfrom purchaseNot recommended
Whipped toppingaerosol can—3 monthsfrom purchaseNot recommended
Whipped toppingtub—2 weeksfrom purchase14 months
Yogurt—1–2 weeksfrom purchase1–2 months

Source: USDA Food Safety and Inspection Service, FoodKeeper data (v128 (09-06-2018)), public domain (CC0).

Dairy products vary more than any other group in the chart. Hard cheese keeps 6 months unopened and 3 to 4 weeks once cut, while half and half lasts only 3 to 4 days and whipped cream a single day. Raw eggs in the shell keep 3 to 5 weeks, milk and sour cream are best judged by the date on the carton, and tofu keeps about a week.

How to tell if it has gone bad

Milk, cream and yogurt that smell sour, look lumpy or have separated in an unusual way are past their best; do not taste them to make sure. Mold is a clearer signal. USDA says to discard yogurt, sour cream and soft cheeses such as cottage cheese, cream cheese and ricotta at the first spot, because mold can spread below the surface of moist foods. Shredded, sliced or crumbled cheese also goes in the bin.

Hard cheese is the exception. Cut at least 1 inch (2.5 cm) around and below the mold, keep the knife out of the mold itself, and rewrap the rest in fresh wrap. Blue cheese and brie are made with safe molds; only mold that is not part of the cheese is a problem.

Eggs are judged in a bowl. Skip cracked eggs at the store, and if an egg has an off odor or an unusual appearance once you crack it open, throw it away.

Storing it safely

  • Keep the refrigerator at 40°F (4°C) or below. USDA advises against keeping perishable foods in the door bins, where the temperature changes each time the door opens.
  • Leave eggs in their carton and put the carton on a shelf in the coldest part of the fridge. Do not wash store-bought eggs: washing can pull water through the pores of the shell.
  • A cold egg left out can sweat, which helps bacteria move into it, so do not leave refrigerated eggs out for more than 2 hours.
  • Plant milks sold refrigerated keep until the date on the pack, then 7 to 10 days once opened; shelf-stable cartons belong in the pantry until you open them.

Thawing and reheating

Many dairy foods carry “not recommended” in the freezer column because freezing ruins their texture rather than their safety. Butter freezes well for 6 to 9 months, hard cheese for 6 months and milk for 3 months; thaw them in the refrigerator, and expect thawed milk and cheese to suit cooking better than drinking or a cheese board.

Separated eggs freeze better than whole ones: egg whites keep about a year at 0°F (−18°C). Never freeze eggs in the shell, and if one freezes by accident, keep it frozen and thaw it in the refrigerator. Cook egg dishes until set, and reheat leftover quiche or scrambled eggs to 165°F (74°C).

Frequently asked questions

How long do eggs last in the fridge?

Raw eggs in the shell keep 3 to 5 weeks in the refrigerator. Hard-cooked eggs keep 1 week, and raw yolks or whites out of the shell keep 2 to 4 days.

Should eggs go in the fridge door?

No. USDA advises keeping eggs in their carton on a shelf, in the coldest part of the refrigerator, because the temperature in the door bins swings more each time the door opens.

Does an egg that floats mean it is bad?

An egg floats when its air cell has grown large, which means lower quality but not necessarily that it is unsafe. USDA suggests cracking it into a bowl and checking for an off odor or unusual appearance before using it.

Can I cut mold off cheese?

On hard cheese such as cheddar, yes: cut away at least 1 inch (2.5 cm) around and below the spot. Soft cheese such as cottage cheese, cream cheese or brie with unwanted mold, and any shredded, sliced or crumbled cheese, should be thrown out.

Can you freeze eggs?

Not in the shell. Raw egg whites freeze well for about 12 months; yolks do not freeze well on their own. Hard-cooked eggs should not be frozen.

Sources

  1. FoodKeeper Data (v128 (09-06-2018)). USDA Food Safety and Inspection Service
  2. Shell Eggs from Farm to Table. USDA Food Safety and Inspection Service
  3. Refrigeration & Food Safety. USDA Food Safety and Inspection Service
  4. Molds on Food: Are They Dangerous?. USDA Food Safety and Inspection Service
  5. Freezing and Food Safety. USDA Food Safety and Inspection Service