Walnuts provide a rich, earthy crunch that transforms simple weeknight meals into something substantial without requiring hours of prep. This walnut pesto pasta comes together in 15 minutes using pantry staples and raw nuts, delivering the depth of flavor usually reserved for slow-cooked sauces. It is a complete vegetarian dinner that pairs well with steamed greens or roasted vegetables.
The Technique That Makes It Work
The secret to this dish lies in how you process the walnuts. Unlike pine nuts, which are soft and oily, walnuts have a higher fat content but also tannins that can taste bitter if not handled correctly. Toasting them briefly before blending unlocks their natural oils and removes any raw edge. You must blend the nuts with a liquid fat (olive oil) and an acid (lemon juice) immediately to prevent oxidation, which turns the mixture brown and metallic-tasting within minutes.
Ingredients
- 1 cup (140 g) raw walnut halves
- 2 cloves garlic, peeled
- 1/2 cup (120 ml) extra-virgin olive oil
- 1/3 cup (30 g) freshly grated Parmesan cheese
- 1 tablespoon fresh lemon juice (about 1/2 a lemon)
- 1 teaspoon lemon zest
- 1/2 teaspoon salt, plus more for pasta water
- 1/4 teaspoon black pepper
- 8 oz (225 g) dried pasta (spaghetti, linguine, or penne)
- Reserved pasta cooking water as needed
Instructions
- Toast the walnuts (3 min): Place a dry skillet over medium heat. Add the walnuts in a single layer. Toast for 3 to 4 minutes, shaking the pan frequently, until they smell nutty and darken slightly. Watch closely because walnuts burn faster than most nuts. Transfer them to a plate immediately to stop the cooking.
- Blend the pesto (2 min): While the walnuts cool slightly, bring a large pot of salted water to a boil for the pasta. In a food processor or blender, combine the toasted walnuts, garlic cloves, olive oil, Parmesan, lemon juice, lemon zest, salt, and pepper. Pulse until the mixture resembles coarse sand. If it looks dry or clumps too much, add another teaspoon of oil. Do not over-blend into a smooth paste; you want texture.
- Cook the pasta (8-10 min): Add the pasta to the boiling water. Cook according to package directions until al dente. About 1 minute before the pasta is done, scoop out 1 cup (240 ml) of the starchy pasta water and set it aside. Drain the pasta.
- Toss and emulsify (2 min): Return the hot pasta to the pot or a large serving bowl. Add the walnut pesto. Pour in about 1/4 cup (60 ml) of the reserved pasta water. Toss vigorously with tongs for 30 seconds. The starch and water will create a creamy sauce that coats every strand. Add more water a tablespoon at a time if the sauce looks thick or pasty.
- Serve immediately: Plate the pasta while hot. Top with extra grated Parmesan and a crack of black pepper. Consume right away for the best texture and flavor.
Mistakes That Ruin Walnut Pesto
Walnuts oxidize quickly. If you make the pesto ahead of time and leave it exposed to air, it will turn dark green-brown and develop a bitter, metallic flavor. Always toast the nuts first; raw walnuts leave a gritty, astringent finish that clashes with the creaminess of the pasta. Another common error is adding the pesto to cold pasta. The residual heat from the noodles is essential for melting the cheese and loosening the oil so the sauce adheres properly. If the sauce breaks or looks oily, you likely added too much oil too quickly or did not use enough starchy pasta water to emulsify it.
Equipment and Substitutions
A food processor is ideal for even distribution, but a mortar and pestle works well if you crush the walnuts and garlic into a paste first before whisking in the oil. For the cheese, Pecorino Romano provides a sharper, saltier kick, while nutritional yeast offers a vegan alternative with a savory, umami profile. If you do not have fresh lemon, use 1 teaspoon of white wine vinegar, though the flavor will be less bright. For the pasta, any shape works, but long strands like spaghetti hold the sauce better than short shapes like rotini.
Storage and Safety
This dish contains no meat, poultry, fish, or eggs, so standard food safety rules apply regarding temperature abuse rather than pathogen growth. However, the pesto component is perishable due to the dairy and fresh garlic. Store leftover pesto in an airtight container with a thin layer of olive oil on top to block air. It keeps for 3 days in the refrigerator. Do not freeze the pesto as the texture of the walnuts will become grainy and the cheese may separate. Reheat leftovers gently in a pan with a splash of water or microwave in 30-second intervals, stirring between each. Never leave cooked pasta with pesto at room temperature for more than 2 hours.
Related
- Quick Dinners With Blackberries: 5 Easy Recipes
- Cooked Chicken Pasta Dishes: 10 Easy Dinners
- Lemon Herb Pasta Recipe for Easy Weeknight Dinners
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).