• Subscribe
  • About
menu icon
go to homepage
  • Subscribe
  • About
subscribe
search icon
Homepage link
  • Subscribe
  • About
×
Home » Easy Dinners

Gnocchi with Pesto Sauce

Updated: Sep 25, 2025 · Published: Aug 20, 2025 by Renae Gerhardstein · This post may contain affiliate links · Leave a Comment

↓ Jump to Recipe

When we had young kids at home our family dinners always had a protein, starch and a vegetable. However, we found out quickly that there are only so many starches you can serve before it starts getting repetitive. Gnocchi with Pesto Sauce makes your dinners feel fancy, without being overly complicated. Gnocchi is better than a traditional pasta because the soft texture really absorbs flavor and sauces. Try it out today and let me know what you think!

A bowl of pesto gnocchi.

Recipe Ingredient Notes

  • Gnocchi - We prefer homemade, fresh gnocchi, but you can use store-bought to save time. It's available fresh, frozen, and dried.
  • Asparagus - If you aren't a fan of asparagus, you can use another small green veggie instead. Good options are peas, tiny broccoli florets, or green beans.
  • Extra virgin olive oil - Can substitute for any preferred oil
  • Bottled basil pesto sauce - see recipe notes for home made version.

Ways to Enjoy Every Bite

One of the best things about this pesto gnocchi recipe is that it's delicious served at any temperature. This makes it perfect as a main dish, side dish, or even a pasta salad for picnics and potlucks, just like our pesto with tortellini.

Since it's a vegetarian dish, it works well as a meatless meal, but you can also pair it with grilled salmon, sautéed mushrooms, or a drizzle of melted butter. Don't forget something sweet to add to your meal, like lemon blueberry cake cookies!

How to Cook Gnocchi Recipe with Pesto

Asparagus in a sauce pan.
A bowl of gnocchi.

Step 1: Heat olive oil in a large skillet over medium heat. Add asparagus and sauté for 2-3 minutes, just until crisp-tender. Set aside on low heat while you cook the gnocchi.

Step 2: Bring a large pot of heavily salted water to a boil. Cook the gnocchi for 2 minutes less than the package directions. Reserve ½ cup of the pasta water, then drain.

A bowl of pesto gnocchi.

Step 3: Add the cooked gnocchi to the skillet with the asparagus. Stir in ½ cup of bottled pesto and ¼ cup of the reserved pasta water. Cook for about 1 minute, stirring to coat everything evenly. Add more water as needed to thin the sauce slightly.

Step 4: Season with salt and black pepper to taste. Serve warm, at room temperature, or chilled. Garnish with flaky sea salt, toasted pine nuts, and fresh basil if desired.

What Kind of Gnocchi Works Best in this Creamy Pesto Gnocchi Recipe?

You can use fresh, frozen, or dried gnocchi all work just adjust the cooking time accordingly. Keep a dried bag on hand in your pantry and you'll always be able to make gnocchi.

A bowl of pesto gnocchi.

Recipe Tips from Mrs. G

  • Don't overcrowd the pot when boiling gnocchi.
  • Reserve that pasta water!
  • Fresh is best-especially with pesto.
  • Toast the pine nuts for better depth.

Storing Leftovers

For proper storage, place any leftover pesto gnocchi in an airtight container and keep it in the refrigerator for up to 3 days. Since pesto is best enjoyed fresh, it's recommended to eat the dish within a day or two for optimal flavor.

A bowl of pesto gnocchi.
A bowl of pesto gnocchi.

Gnocchi with Pesto Sauce

Renae Gerhardstein
Make restaurant quality gnocchi with pesto sauce in just 15 minutes! This recipe features tender potato gnocchi, crisp asparagus, and fresh basil pesto.
Print Recipe Pin Recipe
Prep Time 5 minutes mins
Cook Time 10 minutes mins
Total Time 15 minutes mins
Course Dinner
Cuisine Italian
Servings 4
Calories 561 kcal

Equipment

  • stockpot
  • skillet
  • mesh strainer

Ingredients
  

  • 1 pound gnocchi fresh, frozen, or dried gnocchi
  • 2 cups asparagus (about 12 spears) cut into 1-inch pieces. Substitute for peas or broccoli
  • ½ cup pesto sauce store bought or see notes for home-made
  • 2 tablespoons olive oil

Instructions
 

  • Bring a large pot of heavily salted water to a boil over medium high heat. Keep the water at a boil until you're ready to cook the gnocchi.
  • Heat 2 tablespoons of olive oil in a large skillet over medium heat. Add the asparagus and cook, stirring occasionally, for 2-3 minutes, just until asparagus is crisp tender.
  • While the asparagus sautés, cook the gnocchi for 2 minutes less than the package instructions call for (if the gnocchi says to boil for 6 minutes, then boil it for 4 minutes.)
  • Reserve ½ cup of the cooking liquid and then drain the gnocchi in a strainer.
  • Add the cooked gnocchi to the skillet with the asparagus. Add the pesto sauce and ¼ cup of the reserved cooking liquid. Stir to combine and cook for 1 minute, just until the pesto sauce thickens and evenly coats the gnocchi.
  • If the sauce is too dry, add the remaining ¼ cup of reserved cooking water.
  • Season with salt and pepper to your liking and serve immediately, or place in the fridge to chill, this gnocchi is delicious at room temperature, warm, or cold!
  • Top with flakey sea salt, toasted pine nuts, and fresh basil, if desired.

Notes

  • When cooking gnocchi, ensure that you don't overcrowd the pot.
  • Boil the gnocchi in small batches to allow them to cook evenly and prevent them from sticking together. Once they float to the surface, let them cook for an additional 30 seconds to a minute before removing them with a slotted spoon.
  • This recipe is vegetarian as written. For a vegan option, substitute nutritional yeast for the cheese, or use a plant-based cheese alternative.
Recipe Variations:
  • Chicken pesto: Stir in some diced cooked rotisserie chicken.
  • Creamy: Stir in ½ cup of heavy cream to make a sauce for added creaminess.
Home made pesto sauce:
¼ cup toasted pine nuts
1 clove garlic, peeled
2 tablespoons lemon juice or ½ lemon
2 cups fresh basil leaves, tightly packed
2 ounces parmesean cheese, grated
⅓ cup extra virgin olive oil
To the bowl of a food processor or high speed blender, add the pine nuts, garlic, and lemon juice. Pulse about 10 times, until they are broken up.
Next, add the basil and parmesan to the processor bowl and pulse 10 times again, until the basil is broken into small pieces.
With the food processor on low speed, slowly drizzle in ⅓ cup olive oil. Taste the pesto and season with salt and pepper to your liking.
Storing Instructions:
  • For proper storage, place any leftover pesto gnocchi in an airtight container and keep it in the refrigerator for up to 3 days. Since pesto is best enjoyed fresh, it's recommended to eat the dish within a day or two for optimal flavor.
  • It's best to freeze gnocchi separately from the pesto sauce. Cooked gnocchi can be frozen on a baking sheet, then transferred to a freezer-safe bag for up to 3 months. Homemade pesto can also be frozen in small portions (like in ice cube trays) and used as needed. When ready to serve, thaw and mix them together for a fresh-tasting dish.
  • To maintain the best texture, reheat pesto gnocchi on the stovetop over low heat, adding a splash of water or olive oil to refresh the sauce. If using a microwave, reheat in short 20-second intervals, stirring in between to avoid overheating the pesto, which can cause it to lose its vibrant color and flavor.
Keyword gnocchi, pesto recipes, vegetarian
Titled graphic collage of 2 pesto gnocchi images.

More Easy Dinners

  • Square-cropped overhead photo of eight mushroom wonton dumplings arranged on a plate around a small white bowl of chili oil, with bamboo chopsticks resting alongside.
    Mushroom Dumplings
  • Square format close-up of a serving of Chicken Margherita on a bed of spaghetti, surrounded by red cherry tomatoes and green basil leaves. The chicken breast is topped with sliced tomatoes and cheese.
    Chicken Margherita with Pasta
  • Gingerbread Bundt cake with a slice cut out. The cake is decorated with a icing drizzle and sugared cranberries, and garnished with fresh rosemary sprigs.
    Gingerbread Cake Recipe
  • Caprese flatbread with garnish on a white platter and basil leaves.
    Margherita Flatbread

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Please leave a rating!





A photo of Renae aka Mrs G.

Welcome!

Hi! I'm Mrs. G. and I want to be your weeknight dinner hero- around 5 ingredients, under 30 minutes, for a happily fed family!

More about me

Trending

  • A close-up, overhead shot of a white bowl filled with red and green Chex muddy buddies, featuring various festive sprinkles.
    Christmas Muddy Buddies
  • An overhead shot of a baked ham and hash brown casserole in a black cast iron skillet, garnished with fresh parsley. The cheese topping is a golden brown.
    Ham Egg Bake with Hash Browns
  • A close-up, eye-level shot of four Italian sub sliders on a red-and-white checkered paper. A red basket with more sliders is in the soft-focus background.
    Italian Sliders
  • A close-up, overhead shot of three buffalo chicken wonton cups on a wooden cutting board. They are garnished with blue cheese and green onions, and there are sauce drizzles on the board.
    Buffalo Chicken Wontons

Seasonal

  • A close-up, overhead shot of a large white bowl filled with creamy tomato soup. A fresh sprig of basil floats in the center of the soup.
    3 Ingredient Tomato Soup
  • Sausage balls with toothpick.
    Pimento Cheese Sausage Balls
  • A platter or corn dip and a bowl of chips.
    Cream Cheese Corn Dip
  • A bowl of chili with cheese and garnish on top.
    Easy 3-Ingredient Chili Recipe

Footer

↑ back to top

About

  • Privacy Policy
  • Terms and Conditions

Newsletter

  • Sign Up! for emails and never miss a recipe

Contact

  • Contact

As an Amazon Associate I earn from qualifying purchases.

Copyright © 2025 Mrs. G's Recipes