A roast date from last week on the bag sounds like good news, and for most brewing it is. For espresso, though, beans can be too fresh. The gas that roasting leaves in them gets in the way of a pressurized shot, and it fools the eye as well. Here’s what happens, and how long to wait.
Our April 2026 video covers the same question. This page has since been checked against the sources, so where the video’s day counts and figures differ, follow the text.
What resting does
Roasting produces a lot of carbon dioxide, and much of it stays trapped in the beans. In The World Atlas of Coffee, Hoffmann explains that the beans de-gas quickly in the first few days, then more slowly, and that hot water releases the gas fast, which is why fresh coffee bubbles as it brews.
How fast depends on the roast. Samo Smrke and colleagues at the Zurich University of Applied Sciences measured whole beans degassing over weeks: the darker the roast, the more gas came out and the faster it came. Their light roast, kept warm at 95°F (35°C), was still degassing a month after roasting.
Resting has a cost too. As the gas leaves, so do aromas, and the beans start to stale. Our freshness timeline covers that side of the curve.
Why fresh beans fight an espresso shot
In Espresso Extraction, Rao explains that fresher beans contain more gas and release more of it during the shot. That outgassing creates back pressure that holds back the flow of liquid through the coffee bed. To get a normal shot time, the barista has to grind coarser, and a coarser grind means a lower extraction. In a 2023 blog post he puts it simply: in a pressurized espresso basket, there is nowhere for the gas to go.
Filter coffee is different. In an open cone or brewer, Rao writes, most of the gas escapes into the air above the slurry. It stirs the bed up, but it doesn’t significantly affect extraction or flavor.
The crema illusion
Fresh beans also make more crema, and that changes how big a shot looks. Rao gives an example: two 30 g shots, one from beans roasted the day before and one from beans roasted 15 days earlier. The older beans give a shot of slightly more than 30 ml; the fresh beans give almost 60 ml.
A barista who stops shots by eye, at a volume, will therefore pull shorter shots from fresh beans without realizing it, and under-extract them a second time. Rao calls this reason “more speculative” than the back pressure, but the fix is simple either way: weigh the shot. Our Brew Guide’s espresso starting recipe is 18 g of coffee to 36 g of espresso in the cup. A scale weighs the shot instead of judging its volume, so a fresh bag’s extra crema can’t fool it. Our guide to dialing in espresso walks through the weight-based method.
Resting fixes the shot as much as the beans
Rao’s conclusion is that the two effects together lead many baristas to overestimate what resting does for flavor. Resting does improve the flavor, he writes, but much of the improvement people credit to it really comes from pulling longer shots with higher extraction as the beans age.
He also calls resting “a double-edged sword”: along with carbon dioxide, aging costs the beans aromas and brings oxidation, unless they’re stored in an inert gas. His advice is to get every other part of the shot right before relying on long aging. Beans two to three weeks old can be acceptable, he writes, especially light roasts, but shouldn’t be necessary.
How long to rest espresso beans
The sources agree that espresso beans need some rest, and differ on how much.
For espresso the Freshness tool takes the cautious end, a little longer than Hoffmann’s minimum, and it uses the same best window, days 7 to 21, for both brew methods. If your beans pull well sooner, use them.
Roast level moves it. In his 2023 post, Rao writes that lighter roasts, with their stronger, less porous cell structure, need more resting to reach their peak, while he wouldn’t rest a dark, oily roast for more than a day because it would soon taste rancid. He also finds that coffee from air roasters may want one to four weeks, and coffee from classic drum roasters no more than a day or two, unless it’s underdeveloped. That fits Smrke’s finding that darker roasts give up their gas faster. The Freshness tool uses one set of windows for every roast, so a light roast that still tastes sharp and thin in its second week may simply need more time.
Pre-grinding: a shortcut, with a cost
Rao offers one shortcut for beans that are too fresh: grinding them 30 to 60 minutes before pulling the shot gives results similar to resting the beans for several days. He prefers resting himself, partly because in a busy café it’s nearly impossible to control the time between grinding and pulling.
The catch is aroma. Grinding releases trapped gas fast: Smrke’s team found that up to 75% of the gas in freshly roasted coffee came out during and immediately after grinding. Jonathan Gagné explains in The Physics of Filter Coffee that aromas degas in much the same way, so ground coffee left to sit loses some of them too. Treat pre-grinding as a fix for today’s shot, not a routine.
Filter coffee needs less rest
For pour-over and other unpressurized brewers, the gas has somewhere to go. In Espresso Extraction, Rao recommended very freshly roasted beans for filter brewing. His 2023 post is more nuanced: until the last several years, he writes, common practice was to rest espresso beans but not filter beans, and his advice on resting by roast level doesn’t distinguish between brew methods.
Hoffmann’s view sits between the two: resting matters less for filter, but he thinks coffee tastes better after two to three days than straight off the roaster. The Freshness tool sides with Rao’s 2013 advice for filter: it calls days 0 to 3 very fresh and fine to brew, since most of the gas escapes as the coffee brews, and adds Hoffmann’s view that coffee tastes better after two or three days. It puts most coffees at their best from day 7 to day 21. Our V60 guide covers the bloom, where that gas shows.
Storing beans while they rest, and after
Keep the bag sealed while the beans rest, somewhere cool, dark and dry. Rao notes that beans in cooler conditions evolve more slowly and beans in warm places degrade much faster. Our storage guide compares bags and canisters.
If you won’t use the beans within their window, freeze them. Rao writes that freezing vacuum-sealed beans slows aging so much that it would probably take months or years to reach the condition of beans rested for a week or two at room temperature. Our freezing guide covers portions, sealing, and thawing or grinding from frozen.
Sources
- Scott Rao, Espresso Extraction: Measurement and Mastery (2013), chapter 8, “Roast Age,” and chapter 9, “Grinding” (resting for filter brewing; “Pregrinding Versus Resting”)
- Scott Rao, “Resting Roasts: Is Fresher Better?”, Scott Rao (blog), May 29, 2023: scottrao.com
- James Hoffmann, The World Atlas of Coffee, revised edition (Mitchell Beazley, 2018), “Buying and Storing Coffee,” pp. 62–65 (p. 65, “‘Resting’ coffee”)
- Samo Smrke, Marco Wellinger, Tomonori Suzuki, Franz Balsiger, Sebastian E. W. Opitz and Chahan Yeretzian, “Time-Resolved Gravimetric Method To Assess Degassing of Roasted Coffee,” Journal of Agricultural and Food Chemistry 66, no. 21 (2018): 5293–5300, Results (“Whole Roasted Coffee Beans”; “Roast and Ground Coffee”): doi.org/10.1021/acs.jafc.7b03310
- Jonathan Gagné, The Physics of Filter Coffee (2021), chapter 8, “Freshness,” §8.2, p. 160 (aromas)