How Long Does Food Last? Complete Storage Guide

Updated March 2026 · 8 min read

Knowing how long food stays safe and fresh prevents foodborne illness and reduces waste. Americans throw away roughly 30–40% of the food they buy, and a big part of that is uncertainty — "is this still good?" This guide covers storage times for the most common foods across three storage methods: refrigerator (35–40°F / 2–4°C), freezer (0°F / -18°C), and pantry (cool, dry, room temperature).

The Two-Hour Rule

Perishable food should not sit at room temperature for more than 2 hours. In hot weather (above 90°F / 32°C), that window shrinks to 1 hour. This applies to all cooked food, cut produce, dairy, and raw meat. When in doubt, refrigerate promptly.

Meat and Poultry

ItemFridgeFreezer
Raw chicken (whole)1–2 days12 months
Raw chicken (pieces)1–2 days9 months
Raw beef steaks3–5 days6–12 months
Raw ground beef1–2 days3–4 months
Raw pork chops3–5 days4–6 months
Bacon (opened)5–7 days1 month
Deli meat (opened)3–5 days1–2 months
Cooked chicken or beef3–4 days2–3 months
Cooked sausage3–4 days1–2 months

For safe internal cooking temperatures, see our meat temperature guide.

Fish and Seafood

ItemFridgeFreezer
Fresh fish (whole or fillets)1–2 days3–8 months
Shrimp (raw)1–2 days6–12 months
Cooked fish3–4 days2–3 months
Canned tuna (opened)3–4 daysNot recommended
Smoked salmon (opened)5–7 days2 months
Tip: Fresh fish should smell like the ocean — clean and slightly briny. If it smells strongly "fishy" or like ammonia, it has started to spoil. Trust your nose.

Dairy and Eggs

ItemFridgeFreezer
Milk5–7 days after opening3 months (texture changes)
Hard cheese (cheddar, parmesan)3–4 weeks (opened)6 months
Soft cheese (brie, mozzarella)1–2 weeks (opened)Not recommended
Yogurt1–2 weeks (opened)1–2 months
Butter1–3 months6–9 months
Eggs (in shell)3–5 weeks12 months (out of shell)
Hard-boiled eggs7 daysNot recommended

For tips on boiling eggs perfectly, see our egg boiling guide.

Produce

Fruits

ItemCounterFridgeFreezer
Apples5–7 days4–6 weeks8 months (sliced)
Bananas2–5 days2–3 months (peeled)
Berries1 day3–7 days8–12 months
Citrus (lemons, oranges)1 week3–4 weeks3–4 months (juice)
Avocados3–5 days (ripe)3–5 days (cut)3–6 months (mashed)
Tomatoes3–5 days2 months (whole, for cooking)

Vegetables

ItemFridgeFreezer
Leafy greens (lettuce, spinach)3–7 daysNot recommended (raw)
Broccoli, cauliflower3–5 days10–12 months (blanched)
Carrots3–4 weeks10–12 months (blanched)
Bell peppers1–2 weeks10–12 months (chopped)
Onions (whole)2–3 months (pantry)3–6 months (chopped)
Garlic (whole head)3–6 months (pantry)
Potatoes3–5 weeks (pantry, dark/cool)10–12 months (cooked)
Fresh herbs5–10 days3–4 months (frozen in oil)
Herb storage hack: Stand fresh herbs (parsley, cilantro, basil) upright in a glass of water in the fridge, loosely covered with a plastic bag. They will last 2–3 times longer than lying in the crisper drawer.

Pantry Staples

ItemPantry (Unopened)After Opening
Flour (all-purpose)6–8 months6–8 months (or freeze for 2 years)
Sugar (white)IndefiniteIndefinite
Brown sugar18–24 months6 months (keep sealed to prevent hardening)
Rice (white)4–5 years
Rice (brown)6 months
Pasta (dried)1–2 years1 year
Canned goods2–5 years3–4 days (refrigerate)
Cooking oil1–2 years3–6 months
HoneyIndefiniteIndefinite (may crystallize)
Spices (ground)2–3 years6 months for best flavor
Spices (whole)3–4 years1–2 years
VinegarIndefiniteIndefinite

Cooked Foods and Leftovers

ItemFridgeFreezer
Soups and stews3–4 days2–3 months
Cooked rice4–6 days6 months
Cooked pasta (plain)3–5 days1–2 months
Pizza3–4 days1–2 months
Casseroles3–4 days2–3 months
Homemade stock4–5 days6 months

For tips on making and storing stock, see our homemade stock guide.

How to Freeze Food Properly

Signs Food Has Gone Bad

When in doubt, throw it out. But here are specific signs:

Important: "Best by" and "sell by" dates are manufacturer suggestions for peak quality, not safety deadlines. Most foods are safe past these dates if they have been properly stored and show no signs of spoilage. "Use by" dates on infant formula are the exception — those are strict safety dates.

Organizing Your Fridge

Proper storage is the foundation of successful meal prep. Explore our recipe collection for dishes that store and reheat well, and use our kitchen tools to plan your weekly cooking.