No, traditional pesto does not contain cashews. Classic pesto alla Genovese is made with pine nuts, basil, garlic, Parmesan cheese, Pecorino cheese, olive oil, and salt. However, many commercial and restaurant pestos—especially vegan or nut-free versions—use cashews as a substitute for pine nuts or cheese, so it's always worth checking the label if you have a nut allergy.
What Is Traditional Pesto Made Of?
Authentic Italian pesto, specifically pesto alla Genovese from the Liguria region, has a fixed set of ingredients. The word "pesto" comes from the Italian verb pestare, meaning "to pound or crush," which refers to the traditional method of grinding ingredients in a mortar and pestle. The classic recipe includes:
- Fresh basil leaves (preferably small-leaved Genovese basil)
- Pine nuts (from the stone pine, Pinus pinea)
- Garlic
- Parmesan cheese (Parmigiano-Reggiano) and/or Pecorino (sheep's milk cheese)
- Extra-virgin olive oil
- Coarse salt
Pine nuts are the only nuts in the traditional recipe. They add a mild, buttery flavor and a slightly creamy texture when crushed. Cashews are not part of the original recipe and are rarely used in authentic Italian pesto.
Why Do Some Pesto Recipes Use Cashews?
Cashews appear in pesto for several practical reasons. First, pine nuts are expensive—often several times the cost of cashews. To cut costs, some manufacturers and home cooks swap in cashews, which are cheaper and have a similar creamy, neutral flavor. Second, cashews are a common substitute in vegan pesto because they can replace both the nuts and the cheese. Soaked cashews blend into a smooth, rich paste that mimics the texture and richness that Parmesan and pine nuts provide. Third, cashews are less likely to trigger allergies than pine nuts for some people, though they are still tree nuts and can cause severe reactions in those with tree nut allergies.
Many store-bought pesto jars list cashews as an ingredient, especially those labeled "vegan" or "dairy-free." If you are allergic to tree nuts, you must read the label carefully—even "nut-free" claims can be misleading if the facility processes nuts.
How to Tell If Your Pesto Has Cashews
If you're checking a jar or a restaurant menu, look for these clues:
- Ingredient list: Cashews will be listed as "cashews," "cashew nuts," or "cashew butter."
- Allergen statement: Many products list "contains tree nuts" if cashews are present.
- Label claims: "Vegan" or "dairy-free" often means cashews replace cheese, but not always—some use nutritional yeast or tofu.
- Texture: Cashew pesto tends to be smoother and slightly sweeter than pine nut pesto.
In restaurants, always ask the server. Even if the menu says "pesto," the kitchen may use cashews in their house version. When in doubt, ask specifically about nuts and cross-contamination.
Common Problems: Nut Allergies and Pesto
For people with tree nut allergies, pesto is a hidden danger. Pine nuts are tree nuts, and cashews are tree nuts too. Both can trigger anaphylaxis in sensitive individuals. If you have a tree nut allergy, you should avoid all pesto unless you know exactly what's in it. Even "nut-free" pesto may be made in a facility that processes nuts, so check for cross-contamination warnings.
Another issue is that some people confuse cashews with other ingredients. For example, a creamy pesto might contain cashews to mimic the richness of cheese, but the label might only say "vegan." Always read the full ingredient list, not just the front of the package.
How to Choose a Pesto That Fits Your Needs
When buying pesto, consider your dietary needs and preferences:
- Traditional taste: Look for "pesto alla Genovese" with pine nuts and real Parmesan.
- Vegan: Choose a brand that explicitly says "vegan" and check for cashews or other nut substitutes.
- Nut-free: Look for pesto made with sunflower seeds or pumpkin seeds instead of nuts. These are available in some specialty stores.
- Homemade: Make your own to control ingredients. You can use sunflower seeds, hemp seeds, or even blanched almonds if you tolerate them.
If you're making pesto at home and want to avoid cashews, use pine nuts, walnuts, or sunflower seeds. For a nut-free version, use toasted sunflower seeds and nutritional yeast for a cheesy flavor.
Cost and Availability of Pesto
Pesto is widely available in grocery stores, usually in the refrigerated section near fresh pasta or in the condiment aisle. Prices vary, but traditional pesto with pine nuts tends to be more expensive than cashew-based versions. A small jar of authentic Genovese pesto can cost several dollars more than a cashew-based alternative. Making pesto at home is often cheaper, especially if you have a basil plant and can buy pine nuts in bulk. Cashews are generally less expensive than pine nuts, which is why they're a popular substitute in budget-friendly recipes.
Safety and Storage Tips
Pesto is perishable because it contains fresh basil, garlic, and cheese (unless vegan). Once opened, store it in the refrigerator and use within 5–7 days. Unopened jars can be kept in a cool, dark place for several months, but check the expiration date. Homemade pesto should be refrigerated and used within 3–4 days, or frozen for up to 3 months. When freezing, leave a little space at the top of the container because pesto expands as it freezes. To prevent browning, press a layer of plastic wrap directly onto the surface before sealing.
If you're serving pesto at a party, don't leave it out at room temperature for more than 2 hours. Bacteria can grow quickly, especially in warm weather. Always use a clean spoon to scoop out pesto to avoid introducing contaminants.
Frequently Asked Questions
Can I substitute cashews for pine nuts in pesto?
Yes, you can. Cashews are a common substitute because they are creamy and mild. Use raw, unsalted cashews and soak them in hot water for 15–30 minutes before blending to get a smoother texture. You may need to add a bit more salt or cheese to balance the flavor.
Is pesto safe for people with nut allergies?
Not usually. Traditional pesto contains pine nuts, and many commercial versions contain cashews. If you have a tree nut allergy, you should avoid pesto unless you make it yourself with seeds (like sunflower or pumpkin seeds) and verify no cross-contamination. Always read labels and ask at restaurants.
Why does my pesto taste bitter?
Bitterness can come from several sources: old or rancid pine nuts, over-processing the basil (which releases bitter compounds), or using too much garlic. To avoid bitterness, use fresh nuts, pulse the basil briefly, and remove the green sprout from garlic cloves.
Can I freeze pesto?
Yes, pesto freezes well. Spoon it into ice cube trays, freeze, then transfer the cubes to a freezer bag. Thaw in the refrigerator or use directly in hot dishes. Frozen pesto will keep for up to 3 months.
What is the difference between green pesto and red pesto?
Green pesto (pesto alla Genovese) is the classic basil-based sauce. Red pesto (pesto alla Siciliana) is made with tomatoes, almonds, and sometimes red bell pepper. Red pesto typically uses almonds, not cashews, but again, commercial versions may vary.