Skip to content
Home Storage Guide
Shelf life

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.

Storage methods that apply here

Other shelf life categories

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

James Okafor

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.

Last reviewed 2026-06-01Reviewed by Rebecca Torres, RD, Registered Dietitian

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.

Shelf life

Produce Shelf Life

Counter fruit — bananas, tomatoes, potatoes — lasts days to weeks at room temperature. Everything else keeps longer in the fridge: apples 4–6 weeks, berries 3–7 days, leafy greens 5–7 days, mushrooms 3–7 days. Most produce freezes for months for cooking, though watery items turn mushy when thawed.

Storage method

How to Store Dry Goods

Move every staple into an airtight container with a gasket seal, store at 50–70°F in the cool, dark pantry, freeze new grains for 3 days to kill moth eggs, and label with dates for FIFO. Whole-grain flours and brown rice go in the fridge or freezer.

Storage

How to Store Pantry Staples

Store staples airtight in a cool (50–70°F), dry, dark pantry. Rice and flour go in sealed containers, whole-grain flour in the fridge or freezer, oils away from the stove, canned goods below 75°F, and everything under FIFO so the oldest gets used first.

Shelf life

Dairy & Egg Shelf Life

Dairy and eggs keep best at 40°F or below: milk lasts 5–7 days past the date, hard cheese 3–4 weeks after opening, butter 1–3 months, yogurt 1–2 weeks past the date, and eggs 3–5 weeks after purchase. Butter and hard cheese freeze best; milk and yogurt turn grainy.

Shelf life

Frozen Food Shelf Life

Food kept frozen at 0°F stays safe indefinitely. Quality windows are 3–12 months: meat and poultry 3–12 months, fish 2–3 months, produce 8–12 months, cooked leftovers 2–6 months, bread 3 months. Wrap food airtight to prevent freezer burn, and discard anything that thaws above 40°F for over 2 hours.

Shelf life

Meat & Seafood Shelf Life

Raw poultry and ground meat last 1–2 days in the fridge; steaks and roasts last 3–5 days. Cooked meat lasts 3–4 days. Freeze meat you cannot cook in time — frozen meat stays safe indefinitely. Never let meat sit out more than 2 hours, because bacteria multiply fast in the 40–140°F danger zone.