The Feast

Home cooking recipes for everyday dinners and easy entertaining

Cashews for Pine Nuts in Pesto? Yes, Here's How

· 5 min read · Dinners

Yes, you can substitute cashews for pine nuts in pesto, and in most cases it works beautifully. Cashews are creamier, milder, and cheaper than pine nuts, making them a popular swap in both traditional basil pesto and variations like kale or sun-dried tomato pesto. The flavor will be slightly less piney and more buttery, but the texture and overall result remain excellent.

Why Pine Nuts Are Traditional (and Pricey)

Pesto alla Genovese, the classic basil pesto from Liguria, Italy, calls for pine nuts. These small, teardrop-shaped seeds come from pine trees, most notably the stone pine (Pinus pinea). They have a delicate, resinous flavor with a hint of sweetness and a soft, oily texture that blends into a smooth paste. Pine nuts are also notoriously expensive—harvesting them is labor-intensive, and yields are low, which drives up the price. That cost is a major reason home cooks look for substitutes.

How Cashews Compare in Flavor and Texture

Cashews are sweeter and richer than pine nuts, with a high fat content that gives pesto a luxuriously creamy consistency. They lack the piney, slightly astringent note that pine nuts contribute, so the basil and garlic will stand out a bit more. If you want to mimic the pine nut flavor more closely, you can toast the cashews lightly before blending—this deepens their nuttiness and adds complexity. Raw cashews, on the other hand, keep the pesto lighter and more neutral, letting the basil shine.

How to Substitute Cashews in Any Pesto Recipe

Making the swap is straightforward: use the same weight of cashews as you would pine nuts. For a standard pesto recipe that calls for 1/4 cup (about 35 grams) of pine nuts, use 1/4 cup of cashews. Here are a few tips for best results:

  • Use raw, unsalted cashews to control the salt level. Roasted or salted cashews can make the pesto overly salty or add a roasted flavor that may clash with fresh basil.
  • Soak the cashews in hot water for 15–30 minutes before blending if you want an extra-smooth texture, especially if using a regular blender rather than a food processor.
  • Toast the cashews in a dry pan over medium heat for 3–5 minutes, stirring frequently, to enhance their nuttiness—just let them cool before adding to the blender.
  • If you’re allergic to tree nuts, note that cashews are a tree nut, so this substitution is not suitable for someone with a cashew allergy.

What Else Can You Use? Other Nut and Seed Substitutes

Cashews are not the only option. Walnuts are a classic alternative, especially in northern Italian pesto variations, and they bring a slightly bitter, earthy flavor. Almonds are firmer and less creamy, so they require more blending time. For a nut-free pesto, sunflower seeds or pumpkin seeds work well—they have a mild taste and blend into a smooth paste. Each substitute changes the flavor profile, so choose based on what you’re pairing the pesto with. For example, walnuts pair well with hearty greens like kale, while cashews are ideal for a creamy, mild pesto that won’t overpower delicate dishes like pasta with shrimp.

Does the Pesto Need Adjustments?

Because cashews are softer and higher in fat than pine nuts, the pesto may be slightly thicker and creamier. You might need to add a touch more olive oil or a spoonful of pasta water to reach your desired consistency. Also, cashews are less absorbent than pine nuts, so the sauce may separate less. If you’re using a food processor, pulse the cashews first before adding the basil and other ingredients to ensure they break down evenly.

Common Problems and How to Fix Them

One issue you might encounter is a gritty texture if the cashews aren’t blended long enough. Unlike pine nuts, which break down quickly, cashews can leave small grains. Solution: blend for a full 30–60 seconds, or soak the cashews first. Another problem is that the pesto can turn brown quickly because cashews oxidize. To minimize this, press plastic wrap directly onto the surface of the pesto before refrigerating, or add a small squeeze of lemon juice to slow browning. If you’re making pesto ahead, store it in an airtight container with a thin layer of olive oil on top—this helps preserve the bright green color.

Cost and Availability

Cashews are generally much cheaper than pine nuts, often half the price or less. They are also available in most grocery stores, both in the baking aisle and in bulk bins. Pine nuts, by contrast, are often sold in small, expensive jars and may be hard to find in some regions. For home cooks on a budget, cashews are a practical and delicious alternative that doesn’t compromise the quality of the pesto.

Frequently Asked Questions

Can I use roasted cashews in pesto?

Yes, but be aware that roasted cashews will add a toasty flavor and may be salted. If you use salted roasted cashews, reduce the added salt in the recipe. Dry-roasted unsalted cashews work well, but oil-roasted ones can make the pesto greasy.

Do I need to toast cashews before making pesto?

No, toasting is optional. Raw cashews give a milder, creamier result. Toasting enhances nuttiness and can help mimic the flavor of pine nuts, but it’s not necessary for a good pesto.

Can I substitute cashews for pine nuts in a nut-free pesto?

No, cashews are a tree nut, so they are not suitable for a nut-free diet. For a nut-free option, use sunflower seeds or pumpkin seeds instead.

Will the pesto taste very different?

The difference is subtle but noticeable. Cashew pesto is slightly sweeter and creamier, with less of the piney, resinous note. Most people find it just as delicious, and it may even be more appealing to those who find pine nuts too strong.

Can I use cashews in traditional Genovese pesto and still call it pesto?

Yes, pesto is a method—pounding ingredients together—so the nuts can vary. In Italy, some cooks use walnuts or almonds, and cashews are becoming more common in modern variations. The dish remains pesto, even if it’s not strictly traditional.

In this article
  1. Why Pine Nuts Are Traditional (and Pricey)
  2. How Cashews Compare in Flavor and Texture
  3. How to Substitute Cashews in Any Pesto Recipe
  4. What Else Can You Use? Other Nut and Seed Substitutes
  5. Does the Pesto Need Adjustments?
  6. Common Problems and How to Fix Them
  7. Cost and Availability
  8. Frequently Asked Questions