Coffee is at its best soon after roasting and grinding. Storing it right protects flavor; storing it wrong lets it go flat fast.
The four enemies
Air, moisture, heat, and light all degrade coffee. Oxygen stales the oils, moisture invites mold and clumping, and heat and light speed both up.
Best practice
Keep beans whole until you brew, in an airtight, opaque container, in a cool dark cupboard. Buy amounts you will use within two to four weeks of the roast date.
What to avoid
Do not store coffee in the fridge, where it absorbs odors and moisture. Repeated freezing and thawing causes condensation. If you must freeze, do it once in airtight portions.
See the Coffee Bean Origin Guide and the How Much Coffee Do I Need.
The four enemies of coffee
Air, moisture, heat, and light all make coffee go stale. Oxygen causes the aromatic oils to oxidize, and roasted beans also give off gas that carries flavor away. Ground coffee goes stale much faster than whole beans because it has far more surface exposed to air.
How to store it
Keep coffee in an airtight, opaque container at room temperature, away from the stove and sunlight. Buy amounts you will use within a few weeks of the roast date, and grind just before brewing. If you must freeze coffee, divide it into small sealed portions and thaw a portion fully before opening it, since condensation harms the beans. The refrigerator is a poor choice because of moisture and odors.
