Walnut pesto is a rich, nutty twist on the classic basil pesto, using toasted walnuts instead of pine nuts for a deeper flavor and a more budget-friendly pantry staple. This sauce clings beautifully to pasta, thanks to the walnuts' natural oils, and comes together in about 15 minutes with a food processor. It's a versatile, vegetarian sauce that works hot or cold, and it's forgiving enough for a weeknight dinner or a make-ahead lunch.
Ingredients
- 1/2 cup (60 g) raw walnuts
- 2 cups (50 g) fresh basil leaves, packed
- 1/2 cup (50 g) grated Parmesan cheese (or Pecorino Romano)
- 2 cloves garlic, roughly chopped
- 1/2 cup (120 ml) extra-virgin olive oil, plus more for storing
- 1/4 teaspoon fine sea salt, plus more to taste
- 1/4 teaspoon freshly ground black pepper, plus more to taste
- 1 tablespoon lemon juice (optional, for brightness)
- 12 oz (340 g) pasta of your choice (e.g., spaghetti, linguine, or fusilli)
Instructions
- Toast the walnuts: heat a dry skillet over medium heat. Add the walnuts and cook, stirring frequently, for 3–5 minutes until fragrant and lightly golden. Watch closely to avoid burning. Remove from the skillet and let cool completely.
- Bring a large pot of salted water to a boil. Add the pasta and cook according to package instructions until al dente. Reserve 1 cup of pasta water before draining.
- While the pasta cooks, make the pesto: in a food processor, combine the cooled walnuts, basil, Parmesan, garlic, salt, and pepper. Pulse until finely chopped, scraping down the sides as needed.
- With the processor running, slowly drizzle in the olive oil until the pesto is smooth but still has a little texture. Add the lemon juice if using, then taste and adjust salt and pepper.
- Drain the pasta and return it to the pot. Add about 3/4 of the pesto and toss to coat, adding reserved pasta water a tablespoon at a time until the sauce reaches a silky consistency that clings to the pasta.
- Serve immediately, topped with extra Parmesan and a drizzle of olive oil if desired.
Tips
- Toast the walnuts: this step is non-negotiable – raw walnuts taste bitter and astringent. Toasting brings out their sweetness and makes the pesto far more aromatic.
- Don't over-process: you want a slightly coarse texture, not a paste. Pulse in short bursts and scrape down the bowl to keep some crunch from the walnuts.
- Use a neutral oil if needed: if extra-virgin olive oil is too strong for your taste, substitute half with a neutral oil like avocado or grapeseed.
- Make it vegan: swap the Parmesan for 2 tablespoons of nutritional yeast or a vegan Parmesan alternative, and use a vegan-friendly pasta.
Serving Suggestions
Walnut pesto pasta is delicious on its own, but it pairs well with grilled chicken, shrimp, or roasted cherry tomatoes. For a heartier meal, add sautéed mushrooms or zucchini. Serve it alongside a simple green salad with a light vinaigrette to balance the richness.
Variations
- Sun-dried tomato walnut pesto: add 1/4 cup drained sun-dried tomatoes to the food processor with the basil.
- Spicy walnut pesto: add 1/2 teaspoon red pepper flakes or one small dried chili to the processor.
- Arugula walnut pesto: replace half the basil with arugula for a peppery kick.
- Walnut pesto with lemon zest: add the zest of one lemon along with the lemon juice for extra brightness.
Storage and Reheating
Store leftover pesto (without pasta) in an airtight jar, topped with a thin layer of olive oil to prevent oxidation. It will keep in the refrigerator for up to 5 days. For longer storage, freeze pesto in ice cube trays for up to 3 months; transfer frozen cubes to a zip-top bag. To reheat pasta with pesto, add a splash of water or olive oil and warm gently in a skillet over low heat, stirring frequently. Avoid microwaving pesto pasta at high power, as it can make the sauce oily.
Frequently Asked Questions
Can I use walnuts without toasting them?
Yes, but the pesto will taste more bitter and less nutty. Toasting is highly recommended for the best flavor and aroma.
How do I make this pesto nut-free?
Replace the walnuts with sunflower seeds or pumpkin seeds, both of which you should toast as well. The texture will be similar, though the flavor will differ.
Why is my pesto bitter?
Bitterness usually comes from over-processing the basil (which can bruise it) or using raw walnuts. Toasting the walnuts and pulsing gently will help avoid this.
Can I use this pesto for something other than pasta?
Absolutely – spread it on sandwiches, drizzle over roasted vegetables, stir into soups, or use as a marinade for chicken or fish.
How much pesto does this recipe make?
It yields about 1 cup of pesto, which is enough to coat 12 ounces of pasta generously.
Can I freeze the pesto with pasta?
It's not recommended – the pasta will become mushy when thawed. Freeze the pesto alone and toss with freshly cooked pasta later.