How Long Do Rice, Beans, and Flour Last in Storage? (2026)
By Theo Marchetti · Updated August 2026
Independent editorial guide. We never accept payment for coverage, though we may earn a commission if you purchase through our links.
Quick Take
Shelf life is set by two things: how a staple is packaged, and how much oil it contains. Packaged dry in Mylar with an oxygen absorber and kept cool and dark, white rice and most whole grains last 25 to 30 years, and dried beans a decade or more. In the bag they came in, on a pantry shelf, cut those to a year or two. The exceptions are the oily ones: brown rice, whole-grain flour, and nuts go rancid in months, not years, no matter how you seal them, because it is the oil, not bacteria, that spoils them.
So the short answer to "does white rice go bad?" is: barely, if you store it right. For brown rice and whole-wheat flour, though, it is yes, and fairly soon, so buy those in smaller amounts or freeze them. Below is the food-by-food breakdown and how to actually hit the long numbers.
Jump to the food you are asking about, or see the storage gear ↓

Most "shelf life" numbers online are quoted with no context, which is why they range wildly. A staple has no single expiration date; it has a range that depends almost entirely on packaging and temperature. The same white rice is a two-year food in its store bag and a thirty-year food sealed in Mylar in a cool basement.
This guide gives the realistic ranges food by food, then the method that unlocks the long end. For the how-to on packaging rice and beans for the decades-long numbers, see our guide to storing rice and beans long-term.
What actually sets shelf life
Four things degrade a stored staple: oxygen (which oxidizes oils and lets insects live), moisture (which invites mold), light (which breaks down nutrients), and heat (which speeds all of it up). Sealed dry in a Mylar bag with an oxygen absorber, you remove oxygen and light; a cool, dry spot handles the rest. That is why the same food can last months or decades depending only on how it is kept. And a rule of thumb worth knowing: every 10 to 20 degrees cooler roughly doubles shelf life, so a 60F basement beats an 80F garage by years.
Plastic in plastic(especially if it’s not food grade) could be sweating. 2 years white 6 months brown.
White rice: 25 to 30 years (brown rice: about a year)
White rice is one of the best long-storage foods there is. Milled of its oily bran, it has almost nothing left to go rancid, so sealed dry with an oxygen absorber it keeps 25 to 30 years, and stays safe (if less flavorful) even beyond that. Brown rice is the opposite: its intact bran is full of oil that oxidizes, giving it a pantry life of only about six months to a year before it turns rancid and bitter. Freezing brown rice extends that, but for true long-term storage, white rice is the one to lay in.
Technically white rice doesn't go bad, but moisture can change that (so storing in a mylar bag + O2 absorber = 25+ years shelf life.) Pantry, mileage may vary. Brown rice does go rancid either on a shelf or in a mylar bag due to the oils.
I've used Thai Jasmine White rice without any special treatment at over 11 years in storage with no real problem (noticeable yellowing, smell had faded, but still edible).
Dried beans: a decade or more (but they harden)
Dried beans sealed dry with an oxygen absorber stay safe and edible for a decade or more, and storage tables often list them at up to 30 years. The catch is not safety, it is texture: over the years beans lose moisture and develop a hard shell that resists softening, so very old beans can take much longer to cook (a pressure cooker helps) and some never fully soften. For eating quality, think 8 to 10 years; for emergency calories, they last far longer.
Wheat, oats, pasta, and sugar
Whole wheat berries behave like white rice, low enough in accessible oil to keep 25 to 30 years sealed, which is why long-term storers buy wheat and mill flour as needed rather than storing flour. Rolled oats keep a good while but are slightly oilier, figure up to about 20 years sealed, less in the bag. Dry pasta stores for years sealed and low-oxygen. Sugar and salt effectively never spoil, but skip the oxygen absorber with them: it does nothing useful and can cement them into a solid brick; just keep them dry and airtight.
Flour: the short one
Flour is where people are most surprised. White all-purpose flour keeps only about a year in the pantry (a bit longer sealed and cool); whole-wheat and other whole-grain flours go rancid in one to three months at room temperature, because milling exposes the germ oil to air. Refrigerate or freeze flour you will not use quickly, and buy it in amounts you will actually finish; the alternative, as noted with wheat, is to store whole grains and mill as you need them.
How to actually hit the long numbers
The decades-long figures all assume the same method: the staple goes in dry (about 10 percent moisture or less), into a Mylar bag with a correctly sized oxygen absorber, sealed, and stored somewhere cool and dark, usually inside a food-grade bucket for pest and crush protection. The one rule you cannot break is that this is for dry foods only, because sealing a moist food into a low-oxygen environment is exactly what creates a botulism risk. Our guide to storing rice and beans walks the full method, and our oxygen absorber calculator sizes the absorber for your container.
once packed into mylar, we then pack the mylar bags into Home Depot buckets with airtight lids. Double protection incase rodents get into the pantry.
Signs a staple has gone bad
Trust your nose and eyes. Rancid oils smell sharp, bitter, or like old paint or crayons, most obvious in brown rice, whole-grain flour, oats, and nuts; a staple that smells off that way is stale and unappetizing rather than dangerous, but toss it. Any sign of pantry pests (webbing, tiny beetles or moths, larvae) means the batch is compromised. And the hard line: mold, a musty or fermented smell, or any dampness means moisture got in, so throw it out rather than trying to salvage it. Properly dry, sealed staples give none of these signs for years.
I’ve found bugs only once in several decades of eating rice, and we eat rice quite often. It was rice that wasn’t one of our trusted brands, but was what was available at the time.
Recommended
Products related to this guide.
What owners say
Real owner reports from the threads and editorial sources we drew on for this guide.
“Technically white rice doesn't go bad, but moisture can change that (so storing in a mylar bag + O2 absorber = 25+ years shelf life.) Pantry, mileage may vary. Brown rice does go rancid either on a shelf or in a mylar bag due to the oils.”
— r/preppers / u/WeAreLivinTheLife
“I've used Thai Jasmine White rice without any special treatment at over 11 years in storage with no real problem (noticeable yellowing, smell had faded, but still edible).”
— r/preppers / u/Embarrassed_Trash216
“Plastic in plastic(especially if it’s not food grade) could be sweating. 2 years white 6 months brown.”
— r/preppers / u/VexMajoris
“once packed into mylar, we then pack the mylar bags into Home Depot buckets with airtight lids. Double protection incase rodents get into the pantry.”
— r/preppers / u/therealharambe420
“I’ve found bugs only once in several decades of eating rice, and we eat rice quite often. It was rice that wasn’t one of our trusted brands, but was what was available at the time.”
— r/preppers / u/Bawstahn123
Sources
USU Extension / LDS cannery: dry-staple storage life · USDA / extension: reduced-oxygen packaging is for dry foods only

