The color of a walnut kernel is not a reliable indicator of its freshness, but the smell and taste immediately reveal a spoiled product. A fresh walnut has a pleasant, slightly sweet smell, while a rancid one smells like stale oil—or, in extreme cases, even paint thinner, according to Mindmegette.

The publication advises checking walnuts for Christmas baking before purchasing them. At the market, ask the seller to let you taste a shelled nut and smell it first. A rancid nut has an unpleasant, bitter aftertaste. Darker kernels can also be fresh, as the color depends on the variety and processing method.

A musty smell or mold on the kernels is a reason to go to another vendor. You shouldn’t buy rancid nuts for baking either: sugar and spices aren’t always able to mask their taste.

It’s trickier with nuts in their shells. The old advice to shake a nut and avoid ones that rattle isn’t a reliable way to determine if they’re rancid. It’s better to carefully inspect the shells and set aside any nuts that are cracked, damp, moldy, or dotted with small holes. If you’re buying in bulk, ask the seller to crack open a few, though even this doesn’t guarantee the quality of the entire batch.

Why Nuts Go Rancid

Due to their high oil content, the fats in nuts oxidize when exposed to air, light, and heat. Ground nuts come into contact with air over a much larger surface area, so it’s best to grind them on the day you bake.

Food scientist Tofer McNeil estimates that nuts can be safely stored at room temperature for 3–6 months. According to him, walnut halves, with their numerous crevices, go rancid faster. Mark Overbay, co-founder of the nut butter company Big Spoon Roasters, describes the taste of a spoiled product as follows: “It’s kind of like an old, moldy tree,” reports Bon Appétit.

The Refrigerator Instead of the Kitchen Cabinet

Shelled nuts purchased back in November for the holidays shouldn’t be stored in a warm kitchen cabinet. It’s better to transfer them to a tightly sealed container or bag and put them in the refrigerator. You can freeze any excess in small portions and take out exactly as much as you need.

Overbay believes that, when stored properly in the freezer, most nuts stay fresh for at least a year. “Storing nuts at freezer temperatures drastically slows down the rate of oxidation,” McNeil emphasizes.

Excessive moisture is also dangerous for nuts. In a study by American scientists, nut kernels that had been stored for 9 months at a temperature of 15 °C and 80% relative humidity were infested with Penicillium and Aspergillus melleus mold. These fungi can produce harmful mycotoxins. Under other storage conditions, no mold appeared, according to HortScience.