Buy a full case and the price per unit drops automaticallyRequest a sample
AccountCart0
All ContainersBottlesJarsCaps & ClosuresPumps & SprayersTubs & PailsJugsDroppersTinsTubesAccessoriesSeals & LinersCansBags & PouchesVialsLabels & DecorationBuckets & PailsDrumsBoxes & MailersBottling Tools
Industries
Learn

How long coffee should rest after roasting before you brew or bag it

Updated

On this page8

No authoritative source sets a rest time, but the research shows how the gas behaves. Freshly roasted coffee holds carbon dioxide equal to about 1 to 2 percent of its weight [1]. Whole beans release it quickly at first, then slowly for weeks. In the ZHAW measurements at 35°C, whole beans were still releasing gas at 400 hours and a light roast at about 800 hours [1]; the Specialty Coffee Association describes degassing as rapid for the first 20 days, slowing sharply after that [2]. Dark roasts hold more gas and release it faster than light roasts [1]. This page gives the data, separates resting for flavor from resting for the package, and reports roasters' practice.

Where the gas comes from

Roasting produces gas inside the bean as sugars and other compounds break down, and the bean's new porous structure traps much of it. The gas released when coffee is ground is mostly carbon dioxide, with smaller amounts of carbon monoxide and nitrogen and less than 1 percent volatile organic compounds, according to work cited in the ZHAW study [1]. Darker roasts form more gas, and because darker beans are more porous, they let it out faster [1]. Faster roasts are also more porous than slow ones [1].

How fast whole beans degas: the measurements

The most careful measurements available are from Smrke and colleagues at the Zurich University of Applied Sciences (ZHAW), published in 2018 [1]. They roasted El Salvador Arabica in 1 kg batches on a Probatino drum roaster to three roast degrees, each at three roast speeds (about 4 to 5, 9 to 10 and 11 to 12 minutes), then weighed the whole beans continuously as they lost gas in an oven held at 35°C and under 20 percent relative humidity [1]. They chose 35°C to speed up the process for the experiment, so beans at room temperature degas more slowly than these curves.

Gas lost from whole beans over the measurement period (runs of at least 400 hours), in milligrams per gram of coffee [1]:

Roast degree (Colorette reading)Slow roastMedium roastFast roast
Light (131)2.72.52.8
Medium (101)4.75.66.6
Dark (78)8.510.011.9

What the table shows:

  • Dark roasts released about three to four times as much gas as light roasts in the same period.
  • Faster roasts released more at medium and dark degrees.
  • The light roast was still going at about 800 hours (more than a month) at 35°C, releasing about 2 micrograms per gram per hour [1].
  • At 400 hours, rates ranged from 3.1 micrograms per gram per hour for the fast light roast to 9.2 for the fast dark roast [1].

To put the numbers in kitchen terms, here is an approximate calculation from the 35°C measurements. 10 mg per gram is 1 percent of the coffee's weight. A 340 g bag of a dark roast releasing 10 mg/g gives off about 3.4 g of gas. Treating all of it as carbon dioxide (44 g per mole, about 24 liters per mole at 20°C), that is roughly 1.9 liters, or about 2 liters at 35°C. At room temperature the beans take longer to release it, but the volume is of that order, which is why a sealed bag without a vent puffs up.

The SCA's summary of the same research program says degassing "occurs rapidly for the first 20 days after roasting, slowing dramatically afterwards" [2].

Grinding releases most of it at once

Grinding breaks open the pores. In the ZHAW study, up to 75 percent of the trapped gas left freshly roasted coffee during and within 90 seconds of grinding [1]. The SCA puts it plainly: the gas lost "over weeks in whole bean coffee is lost in minutes after coffee is ground" [2]. Whole bean or ground covers what that means for freshness.

Two different reasons to rest coffee

People say "rest" for two separate goals, and they need different answers.

Resting for flavor

Very fresh coffee releases a lot of gas when hot water hits it, which is the bubbling you see as a bloom, and that gas can push water away from the grounds. The Clive Coffee article cited below attributes a harsh, astringent edge in very fresh coffee to residual carbon dioxide [3]. How long to wait is a matter of taste and brew method, and no standards body publishes a rest time. Espresso, where water is forced through a tight bed at pressure, is the method most sensitive to gas.

Resting so the package does not swell

Gas keeps coming out of whole beans for weeks [1], so whether you rest before bagging is a packaging decision. If you pack fresh coffee in a sealed container without a vent, it will swell or pop open. If you rest it open to the air until it stops giving off much gas, it will also be staling. The usual solution is a bag with a one-way valve, which lets carbon dioxide out without letting air in, so you can bag soon after roasting. The one-way valve bag explains how they work, and the bag puffed up or the lid popped diagnoses swelling.

What roasters report doing

Practitioner habits vary. One widely read roaster article, by Adam Raper for Clive Coffee (April 2, 2018), gathered the practice of a few roasters [3]. These are those businesses' opinions; none is a measured standard:

Coffee or brewRest after roasting, as the roasters quoted reported [3]
Most coffeesBest roughly 4 to 14 days after roasting
Light roastsAbout 5 to 10 days
Dark roastsAbout 3 to 7 days, because they degas faster
EspressoAt least 5 days in one roaster's practice, 7 to 11 ideal; another rests espresso at least 7 days
Drip and pour-overAbout 4 to 7 days
Cold brewAbout 10 to 14 days

The article itself notes that its sources do not fully agree, and that the right window depends on roast degree, density, bean size, process and variety [3]. The direction matches the ZHAW data: dark roasts give up their gas sooner [1]. The specific day counts come from practice; no study read for this page measured them.

Why no single rest time is a rule

  • Roast degree changes the gas. Light and dark roasts in the ZHAW study differed by three to four times [1].
  • Roast speed changes it. Fast roasts released more than slow ones at the same degree [1].
  • Temperature changes it. The ZHAW team used 35°C to speed degassing [1]; a cool kitchen slows it.
  • Brew method changes how much it matters. Espresso is most sensitive.
  • Freshness pulls the other way. The SCA considers whole bean coffee fresh for about three weeks after roasting [2]. Every day of rest uses some of that window.

A practical approach: brew your own coffee on several days after roasting, note when you like it best for your method, and use that as your house practice. For a bag you sell, a roast date on the label lets each customer make the same choice; roast dates and best-by dates covers how to date it.

How long the coffee stays good after resting

Resting and staling overlap. Once the gas has mostly gone, aroma loss continues. Why coffee goes stale, and how long it stays fresh gives the freshness windows and what speeds staling.

References

  1. Smrke S, Wellinger M, Suzuki T, Balsiger F, Opitz SEW and Yeretzian C, "Time-Resolved Gravimetric Method To Assess Degassing of Roasted Coffee," Journal of Agricultural and Food Chemistry 66:5293-5300, 2018, DOI 10.1021/acs.jafc.7b03310 (ZHAW repository copy). https://digitalcollection.zhaw.ch/bitstream/11475/12175/2/2017_Smrke-etal_Roasted-coffe-degassing-time-resolved-gravimetry.pdf
  2. Specialty Coffee Association, SCA News, Carmichael L, Coffee Decoded: What is "freshly roasted" coffee?, July 28 (year not shown; page copyright 2026), read October 2026. https://sca.coffee/sca-news/coffee-decoded-9-fresh-coffee
  3. Clive Coffee, Raper A, "Is Your Coffee Too Fresh?", April 2, 2018. https://clivecoffee.com/blogs/learn/is-your-coffee-too-fresh