Skip to content
Home Storage Guide
Shelf life

How Long Does Coffee Last?

By James OkaforReviewed 2026-01-01

Whole coffee beans stay fresh about 1 month sealed; ground coffee peaks in 1–2 weeks after opening. Keep coffee airtight, away from light, heat, and odors. Freeze only whole beans, airtight, for 3–6 months. Coffee goes stale, not unsafe — it just tastes flat.

Coffee is the only pantry staple that's purely about freshness, not safety. Coffee never really "goes bad" — it goes stale, and staling is the enemy of everything coffee drinkers love. Oxygen is the thief, and the whole storage game is about keeping air away from the beans.

How long coffee lasts

Storage method Whole beans Ground Best practice
Counter — opened, airtight 1 month 1–2 weeks Airtight, opaque, away from heat/light
Pantry — unopened bag 3–5 months 3–5 months Keep sealed; store in the dark
Fridge Not recommended Not recommended Moisture and odor pickup
Freezer 3–6 months Avoid Whole beans only; one freeze only

Storage conditions for coffee

The enemies, in order: oxygen, heat, light, moisture, and odors. Store coffee in an airtight, opaque container at room temperature, away from the stove, the window, and the spice rack. Coffee is a sponge — it will happily absorb the smell of the chili powder next to it. Buy beans rather than ground when you can, and grind only what you need each morning, because grinding multiplies the surface area oxygen can attack.

Storage tip

Buy coffee in amounts you'll finish in two weeks, and resist bulk bags unless you have a freezer plan. Coffee is at its best in the first week after the bag opens — every week after is a measurable step down in flavor. ::

How to tell coffee is past its prime

Coffee announces staleness by smell and taste: the aroma goes flat, and the cup tastes cardboardy, woody, or lifeless. It's not unsafe — stale coffee simply tastes bad. Real spoilage is rare and only comes from moisture, which causes visible mold or a musty smell. If you see mold, throw the coffee out and wash the container.

Note

Stale coffee is safe to drink — it just won't do its job. If your coffee tastes flat, it's stale, not spoiled. The fix is a better storage habit, not a health concern. True mold or must is the only discard trigger. ::

Does coffee freeze well?

Freezing whole beans is a good strategy for coffee you won't drink within a few weeks. Freeze beans in airtight portions for 3–6 months, and follow three rules: only whole beans (ground coffee freezes badly), only freeze once (thawed-and-refrozen beans pick up condensation), and let the sealed container warm to room temperature before opening. Never freeze coffee in the fridge — the fridge is the worst of both worlds.

See how to store dry goods for the airtight-container systems that keep coffee fresh.

Frequently asked questions

How long does coffee last after roasting?

Coffee is freshest within 1 month of roasting and drinks best in the first 1–2 weeks. Whole beans stay fresh longer than ground — about 1 month sealed — while ground coffee peaks in 1–2 weeks because grinding exposes far more surface area to oxygen. Stored properly, coffee stays drinkable for months, just less flavorful.

How long does ground coffee last in the pantry?

Ground coffee keeps its best flavor for 1–2 weeks after opening, stored in an airtight container away from light and heat. An unopened bag lasts 3–5 months past its roast date, slowly losing aroma. The flavor fades, but coffee is rarely unsafe — it just tastes flat.

Does coffee go bad or just stale?

Coffee goes stale, not dangerous. Staling is oxidation: oxygen attacks the volatile compounds that carry aroma and flavor, leaving flat, cardboard-tasting coffee. It won't make you sick, but it tastes bad. Real spoilage is rare and only happens with moisture — which causes mold — so always store coffee airtight and dry.

Can you freeze coffee beans?

Yes, with care. Freeze whole beans in airtight portions for 3–6 months — only beans, never ground, and only freeze once. The problem with freezing ground coffee is that cold, then warm, cycles cause condensation, and moisture is the one thing that truly ruins coffee. Let frozen beans warm to room temperature before opening the container.

What is the best way to store coffee?

Keep whole beans in an airtight, opaque container at room temperature, away from sunlight, heat, and the spice rack (coffee absorbs odors). Grind only what you need each morning. Buy coffee in amounts you'll use in a couple of weeks, and store the rest in the freezer sealed.

Sources

Shelf-life and temperature claims on this page are cited from tier-1 food-safety authorities. Always confirm current guidance before relying on dated information.

Written by

James Okafor

Senior food storage writer

Writer covering food storage shelf life, storage methods, and kitchen organization.

Last reviewed 2026-01-01

Get the storage cheat sheet

One short email a month with the exact shelf-life numbers that matter most — plus pantry organization tips. No spam, unsubscribe anytime.

Newsletter coming soon. We are setting up our email list — this is where you will be able to subscribe.

Your email is never shared. Read our privacy policy.

Shelf life

How Long Does Rice Last?

White rice keeps 2+ years in an airtight container in a cool, dark pantry; brown rice only 3–6 months because its bran oils go rancid — freeze brown rice to stop the clock. Uncooked rice freezes indefinitely. Bugs, mold, or a rancid smell mean discard.

Shelf life

How Long Does Honey Last?

Honey never expires — it's one of the only foods that lasts indefinitely when sealed and stored dry. Crystallization is natural and reversible with warm water. Throw honey out only if it ferments, molds, or smells sour. Never give honey to babies under 1.

Shelf life

How Long Does Canned Food Last?

Low-acid canned food keeps 2–5 years; high-acid cans 12–18 months — both stay safe years beyond that if the can is intact. Bulging, leaking, or spouting cans mean botulism risk and go straight in the trash, unopened. Opened cans last 3–4 days refrigerated.

Storage method

How to Store Dry Goods

Move every staple into an airtight container with a gasket seal, store at 50–70°F in the cool, dark pantry, freeze new grains for 3 days to kill moth eggs, and label with dates for FIFO. Whole-grain flours and brown rice go in the fridge or freezer.

Storage method

How to Freeze Leftovers

Refrigerate leftovers within 2 hours, portion into meal-sized containers, label with the dish and date, and freeze flat at 0°F for 2–6 months. Reheat to 165°F, only once. Freeze soups, stews, meat, rice, and bread — skip crispy or creamy dishes.

Shelf life

How Long Does Bread Last?

Bread keeps 3–5 days in a bread box or paper bag, but stale much faster in the fridge — refrigeration recrystallizes starches. Freeze sliced bread for 3 months, airtight, and toast from frozen. Moldy bread means discard the whole loaf.