Coffee beans · BeanShelf
How long do coffee beans stay fresh after the roast date
Whole coffee beans are generally considered fresh for about three weeks after the roast date, according to the Specialty Coffee Association. Gas leaves the beans fastest in the first one to two days. The National Coffee Association puts opened whole beans at room temperature at one to three weeks, and ground coffee changes far faster.
What the roast date actually tells you
A roast date is the day the beans came out of the roaster, and it is the most useful number on a bag of whole-bean coffee because almost everything that happens to roasted coffee is a matter of time. A best-by date is different: it is the seller's estimate of how long the sealed package will hold up. The National Coffee Association's storage table says unopened packages of roasted beans or ground coffee retain freshness until the best-by date, but once a bag is open, the clock that matters starts from roasting and opening.
Roasting creates gas inside the beans, mostly carbon dioxide. Samo Smrke and colleagues at the Zurich University of Applied Sciences describe how part of that gas escapes during roasting while part is held inside the porous structure of the bean and released steadily during storage, then more abruptly during grinding and brewing. In their 2018 paper in the Journal of Agricultural and Food Chemistry they call carbon dioxide an indicator of freshness that also affects shelf life, packaging, extraction and crema.
Peter Giuliano of the Specialty Coffee Association explains why the gas matters for flavor. Carbon dioxide cannot oxidize anything, but as it leaves the bean, oxygen-rich air moves in to take its place, and that is when coffee starts developing off-flavors.
The first days: degassing
The first stretch after roasting is the busiest. Writing in the SCA's 25 Magazine about the Zurich research, Antony Watson reports that the highest rate of gas release comes in the first 24 to 48 hours after roasting before tapering off. The same work found that faster and darker roasts release more carbon dioxide over time, while light roasts degas at a significantly slower rate.
A separate study by Xiuju Wang and Loong-Tak Lim, published in Food Research International in 2014, points the same way: darker roasts held more residual carbon dioxide, and the rate of release increased with the degree of roast. Coffee roasted with a high-temperature, short-time process also degassed faster than coffee roasted the same color more slowly.
You can see this gas when you brew. Giuliano notes that fresh coffee produces more crema in espresso and a stronger bloom in filter brewing, because the carbon dioxide trapped in the beans comes out in the water. Tasting results do not line up in a neat straight line, either. The SCAA's literature review on coffee staling summarizes a 2006 study by Ross and colleagues in which panelists preferred fresh coffee over coffee stored for two weeks, yet preferred the two-week coffee over coffee stored for one week.
How long whole beans stay fresh
The clearest single figure comes from the Specialty Coffee Association. Giuliano writes that carbon dioxide degassing happens rapidly for the first 20 days after roasting and slows dramatically afterwards, and concludes that whole bean coffee can reasonably be considered fresh within about three weeks of roasting.
The National Coffee Association's consumer storage table gives a similar range for opened whole beans: one to three weeks at room temperature, two weeks in the refrigerator, and three to four months in the freezer. The NCA also suggests buying smaller amounts more often, enough for one or two weeks.
Aroma is usually the first thing to go. Watson notes that fading aroma is one of the first perceivable changes and that not all aromatic compounds behave the same way. The SCAA review cites Holscher and Steinhart, who found that one intense aroma compound, methanethiol, fell to about 30 percent of its original amount after eight days of storage, and Sanz and colleagues, who found the greatest rate of freshness loss in the first month.
Opened bags, packaging and air
Oxygen is the main reason an opened bag ages faster than a sealed one. The SCAA literature review, written by Emma Sage, cites work by Labuza and colleagues suggesting that reducing oxygen in a coffee container to 0.5 percent could increase shelf life 20-fold, and work by Cardelli and Labuza in which each 1 percent increase in oxygen raised the rate of degradation by 10 percent. The same review reports that nitrogen-flushed coffee had a six-month shelf life on sensory testing against three months for coffee bagged without flushing, and that vacuum-packed coffee staled five times more slowly than beans packed in air.
Packaging helps while it stays sealed. Watson reports that carbon dioxide building up in valve bags during the first week after roasting partly pushes oxygen out, with concentrations in the bag typically reaching 80 percent. A 2014 study by Glöss and colleagues in the journal Chimia, which followed whole beans in four packaging materials for up to a year, found that materials with an aluminum layer offered better protection.
Once you open the bag, the National Coffee Association names air, moisture, heat and light as coffee's greatest enemies and recommends an airtight container. It also points out that retail packaging is often not designed for long-term storage. Moisture matters on its own: the SCAA review notes that coffee stored in a humid environment picks up water and loses its volatile compounds faster.
Ground coffee runs on a different clock
Grinding speeds everything up. The SCAA review explains that grinding increases porosity and the surface-to-volume ratio, which accelerates both degassing and staling, and Wang and Lim found that degassing in ground coffee depended heavily on grind size.
Giuliano puts it more bluntly: the carbon dioxide that whole beans lose over weeks is lost in minutes after grinding, so ground coffee might be considered fresh for about an hour. The NCA's table lists ground coffee at one to two weeks at room temperature. The two figures answer different questions, one about the gas that drives peak freshness and one about practical storage at home, but both point to the same habit: grind just before you brew.
Common freshness mistakes
Reading the best-by date as the roast date. A best-by date is set for the sealed package and says little about where the beans are in their first few weeks. If a bag only has a best-by date, you are guessing at its age.
Judging a bag in its first day or two. Gas is leaving fastest then, according to the Zurich research, and a dramatic bloom or heavy crema is mostly carbon dioxide on its way out.
Leaving the opened bag in a warm, bright spot. Heat, light, air and moisture are the four things the NCA says to keep away from coffee. A loosely clipped bag next to the kettle meets all four.
Buying more than you will drink in a few weeks, then losing track. Several open bags with dates on crumpled labels are hard to keep in order. BeanShelf, a coffee bean inventory app, shows each bag's roast date as a freshness window gauge with degassing, peak and fading bands and a marker on today, and labels the window as a general guideline rather than a verdict on your coffee.
Frequently asked questions
Do coffee beans go bad after a few weeks?
The sources here describe freshness as flavor. Aroma fades and, over longer periods, oxidized fats can taste rancid; the SCAA review cites a 2008 study in which trained assessors detected rancidity in coffee packed in air after four months. None of them describe a point at which beans become unsafe, and this guide does not either.
Is the roast date the same as the best-by date?
No. The roast date is when the beans were roasted. The best-by date is the seller's estimate for the sealed package, and the National Coffee Association treats unopened packages as fresh until that date.
Do dark roasts lose freshness faster?
For degassing, the research points that way. Wang and Lim found the rate of carbon dioxide release increased with the degree of roast, and the Zurich work reported in 25 Magazine found darker roasts released more gas while light roasts degassed more slowly. How that shows up in the cup varies by coffee.
Should I keep opened coffee beans in the fridge?
The National Coffee Association lists refrigerated whole beans at about two weeks, close to room temperature, and warns that condensation can build up in the refrigerator. If you do chill or freeze beans, it recommends a truly airtight container.