How to Store Coffee Beans (and Does Coffee Go Off?)
How to store coffee beans and ground coffee: airtight, dark and cool, how long each keeps, whether to freeze or refrigerate, and how to tell if coffee is stale.
How should you store coffee beans?
In an airtight, opaque container in a cool, dark cupboard, away from the oven and the kettle. Buy only one or two weeks' worth at a time. Opened beans stay fresh for about 1–3 weeks at room temperature and ground coffee 1–2 weeks, the National Coffee Association says; frozen in a truly airtight container, beans keep 3–4 months.
Storing coffee beans well is about keeping out the four things that make roasted coffee go stale: air, moisture, heat and light. Roasted coffee starts losing its freshness almost straight after roasting, so the aim isn’t to keep it forever but to keep it tasting good for the few weeks you’ll be drinking it. Here’s where to keep it, how long it lasts, the freezer question, and how to tell when it’s past its best.
The short version
- Airtight, opaque, cool and dark: a sealed canister in a cupboard, away from the oven, hob and kettle.
- Buy little and often: enough for one or two weeks, the National Coffee Association suggests.
- Whole beans keep longer than ground: grind just before brewing.
- Opened beans: about 1–3 weeks at room temperature; ground: 1–2 weeks.
- Freezer: up to 3–4 months, only in a truly airtight container, in small portions.
- Fridge: best avoided: humid, smelly and no better than a cupboard.
How long does coffee stay fresh?
The National Coffee Association’s guide, assuming opened coffee has been moved into an airtight container:
| Coffee | Stays fresh for |
|---|---|
| Unopened beans or ground coffee | Until the best-by date |
| Coffee pods and instant coffee | Until the best-by date |
| Roasted beans, room temperature | 1–3 weeks |
| Roasted beans, refrigerated | 2 weeks |
| Roasted beans, frozen | 3–4 months |
| Ground coffee, room temperature | 1–2 weeks |
Source: National Coffee Association. Green (unroasted) coffee keeps much longer, up to about a year, Perfect Daily Grind says; it’s roasting that starts the clock.
Where should you store coffee beans?
- In an airtight container. Oxygen is the biggest enemy of roasted coffee, Perfect Daily Grind explains, and it turns the flavour “flat, woody and vaguely of cardboard”. A canister with a good seal, or a vacuum canister, keeps it out.
- In an opaque container. Clear jars let light in, which harms the flavour, the NCA says. Keep the pretty glass jars for decoration.
- Somewhere cool and dark. A cupboard away from the oven, the hob, the kettle and sunny windowsills. Even a good foil bag can’t block heat, Perfect Daily Grind notes.
- Away from moisture and smells. Coffee is hygroscopic: it absorbs moisture, smells and tastes from the air around it, which is why people use it as an air freshener, the NCA notes.
The bag it came in? A roaster’s opaque foil bag with a one-way valve and a zip seal is a perfectly good container: the valve lets out the carbon dioxide that fresh coffee releases (see degassing) without letting air in. Paper and unsealed craft bags let oxygen in, so beans in them go stale faster.
Should you freeze coffee beans?
It can work for longer storage, but do it carefully. Views differ, the NCA says; its guide gives frozen beans 3–4 months of freshness, against 1–3 weeks in a cupboard. The risk is moisture: most home containers let in a little air, which is why food stored long in a freezer gets freezer burn, and coffee picks up moisture and smells.
If you freeze, do it like this:
- Use a truly airtight container or vacuum bag.
- Freeze in small portions, a week’s worth each.
- Take out only what you need, quickly, and put the rest back before condensation forms.
A bonus: cold beans grind more evenly. A 2016 study in Scientific Reports by Erol Uman, Christopher Hendon and colleagues found that grinding coffee cold gave a narrower spread of particle sizes and a smaller average size than grinding it at room temperature.
Freezing is most useful if you buy in bulk or live somewhere humid, the NCA suggests. If you get through a bag in two weeks, the cupboard is fine.
Should you keep coffee in the fridge?
Usually not. A fridge is humid and full of food smells, and coffee absorbs both. Condensation can also form on cold beans when you open the container in a warm kitchen. The NCA gives refrigerated beans only about 2 weeks, no longer than a good cupboard.
Does coffee go off?
It goes stale, not dangerous. Past its best, roasted coffee doesn’t “expire” in a way that makes it unsafe to drink, unless it has got damp and grown mould, the NCA says. It just declines: it loses aroma, sometimes lightens in colour, and brews a flat, dull cup.
Signs your coffee is stale:
- Little or no smell when you open the container.
- A flat, papery or cardboard taste.
- No bubbling “bloom” when hot water first hits fresh grounds in a pour-over.
Throw it away if it smells musty or shows any mould.
Whole beans or ground?
Whole beans keep longer, because grinding exposes far more coffee to the air: about 1–3 weeks for opened beans against 1–2 weeks for ground, by the NCA’s figures. If you can, buy beans and grind just before you brew; a burr grinder gives the most even grind. If you buy ground coffee, buy smaller bags and keep them sealed. The grind size chart shows which grind to ask for.
Common mistakes
- A clear jar on the counter → an opaque canister in a cupboard.
- Next to the kettle or oven → somewhere cool.
- The fridge → the cupboard, or the freezer in airtight portions.
- A big bag, opened daily → buy smaller bags, or decant a week’s worth.
- Grinding a week ahead → grind just before brewing.
For brewing the coffee once it’s stored well, see how to choose a brewing method, the brew ratio calculator, and why your coffee might taste bitter or sour.
Questions & answers
What is the best way to store coffee beans?
In an airtight, opaque container somewhere cool and dark, such as a cupboard away from the oven. Coffee's enemies are air, moisture, heat and light, the National Coffee Association says. Buy smaller amounts more often, enough for one or two weeks, and grind just before brewing.
Should you store coffee beans in the freezer?
It can work for longer storage, but sources differ. The National Coffee Association says frozen beans keep their freshness for 3–4 months, but only in a truly airtight container, because coffee soaks up moisture and smells. Freeze small portions and take out only a week's worth at a time.
Should you keep coffee in the fridge?
Usually not. Fridges are humid and full of smells, and coffee absorbs both; condensation can also form when you take it out, the National Coffee Association warns. It gives refrigerated beans only about 2 weeks of freshness, no better than a cupboard.
How long do coffee beans last?
Unopened, until the best-by date. Once opened and moved to an airtight container, roasted beans stay fresh for about 1–3 weeks at room temperature, 2 weeks in the fridge and 3–4 months in the freezer, and ground coffee about 1–2 weeks, the National Coffee Association says.
Does coffee go bad?
Not in a way that makes it unsafe, unless it gets damp and mouldy. Old coffee just goes stale: it loses aroma, sometimes lightens in colour, and brews a flat, dull cup, the National Coffee Association says. Throw away any coffee that smells musty or shows mould.
Should I store coffee in the bag it came in?
A good roaster's bag, opaque foil with a one-way valve and a reseal, works well: the valve lets carbon dioxide out while keeping air out. Paper or unsealed bags let oxygen in and go stale faster, Perfect Daily Grind notes. Otherwise, move the coffee to an airtight, opaque canister.
Is whole bean coffee better than ground for keeping fresh?
Yes. Ground coffee goes stale faster because so much more of it is exposed to air: about 1–2 weeks once opened, against 1–3 weeks for whole beans, by the National Coffee Association's figures. Grind just before brewing if you can.
Sources
- Coffee Storage and Shelf Life. National Coffee Association (About Coffee)
- How to Store Roasted Coffee & Prolong Its Freshness. Perfect Daily Grind
- The effect of bean origin and temperature on grinding roasted coffee (Uman and others, 2016). Scientific Reports