Table · field guide
Food Shelf Life Chart: How Long Stored Foods Really Last
You bought the rice, the beans, and the canned goods. Now the real question: how long will they actually last? This is a chart you can bookmark. It lists how long common stored foods keep, and it draws the honest line between best quality and still safe to eat. The two are not the same, and knowing the difference saves you money and worry.

Photo: Photo: Shixart1985 (CC BY)
Some links on this page are affiliate links. If you buy through them we may earn a small commission, at no extra cost to you. We only point to seeds and gear we would use ourselves. See our full affiliate disclosure.
How to read this chart
The numbers below come from USDA and university extension storage tables. They assume the one condition that matters most: cool, dark, sealed storage. A pantry that stays around 60 to 70 F in the dark hits those figures. A hot garage or a sunny shelf cuts them by half or more.
Where an honest answer is a range, you get a range. Dry storage is not an exact science, so do not trust any single precise number that ignores your conditions.
Grains and dry staples
These are the long-haul foods. Sealed in Mylar with an oxygen absorber and kept cool, whole dry grains store for decades.
- White rice: 25 to 30 years sealed with an oxygen absorber. Brown rice is far shorter (6 to 12 months) because its oils go rancid.
- Rolled oats: up to 30 years sealed cool and dry.
- Wheat berries: 25 to 30 years sealed. Whole grain stores far longer than flour.
- Dry pasta: 8 to 10 years sealed, longer to simply eat safely.
- All-purpose flour: 1 year in the pantry, longer in the freezer.
Beans and legumes
Dry beans keep almost indefinitely for safety, but there is a catch worth knowing.
- Dry beans: 8 to 10 years for best cooking quality, and safe to eat well beyond that.
- The catch: very old beans stay safe but get hard and may never soften, no matter how long you cook them. Rotate them.
- Lentils and split peas: 8 to 10 years sealed cool and dry.
Sweeteners, salt, and fats
Some things last forever. Others are the short clock in your pantry.
- Sugar and salt: indefinite kept dry. They may clump, but they do not spoil.
- Honey: indefinite. Archaeologists have eaten honey thousands of years old. If it crystallizes, warm it gently.
- Cooking oil: 1 to 2 years, and less once opened. Oils are the first thing in a pantry to go rancid, so store them cool and dark.
Canned and preserved goods
Cans and freeze-dried pouches fill the gap between fresh and decades-long dry storage.
- Canned goods: safe 2 to 5 years past the date if the can is undamaged. Quality slowly drops, but sealed cans stay safe far longer than the printed date.
- Freeze-dried food: up to 25 years in a sealed pouch with an oxygen absorber, keeping most of its nutrients.
- Home-canned food: use within 1 year for best quality, and only from tested NCHFP recipes.
What shortens shelf life
Every number above is a best case. Five enemies eat away at it, and controlling them is the whole game.
- Heat: every 18 F rise roughly cuts storage life in half. Cool is the single biggest lever you have.
- Light: sunlight breaks down fats, vitamins, and color. Store in the dark or in opaque containers.
- Oxygen: it feeds rancidity and bugs. This is why an oxygen absorber is worth the few cents it costs.
- Moisture: dampness invites mold and spoilage. A tight seal and a dry room matter more than any fancy container.
- Pests: weevils and rodents ruin bulk grain fast. Food-grade buckets and sealed Mylar keep them out.
Best by vs. safe to eat
Here is the distinction that trips everyone up. A best-by date is a quality date, not a safety date. It is the maker's guess at when the food stops tasting its best, not when it becomes unsafe.
USDA is clear that, except for infant formula, those dates are about quality. A sealed can, a bag of rice, or a jar of honey can be perfectly safe long past the printed date. The food tells you the truth: trust your eyes and nose. Off smell, bulging cans, mold, or rust mean throw it out.
This is general storage guidance, not a food-safety guarantee; when in doubt, throw it out.
Questions, answered straight
White rice keeps 25 to 30 years when sealed with an oxygen absorber and stored cool and dark, per extension storage tables. Brown rice is far shorter, roughly 6 to 12 months, because its natural oils go rancid.
The date on a can is a quality date, not a safety date. USDA notes that undamaged, properly stored cans stay safe for years past it, often 2 to 5 years. Discard any can that is bulging, leaking, or badly rusted.
Kept dry, sugar, salt, and honey last indefinitely. They may clump or crystallize, but they do not truly spoil. Whole dry grains like white rice and wheat berries last 25 to 30 years sealed, which is close enough to forever for most pantries.
No. Except for infant formula, best-by and use-by dates signal peak quality, not safety. USDA says food can be safe well past the date if it was stored right and shows no signs of spoilage. When in doubt, throw it out.