How to Store Coffee
Buy whole beans, keep them in an airtight container somewhere cool and dark, and grind only what you need just before brewing. Almost everything else about storing coffee is a refinement of those three rules.
Roasted coffee does not go off in the way milk does. It goes stale: it loses aroma, its flavour flattens, and eventually it tastes papery and dull. Four things speed that up: air, moisture, heat and light. Storing coffee well is just a matter of keeping it away from all four.
The single biggest factor is whether the coffee is whole or ground. Grinding multiplies the surface area of the coffee many times over, and staling happens at the surface.
How long it stays good
These are practical guidelines for a sealed, airtight container at room temperature, away from light. Coffee does not become unsafe after these times, just less good.
| Coffee | At its best | Still decent | Notes |
|---|---|---|---|
| Whole beans, opened | About 2 to 4 weeks after roasting | Up to 6 to 8 weeks | Check the roast date, not the best-before |
| Whole beans, sealed valve bag | About 1 to 2 months | Several months | The valve lets gas out without letting air in |
| Ground coffee | Hours to a day or two | A week or two | Aroma fades fastest once ground |
| Frozen whole beans, airtight | Several months | Longer, slowly declining | Freeze in small portions, never refreeze |
| Instant coffee, sealed | Months to years | Until it clumps | Keep it dry; moisture turns it solid |
Espresso often tastes best a week or more after roasting, once the beans have degassed a little.
The method
-
Buy whole beans, in amounts you will finish
Buy whole beans with a roast date on the bag, and only as much as you will use in two to four weeks. A big bag at a good price is not a bargain if the last third tastes stale.
-
Use an airtight, opaque container
Oxygen is the main cause of staling, and light speeds it up. A ceramic or steel canister with a good seal, or the original bag if it has a one-way valve and you squeeze the air out and seal it, does the job. A clear glass jar on a sunny counter does not.
-
Keep it cool, dry and away from the stove
Heat speeds up every reaction that makes coffee stale. A cupboard away from the oven and the kettle is ideal. Avoid the cupboard above the stove.
-
Grind just before brewing
Ground coffee loses much of its aroma within the first hour. A burr grinder at home makes more difference to the taste of your coffee than almost any other single change.
-
Freeze only for the long term
If you have more than you can use in a month, divide it into airtight portions of a week's worth and freeze them. Take out one portion at a time and let it come to room temperature before opening, so moisture does not condense on cold beans. Never refreeze.
Why the fridge is a bad idea
The fridge seems sensible because it is cold. It is also humid and full of smells, and coffee is very good at absorbing both. Every time the container comes out, warm air condenses on the cold beans, adding moisture. Coffee's oils pick up the smell of whatever else is in there within days. For short-term storage, a cool cupboard is better. For long-term storage, an airtight container in the freezer is better. The fridge is the worst of both.
What is actually happening
Freshly roasted coffee is full of carbon dioxide formed during roasting, and it gives that gas off for days afterwards. That is why good coffee bags have one-way valves and why fresh coffee swells, or blooms, when water hits it. While the gas is escaping, it carries some aroma with it, and it also shields the coffee from oxygen.
As the gas runs out, oxygen gets in. It reacts with the coffee's oils and aromatic compounds, breaking down the delicate ones first. The result is the flat, cardboard taste of stale coffee. Grinding speeds this up dramatically, because it exposes far more surface and releases the trapped gas all at once.
This is also why very fresh coffee is not always best. Beans a day or two out of the roaster can be so full of gas that they brew unevenly, especially as espresso. A short rest lets them settle. See grind size and brew ratios for getting the most from fresh beans.
Questions
Should I store coffee in the fridge?
No. The fridge is humid and full of smells that coffee absorbs, and condensation forms each time you take it out. Use a cool cupboard, or the freezer for long-term storage.
Can you freeze coffee beans?
Yes, in airtight portions, for coffee you will not use within a month. Let each portion come to room temperature before opening, and do not refreeze.
How long do coffee beans last once opened?
They are at their best for about two to four weeks after the roast date, and still decent for a few weeks more if stored well.
Does ground coffee go stale faster?
Much faster. Ground coffee loses much of its aroma within hours. Grind just before brewing if you can.
Does old coffee go bad?
Dry roasted coffee rarely becomes unsafe. It goes stale and loses flavour. If it smells musty or has been damp, throw it away.