Storage

Practical ways to protect roasted beans from air, moisture, heat and light — and when the fridge or freezer actually helps.

Drawing seen from above. A sunny window on the left; on the right, a closed opaque coffee container on a shelf with a few beans beside it.

Keep roasted beans in an airtight, opaque container, in a cool cupboard away from the stove and the sun, at room temperature. Buy what you will drink in a week or two, and grind just before you brew. The freezer is an option for coffee that has to wait longer, as long as you follow a few rules.

Here is why, and where the advice stops.

What wears roasted coffee down

The National Coffee Association (NCA) in the United States names four enemies of freshness: air, moisture, heat and light. Roasted coffee rarely becomes unsafe; it simply loses aroma and flavour over time. Moisture is the exception worth taking seriously, because it can lead to mould.

The loss can be measured. In a Swiss study, researchers used the ratios between volatile compounds in the air above the coffee as "freshness indices" and followed whole beans in different packaging for up to a year. How quickly those indices changed tracked the barrier properties of the packaging: the better the material kept the outside out, the more slowly the coffee changed.

Four things that wear coffee down, and the answer to each
  • Air: a container that seals tightly.
  • Moisture: somewhere dry; a truly airtight container in the freezer.
  • Heat: a cool cupboard away from the stove, dishwasher and sun.
  • Light: an opaque container, not a clear jar.

Source: National Coffee Association, “Coffee Storage and Shelf Life”.

Choosing a container

Look for two things.

Airtight. The lid should seal firmly, and as little air as possible should get in each time you open it. The NCA suggests moving coffee out of its retail packaging into an airtight container, especially if it is pre-ground.

Opaque. Clear glass jars look good on a counter, but light degrades flavour. The NCA's advice is to keep clear canisters for decoration.

The packaging itself matters as well. In the study above, packaging with an aluminium layer protected the coffee better. So a well-made barrier bag that genuinely reseals can outperform an ordinary jar. What counts is not the type of container but how well it keeps air and light away from the beans.

Where to keep it

Somewhere cool, dry and dark. Next to the oven, above the dishwasher or on a sunny windowsill doesn't qualify. In most kitchens, a closed cupboard away from the hob is the best spot.

How much to buy

The simplest fix is not to store coffee for long. The NCA recommends buying freshly roasted coffee in small amounts, enough for one or two weeks. Its rough guide looks like this:

Coffee Kept Approximate time
Roasted whole beans Room temperature 1–3 weeks
Roasted whole beans Refrigerator About 2 weeks
Roasted whole beans Freezer 3–4 months
Ground coffee Room temperature 1–2 weeks
Unopened pack — Until the best-by date

Treat these as a general guide to how long coffee keeps its flavour well, not as hard limits. Coffee doesn't spoil overnight when the time is up; it slowly flattens.

Fridge or freezer?

The NCA admits opinions differ. Coffee readily absorbs moisture, odours and flavours, and a refrigerator has plenty of all three. The table also shows the fridge offers no real advantage over room temperature.

The freezer makes more sense for coffee that has to wait. The NCA's conditions:

  • Freeze the coffee in a container that is truly airtight.
  • Take out only about a week's worth at a time.
  • Put the rest back straight away, before condensation forms.

It adds that freezing is most useful in humid climates.

If you grind beans straight from the freezer, one detail helps. A 2016 study in Scientific Reports found that colder beans ground to a narrower particle size distribution with a smaller average particle size. In other words, the same grinder setting can behave differently with cold and room-temperature beans. The study measured particle size, not taste, but if you want consistent results it makes sense to grind at the same bean temperature each time.

Why buy whole beans

Grinding greatly increases the surface of coffee exposed to air. For the freshest result, the NCA recommends grinding just before brewing, and its storage times point the same way: ground coffee loses freshness sooner than whole beans. If you don't have a grinder, buying small packs and finishing each one quickly is the next best thing.

A short checklist

  • Is the container airtight and opaque?
  • Is it away from the stove, the dishwasher and direct sun?
  • Will you finish this coffee within a week or two?
  • If you freeze it, is the container truly airtight, and are you taking out a week at a time?
  • Are you grinding just before you brew?

For how grinding changes the cup, read our guide to grind size.

Sources