How Long Does Coffee Last? Shelf Life & Storage
Coffee lasts about 2–4 hours after brewing, 3–5 days in the refrigerator, and 6–12 months unopened in the pantry (or up to 2 years in the freezer). The exact time depends on the form—whole bean, ground, brewed, or instant—and how you store it. Here’s the breakdown you actually need.
Why Coffee Goes Stale (The Science)
Coffee’s enemies are oxygen, light, heat, and moisture. Once roasted, coffee begins oxidizing immediately. That’s why whole beans stay fresh longer than ground coffee—grinding increases surface area, speeding up staling. The volatile oils and aromatic compounds that give coffee its flavor evaporate and break down over time, leaving a flat, cardboard-like taste. This is a chemical process, not a safety issue; stale coffee is safe to drink but tastes bad.
How Long Does Brewed Coffee Last?
Brewed coffee’s shelf life is short because it’s exposed to air and contains water, which encourages microbial growth. Here are the general windows:
- Hot on the burner: 30–60 minutes before flavor degrades noticeably. After 2 hours, it tastes bitter and metallic.
- At room temperature: 2–4 hours. After that, bacteria can multiply, especially if you added milk or cream.
- In the fridge: 3–5 days in a sealed container. Cold slows bacterial growth, but oxidation still happens.
- Iced coffee: Same as refrigerated brewed coffee—3–5 days if kept cold and covered.
If you add milk, cream, or sugar, the safe window drops to about 2 hours at room temperature and 1–2 days in the fridge, because dairy spoils faster.
How Long Do Coffee Beans and Grounds Last?
Unopened, roasted coffee beans last 6–9 months past the roast date if stored in a cool, dark pantry. Ground coffee loses quality faster—about 3–5 months unopened. Once opened, the clock starts:
- Whole beans: 1–3 weeks at room temperature in an airtight container; up to 2 months in the freezer.
- Ground coffee: 1–2 weeks at room temperature; up to 1 month in the freezer.
- Instant coffee: 2–20 years unopened (it’s dehydrated), and 1–2 years after opening if kept dry.
Note: The “best by” date on the bag is about quality, not safety. Coffee doesn’t spoil like milk—it just tastes stale.
Does Freezing Coffee Extend Its Life?
Yes, but only if done correctly. Freezing whole beans in an airtight, moisture-proof container can extend freshness up to 2 years. However, avoid repeatedly taking the bag in and out—condensation forms on the beans, introducing moisture that degrades flavor. Instead, portion beans into small, sealed bags or jars and pull out only what you need. Never freeze ground coffee for long-term storage; it’s too porous and absorbs odors.
How to Tell If Coffee Has Gone Bad
Stale coffee isn’t dangerous, but it’s unpleasant. Look for these signs:
- Smell: If it smells flat, musty, or like cardboard, it’s past its prime.
- Taste: A sour, bitter, or hollow flavor indicates staleness.
- Mold: If you see fuzzy spots (especially on grounds or brewed coffee left out), discard it immediately.
- Carbonation: Bubbles in brewed coffee mean fermentation—throw it out.
If you’re unsure, taste a tiny sip. If it tastes off, don’t drink more.
Best Storage Methods to Maximize Freshness
Follow these steps to keep coffee at its peak:
- Buy whole beans and grind just before brewing.
- Store beans in an airtight, opaque container at room temperature. Avoid clear jars or bags.
- Keep coffee away from heat sources (stove, sunlight) and moisture (don’t store in the fridge unless it’s brewed).
- For long-term storage, freeze beans in vacuum-sealed bags, portioned for single use.
- Brew only what you’ll drink within 2 hours, or refrigerate the rest in a sealed container.
Remember: the fridge is for brewed coffee, not beans. The pantry is fine for beans if you use them within a few weeks.
Does Cold Brew Last Longer?
Yes—cold brew concentrate lasts 7–10 days in the refrigerator, because the cold extraction process produces a less acidic, more stable brew. But once you dilute it with water or milk, treat it like regular brewed coffee. Always keep cold brew chilled and in a sealed container.
Frequently Asked Questions
Can I drink coffee that’s been sitting out overnight?
Technically, it’s safe if it’s black and the room is cool, but the flavor will be terrible. If it has milk or cream, toss it—dairy can harbor bacteria after 2 hours at room temperature.
Does adding milk make coffee spoil faster?
Yes. Milk, cream, or plant-based milks introduce proteins and sugars that bacteria love. Brewed coffee with dairy lasts only about 2 hours at room temperature and 1–2 days in the fridge.
Can I use expired coffee grounds?
Yes, they’re safe but stale. You can still use them for cold brew (which masks staleness) or as a compost additive. For a good cup, you’ll want fresher beans.
What’s the best way to store coffee beans?
In an airtight, opaque container at room temperature, away from light and heat. Only freeze if you have more than you can use in 3 weeks, and portion it out.
Does instant coffee expire?
Instant coffee has a very long shelf life—years if unopened. Once opened, it lasts 1–2 years if kept in a dry, sealed container. It won’t go bad, just lose flavor.
Can I reheat coffee?
Yes, but reheating degrades flavor further. It’s safe as long as it was stored properly (refrigerated within 2 hours of brewing). Better to brew fresh or make iced coffee with leftovers.