There are dinners that politely fill your stomach, and then there are dinners that make you hover near thebelongs firmly in the second category.
Soft potato gnocchi are tossed with a vivid green sauce made from spinach, basil, walnuts, garlic, lemon, nutritional yeast, and extra-virgin olive oil. The result is creamy without cream, cheesy without cheese, and elegant enough for company despite involving ingredients you can find in an ordinary supermarket.
This recipe includes directions for homemade eggless potato gnocchi, but there is no culinary shame in using a packaged vegan variety. On a busy Tuesday, convenience is not cheating. It is project management.
Why You Will Love This Vegan Gnocchi Recipe
Traditional pesto usually contains Parmesan or Pecorino cheese. This dairy-free spinach pesto replaces cheese with nutritional yeast, which provides a pleasantly savory flavor. Walnuts add richness, while lemon juice supplies the brightness that prevents the sauce from tasting heavy.
Spinach also gives the pesto plenty of volume without requiring several expensive bunches of basil. You still get the recognizable aroma of fresh basil, but the sauce becomes milder, greener, and suitable for spooning over almost anything that stands still long enough.
- Entirely plant-based: No eggs, butter, milk, or cheese are required.
- Flexible: Prepare homemade gnocchi or use a vegan store-bought package.
- Weeknight-friendly: With packaged gnocchi, dinner can be ready in about 25 minutes.
- Freezer-friendly: Uncooked homemade gnocchi and leftover pesto can be frozen separately.
- Easy to customize: Add peas, roasted tomatoes, asparagus, mushrooms, or white beans.
What Is Vegan Gnocchi?
Gnocchi are small Italian dumplings commonly made with cooked potatoes, flour, salt, and sometimes eggs. Fortunately, eggs are not essential. When dry, starchy potatoes are handled carefully, they can form tender gnocchi with only flour and salt.
Not every packaged product is vegan, however. Some brands use eggs, milk powder, cheese, or other animal-derived ingredients. Always read the label rather than trusting the front of the package, which may be busy describing the gnocchi as “traditional,” “artisan,” or “made with love.” Love is encouraging, but it is not an ingredient list.
Ingredients for Vegan Gnocchi With Spinach Pesto
Yield: 4 generous servings or 6 smaller servings
Preparation time: 35 minutes
Cooking time: 50 minutes
Total time: About 1 hour 25 minutes
For the Homemade Vegan Gnocchi
- 2 pounds russet potatoes, about 3 large potatoes
- 1 to 1 1/2 cups all-purpose flour, plus more for dusting
- 1 teaspoon fine sea salt
For the Vegan Spinach Pesto
- 3 packed cups fresh baby spinach
- 1 packed cup fresh basil leaves
- 1/2 cup raw or lightly toasted walnuts
- 2 medium garlic cloves, roughly chopped
- 1/3 cup nutritional yeast
- 1 teaspoon finely grated lemon zest
- 2 tablespoons fresh lemon juice, plus more to taste
- 1/2 teaspoon fine sea salt
- 1/4 teaspoon freshly ground black pepper
- 1/2 cup extra-virgin olive oil
- 2 to 5 tablespoons cold water or reserved gnocchi cooking water
Optional Finishing Ingredients
- 1 tablespoon extra-virgin olive oil
- 1 cup halved cherry tomatoes
- 1/2 cup thawed frozen peas
- Crushed red pepper flakes
- Fresh basil leaves
- Chopped toasted walnuts
- Vegan Parmesan
- Fresh lemon wedges
How to Make Homemade Eggless Gnocchi
1. Bake the Potatoes
Preheat the oven to 425°F. Scrub the potatoes, dry them thoroughly, and prick each one several times with a fork. Place them directly on the oven rack or on a baking sheet.
Bake for 45 to 60 minutes, depending on size, until completely tender when pierced with a knife. Baking is preferable to boiling because it produces drier potatoes. Less moisture means less flour, and less flour means gnocchi that resemble tender potato pillows instead of office supplies.
2. Rice the Potatoes While Warm
Once the potatoes are cool enough to handle, cut them open and scoop out the flesh. Pass the flesh through a potato ricer onto a clean work surface or mash it very thoroughly with a fork.
Spread the potato into a loose layer and let excess steam escape for 5 to 10 minutes. Avoid using a food processor or blender. Aggressive processing can release too much starch and turn the potatoes gluey.
3. Make the Dough
Sprinkle the salt and 1 cup of flour over the potatoes. Use a bench scraper or your hands to fold the mixture together gently. Add additional flour a tablespoon at a time until the dough is soft, cohesive, and only slightly tacky.
Do not knead it like bread dough. Excessive kneading and unnecessary flour are the two fastest routes to dense gnocchi. Stop mixing as soon as the dough can hold its shape.
4. Test One Gnocchi
Bring a small saucepan of salted water to a gentle boil. Pinch off a piece of dough, shape it into a small dumpling, and cook it.
If it holds together, the dough is ready. If it dissolves or becomes excessively fragile, fold another tablespoon or two of flour into the remaining dough. This tiny test can save an entire batch from becoming potato soup.
5. Shape the Gnocchi
Divide the dough into four portions. On a lightly floured surface, roll each portion into a rope approximately 3/4 inch thick. Cut the ropes into 3/4-inch pieces.
The pieces can be cooked exactly as they are. For traditional ridges, roll each piece gently over the back of a fork or a gnocchi board. The ridges create extra places for the spinach pesto to cling, which is always a worthwhile infrastructure investment.
Transfer the shaped gnocchi to a flour-dusted baking sheet in a single layer. Keep them separated until you are ready to cook.
How to Make Spinach Pesto Without Dairy
1. Blend the Greens and Walnuts
Add the spinach, basil, walnuts, garlic, nutritional yeast, lemon zest, lemon juice, salt, and black pepper to a food processor. Pulse until the ingredients are finely chopped.
2. Add the Olive Oil
With the processor running on low, slowly pour in the olive oil. Stop and scrape down the sides as needed. Blend until the pesto is creamy but still has a little texture.
3. Adjust the Consistency
Add cold water one tablespoon at a time until the pesto reaches a spoonable consistency. It may initially seem thicker than a typical pasta sauce. That is intentional because reserved gnocchi water will loosen it later.
Taste and adjust the lemon juice, salt, garlic, or nutritional yeast. Fresh spinach is mild, so the final pesto should taste slightly more intense than you think it needs to. Once combined with potatoes, its flavor will mellow.
How to Cook and Assemble the Dish
1. Boil the Gnocchi in Batches
Bring a large pot of generously salted water to a gentle boil. Add the gnocchi in two or three batches so they have room to move.
Stir carefully once to prevent sticking. When the gnocchi float to the surface, let them cook for approximately 30 additional seconds. Remove them with a slotted spoon rather than pouring everything into a colander.
Reserve at least one cup of the cooking water. The starch in this water helps the pesto coat the gnocchi more evenly.
2. Pan-Crisp Them for More Texture
This step is optional, but highly recommended. Heat one tablespoon of olive oil in a large skillet over medium-high heat. Add the cooked gnocchi in a single layer and leave them undisturbed for 2 to 3 minutes.
Turn them gently and cook until several sides are lightly golden. The contrast between a crisp surface and a soft center makes the finished dish considerably more interesting.
If using cherry tomatoes or peas, add them during the final two minutes. Cook just until the tomatoes begin to blister and the peas are hot.
3. Add the Pesto Away From Direct Heat
Reduce the heat to low or remove the skillet from the burner. Add approximately three-quarters of the spinach pesto and a splash of reserved cooking water.
Toss gently, adding more pesto or water as needed. Avoid frying the pesto over high heat. Too much heat can dull its fresh flavor and cause the olive oil to separate.
Serve immediately with red pepper flakes, toasted walnuts, basil, vegan Parmesan, or a squeeze of lemon.
Can You Use Store-Bought Gnocchi?
Absolutely. Substitute approximately 24 ounces of packaged vegan potato gnocchi for the homemade batch. Cook it according to the package directions, reserving some cooking water before draining.
Shelf-stable, refrigerated, and frozen gnocchi may behave differently. Some varieties are best boiled, while others can go directly into a skillet or sheet pan. Follow the package instructions and check that eggs and dairy products are not listed.
Using packaged gnocchi reduces the total preparation time to roughly 25 minutes, making this vegan spinach pesto gnocchi especially useful for busy evenings.
Recipe Variations
Make It Nut-Free
Replace the walnuts with raw or lightly toasted sunflower seeds. Pumpkin seeds also work, although they create a darker, earthier pesto.
Make It Gluten-Free
Use a certified gluten-free gnocchi or prepare homemade gnocchi with an appropriate gluten-free flour blend. Because different blends absorb moisture differently, add the flour gradually and always cook a test dumpling.
Add More Protein
Fold in a drained can of cannellini beans, crispy chickpeas, green peas, or cubes of pan-seared tofu. White beans are particularly good because their creamy texture fits naturally with the potatoes and pesto.
Add Seasonal Vegetables
Try roasted asparagus in spring, zucchini in summer, mushrooms in fall, or broccoli during winter. Sun-dried tomatoes add concentrated sweetness and a pleasantly chewy contrast.
Make a Creamier Sauce
Blend two or three tablespoons of unsweetened plant-based cream into the pesto. Cashew cream also works well, but use it sparingly so the spinach, basil, and lemon remain noticeable.
Common Gnocchi Mistakes to Avoid
Starting With Wet Potatoes
Waterlogged potatoes demand more flour, resulting in heavier dumplings. Bake russet potatoes whenever possible and let their steam escape before mixing the dough.
Adding All the Flour at Once
Potatoes vary in moisture. Treat the listed flour as a range rather than an order from a stern flour authority. Start with less and add only what the dough needs.
Overworking the Dough
Mixing develops gluten and releases starch. Handle the dough gently, and stop as soon as it holds together.
Boiling Too Aggressively
A violent rolling boil can damage delicate homemade gnocchi. Use a steady but gentle boil and cook in manageable batches.
Drowning the Gnocchi in Pesto
Begin with part of the sauce and add more gradually. The goal is to coat each piece, not conceal the evidence that gnocchi are underneath.
Storage and Make-Ahead Tips
Store leftover cooked gnocchi with pesto in an airtight container in the refrigerator and enjoy it within a few days. Reheat it gently in a skillet with a tablespoon or two of water. High heat can make the sauce oily and the gnocchi tough.
The spinach pesto can be prepared in advance. Place it in a small airtight container and press a piece of reusable food wrap against the surface to reduce exposure to air. A thin layer of olive oil on top can also help preserve its green appearance.
To freeze uncooked homemade gnocchi, arrange the pieces on a flour-dusted baking sheet and freeze until solid. Transfer them to a freezer-safe container and cook them directly from frozen. Do not thaw first, or they may become sticky.
What to Serve With Spinach Pesto Gnocchi
This dish is substantial enough to serve alone, but a crisp side can balance its soft, comforting texture. Consider an arugula salad with lemon vinaigrette, roasted broccolini, garlic green beans, or balsamic tomatoes.
For a larger dinner, begin with vegetable soup or marinated olives. Warm crusty bread is also welcome, particularly when extra pesto remains on the plate. Leaving that pesto behind would be a regrettable administrative error.
Practical Kitchen Experience: Lessons From Making Vegan Gnocchi and Pesto
The most important lesson in making potato gnocchi is that exact flour measurements can be misleading. One batch of potatoes may need barely a cup, while another needs several additional tablespoons. Potato variety, size, storage conditions, and cooking method all affect moisture. A cook who follows the texture of the dough usually gets better results than one who follows the measuring cup with unshakable loyalty.
The dough should feel soft and delicate. It may be slightly tacky, but it should not coat your hands like paste. Adding flour until the dough feels completely dry makes shaping easier, yet that convenience is purchased with a heavier final texture. A light dusting of flour on the counter and bench scraper is more useful than forcing excess flour into the dough.
Another practical discovery is that appearance matters much less than consistency. Homemade gnocchi do not need to look like identical factory-made cushions. Some may be longer, shorter, rounder, or slightly suspicious. What matters is keeping them close enough in size that they cook at roughly the same speed.
The test-dumpling method is especially valuable with eggless gnocchi. Before shaping an entire tray, cook one small piece. If it remains intact and tastes tender, continue. If it begins breaking apart, the dough needs a small amount of additional flour. This test takes two minutes and prevents the deeply disappointing experience of watching a full batch disappear into cloudy potato water.
Spinach pesto presents a different set of lessons. Spinach contains plenty of moisture, so washed leaves should be dried thoroughly. Excess surface water can make the pesto thin before the olive oil is added. A salad spinner is useful, although clean kitchen towels and a little patience work just as well.
Raw garlic also becomes more powerful as pesto rests. Two cloves may taste pleasantly assertive immediately after blending but noticeably sharper an hour later. Garlic enthusiasts can proceed with confidence. Everyone else should begin with one clove, taste the sauce, and add more gradually.
Toasting the walnuts briefly produces a deeper, warmer flavor, while raw walnuts keep the pesto fresher and slightly sweeter. Both versions work. For a bright summer-style sauce, raw nuts are ideal. For a richer cold-weather meal, toasted walnuts provide extra depth.
The final lesson concerns timing. Pesto should meet the gnocchi near the end of cooking, preferably after the skillet has been removed from strong heat. Cooking the sauce aggressively can flatten the basil flavor and turn its bright green color dull. Reserved cooking water is the quiet hero here. A few spoonfuls transform thick pesto into a glossy coating without requiring more oil.
Pan-crisping the cooked gnocchi is optional, but it solves one of the dish’s few potential weaknesses: too much softness. Golden edges create contrast and help the dumplings stand up to the creamy sauce. Use a wide skillet, avoid crowding, and let the pieces sit long enough to brown before turning them. Constant stirring feels productive, but in this case it mostly interrupts the crust.
Most importantly, this recipe rewards flexibility. The pesto can accept herbs that need using, the gnocchi can be homemade or packaged, and the vegetables can change with the season. It is less a rigid formula than a dependable dinner frameworkone that happens to be green, comforting, and unusually good at convincing spinach skeptics to request seconds.
Conclusion
Vegan gnocchi with spinach pesto combines comfort-food texture with fresh, lively flavor. The potato dumplings are tender, the dairy-free pesto is creamy and savory, and the entire recipe can be adapted to suit your schedule.
Make the gnocchi from scratch when you want a rewarding kitchen project, or open a vegan package when dinner needs to happen before everyone starts eating crackers over the sink. Either route ends with a vibrant plant-based meal worthy of regular rotation.
Note: Ingredient labels and dietary needs vary. Confirm that packaged gnocchi, nutritional yeast, and optional toppings meet your personal vegan, gluten-free, or allergen requirements.














