Most shelled nuts keep about 6 months to a year in the refrigerator in an airtight container — roughly twice as long as at room temperature — and up to about two years in the freezer. The main reason they go off isn't bacteria but rancidity: the oils slowly react with oxygen, light and warmth, producing a stale, paint-like smell.
Why nuts spoil: it's all about the fat
Nuts are mostly fat, so their shelf life tracks their oil content and the type of oil. Per 100 g, USDA figures show:
| Nut (USDA, per 100 g) | Fat | Saturated fat | Vitamin E |
|---|---|---|---|
| Pecans | 72 g | 6.2 g | 1.4 mg |
| Walnuts (English) | 65 g | 6.1 g | 0.7 mg |
| Almonds | 50 g | 3.8 g | 26 mg |
| Cashews (raw) | 44 g | 7.8 g | 0.9 mg |
Polyunsaturated fats oxidise fastest. Walnuts are the classic example — they're the richest common nut in omega-3 ALA (alpha-linolenic acid, a plant omega-3) — which is why they turn bitter sooner than almonds. Vitamin E is a natural antioxidant that slows this process, and almonds are exceptionally high in it (26 mg per 100 g by USDA data, versus well under 2 mg for walnuts and pecans), which helps explain their longer keeping quality. This fat-chemistry explanation is well established; the exact storage times below are industry and extension-service guidance rather than precise lab constants.
Rough fridge timelines
- Almonds, hazelnuts, pistachios (in shell or shelled): about 12 months refrigerated.
- Cashews, peanuts, macadamias: roughly 6–9 months.
- Walnuts, pecans, pine nuts, Brazil nuts: about 6 months — these are the most fragile.
- Chopped, ground or sliced nuts: cut the above times roughly in half; more surface area means faster oxidation. A cup of ground walnuts (80 g by USDA's measure) has far more exposed oil than the same weight of halves.
- Roasted and salted nuts: shorter than raw, because roasting has already started breaking down the oils.
- In-shell nuts: last longest of all; the shell is a natural barrier.
Freezing roughly doubles these windows. Nuts don't need thawing before use, though letting them come to room temperature prevents condensation on the surface.
Storing them well
- Use an airtight container or a sealed zip bag with the air pressed out. Nuts readily absorb fridge odours — onion-scented pecans are a real risk.
- Keep them dark and dry. Moisture encourages mould, which is a genuine safety issue (some moulds on nuts produce aflatoxins) rather than just a quality one.
- Label the date you opened the pack.
How to tell if they've turned
Trust your nose and tongue:
- Smell: rancid nuts smell like old cooking oil, crayons or paint thinner.
- Taste: sharply bitter or sour; a single nibble is enough.
- Look: shrivelled, dark, oily-looking kernels, or any fuzzy mould or webbing from pantry moths.
Rancid nuts are unpleasant rather than acutely dangerous, and the oxidation also destroys some of the vitamin E and omega-3s you were eating them for. Visibly mouldy nuts should go in the bin — don't pick around the bad ones. If you have a nut allergy, a compromised immune system, or you're pregnant, be extra conservative about questionable nuts, and ask a doctor or registered dietitian if you're unsure.