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.
The short version
The National Coffee Association (NCA) sums up storage as protecting beans from air, moisture, heat and light. In practice:
- Buy small: enough for one or two weeks (NCA).
- 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.
- Close it airtight, keep it dark, cool and dry — a cupboard away from the oven, not a clear jar on a sunny counter (NCA).
- 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 beans | Green (unroasted) beans | |
|---|---|---|
| How long they keep | About 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 enemy | Air, 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 humidity | Keep 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) |
| Temperature | Cool 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) |
| Container | Original 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) |
| Where | Dark 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.
| Container | What it does | What the evidence says |
|---|---|---|
| Original bag with one-way valve, rolled and clipped or taped | Keeps the roaster's barrier film; the valve only lets gas out | In Smrke et al. 2022, clipped bags staled more slowly than taped ones or beans moved to a canister |
| Bag with a built-in screw cap | Small opening, less air swapped per use | Slowest 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 air | Fastest staling in Smrke et al. 2022 — about twice the screw cap's rate |
| Opaque airtight container | Blocks light and air | Recommended by the NCA; not tested against other options in the studies here |
| Clear glass or plastic jar | Airtight but lets light in | The NCA warns that clear canisters let in light; Wikipedia lists light with heat and oxygen. No study here isolates light |
| Foil (aluminum-layer) bag | Barrier to aroma and gases | Aroma indices barely changed in aluminum-layer packs; paper and plastic packs differed within two weeks (Glöss et al. 2014) |
| Plain paper bag, no foil | Little barrier | Aroma compounds escaped through the material (Glöss et al. 2014) |
| Vacuum-sealed pack | Removes most oxygen before sealing | Vacuum-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.
- Screw cap on the bag: slope 0.033, about 60% of the air in the bag replaced per opening.
- Clip after each use: 0.040, about 75% replaced.
- Tape after each use: 0.058, all of the air replaced.
- Canister (beans moved to an airtight metal container): 0.067, all of the air replaced.
- Unopened reference bags, a new one opened for each measurement, showed a slight downward trend (−0.0099), so their index did not rise.
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
| Place | Verdict | Why |
|---|---|---|
| Dark cupboard, away from the stove | Best everyday spot | Cool and dark; the NCA advises avoiding cabinets near the oven or dishwasher and spots in strong afternoon sun |
| Open counter, clear jar | Avoid | Light and warmth; Sage's review cites a Q10 of about 1.5 for whole-bean degassing — roughly 1.5 times faster per 10 °C |
| Refrigerator | Not recommended for daily coffee | The 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 |
| Freezer | For longer storage, sealed and portioned | NCA: 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
- 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.
- 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.
- Squeeze out air or choose a container the beans nearly fill (Texas A&M AgriLife).
- Label each portion with the roast date and the day it went in.
- Freeze at 0 °F (−18 °C) or colder, the temperature Texas A&M AgriLife recommends for frozen food.
- Take out one portion at a time and return the rest straight away, before condensation forms (NCA).
- Let it warm closed if you want room-temperature behavior; the Penn State samples sat overnight to reach room temperature before grinding.
- 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.
- Use within 3–4 months (NCA).
Decision table: how long until you finish the bag?
| You will use it within… | Store it |
|---|---|
| 1–2 weeks | Original foil valve bag, air pressed out, clipped tight; or an opaque airtight container. Dark cupboard. |
| 2–4 weeks | Keep one week's worth in the cupboard; freeze the rest in sealed weekly portions. |
| 1–4 months | Freeze sealed portions right away; thaw one at a time. |
| Unopened, sealed retail bag | Cupboard 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
- National Coffee Association (NCA) — Coffee bean storage and shelf life
- 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)
- 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
- Sage E. (2012) What is the shelf life of roasted coffee? A literature review on coffee staling. SCAA (studies as summarized there)
- Specialty Coffee Association — Coffee Decoded: What is "fresh" coffee? (L. Carmichael with P. Giuliano)
- 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
- Penn State News (15 Jan 2019) — research shows freezing beans can preserve aroma
- Texas A&M AgriLife Extension (S. Stephens, Yoakum County) — Freezer burn: causes and packaging tips
- University of Bath (2016) — Scientists say chill coffee beans for a more flavoursome brew (Uman et al.)
- US Patent 5,515,994 (1996) — Degassing valve for aromatic products, such as coffee and similar products
- Wikipedia — Coffee roasting (secondary: packaging and cold storage; green beans 12–18 months climate-controlled)
- Wikipedia — Home roasting coffee (secondary: green coffee keeps 1–3 years depending on storage)
- 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)
- 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