Transfer flour to an airtight container such as a plastic bin or glass jar. This will prevent moisture, bugs, and other contaminants from entering. Store the container in a cool, dry place like a pantry, away from heat sources. Keep the flour away from spices and onions as it can absorb their odors and flavors.
For optimal freshness, use the flour within 6 months. When scooping, lift the flour instead of plunging the scoop to minimize compaction.