Skip to content
Free shipping on orders over $49
CalcBold

How to Store Coffee, Oil and Dry Goods

Decanting looks tidy. Done to the wrong ingredient it costs you flavour instead of saving it.

Last reviewed

The short answer

Store coffee beans in an opaque or cupboard-kept airtight jar and buy in quantities you will finish within two to three weeks — oxygen, not time alone, is what stales coffee. Keep flour, rice, pasta and sugar in airtight jars with a replaceable gasket, which keeps humidity and pantry moths out far better than a folded bag. Decant only a week or two of cooking oil into a clear dispenser and leave the rest in its original dark bottle, because light and oxygen turn oil rancid faster than anything else in a kitchen.

The four things that spoil a pantry

Every storage decision in a kitchen comes down to excluding one of four things: oxygen, light, heat and moisture. Different ingredients care about different ones, which is why a single container type cannot be right for everything.

Coffee cares most about oxygen, then light. Flour and rice care about moisture and insects. Oil cares about light and oxygen almost equally, and heat accelerates both. Spices care about light and heat, which is why the rack above the hob is the worst place in the kitchen for them despite being the most common.

  • Oxygen — stales coffee, turns oil rancid, dulls ground spices
  • Light — degrades oil and the volatile compounds in coffee and herbs
  • Heat — accelerates every other reaction, so never store above a hob or beside an oven
  • Moisture — clumps sugar and salt, and is what pantry moths need to establish

Coffee: the two-to-three week rule

Roasted coffee is at its best from about three days after roasting to about three weeks, and the decline after that is driven by oxygen exposure rather than by the calendar. That has two practical consequences: buy in amounts you will finish inside that window, and keep the beans in something that seals rather than a bag you fold over.

A sealed jar in a cupboard handles both problems. A clear jar on a sunny counter looks better and works worse, because light degrades the oils that carry the aroma. If it is going to live on display, put it somewhere out of direct sun.

Whole beans keep far longer than ground. Grinding multiplies the surface area exposed to air by orders of magnitude, which is why the same coffee tastes flat within days once ground and holds for weeks as beans.

Flour, rice, pasta and sugar

These want an airtight seal for a less glamorous reason than flavour: pantry moths. Moth larvae chew through paper and thin plastic film without difficulty, and a bag folded shut with a clip is an open invitation. A gasketed jar is not.

A clip-top jar with a silicone gasket is the useful design here because the seal is replaceable. A screw-lid container is sealed until the liner perishes, at which point the container is finished; a clip-top outlives several gaskets.

One litre is the size that suits most dry goods — it takes a 500 g bag of pasta or rice with room to spare, or about 700 g of flour.

Oil: decant a little, store the rest dark

A pour bottle beside the hob is genuinely useful, because it gives you a controlled thin stream instead of the sudden slug a supermarket bottle delivers. What it should not be is where a whole litre lives.

Oil oxidises in light and air. Decanting the lot into clear glass on an open counter starts that clock on all of it at once. Decant a week or two of cooking, keep the rest sealed in its original dark bottle in a cupboard, and top up.

Rancid oil smells faintly of crayons or putty and tastes bitter. If you are not sure, pour a little into a clean spoon and smell it cold — heat masks it.

What not to decant

Not everything benefits. Anything sold in packaging designed to protect it usually loses out when you move it into a jar for looks.

  • Coffee in a valved bag, if you will finish it in under two weeks — the valve is better than most jars
  • Whole spices bought in dark glass — they are already in the right container
  • Anything with a use-by date you would lose, unless you write it on the jar
  • Nuts and seeds for long storage — the freezer beats any pantry jar

Common questions

Should coffee be stored in the fridge or freezer?

Not the fridge — it is humid and coffee absorbs odours readily. The freezer does work for long-term storage of beans you will not open for months, in an airtight container, taken out in portions and never refrozen. For coffee you are drinking this fortnight, a sealed jar in a cupboard is better than either.

Are clear glass jars bad for storing food?

Only where light matters, which mainly means coffee, oil, spices and dried herbs. For flour, rice, pasta and sugar clear glass is ideal because you can see the level and identify the contents. Keep the light-sensitive ones in a cupboard rather than buying opaque containers.

How long does flour keep in an airtight jar?

White flour keeps roughly a year at room temperature in a sealed jar, and wholemeal about three months because the germ contains oil that goes rancid. An airtight seal mainly protects against humidity and pantry moths rather than extending shelf life indefinitely.

Why does my olive oil taste bitter?

Some bitterness is normal in a fresh extra virgin oil and is a good sign. A stale, waxy, crayon-like smell is different and means the oil has oxidised, usually from sitting in clear glass in the light or near a hob. Buy smaller bottles and decant only what you will use soon.

What size storage jars should I buy?

One litre suits most dry staples. Half-litre jars suit things you use slowly, such as lentils or specialist flours, and two-litre jars suit rice and pasta in a household that cooks them weekly. Buying one size makes them stack and line up, which is worth more than optimising each one.

Do gasketed jars need the seal replaced?

Eventually, yes. A silicone gasket perishes after a few years of washing and stops compressing properly, at which point the jar is no longer airtight. Standard clip-top gaskets are cheap and widely available, which is exactly why a clip-top jar outlasts a sealed screw-lid container.

Products this guide sizes

All Kitchen Storage & Cleaning
Glass Coffee Jar with Wooden Lid & SpoonNew
Kitchen Storage & CleaningGlass Coffee Jar with Wooden Lid & Spoon
Ships from the US in 2-5 days
$24.99$34.99
Clip-Top Glass Storage Jars, Set of 4
Kitchen Storage & CleaningClip-Top Glass Storage Jars, Set of 4
$32.99$46.99
Ribbed Glass Oil & Vinegar Dispenser
Kitchen Storage & CleaningRibbed Glass Oil & Vinegar Dispenser
$16.99$24.99
Airtight Food Storage Container, 304 Stainless
Kitchen Storage & CleaningAirtight Food Storage Container, 304 Stainless
Ships from the US in 2-5 days
$19.99$29.99

Related reading