Independent brewing lab — not affiliated with PourX, Abilliant or the domain's previous owner.
pourxlabthe pour-over lab

Guide · storage

How to store coffee beans

Store roasted coffee beans whole, in their original valve bag closed tight or an opaque airtight container, in a cool, dark, dry cupboard, and freeze sealed portions of anything you will not use within one to two weeks; green (unroasted) beans keep far longer if they stay dry, as the green vs roasted storage chart shows.

Which containers help, what the bag's valve does once it is open, where to keep coffee, and how to freeze and portion it. Why coffee goes stale is explained on the coffee freshness and coffee bloom pages; this page sticks to what to do.

Updated 2026-11-16 · sources listed at the end

The short version

The National Coffee Association (NCA) sums up storage as protecting beans from air, moisture, heat and light. In practice:

  1. Buy small: enough for one or two weeks (NCA).
  2. Keep it whole: grind only what you need, right before brewing (NCA). The SCA's Coffee Decoded column gives ground coffee about an hour of freshness, whole beans about three weeks.
  3. Close it airtight, keep it dark, cool and dry — a cupboard away from the oven, not a clear jar on a sunny counter (NCA).
  4. Freeze what you will not finish soon, in airtight portions (NCA; Cotter and Hopfer 2018).

Green vs roasted coffee storage chart

Green coffee is what home roasters buy, and it fails in a different way from roasted coffee: roasted beans go stale as they lose gas and aroma, while for green beans the documented risk is moisture and the mould it allows. Wikipedia's roasting article notes that green coffee is more stable than roasted beans, which is why coffee tends to be roasted close to where it is drunk.

Roasted beansGreen (unroasted) beans
How long they keepAbout three weeks fresh as whole beans (SCA Coffee Decoded); 1–3 weeks at room temperature, 3–4 months frozen (NCA)About 12–18 months in a climate-controlled store before quality loss is noticeable (Wikipedia, coffee roasting); 1–3 years depending on storage, though some home roasters keep it 8 or even 1.5 months (Wikipedia, home roasting)
Main enemyAir, moisture, heat and light (NCA); oxygen let in at every opening (Smrke et al. 2022)Moisture: dried coffee re-absorbs water from damp floors and walls, leaks and humid air, which lets moulds grow (Codex 2009)
Moisture and humidityKeep dry; use a dry scoop (Sage 2012)Moisture content below 12.5% (wet basis) with water activity at most 0.67–0.70 protects dried coffee from fungi; coffee keeps drying below 60% relative humidity and starts absorbing water above 80% (Codex 2009)
TemperatureCool cupboard away from the stove; freezer at 0 °F (−18 °C) or colder for long storage (Texas A&M AgriLife; Cotter and Hopfer 2018)In a 12-month study, beans stored at 20 °C aged fastest; lots kept at 10 °C and −10 °C still cupped as specialty (above 80 points) after 6 months (Błaszkiewicz et al. 2023)
ContainerOriginal foil valve bag, clipped or screw-capped; or an opaque airtight container (Smrke et al. 2022; NCA)Jute sacks and multi-layer barrier bags showed no clear difference in that study, although barrier bags held water activity steadier (Błaszkiewicz et al. 2023)
WhereDark cupboard, not near the oven, dishwasher or afternoon sun (NCA)Bags on pallets, away from walls, sunlight and heat sources, with air circulating (Codex 2009)

The green-coffee figures come from a food-safety code of practice written for producers and warehouses and from one study of two Guatemalan lots, so treat them as direction for a home stash rather than tested home rules: keep green beans sealed or bagged off the floor, somewhere dry with steady temperatures, and roast them within the time the sources give. How long roasted beans need to rest after roasting is on the home roasting page.

Containers compared

Sage's 2012 SCAA review notes that very few published studies compare packaging types, so the table pairs each option with what evidence exists.

ContainerWhat it doesWhat the evidence says
Original bag with one-way valve, rolled and clipped or tapedKeeps the roaster's barrier film; the valve only lets gas outIn Smrke et al. 2022, clipped bags staled more slowly than taped ones or beans moved to a canister
Bag with a built-in screw capSmall opening, less air swapped per useSlowest staling of the four opened-bag methods tested (Smrke et al. 2022)
Airtight canister (beans transferred)Seals well, but the beans lose the bag's protective gas and meet a full container of airFastest staling in Smrke et al. 2022 — about twice the screw cap's rate
Opaque airtight containerBlocks light and airRecommended by the NCA; not tested against other options in the studies here
Clear glass or plastic jarAirtight but lets light inThe NCA warns that clear canisters let in light; Wikipedia lists light with heat and oxygen. No study here isolates light
Foil (aluminum-layer) bagBarrier to aroma and gasesAroma indices barely changed in aluminum-layer packs; paper and plastic packs differed within two weeks (Glöss et al. 2014)
Plain paper bag, no foilLittle barrierAroma compounds escaped through the material (Glöss et al. 2014)
Vacuum-sealed packRemoves most oxygen before sealingVacuum-packed coffee staled five times more slowly than air-packed beans (Nicoli et al. 1993, as summarized by Sage); home vacuum canisters were not tested

What the valve on the bag does — and does not do

Freshly roasted coffee keeps releasing gas, mostly carbon dioxide. A 1996 US patent for a coffee degassing valve (US 5,515,994) describes the job: let that gas escape so the bag does not swell or burst, and "prevent air from entering the container". The valve opens "when slight internal overpressures occur" and closes when they cease. Wikipedia notes that vacuum-packed cans need several days of degassing before sealing, while foil-lined bags with pressure-relief valves allow faster packaging.

The valve protects a sealed bag. Once you open it, every scoop lets air in. In the 2022 ZHAW study, whole beans in nitrogen-flushed 1 kg foil valve bags were opened twice a week at room temperature for nine weeks, taking 49 g each time:

  • With a screw cap, each opening replaced about 60% of the air inside the bag; with a clip, about 75%; with tape or after moving the beans to a canister, all of it.
  • In taped bags and canisters, oxygen reached room-air levels (about 21%) within a week. Even clipped and screw-capped bags were within 1% of room air after two weeks.
How fast opened coffee bags staled by closing method, Smrke et al. 2022 Horizontal bar chart of the rate at which a staling index rose after the bag was first opened, for four closing methods. Screw cap 0.033, clip 0.040, tape 0.058, canister 0.067. Unopened reference bags showed a slight downward trend. Staling-index rate after opening (higher = faster) Screw capClipTapeCanister 1 2 3 4 0.0330.0400.0580.067 00.020.040.06 slope of 2-butanone/2-methylfuran index
  1. Screw cap on the bag: slope 0.033, about 60% of the air in the bag replaced per opening.
  2. Clip after each use: 0.040, about 75% replaced.
  3. Tape after each use: 0.058, all of the air replaced.
  4. Canister (beans moved to an airtight metal container): 0.067, all of the air replaced.
  5. Unopened reference bags, a new one opened for each measurement, showed a slight downward trend (−0.0099), so their index did not rise.
Drawn by pourxlab.com for this page from the fitted slopes and headspace figures reported by Smrke et al. 2022 (source 2). The index is a ratio of two aroma compounds measured by GC/MS; a higher slope means faster chemical staling, not a taste score. One coffee, one bag type, room temperature, nine weeks.

Caveats: the study measured chemistry only (the authors say sensory tests are still needed), and it was funded by Tchibo, which supplied beans and bags, and ZHAW. Its practical message matches the NCA's: open the coffee as rarely as possible and let in as little air as you can each time.

Where to keep it

PlaceVerdictWhy
Dark cupboard, away from the stoveBest everyday spotCool and dark; the NCA advises avoiding cabinets near the oven or dishwasher and spots in strong afternoon sun
Open counter, clear jarAvoidLight and warmth; Sage's review cites a Q10 of about 1.5 for whole-bean degassing — roughly 1.5 times faster per 10 °C
RefrigeratorNot recommended for daily coffeeThe NCA gives only two weeks for refrigerated beans (1–3 weeks at room temperature) and warns that coffee absorbs odors and that condensation can form
FreezerFor longer storage, sealed and portionedNCA: 3–4 months for frozen beans; frozen dark roast still smelled close to fresh after 9 weeks (Cotter and Hopfer 2018)

The freezer: where sources disagree

  • For: Cotter and Hopfer (Penn State, 2018) stored one coffee for nine weeks at −18 °C or 25 °C and wrote, "we recommend storing newly roasted beans in a freezer and refrain from storing at room temperature." Sage's review found that most studies that refrigerated or froze coffee saw staling slow down.
  • Cautious: the NCA says opinions differ. Ordinary containers let in small amounts of air, which it says can cause freezer burn in the freezer and condensation in the fridge, and humid climates make moisture a bigger concern.
  • Unsettled: Penn State's release quotes Hopfer that the literature reviewed held no evidence for the condensation worry, but the study did not test it, and Sage found no study that measured the effect of temperature swings.

Food-science advice on freezing in general points the same way as the NCA: Texas A&M AgriLife Extension explains freezer burn as water escaping from frozen food while oxygen seeps in, and recommends keeping the freezer at 0 °F or lower, removing air from packages and using small containers to minimize empty space.

How to freeze and portion beans, step by step

  1. Decide early. Freeze what you will not use within one to two weeks while the beans are still fresh; the Penn State authors recommend freezing newly roasted beans.
  2. Portion first. Split the beans into airtight containers or freezer bags holding one week's coffee or less (grams per brew × brews per week), so each portion is opened once.
  3. Squeeze out air or choose a container the beans nearly fill (Texas A&M AgriLife).
  4. Label each portion with the roast date and the day it went in.
  5. Freeze at 0 °F (−18 °C) or colder, the temperature Texas A&M AgriLife recommends for frozen food.
  6. Take out one portion at a time and return the rest straight away, before condensation forms (NCA).
  7. Let it warm closed if you want room-temperature behavior; the Penn State samples sat overnight to reach room temperature before grinding.
  8. Re-check your grind. Colder beans grind "finer and more uniform" (University of Bath, on Uman et al. 2016), so beans ground straight from the freezer may need a coarser grind setting; keep the bean temperature consistent from brew to brew.
  9. Use within 3–4 months (NCA).

Decision table: how long until you finish the bag?

You will use it within…Store it
1–2 weeksOriginal foil valve bag, air pressed out, clipped tight; or an opaque airtight container. Dark cupboard.
2–4 weeksKeep one week's worth in the cupboard; freeze the rest in sealed weekly portions.
1–4 monthsFreeze sealed portions right away; thaw one at a time.
Unopened, sealed retail bagCupboard until the best-by date (NCA); the roast date says more about freshness (see reading bag dates).

Storage checklist

  • Buy one to two weeks' worth with a roast date on the bag.
  • Keep beans whole; grind just before brewing.
  • Close the bag or container after every scoop; open it as rarely as possible.
  • Opaque, airtight, cool, dry, away from the stove, dishwasher and sun.
  • No fridge for daily coffee; freezer only in sealed, weekly portions.
  • Use a dry scoop; moisture speeds staling (Sage 2012).
  • Expect a smaller bloom from older beans.

Storage slows staling; it does not stop it. The numbers above come from a handful of studies with single coffees and specific packaging, plus NCA guidance that does not describe its tests — use them for direction, then let your own cups decide.

Sources

  1. National Coffee Association (NCA) — Coffee bean storage and shelf life
  2. Smrke S., Adam J., Mühlemann S., Lantz I., Yeretzian C. (2022) Effects of different coffee storage methods on coffee freshness after opening of packages. Food Packaging and Shelf Life 33:100893, doi:10.1016/j.fpsl.2022.100893 (ZHAW repository PDF)
  3. Glöss A.N., Schönbächler B., Rast M., Deuber L., Yeretzian C. (2014) Freshness indices of roasted coffee: monitoring the loss of freshness for single serve capsules and roasted whole beans in different packaging. CHIMIA 68(3):179–182
  4. Sage E. (2012) What is the shelf life of roasted coffee? A literature review on coffee staling. SCAA (studies as summarized there)
  5. Specialty Coffee Association — Coffee Decoded: What is "fresh" coffee? (L. Carmichael with P. Giuliano)
  6. Cotter A.R., Hopfer H. (2018) The effects of storage temperature on the aroma of whole bean Arabica coffee evaluated by coffee consumers and HS-SPME-GC-MS. Beverages 4(3):68
  7. Penn State News (15 Jan 2019) — research shows freezing beans can preserve aroma
  8. Texas A&M AgriLife Extension (S. Stephens, Yoakum County) — Freezer burn: causes and packaging tips
  9. University of Bath (2016) — Scientists say chill coffee beans for a more flavoursome brew (Uman et al.)
  10. US Patent 5,515,994 (1996) — Degassing valve for aromatic products, such as coffee and similar products
  11. Wikipedia — Coffee roasting (secondary: packaging and cold storage; green beans 12–18 months climate-controlled)
  12. Wikipedia — Home roasting coffee (secondary: green coffee keeps 1–3 years depending on storage)
  13. Codex Alimentarius (2009) Code of Practice for the Prevention and Reduction of Ochratoxin A Contamination in Coffee, CAC/RCP 69-2009 (as circulated by the ICO, ED 2074/09)
  14. Błaszkiewicz J., Nowakowska-Bogdan E., Barabosz K., Kulesza R., Dresler E. et al. (2023) Effect of green and roasted coffee storage conditions on selected characteristic quality parameters. Scientific Reports 13:6447