BeanCask
Coffee Science Entry · Coffee science Last checked 30 Nov 2026

Why fresh beans pour badly

A bag roasted yesterday is not automatically better than a bag roasted two weeks ago. Roasting fills the bean with gas, the gas keeps leaving for weeks, and espresso feels every day of that difference.

Key takeaways

  • Roasting generates carbon dioxide inside the bean; the reactions that produce relevant amounts begin around 180 °C.
  • Two roasting profiles differed in how fast CO₂ came out, but released about the same total over 63 days of storage — the gas leaves either way.
  • Water-quench cooling raises bean moisture, which speeds degassing and, in the same study, faster loss of key aroma compounds.
  • Commonly quoted rest windows are roaster practice, not a published standard. Judge a bag by flow, ratio and taste at fixed settings.

Where the gas comes from

Coffee beans are dense, woody seeds that reach the roaster still carrying water. Heat them past about 180 °C and the interior stops being a slow drying process and becomes a set of reactions: sugars and amino acids recombine, organic acids break down, and carbon dioxide and water vapour are produced inside a structure that is simultaneously becoming porous.

A 2005 study followed that gas directly, measuring CO₂ and water vapour in the exhaust air of two roasting regimes and then measuring what continued to escape from the roasted beans during storage.1 Its findings are useful to anyone who has wondered how much "resting" really matters. The two roast profiles produced CO₂ at different rates during roasting, yet the total amount released over 63 days of storage came out the same. The gas is not optional. The only variable is when it leaves.

The scale is also worth holding onto. A roasting mass balance built on those measurements accounted well for the weight the beans lost — the visible roast loss and the invisible gas are part of the same arithmetic.

Why espresso cares more

In a filter brew, the coffee sits in a lot of water for minutes. Gas leaving the bed makes the slurry foam and the bed rise; the water still finds its way through, and a stir fixes most of the rest.

Espresso is a different hydraulic situation. A small, dense puck of fine particles is asked to pass about twice its own mass in water in roughly 25 to 30 seconds, under pressure. Gas that comes out of solution as the puck wets occupies space inside that puck. Where gas collects, water does not flow, and where water does not flow evenly, some parts of the bed are over-extracted while others are barely touched. That is the standard explanation for the unstable, fast, blond shots pulled from very fresh coffee, and it is consistent with the extraction-uniformity work that shows how much local variation a bed can hide behind one average number.2

The visible half of the same process is the bloom: the puck swelling and darkening as it wets, releasing gas that was trapped under pressure during roasting. A large, vigorous bloom is a rough indicator that a lot of gas is still present. It is not a measurement, and it says nothing about whether the coffee tastes good.

Moisture and quench

One production choice changes the resting timeline more than most drinkers realize: how the roast is cooled. Quenching with water rather than air leaves the beans carrying more moisture, and a 2007 study of water-quench cooling found that the extra moisture affected bean firmness, grinding behavior, degassing and aroma stability together.3 Whole beans degassed faster. Aroma compounds were lost and degraded faster as well.

The follow-up work on water content pointed the same way for shelf life: roasted coffee is a product of limited life, and keeping moisture and oxygen low is what slows the decline.4 For a drinker, the practical translation is simple. A bag that degasses quickly is also a bag that stales quickly, and "rested" and "old" are two points on the same curve separated by a decision about storage.

Rest windows, labeled honestly

Search for how long to rest coffee and you will find confident numbers. What you will not find is a published standard behind them, because there is not one. Rest is roaster practice, tuned by roast level, processing, packaging and the brewer in front of the bag.

Working rest windows as commonly practised. Practice, not measurement — no standard defines these figures.
Roast levelFilterEspressoWhy it moves
Light7–14 days10–21 daysDenser bean, slower gas release, more acidity to integrate
Medium4–10 days7–14 daysThe usual compromise between gas and freshness
Dark2–7 days5–10 daysPorous structure, faster degassing, faster staling

Read those as a starting hypothesis for a new bag, not a rule to obey. The more useful statement is directional: dark roasts settle sooner and fade sooner, light roasts need longer and hold longer, and a water-quenched roast behaves like a slightly older bag from the day it is packed.

Schematic of carbon dioxide release after roasting A schematic curve falling steeply in the first days after roast and flattening over several weeks. A shaded band marks the period when espresso flow is typically most unstable, and a second band marks where staling aromas become the limiting factor. UNSTABLE FLOW STALING LEADS 07142128 Days after roast CO₂ remaining (relative)
Schematic, not data: the shape follows published degassing behavior, but the curve is drawn to show sequence, and the bands are practice-based. No measured series is plotted here.

How to tell where a bag is

Hold everything else still and let the coffee tell you. Use the same dose, the same grind setting, the same yield and the same water, and change one thing at a time — normally the grind, as the bag ages.

  1. Record the shot. Dose in grams, yield out grams, time in seconds. Without all three, a change in taste cannot be attributed to anything.
  2. Put the numbers on the standard grid. Extraction yield around 18–22 % and strength appropriate to the method are the reference points; the brew ratio and extraction calculator does the arithmetic from a measured TDS.
  3. Expect the grid to disagree with your palate. In a study of more than 3,000 tastings, acceptable black coffee spread across a much wider range of strengths and extraction yields than the classic box implies.5 Use the band to find out what you changed, not to overrule what you taste.
  4. Watch flow, not just taste. Shots that run fast and blond at a normal grind, then behave after a few more days, are usually still degassing rather than badly dialled in.

The one label to insist on

A roast date, not a best-before date. Everything above is a question about time since roasting, and a bag without that date cannot answer it. If a roaster prints only a best-before window, treat the bag as an unknown and dial it in from scratch.

In this entry

Reserved placement for the two instruments this page assumes. No links are live yet.

0.1 g scale — slot Refractometer — slot Sealed storage tin — slot

Affiliate slots are labeled and never decide what gets recommended. See editorial standards.

Sources

  1. Geiger, R., Perren, R., Künzli, R. & Escher, F. (2005). Carbon dioxide evolution and moisture evaporation during roasting of coffee beans. Journal of Food Science 70(2). doi:10.1111/j.1365-2621.2005.tb07084.x
  2. Moroney, K. M., O'Connell, K., Meikle-Janney, P., O'Brien, S. B. G., Walker, G. M. & Lee, W. T. (2019). Analysing extraction uniformity from porous coffee beds using mathematical modeling and computational fluid dynamics approaches. PLOS ONE 14(7), e0219906. doi:10.1371/journal.pone.0219906
  3. Baggenstoss, J., Poisson, L., Luethi, R., Perren, R. & Escher, F. (2007). Influence of water quench cooling on degassing and aroma stability of roasted coffee. Journal of Agricultural and Food Chemistry 55(16), 6685–6691. doi:10.1021/jf070338d
  4. Baggenstoss, J., Perren, R. & Escher, F. (2008). Water content of roasted coffee: impact on grinding behavior, extraction, and aroma retention. European Food Research and Technology. doi:10.1007/s00217-008-0852-8
  5. Cotter, A. R., Batali, M. E., Ristenpart, W. D. & Guinard, J.-X. (2021). Consumer preferences for black coffee are spread over a wide range of brew strengths and extraction yields. Journal of Food Science 86(1), 194–205. doi:10.1111/1750-3841.15561

← Coffee science section · Previous: peat, phenol and coffee →