You can buy excellent beans and waste them in a week with bad storage. Coffee doesn't rot so much as fade — it goes flat, quietly, faster than most people think. Keeping it fresh is simple once you know what you're protecting it from.
The four enemies
Coffee has four enemies, and good storage is just keeping all of them out: air (oxygen stales it), moisture (it's hygroscopic — it drinks in humidity and odors), heat (speeds every reaction that degrades flavor), and light (breaks down aromatic compounds). Every storage rule below is just one of these four in practice.
Where to keep it
An airtight container in a cool, dark, dry cupboard — away from the oven, the kettle, and the window. That's the whole answer. An opaque canister with a good seal is ideal, but a specialty bag with a one-way valve and a resealable zip is nearly as good: squeeze the air out and press it shut each time.
Not the fridge. Maybe the freezer.
Skip the fridge. It's humid and full of smells, and coffee soaks up both; every time you open the door, condensation forms on the cold beans. It adds moisture and barely slows staling.
The freezer works for long-term storage, done right: freeze in airtight, single-use portions so you never refreeze, and let each portion warm fully to room temperature before opening. But for coffee you'll finish within a few weeks, don't bother — sealed at room temperature is simpler and just as good.
Coffee stays safe long after it stops being worth brewing.
How long it keeps
For flavor, think weeks. Coffee is at its best from a few days after roasting — it needs a little time to settle — to about three to four weeks, then slowly flattens. Whole beans hold far longer than ground, which is why you should grind only what you're about to brew: ground coffee loses its best aromatics within minutes to days. The roast date on the bag is the clock that matters — more on that in how to read a coffee label.
Buy the right amount, drink it fresh.
The best storage is buying coffee you'll finish while it's fresh. A palate-matched bag a month beats a giant tin that goes stale. Calibrate in less than a minute to make every bag one you'll reach for.
Start calibrating →Common questions
How should I store coffee beans?
In an airtight container, somewhere cool, dark and dry — a cupboard away from the oven and window. Air, moisture, heat and light are what stale coffee, so keeping all four out is the whole job. A good resealable specialty bag with the air squeezed out works nearly as well as a dedicated canister.
Should I keep coffee in the fridge?
No. The fridge is humid and full of odors, and coffee readily absorbs both — so it picks up moisture and off-flavors while barely slowing staling. Every time you take it out, condensation forms on the cold beans. Room temperature in an airtight container in a dark cupboard is better in every way.
Can you freeze coffee beans?
For long-term storage, yes — if you do it properly. Freeze beans in airtight, single-use portions so you never refreeze, and let a portion come fully to room temperature before opening it, or condensation will ruin it. For coffee you'll drink within a few weeks, skip the freezer and just keep it sealed at room temperature.
How long do coffee beans last?
For flavor, think weeks, not months. Coffee is at its best from a few days after roasting to about three to four weeks, and slowly goes flat after that. Whole beans hold up far longer than ground. It won't become unsafe for a long time, but 'safe' and 'good' aren't the same — stale coffee is the more common problem.
Should I store coffee as whole beans or ground?
Whole beans, always, if you can. Ground coffee has vastly more surface area exposed to air, so it stales within days — sometimes within the hour for aromatics. Buy whole beans and a burr grinder, and grind only what you're about to brew. It's the single biggest freshness upgrade there is.
