Whole-grain flours such as wheat, spelt, and barley spoil much more quickly, with a shelf-life of 3 to 6 months. 5 Keep them in the fridge and check the expiration date before you use them.