Performance can tell you something, too. You might notice sub-optimal baked goods when using past-their-peak whole-grain flours, for example. Bread dough can feel different as you knead it, or cookies might spread more as they bake. Determining when flour is past its prime takes a bit of baker’s intuition, Jampel says. Overall, if there’s any evidence of the above, toss it in the compost bin.
One complicating note about clumps: Gluten-free flours can be prone to clumping because of their high starch content. Don’t be deterred—if you can whisk out the clumps and it doesn’t smell off, it should be fine.
How long do different types of flour last?
All-purpose and refined flours: 12–18 months
Refined flour includes most white flours (all-purpose, bread, cake, pastry, 00). It has the most forgiving shelf life of all flour types, provided it is kept dry and free of insect infestation.
Self-rising flour: 12 months
Self-rising flour is the exception among refined flours. Baking powder, the leavening agent in self-rising flour, can lose potency starting on or after the flour’s best-by date. As a result, Jampel cautions, your cakes or biscuits might not rise properly.
Whole-grain flours: 3–6 months
The term “whole grain” covers a variety of milled flours and grains, including rye and spelt flours, as well as buckwheat (which is technically a seed). All whole-grain flours contain the bran and germ (the bits processed out of refined flours). These are what make whole-grain flours distinct in flavor and rich in nutrients—but they are also why whole-grain flours deteriorate at a faster rate. Different grains spoil at different rates, which is why the shelf life of whole-grain flours can vary from bag to bag.
Almond flour, walnut flour, and other flours made from ground nuts, as well as coconut flour (the pulverized dried meat of a coconut), also have a higher fat content than refined flour. Jampel stresses that the expiration dates on this type of flour are worth heeding. Once turned, old flour will smell and taste off (often compared to the smell of wet cardboard or Play-Doh). And that flavor will carry through to anything you bake with it.
How to store flour for maximum freshness
Refined flour is fairly shelf-stable. Stored in an airtight container in a cool, dry pantry, most white flours will keep for a year or more without major changes in flavor or performance. Whole-grain flours are more perishable and usually last only two to three months in the pantry.
Colder storage can extend that timeline. Refrigerating flour slows oxidation and helps deter pests like weevils and pantry moths. If you go this route, transfer the flour to an airtight container first so it doesn’t absorb moisture or stray fridge odors.
For longer-term storage, the freezer works best—especially for more volatile flours. Many bakers store whole-grain, nut, or coconut flours in a zip-top bag in the freezer to slow the natural oils from turning rancid and preserve flavor.
If you chill your flour at all, let it return to room temperature before baking, so it mixes evenly with other ingredients. And when in doubt, trust your senses: Flour that smells fresh and neutral is likely fine to use; anything sour, musty, or a different color than when you bought it should probably be tossed.

