How Long Does Coffee Stay Fresh in the Bag?
Roasted coffee does not spoil like fresh food, but it loses aroma from the day it is roasted. How long it stays at its best depends on the coffee, the grind and, to a large part, the bag it is packed in.

What makes coffee go stale
Roasting fills the bean with aroma compounds and carbon dioxide. From then on, four things take the flavour away.
- OxygenReacts with the oils and aromas in the coffee. This is the main cause of a flat, stale taste
- MoistureSpeeds up staling and can make the beans lose their crispness
- LightUltraviolet light breaks down flavour compounds
- HeatSpeeds up every one of these reactions
Carbon dioxide works the other way. While the coffee releases it, the gas pushes air out of the beans and the bag. That is why freshly roasted coffee is packed in bags with a one-way valve.
Whole beans and ground coffee
Grinding opens the bean and multiplies the surface that meets the air. Ground coffee releases its gas and loses its aroma much faster than whole beans, so it depends even more on a high barrier and a tight seal.
| Whole beans | Ground coffee | |
|---|---|---|
| Gas release after roasting | Over days and weeks | Much faster |
| Contact with oxygen | Lower | High |
| Usual bag | Valve bag with a zipper | Foil or high-barrier bag, often with a valve |
| After opening | Keeps its flavour longer | Best used soon |
How long coffee stays fresh
There is no single number, because roast, origin, grind and storage all change it. Many roasters suggest drinking whole bean coffee within a few weeks of the roast date for the best flavour, and using an opened bag within one to two weeks.
Coffee is still safe to drink after that. It slowly loses aroma and sweetness and tastes flatter. A best-before date on a bag is a promise about flavour, and each roaster sets it for their own coffee and packaging.
Coffee that waits in a warehouse, travels by sea or sits on a supermarket shelf needs more protection than coffee roasted to order and sent to a subscriber the same week.
What the bag controls
The barrier layer
The wall of a coffee bag is a laminate. The outer layer carries the print, the inner layer seals the bag, and a barrier layer in between keeps out oxygen, moisture and light. Aluminium foil gives the highest barrier, metallised film a lower one.
The valve
A one-way degassing valve lets carbon dioxide out without letting air in, so the bag can be sealed soon after roasting without swelling.
The seal and the closure
Every bag is heat sealed after filling. A zipper below the seal lets the buyer close the bag again after opening, which slows staling between cups.
Light
Foil blocks light completely, and metallised film blocks most of it. A clear window lets light reach the coffee, so keep it small or use it for coffee that sells quickly.
Matching the bag to the way you sell
| Packaging | Barrier | Suits |
|---|---|---|
| Kraft paper bag with tin tie | Low, not airtight | Coffee sold and drunk within a few weeks |
| Matte film or PET over VMPET | Good | Most roasted coffee in retail and online sales |
| Structures with aluminium foil | Highest | Ground coffee, long storage, export and supermarkets |
| Mono-material PE with EVOH | Medium to high | Brands that want a recyclable bag and sell steadily |
| Clear film or window | Lower | Coffee that sells quickly, where seeing the beans matters |
The two structures most coffee brands choose, matte film or UV-varnished PET over a metallised layer, are 140 μm (5.5 mil) thick on each side as standard. Thickness is chosen for strength. The freshness comes from the barrier layer, not from the total thickness.
Habits on the filling line that matter
- Rest before packingLet the coffee release some gas first, especially ground coffee
- Seal fullyA seal with gaps or creases lets air in no matter how good the film is
- Keep the seal area cleanCoffee dust in the seal weakens it
- Flush with nitrogenMany roasters with a filling machine replace the air in the bag with nitrogen before sealing
- Print the roast dateBuyers judge freshness by it, so leave a clear space for it in the artwork
How to set your best-before date
The reliable way is to test your own coffee in your own bag. Fill and seal several bags from one roast, store them the way they will be stored in your sales channel, and taste one at fixed intervals next to a fresh roast.
When the difference becomes clear, you have your answer. Set the date a little before that point, and test again when you change the coffee, the grind or the bag.
Tell us the coffee, how it is sold and the shelf life you aim for, and we suggest a structure to test. Stock samples are free.
Frequently
Asked Questions
Not answered here? Send us a message and we will reply with the details for your bag.
How long does coffee last in a sealed bag?
It depends on the coffee, the grind and the bag. Many roasters suggest drinking whole beans within a few weeks of roasting for the best flavour. Each roaster sets the best-before date for their own coffee and packaging, ideally after tasting stored bags.
Does a valve keep coffee fresh longer?
A one-way valve lets carbon dioxide out without letting air in, so the bag can be sealed soon after roasting. The barrier layer in the film is what keeps oxygen out over time.
Which bag material keeps coffee fresh the longest?
Structures with aluminium foil give the highest barrier to oxygen, moisture and light. Metallised film suits most roasted coffee sold within its season.
Is a thicker coffee bag better for freshness?
Not by itself. The protection comes from the barrier layer. Thickness is chosen for the size of the bag and how it is handled.
Is coffee safe to drink after the best-before date?
Roasted coffee kept dry does not usually become unsafe, but it loses aroma and tastes flatter. The date is about flavour.
More articles
All guides
Kraft Paper Coffee Bags: What They Are Made Of
Brown or white kraft, what sits under the paper, how colours print on it, and when a kraft coffee bag is the right choice.

Stand Up Pouch vs Flat Bottom Bag for Coffee
The two most common retail coffee bags compared: shape, print area, sizes, filling, shipping and cost per bag.

Coffee Bag Sizes
Standard coffee bag sizes in millimetres and inches for every bag style, from 50 g samples to 2 kg bags.
Tell us about
your coffee bag
Send us the bag style, size and quantity you have in mind. We will help you with material and printing options and prepare a quotation.