Substitutions

What can I use instead of walnuts?

A soft, oily tree nut sold in halves and pieces, with a thin skin that carries a distinct tannic bitterness. One of the highest-fat nuts in common use.

What it does in a recipe: A rich, slightly bitter nut that softens in baking and lends body and creaminess when ground into a sauce. Pick the swap that covers that job — the ratios below are written so you can act on them without doing any arithmetic.

Also called: English walnuts, Persian walnuts

4substitutes
1close matches
Nuts & seedscategory

Quick answer

Pecans

1 cup walnut halves = 1 cup pecan halves

All substitutes, best first

4 ways to replace walnuts

Pecans

Closest match
1 cup walnut halves = 1 cup pecan halves

Nearly the same shape, size and oil content, and they behave identically in a batter, which makes this the most seamless nut exchange there is.

Trade-offSweeter and without the tannic edge, so a brownie made with pecans reads as milder and more buttery.

BakingCookingRaw / no-cookVeganVegetarianGluten-freeDairy-freeEgg-freeSoy-freeAlcohol-free

Allergen checkPecans are a tree nut and are frequently handled on the same equipment as walnuts and other nuts. Read the packet for shared-line warnings. If someone at the table has a nut allergy, this swap does not address it and the question belongs with their doctor.

Hazelnuts

Reliable
1 cup walnut halves = 1 cup hazelnuts, toasted and skinned

Similar fat content and grinding behaviour, but a firmer flesh, so they hold their crunch longer in a wet batter.

MethodRub off the skins after toasting — hazelnut skin is more bitter than walnut skin, not less.

Trade-offMuch more aromatic and distinctly sweet. It will change the identity of a walnut cake rather than standing in for it.

BakingSaucesRaw / no-cookVeganVegetarianGluten-freeDairy-freeEgg-freeSoy-freeAlcohol-free

Allergen checkHazelnuts are a tree nut and a common trigger for severe reactions. Check for shared-facility statements on the packaging, since nut processors rarely dedicate lines to a single species. A severe allergy is a medical matter, not a recipe adjustment.

Toasted pumpkin seeds

Reliable
1 cup walnut halves = 1 cup raw pumpkin seeds, toasted

Pepitas have enough fat to toast to a rich crunch and grind to a workable paste, and they contain no nuts at all, which is why they are the standard nut-free answer.

MethodToast over medium heat until they start to pop, then take them straight off — they go from toasted to burnt quickly.

Trade-offGreener and more savoury, and much smaller, so they distribute rather than giving distinct chunks. They will tint a pale batter green.

BakingCookingSaucesRaw / no-cookVeganVegetarianGluten-freeDairy-freeEgg-freeNut-freeSoy-freeAlcohol-free

Allergen checkPumpkin seeds are seeds, not nuts, and are genuinely appropriate for a nut-free kitchen. Packing lines are the weak point — buy a brand that states a nut-free facility if the allergy is severe, rather than relying on the ingredient list alone.

Almonds

Reliable
1 cup walnut halves = 1 cup whole almonds, roughly chopped

A firmer, drier nut with slightly less oil, so it stays crunchy where a walnut would go soft in a moist cake.

Trade-offHarder and cleaner-tasting. In a pesto or a sauce, almonds will not blend as smooth as walnuts do.

BakingCookingRaw / no-cookVeganVegetarianGluten-freeDairy-freeEgg-freeSoy-freeAlcohol-free

Allergen checkAlmonds are a tree nut. If the swap is being made because of an allergy, seeds rather than a different nut are the answer. Check packaging for cross-contact statements, and treat a diagnosed nut allergy as a medical issue to be managed with a clinician.

Worth knowing

Walnuts have enough oil to turn rancid within a couple of months at room temperature, and rancid walnuts taste of paint. Keep them in the freezer and taste one before you commit a batch to a cake.

Related

More nuts & seeds

Cooking around an allergy? Diet tags here describe the ingredient itself, not any particular brand. Processed products change formulation without notice and shared production lines are common, so read the label on everything you use. A severe allergy is a medical matter — confirm with the manufacturer or your clinician rather than relying on a substitution chart.