Guide

Coffee freshness for espresso: when are beans at their best?

22/03/20268 min read

The Degassing Period

When coffee is roasted, a significant amount of carbon dioxide (CO2) is produced inside the beans as a byproduct of the chemical reactions during roasting. This CO2 does not all escape immediately - it is trapped within the cellular structure of the bean and releases gradually over days and weeks after roasting.

This gradual release is called degassing, and it has a direct impact on espresso. Freshly roasted coffee (within the first 1-3 days off roast) contains so much CO2 that when you brew it as espresso, the gas disrupts water flow through the puck. The CO2 creates bubbles and uneven channels, leading to turbulent extraction. Shots from very fresh beans tend to be:

  • Erratic in flow (sputtering, uneven timing)
  • Excessively foamy with aggressive, bubbly crema
  • Muted in flavour despite the visual drama
  • Difficult to dial in because behaviour changes daily

This does not mean the beans are bad - they just need time. Most coffee benefits from a rest period before it reaches peak espresso performance.

When Do Beans Peak?

The peak freshness window varies significantly by roast level, because darker roasts degas faster than lighter ones:

Roast LevelRest Period (Off Limits)Peak WindowStill GoodDeclining
Dark2-4 days5-14 days14-28 days28+ days
Medium4-7 days7-21 days21-35 days35+ days
Light7-14 days14-35 days35-49 days49+ days

These ranges are approximate and vary by specific bean, roast profile and storage conditions. But the pattern is consistent: darker roasts peak earlier and fade faster, while lighter roasts take longer to open up but stay good for longer.

The reason is structural. Dark roasting creates more internal porosity in the bean, so CO2 escapes faster. The beans also have more oil on the surface, which goes rancid more quickly. Light roasts are denser and less porous, so degassing is slower and more gradual, and the lower oil migration means slower oxidation.

How Staleness Shows Up

As beans age past their peak window, the decline is gradual rather than sudden. Here is what to look for:

Flavour changes

  • Early decline: Brightness fades first. The shot tastes flatter, less vibrant, more one-dimensional.
  • Mid decline: Sweetness drops. The shot becomes dull and generic.
  • Late decline: Papery, cardboard or cereal-like off-flavours develop. The shot tastes empty.

Physical changes

  • Crema: Becomes thinner, paler and disappears faster. Very old beans produce almost no crema because the CO2 is largely depleted.
  • Flow rate: Shots run faster at the same grind setting because the stale grounds offer less resistance. You may find yourself grinding finer and finer to maintain your target time.
  • Aroma: Fresh beans have an intense, complex aroma when you open the bag and grind them. Stale beans smell flat or faintly cardboard-like.

Dialling in behaviour

  • Fresh beans need regular grind adjustments as they degas (typically grinding coarser over the first week or two)
  • Beans in their peak window are relatively stable from day to day
  • Stale beans become less responsive to grind adjustments - the flavour stays flat regardless of recipe changes

If you track roast dates in Puck Yeah, the app calculates days off roast automatically and Jarvis can correlate your taste ratings with freshness to help you identify each bean's peak window.

Storage Best Practices

Proper storage extends the peak window and slows the decline. The enemies of coffee freshness are oxygen, moisture, heat and light.

The basics

  • Airtight container: Transfer beans from the roaster's bag to an airtight container, or use the bag if it has a one-way degassing valve and a zip seal. One-way valves let CO2 out without letting oxygen in.
  • Cool location: Room temperature is fine. Avoid storing near the stove, oven or in direct sunlight.
  • Dark: UV light accelerates oxidation. An opaque container or a dark cupboard works.
  • Dry: Moisture causes the beans to deteriorate rapidly. Never store beans in a humid environment.

What about the fridge?

Do not refrigerate coffee. The fridge is humid, full of odours that coffee absorbs readily, and the temperature cycling from taking beans in and out causes condensation on the bean surface. Condensation accelerates staleness.

What about the freezer?

Freezing is a different story. When done properly, freezing can preserve coffee for months. The key principles:

  • Freeze in single-dose portions: Divide beans into individual dose portions (e.g. 18g bags) before freezing. This means you never thaw and refreeze.
  • Remove air: Use vacuum-sealed bags or press out as much air as possible from zip-lock bags.
  • Freeze quickly: Place portions flat in the freezer for maximum surface contact.
  • Grind from frozen: Some baristas grind beans directly from frozen, which can actually improve grind consistency because frozen beans shatter more uniformly. Others let the portion thaw for 5-10 minutes before grinding. Both approaches work.
  • Do not refreeze: Once thawed, use the beans within their normal freshness window. Repeated freeze-thaw cycles damage the cellular structure.

Freezing effectively pauses the aging clock. Beans frozen at day 7 off roast and thawed a month later will behave like day-7 beans, not day-37 beans.

Whole Bean vs Pre-Ground Shelf Life

The freshness timeline above assumes whole beans. Pre-ground coffee stales dramatically faster because grinding exposes vastly more surface area to oxygen.

FormatPeak Freshness
Whole bean (sealed)1-6 weeks off roast
Whole bean (opened)1-4 weeks off roast
Pre-ground (sealed)Days, not weeks
Pre-ground (opened)Hours to 1-2 days

This is why grinding fresh for each shot is considered essential for good espresso. Pre-ground coffee loses aromatic compounds within minutes of grinding. By the time you pull a shot with grounds that were exposed to air for even a few hours, a significant portion of the volatile flavour compounds have evaporated.

If you must pre-grind (for convenience, travel, etc.), store the grounds in an airtight container and use them within a few hours. Freezing pre-ground portions in sealed bags is a better option for longer storage.

Roast Date vs Best-Before Date

Many supermarket coffees print a "best before" date that is 6-12 months from roasting. This date tells you when the coffee becomes genuinely stale, not when it tastes best. For espresso, you want a roast date - the date the beans were actually roasted.

Specialty roasters almost always print the roast date on the bag. If a bag does not have a roast date, treat that as a warning sign. The coffee might still be good, but you have no way to gauge where it is in its freshness cycle.

When buying online, look for roasters who roast to order. Your beans arrive a few days off roast, giving you the entire freshness window to enjoy them. If buying from a local shop, check the roast date and aim for beans that are within their peak window for your preferred roast level.

Practical Tips

  • Buy smaller quantities more often rather than large bags you cannot finish in time
  • Keep a rotation of two bags at different stages so you always have one in its peak window
  • Note the roast date when you log a new bean - if you are using Puck Yeah, the app tracks days off roast and subtracts any time the beans spent frozen
  • Expect grind drift during the first week or two as beans degas. You will typically grind finer on day 5 than on day 14
  • Do not waste fresh beans on dialling in if you are trying a new grinder or technique. Use an older bag for practice shots

Key Takeaways

  • Coffee needs a rest period after roasting for CO2 to release (degassing). Espresso from beans that are too fresh is erratic and muted.
  • Dark roasts peak at 5-14 days off roast, medium at 7-21 days, light at 14-35 days
  • Staleness shows up as flat crema, faster flow, muted flavour and eventual off-flavours
  • Store beans in an airtight, opaque container at room temperature. Not the fridge.
  • Freezing in single-dose portions pauses the freshness clock and is an excellent preservation method
  • Pre-ground coffee goes stale in hours, not weeks. Always grind fresh for espresso.
  • Look for a roast date on the bag, not just a best-before date
  • Track days off roast to learn when each roast level peaks for your palate

Further Reading

Track your shots with Puck Yeah

Free espresso tracker for home baristas. No signup required.