A bag of coffee starts to change on the day it is roasted. The roast date is what lets you place that bag on the timeline. Without it, you are guessing at the age of something whose flavor depends on age. The idea takes a few minutes to learn, and and that's most of what you need when you're choosing a bag.
What happens to coffee after roasting
Roasting makes carbon dioxide, and much of that gas stays trapped inside the bean. Peter Giuliano explains what the gas does in the Specialty Coffee Association's Coffee Decoded column. The gas helps carry aroma to your nose. It also keeps oxygen away from the oils and aroma compounds in the bean. As the gas leaks out, aroma goes with it. Oxygen then moves in, and off flavors begin to form.
Scientists have measured that leak. A team at the Zurich University of Applied Sciences built a method that tracks the weight a sample loses as gas escapes. Their 2018 paper reports that light roasted whole beans, kept warm at 35 C, were still giving off gas a month after roasting. Darker roasts and faster roasts released more gas, and they released it faster. So two bags with the same date may not be at the same stage.
The SCA turns this work into a useful rule of thumb. Gas loss runs fast for about the first 20 days and then slows sharply. Using gas as the guide, Giuliano says whole beans can reasonably count as fresh for about three weeks after roasting. Ground coffee loses in minutes what whole beans lose over weeks, so he gives it about an hour.
Stale is a matter of flavor
Roasted coffee has no clear moment when it goes off, which is one more reason to want a date. A literature review by Emma Sage, published by the SCA, calls roasted coffee shelf stable. That means it doesn't spoil through enzymes or microbes. It goes stale instead, with a negative flavor that grows over time. Rancidity is one of the typical flavors, and it comes from the breakdown of fats in the bean.
Sage's review also shows how much the conditions matter. It cites work that named oxygen as the most important factor in shelf life. In that work, cutting the oxygen in a container to 0.5% could stretch shelf life 20 times over. Heat speeds staling up, and so does moisture. One study she cites found the fastest loss of freshness in the first month of storage. Another found that trained tasters could detect rancidity in coffee packed in air after four months.
Why a best-by date tells you less
Plenty of bags carry a best-by date instead of a roast date, and the two answer different questions. Penn State Extension describes dates like these as the maker's estimate of how long a product will keep good quality. It also notes that, apart from infant formula, no federal regulations require product dating at all. So a roaster who prints a best-by date is choosing the shelf life behind it.
That choice can vary a lot, which makes counting backward unreliable. One study in Sage's review gave nitrogen-flushed coffee a six month shelf life by taste, and unflushed coffee three months. If you don't know which number a maker assumed, a best-by date can't tell you when the coffee was roasted. A roast date needs no such guess. That is the case for printing it on every bag, because it gives the buyer a plain fact to check against the research above.
What a roast date leaves out
Green coffee has a clock of its own, and a roast date says nothing about where it stood before roasting. Giuliano's column on fresh crop coffee covers this. Coffee ready for export is called fresh crop or new crop. Its flavor and color fade over the months that follow. Once the next harvest arrives, the older coffee is called past crop. Some coffees lose their spark in a few months, and others hold for 14 or 16 months.
A coffee roasted last week can still be an old coffee, so the harvest date is worth looking for too. Some roasters print it. Sey's listing for a Colombian lot gives June 2026, for example.
How to use the date when you buy and brew
Start in the shop by finding the date and doing the subtraction. Treat about three weeks as a guide to the period of fastest change. A bag a little past that has not gone bad, so use the number as a reason to prefer one bag over another. A bag with no date leaves you guessing.
- Buy whole bean and grind when you brew. The SCA's one hour estimate points this way. Sage's review adds that grinding speeds up both gas loss and staling.
- Look for the valve. The 2022 storage study from the same Zurich group explains that gas has to get out of the bag while air stays out. A one-way valve is the common fix.
- Close the bag well. That study, run with the roaster Tchibo, compared four ways to store whole beans after opening. A screw cap built into the package did best by chemical tests. Clips, tape and moving the beans to a canister all lost freshness faster. The authors say tasting work is still needed.
- Read the bloom for what it is. The SCA says fresh coffee gives more crema and a stronger bloom because of the trapped gas. A lively bloom tells you gas is still there.
The same study gives you one more number to keep in mind. Its authors rested their bags for three weeks after roasting before opening them. They did this to allow for early gas loss and to match typical shipping from roaster to buyer. So a bag can reach you near the end of the SCA's fresh window even when nobody has done anything wrong.
Questions
How long does coffee stay fresh after the roast date?
The Specialty Coffee Association says that, using gas loss as the guide, whole bean coffee can reasonably count as fresh for about three weeks after roasting. Gas loss runs fast for about 20 days and then slows sharply.
Is a best-by date the same as a roast date?
No. Penn State Extension describes dates like best by as the maker's estimate of how long a product will keep good quality, and federal rules don't require them apart from infant formula. A roast date is a plain fact about when the coffee was roasted.
Does old coffee go bad?
Roasted coffee is shelf stable, so it does not spoil through enzymes or microbes, according to a literature review published by the Specialty Coffee Association. It goes stale instead, with a negative flavor that increases over time.
How long does ground coffee stay fresh?
The Specialty Coffee Association's column gives it about an hour, because ground coffee loses in minutes the gas that whole beans lose over weeks.
Smrke et al. 2018, Time-Resolved Gravimetric Method To Assess Degassing of Roasted Coffee, Zurich University of Applied Sciences
Emma Sage, What is the Shelf Life of Roasted Coffee? A Literature Review on Coffee Staling, Specialty Coffee Association
Penn State Extension, Label Date Marks: Quality or Food Safety?
Specialty Coffee Association, Coffee Decoded: What is fresh crop coffee?
Smrke et al. 2022, Effects of different coffee storage methods on coffee freshness after opening of packages
Sey, Carmen Montoya Bella Vista listing