How Long Does Flour Last?
Flour is the staple people assume they have covered. There is a bag in the pantry, it has a date on it, and the date is somewhere in the future, so the matter is settled. Then a year goes by, someone opens the bag to make bread, and it smells faintly like old crayons.
That smell is the whole story in one sentence. Flour does not spoil the way milk spoils. It goes rancid, it gets damp, or it turns out to have had company living in it since the day you brought it home. Which of those three ends your bag depends almost entirely on what kind of flour it is and where you keep it, and barely at all on the date printed on the side.
Quick Answer
Unopened white all-purpose flour, kept cool and dry in its original bag, is good for roughly one year, and Penn State Extension puts all-purpose and bread flour at up to two years at 40°F in the refrigerator and effectively indefinitely in the freezer. Whole wheat flour is a different product with a different clock: one to three months at room temperature, because the germ that makes it whole is also an oil that goes rancid. The date on the bag is a best-quality date set by the miller, not a safety date, and no regulator requires it. The real limits are fat, moisture, and insects, in that order, and every one of them is a storage problem rather than a calendar problem.
Key Takeaways
- White flour and whole wheat flour are not the same storage problem. Milling strips the bran and germ out of white flour, and the germ is where the oil lives. What is left is mostly starch, which keeps for years. Whole wheat keeps the oil, and oil oxidizes.
- Cold is the single biggest lever. Penn State Extension says whole wheat flour needs refrigeration year round, and that all-purpose flour stretches to about two years in the fridge and stores indefinitely in the freezer. Nothing else you can do comes close to that for the effort involved.
- The date is about quality, not safety. Flour past its date is not dangerous because it is past its date. It is either fine, rancid, damp, or infested, and you can tell which by smelling it and looking at it.
- Flour is a raw agricultural product. The FDA is direct about this: the grain is grown in a field, processing it into flour does not kill bacteria, and cooking is the only way to be sure. See the safety note below.
- Insects usually arrive in the bag. The University of Florida's extension service is explicit that most pantry pests are brought home in already-infested food, and that finding them says nothing about how clean your kitchen is.
- If you want a decade, do not store flour. Store the wheat. Whole wheat berries sealed in Mylar or number 10 cans with oxygen absorbers are a 25 to 30 year food, and Utah State's research found wheat in sealed cans still made acceptable bread after 32 years. Flour is the perishable form of a nearly imperishable commodity.
Why Whole Wheat Flour Has a Short Life and White Flour Does Not
A wheat kernel has three parts. The bran is the fibrous outer shell. The endosperm is the big starchy middle. The germ is the small embryo at one end, and it is the part that would have become a plant, which is why it is packed with oil and enzymes.
White flour is the endosperm alone. The bran and the germ are milled out, and with them go nearly all of the fat and most of the enzyme activity. What remains is starch and protein, both of which are chemically boring and sit still for years.
Whole wheat flour is the entire kernel ground together, oil included. That oil behaves like any other oil: exposed to air, warmth, and light, it oxidizes, and the fatty acids it breaks into are what produce the stale, crayon-like, faintly bitter smell people describe. Penn State Extension's guidance is blunt about the consequence, noting that whole wheat flour contains natural oils that turn rancid quickly at room temperature and that it should be refrigerated year round.
This is the same mechanism that separates white rice from brown rice, and if you have read our piece on how long stored rice actually lasts, the shape of the answer will be familiar. Strip the fat out of a grain and it stores for decades. Leave the fat in and you are storing a food with a shelf life measured in months. Milling does not change the nutrition question, which is a separate argument, but it entirely changes the storage question.
How Long, By Type and Location
Planning figures rather than guarantees. In every row, cooler is longer and airtight is longer.
| Flour | Pantry (room temperature) | Refrigerator (40°F) | Freezer (0°F) |
|---|---|---|---|
| White all-purpose, bread, cake | About 1 year | Up to 2 years | Indefinitely |
| Whole wheat, white whole wheat | 1 to 3 months | 6 to 8 months | About 1 year |
| Self-rising | About 6 months | Not recommended, the leavening fades regardless | Not recommended |
| Nut and seed flours (almond, flaxseed) | Weeks, treat as a fat | 3 to 6 months | Up to 1 year |
| Whole wheat berries, unground | 25 to 30 years sealed with oxygen absorbers, per Utah State Extension | ||
Self-rising flour is worth its own line because it fails differently. Nothing goes rancid. The baking powder in it simply loses potency, and a year-old bag of self-rising flour makes flat biscuits while smelling perfectly fine. Cold storage does not help, and freezing can actually introduce moisture that reacts with the leavening. Buy it in small bags and use it.
How Long Does Flour Last After Opening?
Opening the bag does two things. It lets in air, which starts the clock on any fat in the flour, and it lets in the humidity of your kitchen, which is the bigger problem for white flour.
The practical answer: an opened bag of white flour transferred to an airtight container and kept cool is good for six months to a year and often longer. An opened bag of whole wheat flour left in its paper sack on a counter is on a one to three month clock, and less than that in a hot kitchen in August.
The single highest-value habit here is to stop storing flour in the bag it came in. Paper sacks breathe, which is exactly what you do not want, and they are no barrier at all to insects, which chew through them easily. Penn State Extension recommends airtight containers specifically because flour both dries out in low humidity and takes up moisture from humid air, and you want neither. A food-grade bucket with a gasket lid, a large glass jar, or a sealed plastic bin all work. Label it with the date you opened it, because you will not remember.
One small note that catches people out: if you keep flour in the fridge or freezer, let it come back to room temperature before you bake with it. Cold flour interferes with yeast and with the reaction of baking powder, and a dense, disappointing loaf is often nothing more than flour used straight from the freezer.
How Long Does Flour Last in the Pantry?
A pantry is a compromise, and how good a compromise depends on which pantry. A cool interior closet on the north side of a house in Maine is a genuinely good storage environment. A cabinet above the stove in Phoenix is not a pantry, it is a slow oven.
Utah State Extension's wheat storage research gives the numbers that matter for any dry staple. Storage at 40 to 60°F is optimal. Above 60°F, quality declines measurably faster. Moisture content above 12 percent encourages mold growth and chemical degradation, above 15 percent permits outright mold, and at 20 percent you are into bacterial spoilage. Those figures are for wheat, but the physics of a dry starch sitting in a warm damp room is not different for flour.
Two placement details from the same source are worth copying exactly, because both are free:
- Keep containers off the floor, and especially off concrete, which wicks moisture into whatever is sitting on it with startling efficiency. A pallet, a board, or a shelf solves it.
- Remember that rodents chew through plastic bags. Mylar is a moisture and oxygen barrier, not an armor plate. If mice are a possibility, the Mylar goes inside a bucket or a can.
How Long Is Flour Good After the Expiration Date?
There is no expiration date on flour in any regulatory sense. With the single exception of infant formula, US federal law does not require date labels on food at all, and the dates that do appear are the manufacturer's estimate of peak quality. A miller printing "best by" on a bag of all-purpose flour is telling you when they stop vouching for the flavor, not when the flour becomes unsafe.
So the honest answer to "can I use flour six months past the date" is: open it and find out. It takes about ten seconds.
- Smell it. Fresh flour smells like almost nothing, faintly sweet and dusty. Rancid flour smells sour, sharp, or like old crayons or oil paint. Trust this, it is the most sensitive test you have and it is never wrong.
- Look at the color. White flour should be white or faintly cream. Yellowing or grey patches mean moisture or age.
- Feel it. It should be powdery and should not hold a shape when squeezed. Clumps that do not break apart under a fork mean it has taken on water.
- Sift a cup of it onto a dark plate and wait a minute. This is the insect test, and it beats staring into the bag. Anything that moves is a reason to throw out the bag.
If it passes all four, it is fine, whatever the date says. If it fails the smell test, the flour will still bake but everything you make with it will taste the way it smells, and no amount of sugar hides it.
The Insect Problem, and the Part Nobody Mentions
Flour beetles, weevils, and Indianmeal moths are the three you will actually meet. The detail that surprises people is where they come from. The University of Florida's extension publication on pantry pests states it plainly: most of these pests are introduced into homes in infested food, and their presence is not an indication of uncleanliness.
The eggs are already in the flour when you buy it. They are microscopic, they are legal, and they are normal for a product milled from a field crop. Warmth and time are what turn them into an infestation, which is why the bag you have kept in a hot pantry for eight months is the one with moths in it, and the identical bag your neighbor froze is not.
Which points directly at the fix. The same publication gives two treatments with exact numbers: an oven at 130°F (54°C) for 30 minutes, or a freezer at 0°F (-18°C) for four days will kill insects in infested food. Run new flour through the freezer for four days before it goes into long-term storage and you have sterilized the eggs that came home with it. It costs nothing but freezer space and it is the difference between a five-year bucket of flour and a five-year bucket of beetles.
Utah State Extension notes the other approach, which handles the same problem from a different angle: sealing grain in Mylar-type bags or number 10 cans with the right number of oxygen absorber packets creates an oxygen-free atmosphere that kills adult insects and prevents larvae from surviving. If you are already packing for the long term with oxygen absorbers, the insect problem is solved as a side effect.
⚠️ SAFETY: Flour is a raw agricultural product, not a processed one. The FDA is explicit that grain grown outdoors may be exposed to harmful bacteria including Salmonella and pathogenic E. coli, that processing raw grain into flour does not kill those bacteria, and that cooking is the only way to be sure food made with flour is safe. Never eat or taste raw flour, dough, or batter. Since 2009, flour-linked outbreaks have caused 168 known illnesses and 20 hospitalizations in the US. Because flour is a powder that spreads easily, keep it away from ready-to-eat foods and clean surfaces and hands after handling it. Verify against current FDA guidance.
Storing Flour for Years Instead of Months
If your goal is a deep pantry rather than a well-managed kitchen, the method changes. Flour in a paper bag is a one-year food. Flour packed properly is a five to ten year food. Wheat packed properly is a thirty year food.
For white flour, long-term packing looks like this:
- Start with white flour, not whole wheat. This is not a preference, it is the entire premise. No packing method stops the oil in whole wheat from oxidizing, it only slows it. Whole wheat flour is a short-term food no matter what you seal it in.
- Freeze it for four days first, at 0°F, to kill insect eggs, per the University of Florida figures above.
- Make sure it is dry. Flour that went into the bag at 12 percent moisture is fine. Flour that has been sitting open in a humid kitchen is not, and sealing moisture in with an oxygen absorber gives you a caked brick.
- Pack into Mylar with an oxygen absorber, then put the Mylar in a bucket or a number 10 can. Utah State lists Mylar-type bags, polyethylene bags, plastic buckets and number 10 cans as the container options, with the caution about rodents and plastic.
- Store cool, dark, and off the concrete. 40 to 60°F if you have it, and a stable temperature matters more than a low one.
Now the honest version of the advice, which most flour storage articles will not give you: do not do this with flour if you can do it with wheat instead.
Whole wheat berries have the germ oil locked inside an intact kernel rather than exposed across millions of ground particles, and that one structural difference is worth decades. Sealed with oxygen absorbers, wheat berries store for 25 to 30 years. Utah State's own research found wheat held in number 10 cans still produced acceptable bread after 32 years, while their practical rule of thumb for rotation is to keep nothing older than five years. The gap between those two numbers is the margin you are buying.
The catch is real and you should price it in before committing: whole wheat berries require a grain mill, the mill is the single point of failure, and a hand mill that will actually grind bread flour is not a cheap or a fast tool. A household that stores 300 pounds of wheat and no mill has stored 300 pounds of nothing. If you are not going to buy and test a mill, store white flour in buckets and rotate it every few years, which is a perfectly respectable plan and a great deal better than a paper sack in a warm cupboard.
A Rotation Plan That Works
- Buy whole wheat flour in small bags and keep it in the freezer. Not the pantry. This one change fixes the most common flour complaint there is.
- Decant white flour into airtight containers the day it comes home, and write the date on the lid.
- Freeze anything new for four days before it joins the long-term stock.
- Keep a working bucket and a reserve. Bake from the working one, open a reserve only when the working one is empty, and refill at the back.
- Smell the flour before every big bake. Ten seconds, and it saves the batch.
- If you store wheat, own the mill and use it at least twice a year. A mill you have never run is equipment you are guessing about.
FAQ
How long does flour last in the pantry?
White all-purpose flour lasts about a year in a cool, dry, airtight container. Whole wheat flour lasts one to three months at room temperature before the oil in the germ starts to go rancid. The pantry itself matters more than the number: Utah State Extension puts optimal dry-staple storage at 40 to 60°F, and above 60°F quality declines noticeably faster. A cabinet above the stove or next to a refrigerator's exhaust is the worst place in the kitchen for it.
How long does flour last after opening?
Six months to a year for white flour, if you move it out of the paper bag into an airtight container and keep it cool. One to three months for whole wheat unless it goes into the refrigerator or freezer. Opening the bag exposes the flour to both air and kitchen humidity, and the paper sack it came in protects against neither, so the container change matters more than the opening date.
How long does flour last in the freezer?
Penn State Extension says all-purpose and bread flour can be stored indefinitely in the freezer. Whole wheat flour holds good quality for roughly a year frozen, which is four to twelve times what it manages at room temperature. Use a genuinely airtight container rather than the original bag, since flour readily picks up freezer odors, and let it warm to room temperature before baking so it does not interfere with your yeast or baking powder.
Is flour still good after the expiration date?
Usually, yes. US federal law does not require date labels on flour, and the printed date is the miller's estimate of best quality rather than a safety deadline. Judge the flour instead of the date: it should smell like almost nothing, look uniformly pale, feel powdery with no hard clumps, and show nothing moving when you sift a cup onto a dark plate. Flour that smells sour or like old crayons is rancid and will carry that taste into whatever you bake.
Can old flour make you sick?
Rancid flour is unpleasant rather than dangerous, and the off flavor will ruin the food long before the quantity involved could hurt you. Two things genuinely can make you sick, and neither has to do with age. Mold from flour that has taken on moisture is a real reason to throw a bag out. And raw flour of any age can carry Salmonella or E. coli, because it is a raw field crop that has never been heated. Cooking handles that, which is why the FDA's guidance is simply never to taste raw dough or batter.
How do you keep bugs out of flour?
Accept first that the eggs usually arrive in the bag rather than from your kitchen, which the University of Florida's extension service is explicit about. Then kill them: an oven at 130°F for 30 minutes or a freezer at 0°F for four days, per the same source. After that, keep the flour in a sealed, rigid container rather than the paper sack, keep it cool, and use the oldest first. For long-term storage, Mylar with oxygen absorbers handles it directly, since an oxygen-free atmosphere kills adults and prevents larvae surviving.
Should I store flour or wheat for long-term food storage?
Wheat, if you are willing to buy a grain mill and learn to use it. Whole wheat berries sealed with oxygen absorbers store for 25 to 30 years, and Utah State found wheat in sealed number 10 cans still baked acceptable bread after 32 years, because the germ oil stays protected inside an intact kernel. White flour packed the same way is realistically a five to ten year food. The mill is the catch and it is not a small one: stored wheat without a working, tested mill is not food. If you will not buy one, store white flour in sealed buckets and rotate it.
Why does my whole wheat flour taste bitter?
It has gone rancid. The germ in whole wheat carries oil, and oil exposed to air, warmth, and light oxidizes into compounds that taste bitter and sharp and smell like old crayons or oil paint. It is not dangerous and it is not mold, but it cannot be fixed or baked out, and it only gets stronger. Buy whole wheat flour in quantities you will use within a month or two and keep the rest in the freezer.
Does freezing flour change how it bakes?
Not if you let it warm up first. Cold flour lowers the temperature of the dough, which slows yeast and blunts the reaction of chemical leaveners, so bread rises poorly and biscuits come out dense. Penn State Extension's guidance is to let cold flour come to room temperature before using it in baked goods for exactly that reason. Measure it out the night before or an hour ahead and the freezer costs you nothing in the finished loaf.
The Bottom Line
Flour keeps badly for a boring reason and well for an equally boring one. The bag of all-purpose in a sealed container in a cool cupboard will outlive its date by a year and nobody will notice. The bag of whole wheat in a paper sack above the stove is on a ninety-day clock and will announce it the moment you open it.
So: whole wheat goes in the freezer, white flour comes out of the paper bag, new flour gets four days at 0°F before it joins the stock, and if you are thinking in decades you are thinking about wheat berries and a mill rather than about flour at all.
Go open the bag you have and smell it. That is the entire test, and you already own the equipment. Be prepared. Stay savage.
References
- Penn State Extension. Storing Staple Ingredients in the Kitchen. https://extension.psu.edu/storing-staple-ingredients-in-the-kitchen
- Utah State University Extension. Preserve the Harvest: Storing Wheat. https://extension.usu.edu/preserve-the-harvest/research/storing-wheat
- University of Florida IFAS Extension. ENY-213/IG095, Pantry and Stored Food Pests. https://ask.ifas.ufl.edu/publication/IG095
- US Food and Drug Administration. Handling Flour Safely: What You Need to Know. https://www.fda.gov/food/buy-store-serve-safe-food/handling-flour-safely-what-you-need-know