Knowing how long food stays safe to eat isn't guesswork—it's based on how quickly bacteria, mold, and other spoilers take hold under different conditions. The challenge is that storage times vary widely depending on what you're storing, how you're storing it, and the conditions in your home. Here's what you need to know to make confident decisions.
Food spoils through two main pathways: microbial growth (bacteria, mold, yeast) and chemical breakdown (fats going rancid, nutrients degrading, flavors changing). Some spoilage you can see or smell; some happens silently. The goal is to store food in ways that slow these processes down.
Temperature is the biggest factor. Cold slows bacterial growth dramatically—that's why refrigerators and freezers work. Moisture, air exposure, light, and how food is packaged all matter too. A sealed container in a cool, dark cupboard will outlast the same food sitting open on a counter.
Different foods have fundamentally different shelf lives based on their composition:
Canned goods, dried pasta, rice, flour, sugar, and unopened condiments typically last months to years when kept in cool, dry cupboards away from direct light and heat. Canned goods are often safe well beyond printed dates if the can isn't dented or leaking—the contents are sterilized. Oils and foods high in fat (nuts, seeds, whole grains) go rancid faster than starches, sometimes within weeks of opening.
Once opened or removed from the store, dairy, deli meats, cooked leftovers, and fresh-prepared foods typically stay safe for 3–7 days in a refrigerator held at 40°F or below. Eggs last longer (2–3 weeks). Raw poultry and ground meats are on the shorter end of that range. Hard cheeses last weeks; soft cheeses and yogurt last 1–2 weeks after opening.
Unopened packaged items (yogurt, deli meat in original packaging) often have a printed date and may last a bit longer after that date if stored properly, though quality declines.
Frozen foods are safe indefinitely from a food-poisoning perspective—freezing stops bacterial growth. Quality is the limiting factor. Fatty foods (ground beef, fatty fish) may develop freezer burn or off-flavors within 3–4 months; leaner cuts and vegetables can hold 6–12 months or longer. Properly wrapped foods stay better longer than poorly wrapped ones.
Produce timing varies dramatically: Berries last 3–7 days; leafy greens 5–10 days; root vegetables 2–4 weeks; whole citrus fruits 2–4 weeks. Storage location matters—some items (tomatoes, avocados, bananas) ripen better at room temperature; others (carrots, broccoli, herbs) prefer the crisper drawer.
| Factor | Impact |
|---|---|
| Temperature | Every 10°F warmer roughly doubles how fast food spoils |
| Air exposure | Oxygen speeds oxidation and mold growth; sealed containers win |
| Moisture | Too much invites mold; too little dries food out |
| Light exposure | Accelerates fat breakdown and nutrient loss in some foods |
| Original condition | Fresher food at purchase lasts longer; cross-contamination accelerates spoilage |
The right storage approach depends on:
Print dates, "best by," and "use by" labels are manufacturer guidance, not law—they reflect quality, not safety, in most cases. Your senses and knowledge of storage conditions are your best tools for deciding whether something is still good to eat.
