Love & Harvest
Jump to Recipe

Homemade Pesto Gnocchi

30 minServes 4
Share:PinterestEmail

Making gnocchi and pesto from scratch isn’t just cooking — it’s nourishment for the whole family. This homemade pesto gnocchi comes together in about 30 minutes, uses simple pantry ingredients, and delivers restaurant-quality flavor at a fraction of the cost. Pillowy potato gnocchi tossed in a vibrant walnut-basil pesto: pure comfort food that feels special every single time.

This post may contain affiliate links. If you purchase through these links, I may earn a small commission at no extra cost to you. Thank you for supporting Love & Harvest!

Crispy gnocchi with sage, butter, and Parmesan cheese served on a white plate.

Easy Pesto Gnocchi Recipe

What might sound like a labor-intensive dinner is, in fact, a 30-minute miracle. Gnocchi dough is made with just a few simple ingredients — cooked potatoes, flour, egg — and requires nothing more than your hands to shape into perfect pillowy bites. The pesto is a quick blend of fresh herbs, nuts, and olive oil, ready in minutes.

Even better? You can make both the gnocchi and the pesto ahead of time. Pack them up and take them on a picnic, or bring them to a family gathering — you’ll wow your guests with the taste and simplicity.

Delicious and Healthy

Homemade gnocchi is naturally light, free from preservatives, and gives you total control over the ingredients. And the pesto? Loaded with fresh greens, healthy fats, and nutrients. No heavy creams or hidden fillers — just clean, wholesome flavor.

For families trying to eat healthier without giving up comfort foods, this dish is gold. You can swap in spinach or kale for part of the basil, or use walnuts or sunflower seeds instead of pine nuts — making it allergy-friendly and affordable. A wholesome, speedy, and rewarding recipe your family will love.

Why We Love This Recipe

There’s something magical about cooking from scratch — especially when it takes place on a floured countertop, with your hands in the dough, your kids watching, and a warm kitchen filled with fresh basil and garlic aromas. This homemade pesto gnocchi recipe isn’t just a meal — it’s a moment.

It’s fast (yes, really), affordable, and so satisfying to make. You don’t need a pasta machine or fancy tools — just a fork, a counter, and the will to try. Once you make homemade gnocchi, you’ll wonder why you ever bought the store-bought version.

Key Ingredients

Ingredients

Russet Potatoes

  • The base of the gnocchi — light, starchy, and perfect for creating that soft, pillowy texture. Boiled and mashed while warm, they hold the dough together with minimal flour. Always use russet (not waxy) potatoes for the lightest result. A food processor can help make the pesto smooth and effortless.

Fresh Basil

  • The star of the pesto. Fragrant, peppery, and vibrant green — it gives the sauce its unmistakable Italian soul. Use loosely packed leaves and avoid any stems that are thick and bitter. Fresh basil cannot be substituted with dried for pesto.

Walnuts

  • Traditional pesto uses pine nuts, but walnuts are an affordable and equally delicious substitute. They add creaminess, a hint of sweetness, and healthy omega-3 fats. Lightly toast them for a few minutes in a dry pan to deepen the flavour before blending.

Egg Yolk

  • Just one egg yolk adds richness to the gnocchi dough and binds it gently without making it heavy. The key is not to over-knead the dough once the egg is added — overworking it activates the gluten in the flour and makes gnocchi tough.

Extra Virgin Olive Oil

  • Silky and flavourful, olive oil brings the pesto together and is the key to its glossy, smooth texture. Choose a good-quality extra virgin olive oil for the best taste — it’s one of only a few ingredients, so quality shows. A KitchenAid immersion blender is also a great tool if you prefer to blend right in the jar.

Parmesan Cheese

  • Adds a salty, nutty depth to the pesto. Use freshly grated parmesan rather than pre-packaged grated cheese — the texture and flavour are noticeably better. Leave it out for a dairy-free version; the pesto is still delicious.

Family Favourite

Whether you’re cooking with your kids or for them, this is a recipe that brings everyone together. Let the little ones help roll and shape the gnocchi (expect floury giggles). The pesto is kid-approved too — smooth, creamy, and a vibrant green that makes dinner feel special.

Serve it warm, or pack it into a jar for a cold pasta salad-style lunch at the park. It keeps well, tastes even better the next day, and never fails to bring out the “Wow, you made this?!” from friends and family.

Homemade pesto gnocchi tossed in walnut-basil pesto

If you love pasta night, our Easy Camping Shrimp Pasta is another quick crowd-pleaser, or try our Fluffy Naan Bread to serve alongside this gnocchi as a complete Italian-inspired spread. For a protein-packed main to serve with the pesto, our Lemongrass Chicken Drumsticks pair beautifully.

Frequently Asked Questions

Can I make gnocchi ahead of time?

Yes! You can make gnocchi dough up to a day ahead and store it covered in the refrigerator. Alternatively, shape the gnocchi, dust with flour, spread on a baking sheet, and freeze until solid — then transfer to a zip-lock bag. Cook from frozen, adding 1–2 minutes to the boiling time. The pesto keeps refrigerated for up to 5 days with a thin layer of olive oil on top.

Why is my gnocchi dense or rubbery?

The most common culprit is too much flour or over-kneading the dough. Add flour sparingly — just enough so the dough isn’t sticky. Mix gently and stop as soon as the dough comes together. The other common issue is using waxy potatoes like Yukon Gold; stick to starchy russet potatoes for the lightest result.

Can I use store-bought pesto?

Absolutely, and it will still be delicious. However, the homemade walnut-basil pesto takes only 5 minutes and tastes significantly fresher. If you’re short on time, jarred pesto works in a pinch — just add a squeeze of lemon juice and a little extra parmesan to brighten it up.

How do I know when gnocchi is cooked?

Gnocchi is done when it floats to the surface of the boiling water, which takes about 2–3 minutes. Once they float, give them another 30 seconds then scoop them out with a slotted spoon rather than draining — this prevents them from getting waterlogged and keeps them light.

Can I pan-fry the gnocchi after boiling?

Yes, and it’s highly recommended for extra texture! After boiling and draining, heat a knob of butter or a splash of olive oil in a pan over medium-high heat. Add the gnocchi in a single layer and let them crisp up for 2–3 minutes per side without moving them. Toss with pesto just before serving. The crispy edges with the creamy pesto is an upgrade worth trying.

Homemade Pesto Gnocchi

Prep20 min
Cook10 min
Total30 min
Serves
4 people

Ingredients

  • 2 medium russet potatoes (about 500g)
  • 1 egg yolk
  • 1 cup all-purpose flour (plus more for dusting)
  • pinch sea salt
  • 1½ cup fresh basil leaves (loosely packed)
  • ½ cup parsley leaves (loosely packed)
  • ¼ cup chopped walnuts (or other preferred nuts)
  • 1 garlic clove
  • ½ tsp sugar
  • 1 tsp balsamic vinegar
  • ½ cup extra virgin olive oil
  • ½ freshly squeezed lemon juice
  • ¼ cup freshly grated parmesan cheese
  • sea salt
  • black pepper

Instructions

  1. 1Boil the potatoes whole, with skins on, until fork-tender (about 20 minutes).
  2. 2Let cool slightly, then peel and mash while still warm.
  3. 3Add the egg yolk, salt, and flour. Gently knead on a floured surface until just combined—don't overwork it.
  4. 4Divide dough into 4 pieces. Roll each into a rope about ½-inch thick. Cut into 1-inch pieces and press lightly with a fork for texture (optional).
  5. 5Bring a large pot of salted water to a boil. Drop in gnocchi; once they float (about 2–3 minutes), they're ready.
  6. 6Blend all the ingredients together in a food processor (except olive oil). I usually use the pulse button to get a chunkier texture, but you can run it continuously for a smoother texture.
  7. 7Slowly drizzle in olive oil while blending until smooth. Season with salt and pepper.
  8. 8Toss and Serve: Drain the gnocchi and toss with the pesto while still warm. Garnish with more cheese or fresh herbs.

Nutrition per serving

520
Calories
10g
Protein
52g
Carbs
31g
Fat
3g
Fiber
2g
Sugar
340mg
Sodium

Recipe by Love & Harvest

Made this recipe? Leave a rating

Shop What You'll Need

Instant Pot Duo 7-in-1

Instant Pot Duo 7-in-1

Used in our chili, menudo, and black garlic recipes.

Philips Pasta & Noodle Maker

Philips Pasta & Noodle Maker

Makes fresh beet pasta in 3 minutes flat.

Lodge Cast Iron Dutch Oven

Lodge Cast Iron Dutch Oven

Perfect for campfire cooking and one-pot family dinners.

* As an Amazon Associate I earn from qualifying purchases.

Nutritional information is estimated and may not be accurate. It is for informational purposes only. Consult a registered dietitian for personalised dietary advice.

Allergen notice: Recipes may contain common allergens including gluten, dairy, eggs, nuts, soy, sesame, or shellfish. Always verify ingredient labels if you have food allergies.

Samantha Chow

Recipe by

Samantha Chow

Recipe Developer

136+ Recipes3 Kid Critics4 Culinary Influences

Canadian designer cooking her way through Mexico. Three kids, one kitchen, a world of flavours. Read Sam's full story →

Free Download

Get 7 Quick 30-Minute Family Dinners — Free

Sam's most-requested weeknight dinners, on the table in 30 minutes. For families who want to eat well even on crazy nights.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.

We use cookies to analyse site traffic and serve personalised ads. By clicking "Accept All", you agree to our Cookie Policy.