Quick answer: Coffee rarely goes bad in the unsafe sense. Kept dry, beans and grounds don’t spoil, but they go stale and lose aroma within weeks: about 1–3 weeks for opened whole beans and 1–2 weeks for ground coffee at room temperature, or 3–4 months for beans frozen airtight. Throw coffee out if it has got damp, smells musty or shows mould, or if it’s milky coffee left out over two hours.

If you’ve found an old bag at the back of the cupboard, the question is really two questions: is it safe, and will it taste any good? Here’s how to tell, how long each type of coffee lasts, and how to store it.
In this guide 11 sections
- Does coffee expire?
- How long does coffee last?
- How can you tell if coffee has gone bad?
- Why does coffee go stale?
- Why isn’t freshly roasted coffee always best?
- How should you store coffee beans?
- How do you freeze coffee beans?
- How does humidity affect coffee?
- Why does reheated coffee taste bad?
- What can you do with stale coffee?
- Frequently asked questions
Does coffee expire?
Not in the way milk does. Dry coffee doesn’t support mould or bacteria, so a best-by date on coffee is about flavour, not safety. What does happen is staling: aroma compounds evaporate and oils react with oxygen, so the coffee slowly turns flat and dull. Stale coffee is safe to drink; it just doesn’t taste like much.
How long does coffee last?
| Type of coffee | Best flavour |
|---|---|
| Whole beans, room temperature | 1–3 weeks |
| Ground coffee, room temperature | 1–2 weeks |
| Roasted beans, refrigerated | About 2 weeks (not recommended) |
| Roasted beans, frozen airtight | 3–4 months |
| Instant coffee and pods | Until the best-by date |
Unopened, sealed commercial coffee often carries a best-by date many months away and is safe well beyond it if it stays dry, but it won’t compare with freshly roasted beans.
The freshness timeline after you open the bag
- Week one: usually the peak. The beans have degassed enough and aromas are still vivid.
- Weeks two and three: a gradual decline. Still enjoyable, but subtler notes fade and the cup becomes more muted.
- Beyond three weeks: generally stale: flat and dull, sometimes bitter. Still safe, but no longer what the roaster intended.
These are guidelines. Roast, storage and packaging all shift the timeline, and some coffees hold up for a month or more.
Roast date vs best-by date
Many supermarket coffees only show a best-by date. Specialty roasters print the roast date, which tells you exactly where the clock started. Aim to buy beans roasted within the last few weeks, in amounts you’ll use within a couple of weeks of opening. Our guide to the best whole bean coffee brands lists roasters worth starting with.
How long does brewed coffee last?
Brewed coffee tastes best within about 30 minutes, after which it keeps oxidising and turns flat and bitter, faster still on a hot plate. Leftover black coffee can go in a covered container in the fridge, but drink it soon: it won’t taste as good as fresh (see why reheated coffee tastes bad). Coffee with milk or cream follows food-safety rules for dairy: don’t drink it if it has sat at room temperature for more than two hours, or one hour above 90°F, per USDA food-safety guidance.
How can you tell if coffee has gone bad?
Smell it. Fresh coffee smells strong when you open the bag and when you grind it; stale coffee smells faint or of nothing much, and tastes flat, papery or hollow, sometimes bitter or sour. That coffee is still drinkable.
Watch the bloom. Fresh grounds bubble up when hot water first hits them. Little or no coffee bloom is a sign the coffee has gone stale.
Check for moisture. Coffee stored somewhere humid can absorb water from the air, and damp coffee can grow mould. Throw the whole batch out if you see any mould, because it can spread through grounds before it’s visible.
Don’t drink coffee that:
- looks or feels wet or clumped from moisture;
- shows any mould, or smells musty or mildewy;
- is brewed coffee with milk left out over two hours.
Why does coffee go stale?
Coffee’s flavour doesn’t come from one molecule but from thousands of compounds, including oils, acids, sugars and volatile aromatics. After roasting, the volatile aromatics gradually evaporate and the oils react with oxygen. Heat, light and moisture speed this up, and coffee also absorbs moisture and odours from around it. Ground coffee goes stale much faster than whole beans because grinding exposes far more surface to the air, which is why grinding just before brewing makes such a difference. Oxidation is invisible, but you can taste it: coffee brewed from old grounds tastes stale even straight from the brewer.

Roast level and packaging
Darker roasts are more porous and often oilier, because the longer roast breaks down more of the bean’s structure, so they tend to stale faster than lighter roasts. Very oily beans can also turn rancid sooner. Lighter roasts, with more of the cell structure intact, usually hold their flavour longer.
Packaging matters too. Choose bags with a one-way valve and a resealable closure. Some roasters also flush bags with nitrogen to push out oxygen, which helps unopened bags last longer. If the bag can’t be resealed, move the beans to an airtight container as soon as you open it. This matters most for ground coffee, which has more surface area to oxidise.
Why isn’t freshly roasted coffee always best?
Beans can be too fresh. Right after roasting they release a lot of carbon dioxide that was trapped inside during the roast. This is called degassing. While that gas is bubbling out (you see it as the bloom), it pushes water away from the grounds and can prevent full, even extraction. Brewing very fresh beans won’t taste bad as such, but the cup is less predictable and often lacks clarity and sweetness. Espresso is affected most, because gas in the puck causes the most trouble.

Why do coffee bags have one-way valves?
The CO2 keeps leaving the beans even inside a sealed bag. The small round plastic valve on many coffee bags lets that gas out without letting outside air in, so the bag doesn’t burst and the beans aren’t exposed to oxygen while they degas. A bag without one either has to let the gas out some other way, which lets air in, or the beans were packed after most degassing had finished.
How long should beans rest before brewing?
It depends on how you brew. A common rule of thumb is around 10 days for pour-over and French press, and 14–28 days (sometimes longer) for espresso. Light roasts generally need longer than dark roasts, which degas faster. Keep the beans airtight, away from heat and light, while they rest.
The roaster, roast profile, brewing equipment and your own taste all play a part, so experiment. In my experience coffee tastes best before the 6-week mark after roasting; past that point you may taste a difference, although the coffee is still safe to drink. Brew a bag across its life and note when it tastes best to you.
How should you store coffee beans?

Coffee has four enemies: oxygen, heat, light and moisture.
Use an airtight, opaque container
- Airtight: limits oxygen and keeps out moisture and odours.
- Opaque: clear canisters let in light. A clear jar is fine only if it lives in a dark cupboard.
- Non-reactive material: ceramic, glass or stainless steel won’t pass on flavours.
- Optional vacuum canister: some canisters remove air or let CO2 out while keeping oxygen out.
Keep the container in a cool, dark cupboard, away from the oven, dishwasher and sunny counters.
Buy the right amount
Buy freshly roasted coffee in small batches you’ll finish in about two weeks, then buy more. Whole beans keep much better than pre-ground, which may have sat on a shelf for weeks. If you buy pre-ground, use it quickly.
Split beans into smaller containers

Opening one big container every morning exposes all the beans to fresh air each time. Divide them into smaller containers so most of the coffee stays sealed until you need it.
Freeze for longer storage, not the fridge
The fridge is a poor choice: it’s humid, full of odours that coffee absorbs, and taking cold beans in and out causes condensation. The freezer works well for longer storage if you freeze beans in small, airtight, single-use portions and never refreeze them. See our guide to freezing coffee beans.
Consider green coffee beans

Unroasted green beans keep their quality for many months, far longer than roasted coffee. The catch is that you have to roast them yourself; see how to roast coffee beans at home. Learn more about green coffee beans.
How do you freeze coffee beans?
- Start fresh. Freezing preserves the coffee as it is; it doesn’t revive stale beans. Check the roast date, not just the best-by date.
- Rest first if needed. Very fresh beans release a lot of CO2. Many brewers let them rest before freezing: a few days for darker roasts and around a week for light roasts, especially for espresso. See why fresher beans aren’t always better.
- Portion it. Split the beans into single-dose or one-to-two-day portions so you never thaw more than you need.
- Pack airtight. Vacuum-sealed bags are best. Otherwise use freezer-safe airtight containers or freezer bags with the air pressed out. If you freeze the roaster’s bag, tape over the one-way valve.
- Label and freeze straight away with the coffee name and roast date.
How do you use frozen coffee beans?
- Keep it sealed while it warms: if you open a cold container, moisture condenses on the beans. Let the sealed portion reach room temperature first.
- Or grind from frozen: with single-dose portions you can grind straight from the freezer. A 2016 study in Scientific Reports found that colder beans grind into a finer, more uniform particle size, so you may need to grind slightly coarser. Check your grinder’s manual first.
- Use it promptly: thawed beans fade quickly, so plan on using a portion within a day or two.
- Don’t refreeze: each thaw exposes the beans to moisture and air.
Does freezing coffee ruin the flavour?
Not if you do it properly. Many enthusiasts, including coffee writer James Hoffmann, freeze beans routinely. Most flavour loss comes from moisture getting in or from thawing and refreezing, not from the cold itself.
What about freezer burn?
Freezer burn happens when food dries out and frost forms on the surface after exposure to air in the freezer. It dulls aroma. Airtight or vacuum-sealed packaging prevents it.
I thawed a whole bag. Should I refreeze it?
No. Keep it in an airtight container in a cool, dark cupboard and use it over the next week or two, as you would a freshly opened bag.
Should you freeze ground coffee?
You can, but whole beans keep better because grinding exposes much more surface to air and moisture. If you only have pre-ground coffee, the same rules apply: small airtight portions, no refreezing.
How does humidity affect coffee?
Coffee beans absorb moisture from the air
Roasted beans are porous and hygroscopic: they take up moisture from the air, even in bags or containers that aren’t fully airtight. That extra moisture:
- Softens the bean structure
- Changes how beans fracture in the grinder
- Speeds up staling
The result is often a less uniform grind and less even extraction. See our guide to how long coffee stays fresh.
The grind changes even if your setting doesn’t
Damp beans and grounds tend to clump and stick together. Clumps make water flow unevenly through the coffee bed, so some areas over-extract and others under-extract, giving a muddy or bitter cup. For espresso, humid grounds can behave as if they were ground finer, so a setting that pulled a 30-second shot on a dry day may choke on a wet one. More on that in why espresso shots are inconsistent, and on breaking up clumps in how to fix clumpy coffee grounds.
Flow and extraction shift
Slower flow means longer contact time in pour-over and espresso, which tends to pull out more bitter compounds. Immersion methods like French press are less affected by flow, but staler, damp grounds can still change the cup.
How do you brew coffee on humid days?
Store coffee properly
In a humid climate, storage matters most.
- Use an airtight container with a good seal
- Open it as little as possible
- Keep coffee away from the kettle, sink and windows
- Avoid the fridge, where beans can pick up moisture and odours; if you freeze coffee, freeze it sealed in portions (see does freezing coffee ruin it?)
If it’s humid most of the year, buy smaller bags so you finish them sooner, and buy whole beans rather than pre-ground: ground coffee has far more exposed surface, so it picks up moisture and goes stale faster. Our picks of the best whole bean coffee are a good place to start.
Grind slightly coarser
If your coffee runs slow and tastes bitter on humid days, go a little coarser to restore the flow.
- Pour-over: try one click coarser
- Espresso: make a small adjustment coarser and re-dial the shot time (see when to grind finer or coarser)
- French press: slightly coarser to cut sludge and bitterness
Other small tweaks to try
If the cup still tastes heavy or bitter, change one thing at a time and taste:
- Lower the brew water temperature by a degree or two
- Shorten the brew time slightly
- Use slightly less coffee for the same water
- Bloom gently and avoid excessive stirring
Why does reheated coffee taste bad?
What Happens to Coffee When You Reheat It?
To truly understand why reheated coffee is so disappointing, we need to look at what is happening on a molecular level. Several key chemical changes are responsible for turning your delicious brew into a bitter mess.
Oxidation: The Primary Flavor Killer
Oxidation is enemy number one for fresh coffee. As soon as hot water hits your coffee grounds, the extraction process begins, and so does oxidation. Oxygen in the air begins to react with the oils and aromatic compounds in the coffee. Initially, this is not a huge problem, but over time, the effects become very noticeable.
Heat supercharges this reaction. Think of it like this: leaving coffee at room temperature allows oxidation to happen at a walking pace. Zapping it in the microwave forces that same reaction into a full sprint. The heat energy causes molecules to move faster, leading to more frequent collisions with oxygen and a much faster breakdown of the tasty compounds you want to preserve. This is a key reason why coffee freshness is so fleeting after brewing.
The Breakdown of Chlorogenic Acids
Here is where things get really interesting. Coffee contains a group of compounds called chlorogenic acids (CGAs). These acids contribute to the perceived acidity, brightness, and body of a great cup of coffee. They are a good thing. However, CGAs are not very stable, especially when heat is applied.
When you brew coffee, you extract CGAs. If you let that coffee sit or, even worse, reheat it, these CGAs begin to break down into two other acids: quinic acid and caffeic acid. Quinic acid is associated with a sour, astringent taste, and this breakdown is thought to be a big part of why coffee held on a hot plate for hours tastes so harsh.
The longer the coffee is exposed to heat after brewing, the more this breakdown occurs. This is why coffee from a pot that has been kept warm all morning is often unbearably bitter and sour. Reheating your cup in the microwave triggers the exact same chemical process, rapidly increasing bitterness.
Loss of Volatile Aromatic Compounds
Have you ever noticed that coffee often smells better than it tastes? That is because a huge portion of what we perceive as “flavor” actually comes from our sense of smell. Coffee is packed with hundreds of volatile aromatic compounds that create its complex and enticing aroma, from floral and fruity notes to nutty and chocolatey ones.
The term “volatile” means these compounds evaporate easily. When coffee is hot, these aromas are released, creating the wonderful experience of smelling a fresh brew. As the coffee cools, this process slows down. But when you reheat it, you cause a massive, rapid release of all the remaining volatile compounds. They escape in a big puff of steam, leaving very few behind in the actual liquid.
The result? You are left with a cup that has lost its aromatic character. All that remains are the less volatile, more basic tastes like bitterness and sourness. Without the pleasant aromas to balance them, these tastes become overpowering and unpleasant, leading to a flat, one dimensional, and often bitter brew.
Does the Reheating Method Matter?
While the chemical degradation will happen regardless of how you reheat your coffee, the method you choose can make a bad situation even worse.
Microwaving: Uneven Heating and Contamination
Microwaves are notoriously bad at heating things evenly. They create hot spots within the liquid, meaning some parts of your coffee can become superheated or even boiled while other parts remain lukewarm. This boiling effect is catastrophic for flavor, as it aggressively breaks down acids and destroys any remaining aromatic compounds.
A microwave that isn’t clean can also leave food odors that you may pick up in your cup.
Stovetop: Better Control but Still Risky
Reheating coffee in a small pot on the stove offers more control. You can use a very low flame and heat it gently, avoiding the boiling and hot spots associated with microwaves. This is certainly a better option if you absolutely must reheat your coffee.
However, you are still fighting a losing battle. The added heat will still accelerate oxidation and the breakdown of chlorogenic acids. The key is to heat it slowly and remove it from the stove just before it reaches your desired drinking temperature. Never let it boil.
What Is the Best Way to Reheat Coffee?
Sometimes, life happens and reheating is unavoidable. If you find yourself with a cold cup and no other option, follow these steps to minimize the damage:
- Use the Stovetop: This is the preferred method. Pour the coffee into a small saucepan and heat it over low heat. Do not walk away. Watch it carefully and remove it from the heat as soon as it is warm enough to drink.
- Microwave with Care: If you must use a microwave, do not just hit the 1 minute button. Instead, use a lower power setting (like 50%) and heat the coffee in short 20 to 30 second bursts. Stir the coffee between each interval to distribute the heat evenly and prevent hot spots.
Remember, these methods will not magically restore your coffee to its original glory, but they can make it more palatable than simply blasting it on high power.
How Do You Keep Coffee Hot Without Reheating It?
The best way to avoid the disappointment of reheated coffee is to prevent it from getting cold in the first place. Here are a few strategies to keep your brew delicious.
Invest in a High Quality Thermos
A vacuum insulated thermos or travel mug is a coffee lover’s best friend. These containers work by creating a vacuum between two walls of steel, which dramatically slows down heat transfer. A good thermos can keep your coffee hot for hours, eliminating the need to ever reheat it.
Beyond temperature, a thermos also limits the coffee’s exposure to oxygen. For best results, fill your thermos as close to the top as possible. This minimizes the amount of air trapped inside, which in turn slows down the process of oxidation. It is a simple trick that makes a huge difference.
Consider Your Brew Method
The way you brew your coffee can also affect how well it holds up over time. Brews that contain a lot of fine sediment, such as those from a French press, tend to degrade more quickly. These tiny particles continue to extract as they sit in the liquid, leading to over extraction and increased bitterness over time.
In contrast, brewing methods that use a paper filter, like a V60 or a standard drip machine, produce a much “cleaner” cup with less sediment. This coffee will generally maintain its flavor integrity for a bit longer than an unfiltered brew.
What can you do with stale coffee?
- Cold brew: the slow, cold extraction is gentler and can hide some staleness.
- Cooking and baking: use it in cakes, brownies or rubs. See cooking with coffee.
- Scrubs and compost: used grounds make a body scrub or compost material.
Frequently asked questions
Can you drink expired coffee?
Usually, yes. If it’s been kept dry and shows no mould or musty smell, coffee past its best-by date is safe; it will just taste flat. Throw it out if it has got damp.
How long do coffee beans last after opening?
For the best flavour, use whole beans within about 1–3 weeks of opening, stored airtight in a cool, dark place. They stay safe to drink much longer, but taste flatter.
Does ground coffee go bad faster than beans?
Yes. Grinding exposes much more surface to air, so ground coffee loses flavour in about 1–2 weeks at room temperature, compared with 1–3 weeks for whole beans.
Does unopened coffee go stale?
More slowly. Sealed bags with a valve, especially nitrogen-flushed ones, protect the beans, but they still age. Check the roast date and use them within the roaster’s recommended window.
How long does coffee last in the freezer?
Whole beans frozen in a truly airtight container keep their flavour for about 3–4 months. The National Coffee Association suggests taking out no more than a week’s worth at a time and returning the rest before condensation forms on the beans.
Can you brew coffee the day it’s roasted?
You can, and it won’t taste bad as such, but the heavy degassing makes extraction less predictable, and the cup often lacks clarity and sweetness. A longer bloom helps if you do. A very vigorous bloom means the coffee is fresh, not necessarily at its best, and the beans may benefit from a few more days’ rest.
Can old coffee make you sick?
Dry, stale coffee won’t. The risks come from mould in coffee that got damp and from brewed coffee with milk left out too long. If in doubt, throw it out. Coffee itself, in moderation, can be part of a healthy diet; see is coffee good for you?
This article is for general information and isn’t medical advice.
Will frozen coffee still bloom?
Yes. Freezing slows degassing, so well-frozen fresh beans still bloom when you brew. Read more about coffee bloom.
How should I store coffee beans in a humid climate?
In an airtight container, away from heat, steam and windows, opened as little as possible. Buy smaller amounts so the beans are used before they absorb much moisture.
Is it better to microwave coffee or reheat it on the stove?
The stovetop gives you more control, so you can warm it gently without boiling. If you use a microwave, use a lower power setting in short bursts and stir in between to avoid hot spots.
Why does coffee left on a hot plate taste burnt?
Holding coffee hot for a long time keeps the same chemical breakdown going: aromas cook off and acids break down into harsher-tasting compounds. Transfer coffee to a preheated thermal carafe instead. If cold coffee tastes sour even before reheating, see why coffee tastes sour when cold, and for coffee that tastes best slightly cooled, see the 10-minute rest.
Share this guide
See more Coffee Informer on Google. Add us as a preferred source and our guides show up more in your Top Stories and AI results.
Add as a preferred source on Google
