Pantry Food Shelf Life
By James Okafor· Reviewed by Rebecca Torres, RDReviewed 2026-06-01
Dry pantry staples last 6 months to 5 years: white rice 2+ years, pasta 1–2 years, flour 6–8 months, honey indefinitely, and canned food 2–5 years. Refrigerate once opened, store airtight in a cool dark place, and throw away cans that bulge, leak, or are badly dented.
The pantry is the room where food waste hides in plain sight. Cans bought "just in case," rice pushed behind the lentils, a bag of flour that has been there since the last cookie project — most of it is still fine, and most of it gets thrown away anyway because nobody knows.
The good news is that dry staples are the easiest food to store well. Keep them airtight, cool, dark, and dry, and most last months to years. The pantry shelf life of each food is governed by one of three spoilers: moisture, oxygen, or natural oils going rancid.
The three pantry spoilers
- Moisture is the enemy of everything dry. It invites mold and pantry bugs. This is why airtight containers beat the original bag every time.
- Oxygen oxidizes flavor. Ground coffee, spices, and oils lose their punch to air exposure; that is why whole coffee beans beat pre-ground, and why you buy spices in small amounts.
- Rancid oils are why whole-grain products — brown rice, whole-wheat flour — expire faster than their refined cousins. The bran's natural oils go bitter in months at room temperature. Refrigeration stops it.
Canned food is a special case
Canned food is one of the safest things in your kitchen. Low-acid cans (meat, vegetables, soups) keep 2–5 years; high-acid cans (tomatoes, fruit) 12–18 months — and both stay safe far beyond that if the can is intact. The rules are about the can, not the calendar: throw out anything bulging, leaking, heavily dented, or rusty. A bulging can is a botulism warning and must never be opened.
Once opened, everything changes
Dry goods last for years sealed, and days to weeks once opened. The moment you open flour, coffee, or bread, treat it like a fresh food. That is why the pantry organization system matters: airtight containers, clear labels, and first-in-first-out rotation keep opened food from being forgotten.
Browse each staple below for the complete shelf-life table and storage conditions.
Pantry staples
Rice, flour, pasta, bread, coffee, honey, and canned goods.
How Long Does Bread Last?
Fridge 7–14 days (dries faster)How Long Does Canned Food Last?
Fridge 3–4 days openedHow Long Does Cooked Rice Last?
Fridge 3–4 daysHow Long Does Rice Last?
Fridge —How Long Does Coffee Last?
Fridge Not recommendedHow Long Does Flour Last?
Fridge 1 yearHow Long Does Honey Last?
Fridge Not recommendedHow Long Does Pasta Last?
Fridge 3–5 days cookedStorage methods that apply here
Other shelf life categories
Dairy & Egg Shelf Life
How long dairy products and eggs last — milk, cheese, butter, yogurt, and eggs, with fridge and freezer times cited to USDA guidance.
Milk, cheese, butter, yogurt, and eggs — exact fridge and freezer lives.
Meat & Seafood Shelf Life
How long meat and seafood last — chicken, ground beef, steak, and salmon, with refrigerator and freezer times cited to USDA and FDA guidance.
Chicken, beef, and fish — plus the food-safety rules that keep them safe.
Produce Shelf Life
How long fruit and vegetables last — bananas, apples, strawberries, tomatoes, potatoes, onions, lettuce, and mushrooms, with counter and fridge times.
Fruit and vegetables — counter, fridge, and freezer shelf lives.
Frozen Food Shelf Life
How long frozen food lasts — freezer storage times by food type, how to prevent freezer burn, and why food kept at 0°F stays safe indefinitely.
Freezer-safe durations and how to prevent freezer burn.
Frequently asked questions
How long does dry pasta and rice last in the pantry?
Dry white rice lasts 2 years or more stored airtight, brown rice only 3–6 months because its oils go rancid, and dry pasta 1–2 years. Whole-grain pasta shortens to 3–6 months. Store all of them in airtight containers away from heat, light, and humidity for maximum shelf life.
Do canned foods really expire?
No — low-acid canned foods keep 2–5 years and high-acid canned foods 12–18 months for best quality, and both stay safe for many years beyond that if the can is undamaged. Throw away cans that are bulging, leaking, heavily dented, or rusty. A bulging can is a sign of botulism risk and must not be opened.
Why does brown rice go bad faster than white rice?
Because brown rice still has its bran layer, which contains natural oils. Those oils oxidize and turn rancid, giving the rice an off smell and bitter taste after 3–6 months. White rice has the bran removed, so it stores for years. The fix for both: store airtight in a cool, dark pantry.
How long does honey last?
Honey never spoils. Stored in a sealed jar away from moisture, honey stays safe to eat indefinitely — archaeologists have found edible honey in ancient tombs. It will crystallize over time, which is natural and harmless; warm the jar gently in a water bath to reliquefy it. Never give honey to a baby under 1 year old.
Should I store flour in the fridge?
Whole-wheat and other whole-grain flours last only 3 months at room temperature because their oils go rancid, so the fridge or freezer extends them to 1–2 years. White all-purpose flour keeps 6–8 months in the pantry, or 1–2 years cold. Use airtight containers to keep moisture and pantry bugs out.
Sources
Shelf-life and temperature claims on this page are cited from tier-1 food-safety authorities. Always confirm current guidance before relying on dated information.
Written by
Senior food storage writer
James Okafor writes the shelf-life guides and storage-method instructions on Home Storage Guide, translating USDA, FDA, and CDC food-safety guidance into plain-language answers.
Get the storage cheat sheet
One short email a month with the exact shelf-life numbers that matter most — plus pantry organization tips. No spam, unsubscribe anytime.
Newsletter coming soon. We are setting up our email list — this is where you will be able to subscribe.
Your email is never shared. Read our privacy policy.