You are doing it all wrong. Here’s the right way to store baking ingredients

Flour is a staple in most kitchens, but it requires careful storage to remain fresh. The pantry might seem like a convenient place, but it’s often susceptible to temperature fluctuations and pests. Instead, transfer your flour to an airtight jar or container immediately after purchase. This prevents exposure to air and moisture, which can lead to spoilage.
Store the airtight container in a cool, dark cabinet to extend the flour’s shelf life. If you have whole grain flour, consider refrigerating or freezing it, as the natural oils in the grains can turn rancid more quickly than refined flour. In the freezer, flour can last up to two years, while in the pantry, it’s best used within six to eight months.
3. Brown Sugar: Never Alone, Always With Marshmallow
Brown sugar is notorious for hardening into a solid rock, making it difficult to use. This happens when the moisture content in the sugar evaporates. To prevent this, store brown sugar in an airtight container with a marshmallow or a piece of bread. The marshmallow helps to maintain the moisture level, keeping the sugar soft and pliable.
Alternatively, you can invest in a brown sugar saver, a small terra cotta disk that you soak in water and place in the container with the sugar. This simple addition can keep your brown sugar fresh for months, ensuring it’s always ready for use in your favorite recipes.
4. Baking Powder: Never By Stove, Always Cool Cabinet