Storage
How long do nuts last?
Walnuts keep 2–4 weeks in the cupboard but 9–12 months in the fridge, and pistachios only 3 weeks in the cupboard. USDA FoodKeeper gives raw walnuts, almonds, pistachios, cashews and peanuts anything from a few weeks to a few months at room temperature and far longer in the cold, because the oil in nuts turns rancid in the warm.
PantryWalnuts, cupboard2–4 weeks
FridgeWalnuts, fridge9–12 months
PantryPistachios, cupboard3 weeks
Detailed chart
| Which state | Fridge | Freezer | Pantry |
|---|---|---|---|
| Walnuts, shelled or in shell | Fridge9–12 months | Freezer24 months | Pantry2–4 weeks |
| Almonds, shelled | Fridge8 months | Freezer10 months | Pantry4 months |
| Pistachios, shelled or in shell | Fridge12 months | Freezer24 months | Pantry3 weeks |
| Cashews, shelled | Fridge6 months | Freezer12 months | Pantry2–4 weeks |
| Raw peanuts, shelled | Fridge12 months | Freezer24 months | Pantry4 weeks |
| Roasted nuts, after opening | Fridge4 weeks | FreezerNo time is printed for this cell | Pantry1–2 weeks |
| Nuts in a jar or can, unopened | FridgeNo time is printed for this cell | FreezerNo time is printed for this cell | Pantry1 year |
| Nuts in a jar or can, opened | Fridge4–6 months | Freezer6–12 months | Pantry2–9 months |
Freezer months are about quality.
Best way to store it
Keep nuts in an airtight jar, or a zip bag with the air pressed out, away from the hob, the oven and sunny windowsills. They pick up smells too, so don’t park them next to onions or spices. Anything you won’t finish soon belongs in the fridge: USDA FoodKeeper gives walnuts 2–4 weeks in the cupboard against 9–12 months in the fridge, and treats shelled and in-shell walnuts as one row. Shelled almonds get 4 months in the cupboard and 8 months in the fridge, cashews 2–4 weeks and 6 months, and raw shelled peanuts 4 weeks and 12 months. All of these count from the day you buy them. For pistachios, FoodKeeper prints 3 weeks in the cupboard, 12 months in the fridge and 24 months in the freezer, and in the same entry notes that refrigerating or freezing pistachios brings no benefit. We pass on both as printed. If the date on the pack is sooner, that date wins; our use-by vs best-before guide explains the two kinds of date.
Roasted nuts, once the pack is open, keep 1–2 weeks in the cupboard and 4 weeks in the fridge; FoodKeeper’s examples are peanuts, cashews and almonds, and it prints no freezer time for them. Nuts in a jar or can keep 1 year in the cupboard unopened, with no fridge or freezer time printed. Once opened, they get 2–9 months in the cupboard, 4–6 months in the fridge and 6–12 months in the freezer. Hazelnuts, pine nuts, Brazil nuts and salted mixed nuts have no rows of their own here, only the general roasted and jarred rows above, so we don’t make up a time for raw hazelnuts. Nuts share a shelf with dried fruit, dates, honey and peanut butter, which each have their own page, and our guide to how long pantry staples last covers the rest of the cupboard.
Basics for every food: into the fridge within 2 hours, thaw it in the fridge, and a use-by date on the pack beats any chart. This page is not medical advice.
Signs it has spoiled
- A rancid smell: like old oil paint, putty or stale frying oil, or sharp and bitter.
- Mould: fuzzy white, green, grey or black patches, often in the folds of a walnut or at the tip of an almond. Never eat mouldy nuts.
- Insects: small pantry moths, larvae, fine webbing, holes in the kernels or a powdery dust at the bottom of the bag.
- Shrivelled, dark, greasy-looking kernels, or walnuts that have gone dark brown inside instead of pale.
Nuts that have lost a little crunch but smell normal have only picked up some moisture; a quick toast in a dry pan brings them back. Flakes of walnut skin, bits of shell or salt dust at the bottom of the bag are ordinary too. A paint-like or bitter smell, mould, insects or dark shrivelled kernels finish them. Throw them out, the whole bag if there’s mould or insects, and check the rest of the cupboard. Don’t taste a nut to decide.
Freezing and thawing
Split nuts into the portions you use, put them in a thick freezer bag or a jar, press out the air and write the date on it. Nuts don’t freeze into a block, so you can take out a handful and close the bag again straight away. FoodKeeper’s freezer times are 24 months for walnuts, 10 months for almonds, 24 months for pistachios, 12 months for cashews, 24 months for raw peanuts and 6–12 months for opened jarred nuts. It prints no freezer time for opened roasted nuts or for an unopened jar, and for pistachios it adds that freezing brings no benefit even though it lists the time. Those months are about flavour and crunch.
Let a portion thaw in its closed container in the fridge, so drops of water don’t settle on the kernels. Nuts for a cake, cookies or granola can go in straight from the freezer. If thawed nuts feel a little soft, a quick toast in a dry pan crisps them up again.
Myths and facts
- Nuts are dry, so they keep for ages in the cupboard.FoodKeeper gives walnuts 2–4 weeks and pistachios 3 weeks in the cupboard, against 9–12 months for walnuts in the fridge. It’s the oil that goes rancid.
- Nuts in the shell keep much longer than shelled ones.FoodKeeper doesn’t split them: walnuts get 2–4 weeks and pistachios 3 weeks in the cupboard, shelled or in the shell.
- Once the bag is open, roasted nuts keep as long as raw ones.Opened roasted nuts get 1–2 weeks in the cupboard and 4 weeks in the fridge, while raw shelled almonds get 4 months in the cupboard.
When someone is at higher risk
For pregnancy, young children, older age or a weakened immune system, keep to the shorter figure and skip raw or undercooked food.
If you’re pregnant, or the nuts are for young children, older adults or someone with a weakened immune system, go by the row that matches what you have (raw, roasted and opened, or jarred) and the lower end of any range. Never taste a nut to test it: throw out anything mouldy, rancid-smelling or with insects, and don’t pick the good-looking ones out of a mouldy bag. Whole nuts are a choking risk for small children, so give them ground or finely chopped.
Questions people ask
How long do nuts last?
From the day you buy them, FoodKeeper gives walnuts 2–4 weeks in the cupboard and 9–12 months in the fridge, shelled almonds 4 months and 8 months, and cashews 2–4 weeks and 6 months. Opened roasted nuts keep 1–2 weeks in the cupboard.
Should you keep nuts in the fridge?
For anything you won’t eat soon, yes. Walnuts keep 9–12 months in the fridge against 2–4 weeks in the cupboard, and raw peanuts 12 months against 4 weeks.
Do pistachios need to be refrigerated?
FoodKeeper prints 3 weeks in the cupboard, 12 months in the fridge and 24 months in the freezer, and also notes that refrigerating or freezing pistachios brings no benefit. We show both as printed.
How can you tell if nuts are rancid?
They smell like old paint, putty or stale oil, or sharp and bitter, and the kernels look dark and shrivelled. Mould or insects mean they go in the bin too. Don’t taste them to check.
How long do hazelnuts last?
Raw hazelnuts don’t have a row here, and we don’t invent one. If they’re roasted and the pack is open, the closest is the general roasted nuts row: 1–2 weeks in the cupboard and 4 weeks in the fridge.