Skip to content
Gunther Heller

How Long Do Coffee Beans Last?

Fridge, freezer, counter · opened vs unopened · last verified November 2026

  • Shelf-stable
  • Changes once opened
Graphic answering “how long do coffee beans last?”: 3–5 months in the pantry.
Show storage times for
Per USDA FoodKeeper
Counter
3–5 months
cool, dry place
Fridge
3–4 months
at or below 40°F (4°C)
Freezer
Not listed
no FoodKeeper figure
Counter
3–5 months
cool, dry place
Fridge
Not needed
shelf-stable
Freezer
Not needed
keeps without freezing
Quick answer

Opened coffee beans last 3–5 months in the pantry and 3–4 months in the fridge. Unopened, they keep 3–5 months in the pantry.

At a glance

Shelf life at a glance

Counter
3–5 months
Fridge
3–4 months

Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.

How perishable is it?
Keeps for months
  1. 1
  2. 2
  3. 3
  4. 4

Based on the longest fridge or pantry time.

It's been in the fridge for…
Tap a time to check.
Still good

About 45–75 more days in the fridge.

Still good

About 30–60 more days in the fridge.

Use it today

It's inside the safe window but near the end. Eat it today or freeze it now.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Counted from the day it was cooked, opened or bought. Assumes a fridge at 4 °C (40 °F) or colder.

Try it

Check your coffee beans

It's been in the pantry for…
Tap a time to check.
Still good

Well inside the 3–5 months pantry time for coffee beans, as long as it has been kept cool, dry and tightly closed.

Still good

Well inside the 3–5 months pantry time for coffee beans, as long as it has been kept cool, dry and tightly closed.

Use it soon

Near the end of the 3–5 months pantry time. Check the smell and look before using; quality is starting to fade.

Check before using

Past the 3–5 months pantry time. Shelf-stable food usually loses quality rather than becoming unsafe: throw it out if you see mould, pests, damp clumps or an off smell.

Check before using

Past the 3–5 months pantry time. Shelf-stable food usually loses quality rather than becoming unsafe: throw it out if you see mould, pests, damp clumps or an off smell.

Assumes a cool, dry, dark cupboard with the package tightly closed.

The basics

About coffee beans

Coffee beans belong to our drinks category. In the USDA FoodKeeper database they are listed as “Coffee (whole beans)”. According to USDA FoodKeeper, they keep 3–4 months in the fridge and 3–5 months in the pantry. They are not a high-risk perishable food, so the main concern is quality rather than safety. Where to keep them: the door is the warmest part of the fridge, fine for condiments and drinks that resist spoilage.

Every method

Coffee beans storage times by method

Bar chart showing storage times for coffee beans: Pantry 3–5 months, Fridge 3–4 months.
Storage times for coffee beans
MethodDurationTemperatureContainerNotes
Pantry / counter (opened)3–5 months68–72°FAirtightcool, dry place
Refrigerator (opened)3–4 months≤ 40°F / 4°CAirtightat or below 40°F (4°C)
Pantry / counter (unopened)3–5 months68–72°FAirtightcool, dry place

Times assume a fridge at 4°C (40°F) or colder and a freezer at -18°C (0°F).

Where to keep it

Where to store coffee beans

Temperature gauges for coffee beans: Fridge 40°F (4°C), 3–4 months; Freezer 0°F (-18°C).
How cold to keep coffee beans. The fridge and freezer temperatures behind these storage times
Freezer Top shelf Middle shelf Bottom shelf Crisper drawer Door
Best spot
Door

The door is the warmest part of the fridge, fine for condiments and drinks that resist spoilage.

Question by question

Coffee beans shelf life, answered

How long do coffee beans last in the fridge?

3–4 months at 4°C (40°F) or colder (opened). Keep it sealed so it does not pick up moisture or odours.

How long do coffee beans last in the freezer?

Not listed. FoodKeeper gives no freezer time for coffee beans.

How long do coffee beans last at room temperature?

3–5 months in a cool, dry place.

How long do coffee beans last after opening?

3–4 months in the fridge, or 3–5 months in the pantry once opened. The printed date stops applying the moment you break the seal.

How long do unopened coffee beans last?

3–5 months in the pantry, if the seal is intact and it is stored as the label says.

How long is coffee beans good for past the expiration date?

FoodKeeper gives unopened coffee beans 3–5 months in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

How can you tell if coffee beans are bad?

Vinegary, sour or musty instead of fresh. Flat, sour or bitter — quality is gone. Cloudiness, sediment or film that was not there before.

Check before you eat

Signs coffee beans have gone bad

Checklist of signs that coffee beans should be thrown out: Smell: Vinegary, sour or musty instead of fresh; Taste: Flat, sour or bitter — quality is gone; Look: Cloudiness, sediment or film that was not there before; Package: Bulging carton, cap or can — discard.
Check before you eat. Coffee beans

Smell

Vinegary, sour or musty instead of fresh.

Taste

Flat, sour or bitter — quality is gone.

Look

Cloudiness, sediment or film that was not there before.

Package

Bulging carton, cap or can — discard.

Check your coffee beans: tick anything you notice

Nothing ticked? Good sign. Still check how long it has been stored: the bacteria that cause food poisoning are invisible.

Any of these means it has gone bad. Throw it out — don't taste it to check.

Do coffee beans go bad? Full guide →

Freezing

Can you freeze coffee beans?

No FoodKeeper figureFoodKeeper gives no freezer time for coffee beans.
  1. 1Step 1

    Leave headspace in a freezer-safe container; liquids expand.

  2. 2Step 2

    Freeze in ice-cube trays for small portions.

  3. 3Step 3

    Thaw in the fridge and shake well before using.

The 2-hour rule

Coffee beans left out overnight

Coffee beans are shelf-stable until opened. A night on the counter is fine — keep them cool, dry and away from sunlight.

Date labels

Best-by and use-by dates on coffee beans

Side-by-side comparison for coffee beans, Opened vs Unopened: Opened: Pantry 3–5 months, Fridge 3–4 months; Unopened: Pantry 3–5 months.
Opened vs Unopened. Coffee beans

Unopened

FoodKeeper gives unopened coffee beans 3–5 months in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

Opened

Once opened, the printed date no longer applies. Count 3–4 months in the fridge or 3–5 months in the pantry from the day you open it.

Storage tips

How to store coffee beans

Numbered steps: How to store coffee beans. 1. Store unopened in a cool, dark place. 2. Refrigerate after opening and close tightly. 3. Keep away from light and heat, which flatten flavour.
How to store coffee beans
  • Store unopened in a cool, dark place.
  • Refrigerate after opening and close tightly.
  • Keep away from light and heat, which flatten flavour.
How it compares

How long do coffee beans last compared with similar foods?

Longest recommended storage time (fridge, or pantry for shelf-stable foods)

Same scale as the timeline above: 1 hour to 2 years.

Got something else in the fridge?

Check any food in seconds: when your leftovers expire, and whether something left out is still safe.

Keep exploring

Similar foods

All coffee & tea → Does it go bad? hub → Leftover calculator →Freezer time calculator →Left-out checker →

Questions people ask

Coffee beans FAQ

Can you freeze coffee beans?
FoodKeeper gives no freezer time for coffee beans.
Do coffee beans need to be refrigerated?
Not until opened. Coffee beans last 3–5 months in a cool, dry pantry.
How can you tell if coffee beans have gone bad?
Smell: vinegary, sour or musty instead of fresh; Taste: flat, sour or bitter — quality is gone; Look: cloudiness, sediment or film that was not there before.
Do coffee beans go bad past the date?
FoodKeeper gives unopened coffee beans 3–5 months in the pantry, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.
Numbers on this page come from USDA FoodKeeper and FSIS guidance. Last verified November 2026. How we verify our data · Report a wrong number