
Found an old bag of coffee at the back of the cupboard? Before you brew it or throw it out, here is what actually happens to coffee as it ages, how long each kind lasts, and how to tell when it is past saving.
Does Coffee Go Bad?
Stale, yes. Spoiled, rarely.
Dry coffee rarely spoils in a way that makes you sick, but it does go stale. Roasted beans lose aroma and flavor within weeks, and ground coffee fades even faster. Old coffee is usually safe to drink, just flat and dull. The real exception is moisture: if coffee gets damp and grows mold, throw it out.
- Flavor: fades within weeks of roasting or grinding.
- Safety: dry coffee stays safe for a long time.
- The red line: mold, a musty smell or clumps of damp grounds.
How Long Does Coffee Last?
There are two different answers: how long coffee tastes its best, and how long it is still fine to drink. These are typical ranges for coffee stored airtight, cool and dark.
| Type of coffee | At its best | Still drinkable |
|---|---|---|
| Whole beans, sealed bag | 2–4 weeks after roasting | Several months |
| Whole beans, opened | 2–3 weeks | 1–3 months, tasting flatter |
| Ground coffee, opened | About 1 week | A few weeks to a month |
| Whole beans, frozen | 2–3 months | Much longer if kept sealed |
| Instant coffee, opened | Several months | 1–2 years if kept dry |
| Brewed coffee, black | About 30 minutes | Same day at room temperature; 3–4 days in the fridge |
| Brewed coffee with milk | Drink right away | No more than 2 hours out of the fridge |
Do Coffee Beans Go Bad?
Whole beans go stale, but slowly compared with ground coffee. They peak a few days to a few weeks after roasting and are noticeably duller after a month open. Beans that are months old are still safe if they are dry and smell normal; they just make a flat, papery cup.
Does Ground Coffee Go Bad?
Ground coffee goes stale much faster, because grinding exposes far more surface to air. Most of its aroma is gone within a week or two of opening. It is also more likely to absorb moisture and odors, so damp, clumped or musty grounds should be thrown away. The rule of fifteens is a handy reminder of how quickly each form loses freshness.
Does Instant Coffee Expire?
Instant coffee is dried to very low moisture, so an unopened jar keeps for years and an opened one stays good for a year or two if the lid stays tight. If it hardens into a solid lump or smells off, moisture has gotten in and it is time to replace it.
What Happens to Coffee as It Ages

Three things happen as coffee ages. First, the carbon dioxide trapped during roasting escapes, which is why old coffee barely blooms when you brew it. Second, the aromatic compounds that give coffee its smell and flavor evaporate or break down. Third, the natural oils oxidize, and over time they can turn rancid, giving very old coffee a sour, cardboard or crayon-like taste. None of these make coffee unsafe; they just make it taste worse.
How to Tell If Coffee Has Gone Bad
- Smell
- Strong, sweet, roasty aroma
- Look
- Beans may have a slight sheen
- Verdict
- Brew and enjoy
- Smell
- Faint, dusty or like cardboard
- Look
- Dull, dry beans; little bloom when brewed
- Verdict
- Safe but flat; use it in cold brew or baking
- Smell
- Musty, moldy or sharply rancid
- Look
- Visible mold, white fuzz or damp clumps
- Verdict
- Throw it out
What Do Best By Dates Mean on Coffee?
A best by date is a quality estimate, not a safety deadline. Coffee is usually fine to drink after it, just less flavorful. The more useful date is the roast date, which tells you exactly how fresh the beans are; specialty roasters print it on the bag, and our guide to reading coffee bag labels explains where to find it. If a bag only shows a best by date a year or more away, the coffee may already be months old.
How to Keep Coffee Fresh Longer
Buy whole beans in amounts you will finish within two to three weeks, keep them in an airtight, opaque container away from heat and light, and grind just before brewing. Skip the fridge. For coffee you will not use within a month, freeze it in sealed portions; frozen beans taste best within two to three months and stay safe much longer. Our guides to the best way to store coffee beans and how to freeze coffee beans cover both in detail.

