This vegan pesto gnocchi is creamy, bright and full of basil, without any dairy or cream. The pesto is blended with white beans, which gives it a silky texture and a little extra protein, and baby spinach keeps the color vivid.
The gnocchi are boiled and then pan seared until the edges turn golden and crisp, so every bite has a soft center and a crunchy outside. Cherry tomatoes add a juicy, slightly sweet contrast. The whole dish takes about 30 minutes and uses one blender, one pot and one pan. It is vegan, and easy to make gluten free with the right gnocchi.

Ingredients
- 1 pound (450 g) vegan potato gnocchi
- 2 tablespoons olive oil, for searing
- 1 cup (150 g) cherry tomatoes, halved
- 2 cups (60 g) packed fresh basil leaves
- 1 cup (30 g) packed baby spinach
- 1/3 cup (45 g) walnuts, toasted
- 1/2 cup (85 g) canned white beans, drained and rinsed
- 3 tablespoons nutritional yeast
- 2 garlic cloves
- 1 tablespoon fresh lemon juice
- 1/3 cup (80 ml) extra virgin olive oil
- 3/4 teaspoon salt, plus more for the water
- 1/4 teaspoon black pepper
- 2 tablespoons chopped fresh parsley, for serving
- 1/4 teaspoon red pepper flakes, for serving
Why You’ll Love This Vegan Pesto Gnocchi
- The pesto is creamy without cream or cashews. White beans blend into a smooth sauce that coats the gnocchi evenly.
- Pan searing gives the gnocchi crisp, golden edges and a chewy bite, which is far better than plain boiled gnocchi.
- Baby spinach and lemon juice keep the pesto green and fresh, even after it meets the hot pan.
- Nutritional yeast adds a savory, cheesy flavor, so the dish does not miss Parmesan.
- It is ready in about 30 minutes and works for a weeknight dinner or a simple dinner party main.
Ingredient Notes
Gnocchi: Use shelf stable or refrigerated potato gnocchi. Read the label, because some brands contain egg or milk. Many are vegan, but not all. If you want a gluten free dish, choose a gnocchi made with gluten free flour. You can also make gnocchi at home with potato, flour and a little salt.
Basil: Use fresh basil, packed into the measuring cup. Dried basil does not give the same flavor. Pick leaves from the stems and dry them well, because wet leaves make the pesto watery.
Spinach: Baby spinach adds body and color and softens the strong basil taste. If you do not have it, use arugula for a peppery version or add more basil.
Walnuts: Toasted walnuts give the pesto a rich, slightly earthy taste and cost less than pine nuts. Pine nuts, cashews or sunflower seeds also work. Toast them in a dry pan for 3 to 4 minutes until fragrant.
White beans: Cannellini or great northern beans work best because their flavor is mild. They make the pesto thick and creamy and add protein. Rinse them well to remove the canning liquid.
Nutritional yeast: Nutritional yeast has a nutty, cheesy flavor and is a common vegan swap for Parmesan. Look for flakes in the baking or bulk section. Traditional Parmesan is made with animal rennet, so it is not vegetarian, and it is not used here.
Lemon, garlic and olive oil: Lemon juice brightens the sauce, one or two garlic cloves give it a gentle bite and a good extra virgin olive oil makes the pesto taste fresh and smooth.
How to Make Vegan Pesto Gnocchi
- Toast the walnuts. Place the walnuts in a dry skillet over medium heat and toast for 3 to 4 minutes, stirring often, until fragrant. Let them cool for a few minutes.
- Make the pesto. In a food processor or blender, combine the basil, spinach, toasted walnuts, white beans, nutritional yeast, garlic, lemon juice, 3/4 teaspoon salt and pepper. Pulse a few times. With the machine running, pour in the 1/3 cup olive oil and blend until smooth but still slightly textured. Taste and adjust the salt and lemon.
- Boil the gnocchi. Bring a large pot of generously salted water to a boil. Add the gnocchi and cook for 2 to 3 minutes, until they float to the top. Scoop out 1/2 cup of the cooking water, then drain the gnocchi well and pat them dry with a clean towel.
- Sear the gnocchi. Heat 2 tablespoons of olive oil in a large nonstick skillet over medium high heat. Add the gnocchi in a single layer and cook for 4 to 5 minutes without moving them much, until golden and crisp on the bottom. Turn and cook for another 2 minutes.
- Add the tomatoes. Add the halved cherry tomatoes to the pan and cook for 1 to 2 minutes, just until they begin to soften and blister.
- Toss with the pesto. Turn off the heat. Spoon in the pesto and add 2 to 3 tablespoons of the reserved cooking water. Stir gently until the gnocchi are coated and the sauce looks creamy. Add more cooking water if it seems thick.
- Serve. Divide into bowls, top with chopped parsley and red pepper flakes, and serve right away while the edges are still crisp.
Tips for Success
- Dry the gnocchi well after boiling. Surface water stops them from browning and makes them stick to the pan.
- Do not crowd the pan. Cook in two batches if needed, so the gnocchi sear instead of steam.
- Add the pesto off the heat. High heat dulls the basil and turns it brown. Stirring it in after the pan cools slightly keeps it bright green.
- Use the cooking water. The starch in it helps the sauce cling to the gnocchi and makes it silky.
- Season the pesto at the end. Walnuts, beans and nutritional yeast change how salty it tastes, so taste before serving.
- Add a green vegetable. Steamed broccoli, peas or sauteed zucchini fit well and make the meal more filling.
Storage
- Pesto: Store the pesto in a jar with a thin layer of olive oil on top. It keeps in the fridge for up to 5 days. Freeze it in an ice cube tray for up to 3 months.
- Leftover gnocchi: Store in an airtight container in the fridge for up to 3 days. The crisp edges soften, but the flavor stays good.
- Reheating: Reheat in a skillet over medium heat with a splash of water or olive oil for 3 to 4 minutes. This brings back some of the crispness. The microwave works too, but the texture is softer.
- Make ahead: Make the pesto up to 3 days ahead. Boil and sear the gnocchi just before serving for the best texture.
FAQ
Is gnocchi vegan?
Not always. Many store bought gnocchi are made only with potato, flour and salt, so they are vegan. Some brands add egg or milk. Always check the ingredient list. This recipe is vegan when you use vegan gnocchi.
Is this vegan pesto gnocchi gluten free?
Not by default, because most gnocchi contain wheat flour. Use a gluten free gnocchi and check the nutritional yeast and bean labels, and the dish becomes gluten free.
Can I make the pesto without nuts?
Yes. Replace the walnuts with toasted sunflower seeds or pumpkin seeds. The flavor changes slightly, but the sauce stays creamy and rich.
How do I keep pesto green?
Use fresh leaves, add the spinach and lemon juice, and stir the pesto in off the heat. Heat and air turn basil brown, so avoid cooking the sauce.
Can I use frozen gnocchi?
Yes. Cook frozen gnocchi straight from the freezer in boiling water for 3 to 4 minutes, drain and dry them, then sear as written.
What can I serve with pesto gnocchi?
A simple green salad, roasted vegetables, garlic bread, steamed broccoli or sauteed greens all go well. A glass of dry white wine also pairs well for adults who drink.

Vegan Pesto Gnocchi with Crispy Edges and White Beans
Ingredients
Method
- Toast the walnuts in a dry skillet over medium heat for 3 to 4 minutes until fragrant. Cool for a few minutes.
- Blend the basil, spinach, walnuts, white beans, nutritional yeast, garlic, lemon juice, 3/4 teaspoon salt and pepper. With the machine running, add 1/3 cup olive oil and blend until smooth but slightly textured. Adjust the salt and lemon.
- Boil the gnocchi in salted water for 2 to 3 minutes until they float. Save 1/2 cup of the cooking water. Drain and pat dry.
- Heat 2 tablespoons olive oil in a large nonstick skillet over medium high heat. Sear the gnocchi in a single layer for 4 to 5 minutes until golden, then turn and cook 2 minutes more.
- Add the halved cherry tomatoes and cook for 1 to 2 minutes until they begin to soften.
- Turn off the heat. Stir in the pesto and 2 to 3 tablespoons of the cooking water until creamy.
- Top with parsley and red pepper flakes and serve right away.


