How Long Does Coffee Last? Beans, Ground and Brewed
Disclosure: We may earn a commission when you buy through links on this page, at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Learn more

How long does coffee last, from whole beans to brewed coffee, and how to store it for freshness.
How long does coffee last? Whole bean coffee tastes best within 2 to 4 weeks of roasting and opening, and stays drinkable for 6 to 9 months unopened. Ground coffee is best within 1 to 2 weeks of opening and about 3 to 5 months unopened. Brewed coffee tastes best within 30 minutes, keeps about 4 hours at room temperature and 3 to 4 days in the fridge. Coffee rarely becomes unsafe when stored dry, but it loses aroma and flavor quickly once exposed to air, light, heat and moisture. This guide answers how long does coffee last for every form.
Knowing how long coffee lasts helps you buy the right amount, store it properly and avoid flat, stale cups. Below we break down shelf life for whole beans, ground coffee, instant coffee, pods, brewed coffee and cold brew, explain how to tell if coffee is stale or spoiled, how to store coffee for maximum freshness and whether you should freeze it. Knowing how long does coffee last also helps you avoid waste.



How Long Does Coffee Last? Quick Reference
Use this table as a quick guide. "Best quality" means peak flavor; "usable" means it is still fine to drink but may taste flat.
| Type | Best quality | Usable (stored well) |
|---|---|---|
| Whole beans, opened | 2 to 4 weeks | 1 to 3 months |
| Whole beans, unopened (valve bag) | Up to about 3 months past roast | 6 to 9 months |
| Ground coffee, opened | 1 to 2 weeks | 1 to 3 months |
| Ground coffee, unopened (vacuum sealed) | Several months | 3 to 5 months or by date |
| Instant coffee | Several months after opening | 2 to 20 years unopened, per label |
| Coffee pods and K-Cups | By best by date | Several months past date |
| Brewed coffee, room temperature | 30 minutes | About 4 hours |
| Brewed coffee, refrigerated | 1 to 2 days | 3 to 4 days |
| Cold brew concentrate, refrigerated | 7 days | Up to about 2 weeks |
Coffee with milk, cream or sugar added follows dairy safety rules: do not leave it at room temperature for more than 2 hours.
How Long Do Whole Coffee Beans Last?
Whole beans stay fresh longest because their outer structure protects the oils and aromatics inside. Most roasters say beans taste best between about 4 days and 4 weeks after roasting. After that, flavors gradually fade, although the coffee remains drinkable for months. Unopened bags with one way valves slow staling, but oxygen still slowly gets in.
Look for a roast date on the bag rather than only a best by date. A recent roast date means you get more of the coffee's peak window at home.
How Long Does Ground Coffee Last?
Ground coffee goes stale much faster than whole beans because grinding exposes far more surface area to oxygen. Once opened, ground coffee tastes best within 1 to 2 weeks. Vacuum sealed or pressurized cans, like many supermarket and Italian coffees, stay fresh much longer until opened. Grinding just before brewing is the single best way to improve freshness.
How Long Does Brewed Coffee Last?
Brewed coffee tastes best within about 30 minutes. After that, it oxidizes and turns more bitter and sour, especially on a warming plate, which keeps cooking it. Black coffee is generally fine at room temperature for about 4 hours and in a sealed container in the fridge for 3 to 4 days, though flavor declines. A thermal carafe keeps coffee hot and tasting fresher for a few hours without burning it.
How Long Does Cold Brew Last?
Cold brew concentrate lasts about 7 to 14 days in a sealed container in the fridge, and diluted cold brew about 3 to 5 days. Strain out all grounds before storing, since leftover grounds keep extracting and add bitterness. Glass jars with tight lids work best. Our guide on how to make cold brew coffee at home covers brewing and storage.
How Long Do Coffee Pods Last?
Coffee pods and K-Cups are sealed in foil or plastic with nitrogen to keep oxygen out, so they last for months. Most carry a best by date several months to a year after production, and they are usually fine to use for a few months past that date, though they may taste weaker. Store pods in a cool, dry place away from heat sources like the top of your coffee maker.
How Long Does Instant Coffee Last?
Instant coffee lasts the longest of any coffee because it is dried coffee extract with very little moisture. Unopened jars can last for years, and opened jars stay good for months if kept tightly sealed and dry. Moisture is the main enemy; it causes clumping. Always use a dry spoon.
How to Tell If Coffee Is Stale or Bad
Stale coffee is safe but tastes flat; spoiled coffee should be thrown away. Check these signs:
- Stale: weak aroma, flat or papery taste, little or no bloom when brewing, dull color.
- Spoiled: mold, musty or sour smell, clumping from moisture, off odors from storage.
- Brewed coffee gone bad: sour or rancid smell, mold on the surface, or milk added coffee left out more than 2 hours.
When in doubt, throw it out. A lively bloom when brewing is a good sign of fresh beans; see what is coffee bloom for more.
How to Store Coffee for Maximum Freshness
Store coffee in an airtight, opaque container at room temperature, away from heat, light and moisture. These are the four main enemies of coffee freshness.
- Keep coffee in a cool, dark cabinet, not next to the stove or in sunlight.
- Use an airtight canister, ideally with a one way CO2 valve.
- Buy smaller amounts more often rather than large bags.
- Grind just before brewing.
- Avoid the fridge for daily coffee, where it picks up moisture and odors.
Our guide on how to store coffee beans and the best coffee canister guide go deeper.
Coffee Storage Containers
A good canister keeps air and light away from your beans. These are popular choices on Amazon.
- Coffee Gator Stainless Steel Canister, 16 oz: a BPA free stainless steel container with a CO2 release valve and a calendar date wheel to track freshness, per the brand. Expect to pay around $22.
- Veken Coffee Canister, 16 oz: an airtight stainless steel jar with a one way CO2 valve, silicone seal, date tracker, viewing window and included scoop. Expect to pay around $22.
- Veken Coffee Canister, 39 oz: a large version for 2 pound bags with the same valve, seal and date tracker features. Expect to pay around $36.
Should You Freeze Coffee?
Freezing can extend coffee freshness if done correctly, but it is best for long term storage, not daily use. Divide beans into small airtight portions, about a week's supply each, squeeze out air and freeze. Take out one portion at a time and let it reach room temperature before opening to avoid condensation. Do not refreeze thawed coffee or move it in and out of the freezer repeatedly. Frozen whole beans keep good quality for up to about 2 to 3 months.
Why Coffee Goes Stale
Coffee goes stale mainly through oxidation and the loss of volatile aroma compounds. Roasted coffee contains hundreds of aromatic oils and gases that create its flavor. Once exposed to oxygen, these oils oxidize and the aromas evaporate, leaving coffee that tastes flat, papery or slightly rancid. Heat and light speed up these reactions, and moisture can cause clumping and even mold. That is why airtight, opaque, cool and dry storage makes such a big difference.
Roast Level and Shelf Life
Roast level affects how quickly coffee loses freshness. Dark roasts have more oil on the surface and a more porous structure, so they stale faster than light and medium roasts. Light roasts are denser and hold their aromas longer, and many specialty roasters suggest resting them for a few days after roasting before they reach peak flavor. If you buy dark roast, buy smaller bags and finish them promptly.
How Long Does Coffee With Milk Last?
Coffee with milk, cream or plant milk should not sit at room temperature for more than 2 hours, or 1 hour in hot weather. In the fridge, a latte or iced coffee with milk keeps about 1 to 2 days in a sealed container. Store bought bottled coffee drinks follow the date on the bottle once unopened, and usually 7 to 10 days after opening if refrigerated, but always check the label.
Tips to Avoid Wasting Coffee
- Buy whole beans in amounts you can finish in 2 to 4 weeks.
- Freeze extra beans in weekly portions right after opening.
- Brew only what you will drink, or keep extra in a thermal carafe.
- Turn leftover brewed coffee into coffee ice cubes or use it in baking.
- Use older beans for cold brew, which is forgiving of slightly stale coffee.
Does Coffee Expire?
Coffee does not usually expire in a way that makes it unsafe if it is kept dry. The dates on coffee bags are best by dates for quality, not safety. Old coffee simply loses flavor and aroma. The exception is coffee that gets wet or moldy, or brewed coffee with dairy left out too long, which should be discarded.
FAQs About How Long Coffee Lasts
Can you drink coffee past the best by date?
Usually yes, if it has been stored dry and shows no mold or off smells. It may taste flat.
How long is coffee good after opening?
Whole beans taste best within 2 to 4 weeks of opening, ground coffee within 1 to 2 weeks.
Can I drink coffee left out overnight?
Black coffee left out overnight is unlikely to be harmful but tastes stale and bitter. Discard coffee with milk left out more than 2 hours.
How long does coffee last in the fridge?
Brewed black coffee lasts about 3 to 4 days in a sealed container in the fridge. Cold brew concentrate lasts up to about 2 weeks.
Does freezing coffee ruin it?
No, if you freeze it in airtight portions and avoid repeated thawing. Freezing is good for long term storage.
How long do coffee beans last in a sealed bag?
Unopened whole beans in a valve sealed bag keep good quality for several months, often 6 to 9 months, but taste best within about 3 months of the roast date.
Does decaf coffee last as long as regular coffee?
Yes. Decaf follows the same shelf life guidelines as regular coffee, though some people find it loses aroma slightly faster.
Can old coffee make you sick?
Dry, stale coffee is unlikely to make you sick, but moldy coffee or brewed coffee with dairy left out too long should be thrown away.
Bottom Line
So, how long does coffee last? Whole beans taste best within 2 to 4 weeks of opening, ground coffee within 1 to 2 weeks, brewed coffee within 30 minutes and cold brew concentrate within about a week. Store coffee airtight, dark, dry and at room temperature, buy smaller amounts and grind fresh for the best flavor. Find more coffee guides in our coffee guides, and keep your brewer clean with how to clean a coffee maker.



