Mushroom walnut pesto is a rich, earthy twist on the classic basil-based sauce, perfect for vegetarians and anyone seeking deeper umami notes in their meals. By replacing pine nuts with walnuts and adding sautéed mushrooms, this version delivers a satisfying, savory depth while maintaining the creamy texture pesto is known for. It’s simple to make, stores well, and pairs beautifully with pasta, roasted vegetables, or grilled proteins.
Ingredients
- 8 ounces (225g) cremini or baby bella mushrooms, cleaned and roughly chopped
- 1/3 cup (45g) walnuts, lightly toasted
- 2 cups (60g) packed fresh basil leaves, stems removed
- 1 small garlic clove, peeled
- 1/4 cup (25g) grated Parmesan cheese (or Pecorino Romano for a sharper taste)
- 1/4 cup (60ml) extra-virgin olive oil, plus more as needed
- 1 tablespoon (15ml) fresh lemon juice
- 1/2 teaspoon kosher salt, or to taste
- 1/4 teaspoon freshly ground black pepper
- 1/4 teaspoon red pepper flakes (optional, for heat)
Instructions
- Heat a large skillet over medium heat. Add the chopped mushrooms and cook without stirring for 2–3 minutes to allow them to release moisture and begin browning. Stir and continue cooking for another 5–7 minutes, until the mushrooms are deeply browned and most of their liquid has evaporated. Remove from heat and let cool slightly.
- In a food processor, add the toasted walnuts and pulse until coarsely ground—avoid over-processing into a paste. Transfer to a small bowl if not using immediately.
- Add the cooled mushrooms, basil leaves, garlic, Parmesan cheese, lemon juice, salt, black pepper, and red pepper flakes (if using) to the food processor.
- Pulse several times to begin breaking down the ingredients. With the motor running, slowly drizzle in the olive oil through the feed tube until the mixture becomes smooth but still slightly textured. Scrape down the sides as needed.
- Add the ground walnuts back into the processor and pulse 2–3 times just to combine. Do not over-blend, as this can make the pesto oily or bitter.
- Taste and adjust seasoning—add more salt, lemon juice, or pepper as desired. If the pesto is too thick, add an additional 1–2 tablespoons of olive oil or a splash of warm water to loosen it.
- Transfer to a bowl or jar for serving or storage. If not using immediately, cover the surface with a thin layer of olive oil to prevent oxidation.
Tips
- Toast walnuts in a dry skillet over medium heat for 3–5 minutes, stirring often, until fragrant. This enhances their flavor and helps prevent bitterness in the final pesto.
- Use a neutral oil like canola or grapeseed if you prefer a milder taste, but extra-virgin olive oil adds the best flavor and body.
- Never wash basil leaves and then process them wet—the excess water can make the pesto watery and dull the flavor. Pat them dry thoroughly after washing.
- Substitute almonds or pecans for walnuts if needed, though the earthy flavor profile will shift slightly.
Serving Suggestions
Toss mushroom walnut pesto with hot cooked pasta—especially short shapes like fusilli, penne, or farfalle—for a hearty vegetarian main. It also works well as a spread on sandwiches, a topping for grilled chicken or fish, or a dollop on roasted vegetables like carrots, zucchini, or potatoes. Stir a spoonful into warm grain bowls or risotto for extra depth. For a lighter option, thin the pesto with a bit of pasta water or broth and use as a salad dressing over bitter greens like arugula or radicchio.
Variations
- Vegan version: Omit the Parmesan or use a plant-based alternative. Nutritional yeast (2–3 tablespoons) can mimic the cheesy flavor.
- Garlic-forward: Use a full garlic clove if you enjoy a sharper bite, or roast the garlic first for a mellower taste.
- Different mushrooms: Try shiitake, oyster, or porcini (dried and rehydrated) for unique flavor profiles. Avoid very watery varieties like white button if possible.
- Herb swaps: Replace half the basil with fresh parsley, mint, or even arugula for a peppery twist.
Storage and Reheating
Store mushroom walnut pesto in an airtight container in the refrigerator for up to 5 days. To prevent browning, press a piece of plastic wrap directly onto the surface or pour a thin layer (about 1/8 inch) of olive oil over the top before sealing. For longer storage, freeze in ice cube trays for up to 4 months. Once frozen, transfer cubes to a freezer bag. To reheat, thaw overnight in the refrigerator. Gently warm in a saucepan over low heat if using as a hot sauce, stirring frequently. Avoid boiling, as high heat can alter the texture and flavor. If the pesto separates, stir well or add a splash of warm water to re-emulsify.
Frequently Asked Questions
Can I make this pesto without a food processor?
While a food processor is ideal for achieving a smooth yet textured consistency, you can make this pesto with a mortar and pestle. Start by grinding the walnuts and garlic, then add the mushrooms and herbs gradually, using a circular grinding motion. This method takes more time and effort but yields excellent results with deeper flavor integration.
Why did my pesto turn out bitter?
Bitterness can come from over-processing the basil, using old or bruised herbs, or including too much garlic. Walnuts can also turn bitter if burned during toasting. To fix, add a pinch of salt, a bit more cheese, or a teaspoon of lemon juice to balance the flavor.
Can I use dried mushrooms?
Yes, dried mushrooms—especially porcini—work well. Rehydrate 1/2 ounce (15g) in 1 cup of hot water for 20 minutes, then drain, chop, and sauté as you would fresh mushrooms. Reserve the soaking liquid and use a tablespoon in place of some olive oil for extra flavor, but strain it first to remove grit.
Is this pesto safe for people with nut allergies?
No, this recipe contains walnuts and is not safe for those with tree nut allergies. For a nut-free version, substitute roasted sunflower seeds or pepitas (pumpkin seeds), though the flavor will differ.
Can I can or pressure-can this pesto?
No. Due to the low-acid ingredients like garlic, nuts, and cheese, this pesto is not safe for home canning without a scientifically tested pressure canning process, which is not standard for pesto. Refrigeration or freezing is the only safe method.
How do I prevent the pesto from turning brown?
Browning occurs due to oxidation. Minimize air exposure by storing in a tightly sealed container with plastic wrap pressed onto the surface or a thin layer of olive oil on top. Use within 5 days for best color and flavor.