Freshly roasted coffee is still full of carbon dioxide. The gas interferes with brewing and masks the flavour. How long the beans should rest depends mainly on the roast. Dark roasts are often ready after just a few days, while light roasts need up to three weeks.What happens inside the bean, how long filter and espresso should rest, and how to tell when your coffee is ready.

“Freshly roasted” sounds like the best moment for a cup. Many people think buying coffee is like buying fresh bread rolls: the closer to the oven, the better. That is only partly true. Beans from the day before often taste sour, angular and flat, even though they are technically as fresh as they will ever be. The culprit is a gas still trapped inside the bean.

How long coffee stays fresh overall and how to store it is covered in How long does coffee stay fresh?. Here we are concerned with the time before that: the first days after roasting.

What is inside a freshly roasted bean

During roasting, large amounts of carbon dioxide (CO₂) are produced alongside aromas. The gas is held tightly in the bean’s fine pores. According to the Specialty Coffee Association (SCA), it can account for up to 2 percent of the weight of freshly roasted beans. It is released most strongly in the first 24 to 48 hours, then more and more slowly.

How much gas a bean holds depends on the roast. Dark and fast roasts release more CO₂, while light roasts degas more slowly but for longer. A research team at the Zurich University of Applied Sciences measured this on a precision scale.

The gas is not only a problem. As long as it surrounds the beans, it keeps oxygen at bay, which would attack the aroma. Only once it has largely escaped does the actual ageing begin.

Why too much gas can spoil the coffee

When brewing, hot water meets the coffee grounds and releases the trapped gas. It rises in bubbles and pushes the water away from parts of the grounds.

The London roastery Square Mile compares it to food that is too hot: you can barely taste anything except the steam. In coffee, the trapped gas is often perceived as strong acidity. Only after the resting period do the finer aromas come through, and the coffee tastes clearer and rounder. The Berlin roastery The Barn names the same symptoms: many bubbles, too much crema and an inferior taste.

With espresso the effect is stronger than with filter. The water is forced under pressure through a densely packed puck of coffee, so any gas bubble gets in the way. That is why espresso beans usually need the longer pause.

How long filter and espresso should rest

There is no fixed rule. Square Mile recommends 5 to 14 days for filter and 7 to 14 days for espresso, The Barn around a week for filter and 12 to 14 days for espresso. The ranges in the table are our own editorial guidelines based on these recommendations, calculated from the roast date on the packet, not from the day of delivery.

Roast Filter Espresso
Light 5 to 12 days 10 to 21 days
Medium 3 to 10 days 7 to 14 days
Dark 1 to 5 days 3 to 10 days

Light roasts hold their gas longer and need more time. Dark roasts can be drunk much sooner: for filter, one to five days after the roast date is often enough, for espresso three to ten days. But they also age sooner. Square Mile advises allowing a few days’ rest when buying.

During the rest period, keep the packet closed. The Barn recommends storing the beans sealed and out of the fridge, protected from light and oxygen. The valve on the bag lets the gas out without letting air in.

Why grinding and opening speed everything up

What escapes from the whole bean over weeks is lost in minutes when grinding. That is what the SCA writes in its “Coffee Decoded” series. Grinding opens the pores, and volatile aromas escape along with the gas.

Ground coffee is therefore not a shortcut for beans that are too fresh. It loses its gas quickly, but also its aroma. According to the SCA, ground coffee is considered fresh for about an hour after grinding.

Three signs that your coffee is ready

Filter coffee being poured by hand in a V60 dripper
The bloom on the first pour reveals how much gas is still in the beans.

You can not only count down the rest time, you can also see it. The SCA explains strong blooms and abundant crema by the gas escaping from the pores during brewing. This is how you spot the difference:

  • Bloom in filter: Very fresh beans bubble vigorously on the first pour, and the coffee bed domes strongly. As the bloom becomes smaller and more even, the water penetrates better.
  • Crema in espresso: Coffee that is too fresh forms large bubbles and a crema that collapses quickly. Rested coffee shows a fine-pored, velvety crema with an even colour.
  • Taste: If the coffee tastes sharply sour and empty, give the beans a few more days. When sweetness and aromas become more pronounced, you have reached the window.
Double espresso with crema
In espresso, the crema shows whether the beans have rested enough.
Our tip

This is how to hit the right window:

  • Check the roast date when buying and count from there.
  • Keep the packet closed during the rest period.
  • Brew a cup on the first day and note the bloom or crema. Repeat a few days later.
  • For espresso, wait longer than for filter.

Three misconceptions about fresh coffee

“The fresher, the better.” True for bread, not for coffee. Immediately after roasting, the gas masks the flavour. When the best window begins depends on the roast and the brewing method: with dark roasts often after just a few days, with light roasts only after one to three weeks.

“Freezing lets the coffee continue to mature.” Cold strongly slows degassing. According to the SCA, at −25 °C it can proceed up to 35 times slower than at 35 °C. Anyone freezing should therefore let the beans rest first. When that makes sense is explained in our article on freshness.

“The valve on the bag is for smelling.” It is a one-way valve and lets the CO₂ out so the bag does not burst, without letting oxygen in.

So freshly roasted coffee needs patience, and how much is decided by the roast. Dark beans can often be brewed after just a few days. Light filter beans need about a week, light espresso up to three weeks. Watch the bloom and crema and try for yourself. The beans will tell you when they are ready.

Sources

  1. Antony Watson, Specialty Coffee Association, 25 Magazine 4: Preserving Freshness: A Race Against Time, accessed 04.11.2026.
  2. Peter Giuliano, Specialty Coffee Association: Coffee Decoded: What is “freshly roasted” coffee?, accessed 04.11.2026.
  3. Smrke, S.; Wellinger, M.; Suzuki, T.; Balsiger, F.; Opitz, S. E. W.; Yeretzian, C. (ZHAW), Journal of Agricultural and Food Chemistry 66(21), 5293–5300: Time-resolved gravimetric method to assess degassing of roasted coffee, 2018.
  4. The Barn (manufacturer’s information): After We Roast, no date, accessed 04.11.2026.
  5. Square Mile Coffee Roasters (manufacturer’s information): Rest Is Best, 07.10.2024.

Image credits

  1. Title image: drum roaster empties freshly roasted beans into the cooling tray – photo: Yanapi Senaud / Unsplash
  2. Filter coffee being poured by hand in a V60 dripper – photo: Krists Luhaers / Unsplash
  3. Double espresso with crema – photo: Daniel Lopez / Unsplash