This gnocchi pesto recipe offers a delightful twist on a classic comfort dish, combining tender gnocchi with a bright, homemade walnut and arugula pesto. It’s designed for maximum flavor with minimal effort, making it ideal for busy weeknights or when you crave something special. Unlike traditional basil pesto, this version utilizes walnuts for a rich, earthy depth and arugula for a peppery bite, complemented by the brightness of lemon and the savory notes of Parmesan. The result is a uniquely satisfying gnocchi pesto that’s both sophisticated and approachable.
Key takeaways
- Toast walnuts for deeper flavor in the pesto.
- Cook gnocchi until they float, then sauté briefly.
- Adjust pesto consistency with olive oil or cooking water.
- Seasoning is key for a balanced pesto flavor.

Gnocchi Nirvana: Walnut Pesto Dream!
Ingredients
- 1 cup walnuts
- 1/2 cup Parmesan cheese
- 1/4 cup olive oil
- 1 clove garlic
- juice of 1 lemon
- salt and pepper to taste
- 1 tablespoon butter
- 16 ounces fresh sliced mushrooms
- 24 ounces DeLallo Traditional Gnocchi (1 1/2 packages)
- 3-4 cups arugula (optional)
Instructions
- Toast walnuts in a dry skillet over medium-low heat until fragrant. Combine toasted walnuts, Parmesan, olive oil, garlic, lemon juice, salt, and pepper in a food processor. Pulse until a textured paste forms. Set aside.
- Bring a pot of water to a boil. Add the gnocchi and cook until they float to the surface. Drain and set aside.
- While gnocchi cooks, heat butter in a large skillet over medium-high heat. Add sliced mushrooms and sauté until browned and tender, about 5-7 minutes. Remove from heat.
- Add the drained gnocchi to the skillet with the mushrooms. Stir in about half of the prepared walnut pesto mixture. Cook over medium-high heat, stirring, until the gnocchi and mushrooms are golden brown and slightly crispy. Add arugula (if using) and toss gently.
- If a saucier consistency is desired, whisk the remaining prepared pesto with a tablespoon or two of water in a small bowl until smooth. Drizzle this sauce over the gnocchi and mushrooms before serving. Ensure everything is well combined and heated through.
Notes
– Use fresh, high-quality Parmesan cheese for the best pesto taste.
– Don’t overcrowd the pan when sautéing mushrooms; cook in batches if needed for proper browning.
– If you prefer a smoother pesto, add a little more olive oil or a splash of pasta water. Allergens: Wheat, Tree nuts, Milk. Nutrition information is an estimate, calculated automatically. Values vary with brands, substitutions and portion sizes.
The technique that makes it
The heart of this dish lies in the walnut pesto and the perfectly cooked gnocchi. For the pesto, toasting the walnuts is a crucial step. This process, known as the Maillard reaction, deepens their flavor, bringing out nutty, slightly sweet notes that form the complex base of the pesto. Avoid burning them; a light golden-brown is ideal. When blending the pesto, start with a lower amount of olive oil and add more gradually. This allows you to control the consistency, ensuring it’s rich and emulsified without being oily. Fresh lemon juice cuts through the richness of the walnuts and cheese, adding brightness. The garlic should be used raw for a pungent kick, but if you prefer a milder flavor, you can lightly sauté it before blending. For the gnocchi, the key is to cook them in generously salted boiling water until they float to the surface. This indicates they are cooked through. Overcooking will result in mushy gnocchi, while undercooking will leave them dense and doughy. Once they float, they are ready to be transferred directly to the pan with the sautéed mushrooms and butter. Sautéing them briefly in butter after boiling creates a slightly crisp exterior and coats them beautifully in the pan sauce, preventing them from sticking together and enhancing their texture.
Troubleshooting
- Gnocchi are mushy: This usually happens from overcooking. Cook gnocchi in boiling water until they *just* float, then immediately remove them. Don’t let them sit in the boiling water for too long after they rise.
- Pesto is too thick: Add more olive oil, a tablespoon at a time, while blending until your desired consistency is reached. You can also add a little of the gnocchi cooking water to help emulsify.
- Pesto is too bland: Ensure you’ve seasoned generously with salt and pepper. The Parmesan cheese adds saltiness, but additional seasoning is often needed. A bit more lemon juice can also brighten the flavor.
- Gnocchi are sticking together: After boiling, toss them gently with a little olive oil or butter before adding them to the pan with the mushrooms. Don’t overcrowd the pan when sautéing.
Substitutions
- Walnuts: Pine nuts are the traditional choice for pesto and will yield a classic flavor. Almonds or cashews can also be used for a different nutty profile. The result will be a pesto with a slightly different texture and flavor but still delicious.
- Parmesan cheese: Pecorino Romano offers a sharper, saltier alternative. A vegan parmesan substitute can be used for a dairy-free version, though the texture and melt may differ.
- Arugula: Spinach or basil can be used as alternatives. Spinach will add a milder green flavor, while basil will create a more traditional pesto taste profile.
- Mushrooms: Other vegetables like zucchini, asparagus, or bell peppers can be sautéed and added to the dish. The cooking time will need to be adjusted based on the vegetable.
Pro tips
- For an extra nutty flavor, toast your walnuts until they are just golden brown.
- Use fresh, high-quality Parmesan cheese for the best pesto taste.
- Don’t overcrowd the pan when sautéing mushrooms; cook in batches if needed for proper browning.
- If you prefer a smoother pesto, add a little more olive oil or a splash of pasta water.
Enjoy this flavorful Gnocchi Pesto as a quick and satisfying meal. Feel free to experiment with different greens or nuts for a personalized touch.
Try this next: Easiest 5-Ingredient Green Pasta Salad EVER!
More from Easy Pasta Recipes →
Frequently asked questions
How do I know when gnocchi is cooked?
Gnocchi is cooked when it floats to the surface of the boiling water. This usually takes about 2-3 minutes after adding them to the pot. Gently stir them once to prevent sticking. Remove them with a slotted spoon and add directly to your sauce.
Can I make walnut pesto ahead of time?
Yes, walnut pesto can be made 1-2 days in advance. Store it in an airtight container in the refrigerator. To prevent browning, press plastic wrap directly onto the surface of the pesto before sealing the container. It will keep for up to a week.
What can I substitute for walnuts in pesto?
If you have a walnut allergy or simply don’t have them, pine nuts are the classic substitution for pesto. Almonds or even cashews can also work, offering a slightly different but still delicious flavor profile. Toasting the nuts beforehand enhances their flavor.
How do I store leftover gnocchi and pesto?
Store cooked gnocchi and pesto separately. Gnocchi can be refrigerated for 2-3 days; reheat gently in a pan with a little sauce. Pesto can be refrigerated for up to a week or frozen for longer storage. Combine just before serving to maintain best texture.




