If you have ever found an old bag of coffee in the pantry and wondered if it is still good, you are not alone. Coffee does not spoil in the same way milk or bread does, but it absolutely changes over time. Flavor fades, aromas flatten, and what once tasted vibrant can turn dull or bitter.
As specialty coffee roasters based in Spartanburg, South Carolina, freshness is something we think about daily, from roast date to brewing. This guide breaks down exactly how long coffee lasts in its different forms, including whole beans, ground coffee, brewed coffee, and cold brew, so you can decide what is worth drinking and what is better replaced.
Quick Answer: Coffee Shelf Life at a Glance
Coffee does not technically expire, but its flavor degrades over time. Shelf life depends on the form and how it’s stored. Here is a quick reference.
Coffee Shelf Life Comparison
| Coffee Type | Unopened | Opened or Brewed | In the Fridge | In the Freezer |
| Whole beans | 6–12 months | 2–4 weeks | Not recommended | Up to 2 years (portioned) |
| Ground coffee | 3–5 months | 1–2 weeks | Up to 1 month | Up to 2 years |
| Brewed coffee (black) | N/A | 2–4 hours (room temp) | 3–4 days | N/A |
| Brewed coffee (with milk) | N/A | 2 hours max | 1–2 days | N/A |
| Cold brew concentrate | N/A | N/A | 7–14 days | 2 weeks (ice cubes) |
These timelines focus on quality, not just safety.
How Long Do Whole Coffee Beans Last?
Unopened Bags
Unopened bags of roasted coffee beans typically last 6 to 12 months past the roast date when stored in a cool, dark place. Most specialty coffee bags use one-way valves that allow carbon dioxide to escape without letting oxygen in, which helps preserve freshness.
Vacuum-sealed or nitrogen-flushed bags may last closer to a year, but even then, flavor slowly declines over time.
After Opening
Once you open a bag, the clock moves faster. Whole bean coffee stays at peak freshness for about 2 to 4 weeks when stored properly in an airtight container away from light and heat.
From a roaster’s perspective, this window exists because of oxidation. After roasting, beans release carbon dioxide in a process called degassing. Peak flavor usually develops between 3 and 14 days after roasting, then gradually fades. Buying smaller quantities more often is the best way to keep coffee tasting its best.
How Long Does Ground Coffee Last?
Pre-Ground (Store-Bought)
Ground coffee goes stale much faster than whole beans because more surface area is exposed to oxygen. Unopened pre-ground coffee typically lasts 3 to 5 months. After opening, peak flavor is usually gone within 1 to 2 weeks.
This is why many people feel their coffee suddenly tastes flat even though the bag is not technically expired.
Freshly Ground at Home
Freshly ground coffee is at its best within 15 to 30 minutes of grinding. If stored well, it can still taste acceptable for a few days, but noticeable flavor loss happens quickly.
Grinding only what you need for each brew makes a bigger difference than most people expect. Using the right amount also matters, which is why our guide on how much coffee grounds per cup pairs well with this approach.
How Long Does Brewed Coffee Last?
At Room Temperature
Freshly brewed hot coffee tastes best within the first 30 minutes. After about 2 hours, flavor declines noticeably. Black coffee is generally considered safe to drink for up to 4 hours at room temperature, but after that point, bacteria growth becomes a concern.
If coffee has been sitting out for most of the day, it is best to discard it.
In the Fridge
Many people ask how long coffee lasts in the fridge. Black brewed coffee keeps for 3 to 4 days when stored in a sealed container. Flavor is best within the first 1 to 2 days.
Let coffee cool to room temperature before refrigerating to avoid condensation and off flavors.
Coffee with Milk or Cream
Once milk or cream is added, shelf life shortens significantly. At room temperature, coffee with dairy should be consumed within 2 hours. In the fridge, it is safest to drink within 1 to 2 days. Always smell and inspect before drinking.
How Long Does Cold Brew Last?
Cold brew has a longer shelf life than hot coffee due to its low-acid, cold extraction process. Undiluted cold brew concentrate lasts 7 to 14 days in the fridge when stored in an airtight glass container.
If diluted with water, plan to use it within 3 to 5 days. Cold brew with milk should be consumed within 1 to 2 days.
Does Coffee Expire?
Coffee does not expire in the traditional food safety sense. It is considered shelf-stable, and old coffee will not make you sick unless it has been exposed to moisture and developed mold.
The date printed on a bag is a best-by date, not an expiration date. It indicates peak quality, not safety. Over time, coffee loses aroma, sweetness, and complexity, often tasting flat, bitter, or cardboard-like.
Old coffee will not hurt you, but it will not delight you either.
How to Tell If Coffee Has Gone Bad
Signs Your Beans Are Stale
Stale coffee beans often have little to no aroma when you open the container. They may look dull or faded. Dark roasts can appear overly oily or dry. When brewed, stale beans produce flat, one-dimensional coffee and less crema in espresso shots. If you are curious about espresso freshness, our guide on what espresso is explains why freshness matters.
Signs Your Brewed Coffee Has Spoiled
Spoiled brewed coffee may smell sour or off, look murky, or develop a film on the surface. Visible mold is a clear sign to discard it immediately. If milk was added and appears curdled, do not drink it.
When in doubt, trust your senses.
Tips to Maximize Coffee Freshness
According to the National Coffee Association, coffee begins to lose freshness almost immediately after roasting:A few simple habits can significantly extend coffee freshness
- Store beans in an airtight, opaque container
- Keep coffee in a cool, dark place, not the fridge
- Buy whole beans and grind just before brewing
- Purchase smaller quantities more frequently
- Look for a roast date rather than relying on best-by dates
For detailed storage methods, see our complete guide on the best coffee bean storage tips.
Frequently Asked Questions
Technically yes if it was stored properly and shows no signs of mold. However, it will taste very stale. For best flavor, consume coffee within recommended freshness windows.
Black brewed coffee lasts 3 to 4 days. Coffee with milk lasts 1 to 2 days. Whole beans should not be stored in the fridge.
Coffee past its best-by date is generally safe unless moldy. Quality declines, but it will not cause illness.
Unopened instant coffee can last many years. Once opened, it typically stays good for 1 to 2 years if kept dry.
Caffeine has a half-life of about 5 to 6 hours. According to the National Institutes of Health, most effects wear off within 10 to 12 hours, depending on the individual.
Freezing can work for long-term storage if beans are portioned into airtight bags. Avoid repeatedly freezing and thawing.
So, how long does coffee last? The answer depends on its form and how it is stored. Whole beans stay fresh for weeks, ground coffee for days, and brewed coffee for hours or a few days at most. Coffee does not truly expire, but freshness makes all the difference in flavor.
If you want consistently great coffee without guessing, buying freshly roasted beans on a regular schedule is the easiest solution.
Looking for coffee that is roasted fresh and meant to be enjoyed at its peak?
👉 Shop Coffee
👉 Subscribe for Regular Deliveries
