This creamy pesto gnocchi is a quick and easy dinner made with just 4 ingredients. Golden, pillowy gnocchi is tossed in a rich basil pesto sauce and ready in only 15 minutes.
If you love gnocchi, also try my sheet pan gnocchi or parmesan mushroom gnocchi.

This post may contain affiliate links. Read disclosure policy.
Key Takeaways: Creamy Pesto Gnocchi
- Prep: 5 minutes
- Cook: 10 minutes
- Total time: 15 minutes
- Servings: 4
- Texture: Lightly golden on the outside, soft and pillowy inside
- Best for: Quick 4-ingredient weeknight dinner or an easy side dish
- Difficulty: Easy, with store-bought gnocchi and one skillet after boiling
Why I Love This Recipe
I love pesto recipes because they pack in so much fresh basil flavor with hardly any effort. This creamy pesto gnocchi is one of my favorite quick dinners because it comes together in just 15 minutes and feels a little more special than your average weeknight meal.
I usually keep a batch of my homemade basil pesto recipe on hand during the summer, but store-bought works great, too. If you love pesto as much as I do, try my pesto chicken or chicken pesto pasta next.
Ingredient Notes

Find the full printable recipe with directions below.
- Gnocchi: I use store-bought potato gnocchi to keep this recipe quick and easy. Look for it in the pasta aisle or refrigerated section of the grocery store.
- Butter: Helps the gnocchi get lightly golden and crisp on the outside before adding the sauce.
- Pesto: Homemade basil pesto gives the best fresh basil flavor, but your favorite store-bought pesto works great, too.
- Heavy cream: Turns the pesto into a rich and creamy sauce that coats every piece of gnocchi.
- For serving: Season with salt and pepper, then finish with freshly grated Parmesan and basil if desired.
Variations
- Tomatoes: Add 1/2 cup sun dried tomatoes or try some fresh cherry tomatoes.
- Vegetables: Add sauteed bell peppers, zucchini and onions.
- Vegetarian: Omit the Parmesan cheese or use a vegetarian cheese.
- Protein: Keep it meat-free or add pancetta, chicken, bacon, salmon or grilled shrimp skewers.
How to Make Pesto Gnocchi

Step 1: Boil large pot of salted water and cook store-bought potato gnocchi until it floats, drain.

Step 2: Add reserved pasta water and butter to a skillet. Add gnocchi and cook 3-5 minutes.

Step 3: Add pesto and cream to the skillet with gnocchi, stir then bring to a light simmer. Let mixture simmer until sauce is slightly thickened, about 1 minute.

Step 4: Serve this pesto gnocchi recipe immediately with a sprinkling of Parmesan cheese and fresh basil leaves if desired.
Recipe Tips
- Don’t overcook the gnocchi. Once the gnocchi floats to the top of the water, it’s ready to drain. Overcooking can make it too soft.
- Reserve some pasta water. Before draining, save about 1/4 cup. Add a tablespoon or two to the sauce if it becomes thicker than you’d like.
- Let the gnocchi get golden. After boiling, cook it in the butter for a few minutes without rushing. Those lightly crisp edges add so much texture.
- Keep the sauce at a gentle simmer. Once you add the pesto and cream, it only needs about a minute to thicken. Avoid boiling it too long.
- Serve right away. The pesto cream sauce is at its best while warm and silky. Finish with freshly grated Parmesan and basil.
Pesto Gnocchi FAQs
Pesto gnocchi can be served as a meatless main dish or paired with grilled chicken, salmon or shrimp. A simple green salad, roasted vegetables or garlic bread also makes an easy side.
Absolutely. Basil pesto is classic, but sun-dried tomato pesto, spinach pesto or arugula pesto would all be delicious. Keep in mind that the flavor and consistency of the sauce may vary depending on the pesto you use.
Yes. You can leave out the heavy cream and add a little extra pesto, although the sauce won’t be quite as creamy. A dairy-free heavy cream alternative can also be used if needed.
For this recipe, yes. Boil the gnocchi just until it floats to the top, then drain and transfer it to the skillet. Cooking it in butter for a few minutes afterward gives it those lightly golden edges while keeping the inside soft and pillowy.

Looking for more recipes with gnocchi? This sheet pan gnocchi recipe, Parmesan mushroom gnocchi and Olive Garden chicken gnocchi soup are other favorites.
More Pesto Recipes

Creamy Pesto Gnocchi
Video
Ingredients
- 16 ounces store-bought gnocchi
- 1-2 Tablespoons butter
- ⅓ cup pesto
- ½ cup heavy cream
- Salt & Pepper , to taste
For serving: grated parmesan, fresh basil
Instructions
- Cook gnocchi: Simmer a large pot of salted water and cook 1 pound gnocchi until it floats, about 2 minutes. Set aside 1/4 cup pasta water, then drain water.
- Cook: Add 1-2 Tablespoons butter to a skillet and heat over medium heat. Add the gnocchi and cook for 3-5 minutes or until lightly golden.
- Simmer: Add 1/3 cup pesto and 1/2 cup cream and to the pan. Bring to a light simmer. Let mixture simmer until sauce is slightly thickened, about 1 minute. Season with salt and pepper to taste. Add a Tablespoon or two of pasta water if you need to thin.
- Serve: Serve gnocchi immediately with a sprinkling of cheese and basil if desired. Season to taste with extra salt.
Last step: Please leave a comment and rating after you make the recipe.
Notes
Nutrition
Nutrition provided is an estimate. It will vary based on specific ingredients used.

Debbie
Thanks for the great recipes. I am vegan, however I still cook for two family members and I love how simple and tasty your recipes are.
Thanks again!
Sarah @IHeartNaptime
So glad this pesto gnocchi is approved by your family!
Shirley A CRAIG
This was really good thanks
Sarah @IHeartNaptime
So glad you love the pesto gnocchi!
Amber
Have you ever tried this with coconut cream for dairy free?
Sarah @IHeartNaptime
Hi Amber, it has not been tested. I think a better substitute might be the Silk whipping cream as it mimics heavy cream, if you try the coconut cream let us know.
Mel
This gnocchi recipe was UNREAL. So much flavor and so easy to make. Cannot wait to make this again!
I Heart Naptime Community
I’m so glad you enjoyed it Mel!!
Kristyn
So soft & pillowy, this gnocchi is delicious!! It’s great alone or we love it with pasta!
Ellie Grove
I have never made this before and we tried it last night as a quick and easy dinner… it was amazing!! We loved how simple it was to make and how flavorful it was! We will be making this pesto gnocchi again!!
Jane
Easy plus delicious, my kind of winning meal for busy school weeknights. We devoured it!
Sarah @IHeartNaptime
So glad you enjoyed it!