How long do walnuts last in the fridge, freezer and pantry?
Quick answer
- In the fridge
- In or out of the shell, in an airtight jar: 3–12 months
- In the freezer
- In or out of the shell, in freezer bags or jars: 1–2 years
- In the pantry
- In or out of the shell: 2–4 weeks from purchase
Sources: USDA FoodKeeper, University of California ANR Publication 8406: Nuts: Safe Methods for Consumers to Handle, Store, and Enjoy, Oregon State University Extension, FS 146: Harvesting, Handling, and Storing Nuts from the Home Orchard, Michigan State University Extension: Preserving fresh walnuts to maintain nutritional content, USDA FSIS: Molds on Food: Are They Dangerous?, USDA FSIS: Food Product Dating, UC IPM (University of California): Pantry Pests · Last reviewed October 27, 2026
Walnuts keep 2–4 weeks in the pantry, 3–12 months in the fridge and 1–2 years in the freezer, in the shell or shelled. USDA FoodKeeper lists 2–4 weeks at room temperature, 9–12 months refrigerated and 24 months frozen, counted from purchase. Publications from the University of California and Oregon State University Extension allow about a year in the fridge and about 2 years in the freezer, while Michigan State University Extension is more cautious: up to 3 months refrigerated and 1 year frozen. On a bag of walnuts, the best-if-used-by date is the maker's estimate of peak quality; USDA FSIS notes that such dates are not a safety indicator, so check older walnuts for mold, then smell them for rancidity.
How to store walnuts
Walnuts are high in oil, and warmth makes that oil turn rancid faster. UC ANR notes that nuts in general hold their quality only up to a few months at room temperature, and for less time in a warm spot; this page uses FoodKeeper's shorter walnut figure of 2–4 weeks. Oregon State University Extension calls the fridge or freezer the best place for walnuts; without either, it suggests the coolest, driest room you have, at 13°C (55°F) or below. Packaging matters too. Shelled walnuts absorb moisture and the smells around them, so UC recommends odor-tight glass or plastic containers, and Michigan State University Extension advises moving bulk walnuts into airtight containers as soon as you get home.
- Pour bulk-bin walnuts or an opened bag into a glass jar or rigid container with a tight lid; UC IPM rates plastic bags as inadequate protection against pantry insects.
- Keep the jar in the fridge, away from onions and other strong-smelling foods, since walnuts pick up odors.
- If you bought a large bag, put most of it in the freezer and keep a small jar in the fridge for everyday use.
- Don't wash walnuts in the shell before storing them: UC ANR advises against it because the extra moisture could encourage bacteria or mold.
- Write the purchase date on the jar. FoodKeeper counts its times from purchase, so plan to finish pantry walnuts within 2–4 weeks.
Signs it has gone bad
- A smell like paint thinner: Michigan State University Extension's sign that walnuts have turned rancid. UC ANR describes the flavor of rancid nuts as sharp and unpleasant, and MSU's advice is to throw them away.
- Rubbery or shriveled kernels: MSU describes these as walnuts that are getting old. Smell a few before you use the batch.
- Mold on the shell or the kernels. USDA FSIS lists nuts among the foods to discard when moldy and notes that certain molds that produce mycotoxins are found mainly on grain and nut crops. Don't sniff moldy nuts.
- Webbing in the corners of the bag, tiny holes in the bag, or insects and larvae among the nuts: UC IPM treats these as signs of pantry pests, such as the Indian meal moth, whose larvae leave silky threads. Throw out the walnuts and check other packages nearby, because by the time you notice the insects they have often spread.
- Walnuts that have spent months in a warm cupboard: when in doubt, throw them out.
Frequently asked questions
Do walnuts need to be refrigerated?
Not strictly, but they keep far longer cold: FoodKeeper gives walnuts 2–4 weeks at room temperature and 9–12 months in the fridge. If you won't finish them within a few weeks, the fridge or freezer is the better home.
Do walnuts last longer in the shell?
Not by the published times. FoodKeeper has one entry for walnuts in or out of the shell, and UC's storage table gives both the same 1 year in the fridge and 2 years or more in the freezer. In-shell walnuts still need a closed container: Oregon State warns that otherwise Indian meal moth larvae can make them wormy within one season.
Can you freeze walnuts?
Yes, in the shell or shelled. Oregon State suggests plastic freezer bags or jars for kernels, so they take on less moisture and fewer outside flavors. MSU gives frozen walnuts up to 1 year, while FoodKeeper, UC and OSU allow about 2 years.
Should you toast walnuts before storing them?
No. Oregon State University Extension notes that roasted nuts don't store as long as unroasted ones and suggests eating them within a few months of roasting, so toast walnuts in small batches when a recipe calls for them.
Related foods
Baking Powder
In the pantry: Unopened: 6–18 months from purchase, up to the best-if-used-by date · Opened, lid on tight: 3–6 months, not past that date · After that: test it before bakingBay Leaves
In the pantry: Dried, unopened jar: 1–2 years from purchase (general dried-herb figure), up to its best-if-used-by date · Opened: about 6 months for best quality (UF/IFAS, herbs and spices in general), not past that date · Home-dried: about 1 year (Penn State, most dried herbs)Chickpeas
In the pantry: Dried: 1–2 years from purchase, 1 year once the bag is open (USDA's figure for dried beans) · Unopened can: until its best-if-used-by dateChips
In the pantry: Unopened: until the best-if-used-by date (USDA: about 2 months from purchase) · Opened, clipped shut: 1–2 weeksCrackers
In the pantry: Unopened: up to 8 months from purchase, not past the best-if-used-by date · Opened: about 1 month, not past that date · Graham or animal crackers, unopened: 6–9 months from purchase, not past the dateDates
In the pantry: Up to 2 months from purchase, not past the date on the pack (USDA FoodKeeper) · UC Davis, commercial storage after harvest at 21°C (70°F) and 70–75% humidity: semi-soft dates about 1 month, soft ones such as Medjool about half that