Pesto Gnocchi with Basil

Soft potato gnocchi coated in vibrant green homemade basil pesto sauce Save
Soft potato gnocchi coated in vibrant green homemade basil pesto sauce | homecookledger.com

Transform store-bought or fresh potato gnocchi into an elegant Italian dish with vibrant homemade basil pesto. The aromatic sauce combines fresh basil leaves, roasted garlic, toasted pine nuts, and aged Parmesan, creating a rich, herbaceous coating that clings perfectly to tender potato dumplings.

Ready in just 25 minutes, this vegetarian main comes together with minimal effort. Simply blend the pesto ingredients until smooth, boil the gnocchi until they float, and toss together for a silky, restaurant-worthy result. Reserve some pasta water to achieve the perfect velvety consistency.

The first time I made fresh pesto, I couldn't believe something so simple could taste so alive. My tiny kitchen was filled with the smell of basil and garlic, and I knew I'd never go back to jarred sauce again. Now this gnocchi dish is my go-to when I need dinner ready in under 30 minutes but still want something that feels special.

Last summer my sister came over exhausted from work, and I threw this together without really thinking. She took one bite and went completely silent, then asked if I could teach her how to make it. Now she texts me every time she makes it, usually with some variation she's discovered on her own.

Ingredients

  • 500 g potato gnocchi: Fresh from the refrigerated section cooks up the most tender, but shelf-stable works in a pinch
  • 50 g fresh basil leaves: Look for vibrant green leaves without any dark spots or wilting
  • 2 cloves garlic: Fresh garlic makes all the difference here, don't use the pre-minced stuff
  • 40 g pine nuts: Toasting them briefly in a dry pan brings out their natural sweetness
  • 60 g grated Parmesan: Invest in a wedge and grate it yourself for the best melting texture
  • 80 ml extra-virgin olive oil: This is the backbone of the sauce, so use something you really like the taste of
  • Salt and pepper: Season generously but taste as you go, the Parmesan adds saltiness too
  • Juice of ½ lemon: A squeeze of bright acidity cuts through the richness and makes everything pop
  • Extra Parmesan and basil: For serving, because more is always better when it comes to garnishes

Instructions

Get your water boiling:
Fill a large pot with water, add a generous palmful of salt, and bring it to a rolling boil while you prep everything else
Make the pesto:
Toss the basil, garlic, pine nuts, and Parmesan into your food processor and pulse until everything's coarsely chopped, then stream in the olive oil with the motor running until silky smooth
Cook the gnocchi:
Drop the gnocchi into the boiling water and wait for them to float to the surface, usually just 2 to 3 minutes
Reserve some pasta water:
Before draining, scoop out about a half cup of the starchy cooking water, then drain the gnocchi well
Bring it together:
Return the hot gnocchi to the pot, pour over that vibrant pesto, and toss gently, adding a splash of pasta water if the sauce needs help clinging to every piece
Serve it up:
Plate the gnocchi while it's steaming hot and finish with extra grated Parmesan, fresh basil leaves, and a few more toasted pine nuts
Golden brown pesto gnocchi sprinkled with grated Parmesan and fresh basil leaves Save
Golden brown pesto gnocchi sprinkled with grated Parmesan and fresh basil leaves | homecookledger.com

This recipe became a regular in my rotation after a friend came over for what was supposed to be a quick dinner. She ended up staying for three hours, just talking and picking at the last bits of pesto in the bowl. Sometimes the simplest meals create the best moments.

Making It Your Own

I've discovered that swapping half the basil for fresh spinach makes a lovely, milder version that's perfect for anyone who finds straight basil too intense. Walnuts or almonds work beautifully instead of pine nuts, especially if you're watching your grocery budget. The beauty of this dish is how forgiving it is, so feel free to play around until you find your perfect version.

Timing Is Everything

I always make the pesto first and let it sit at room temperature while the water comes to a boil. This gives the flavors time to meld together beautifully, and I've found it actually tastes better than pesto used immediately. If you're meal prepping, the pesto keeps for about a week in the fridge, just press a piece of plastic wrap directly onto the surface to prevent oxidation.

Serving Suggestions

A simple green salad with a bright vinaigrette cuts through the richness of the gnocchi perfectly. Crusty bread is practically mandatory for sopping up any extra pesto clinging to the sides of your bowl. In the summer, I love serving this with chilled white wine and letting everyone eat outside.

  • A light Pinot Grigio or Sauvignon Blanc complements the basil beautifully
  • Grilled zucchini or roasted asparagus makes an excellent side dish
  • Keep lemon wedges at the table for anyone who wants extra brightness
Creamy Italian pesto gnocchi plated with toasted pine nuts and extra cheese Save
Creamy Italian pesto gnocchi plated with toasted pine nuts and extra cheese | homecookledger.com

There's something deeply satisfying about a dish that comes together this quickly but still feels like a proper meal. I hope this becomes one of those recipes you turn to again and again, making little adjustments until it's perfectly yours.

Recipe FAQs

Absolutely. Prepare the basil pesto up to 3 days in advance and store it in an airtight container in the refrigerator. The flavors actually develop and intensify overnight. Bring to room temperature before tossing with hot gnocchi for the best consistency.

Walnuts, almonds, or cashews work beautifully as substitutes. Toast them lightly beforehand to enhance their nutty flavor. Each alternative brings a slightly different character—walnuts add earthiness, while cashews create an even creamier texture.

Use a large pot with plenty of salted water, allowing the gnocchi space to move freely. Stir gently immediately after adding to the water. Once they float to the surface, drain quickly but reserve some starchy cooking water—this liquid gold helps bind the pesto into a glossy sauce.

Freeze the uncooked gnocchi and pesto separately for best results. Cooked gnocchi becomes mushy when frozen and reheated. If you have leftovers, store them in the refrigerator for up to 2 days and reheat gently with a splash of olive oil or water.

Replace the Parmesan with nutritional yeast, vegan Parmesan, or a combination of toasted breadcrumbs and nutritional yeast for umami depth. The pesto remains luscious and flavorful, while still delivering that signature Italian herbaceous punch.

A crisp Pinot Grigio, Sauvignon Blanc, or light-bodied white wine complements the basil and cuts through the rich pesto beautifully. The wine's acidity balances the creamy sauce while refreshing the palate between bites of tender gnocchi.

Pesto Gnocchi with Basil

Fluffy potato gnocchi coated in fresh basil pesto with garlic, pine nuts, and Parmesan. A comforting Italian classic ready in under 30 minutes.

Prep 15m
Cook 10m
Total 25m
Servings 4
Difficulty Easy

Ingredients

Gnocchi

  • 1.1 lbs potato gnocchi, fresh or store-bought

Pesto

  • 1.8 oz fresh basil leaves
  • 2 cloves garlic, peeled
  • 1.4 oz pine nuts, plus extra for garnish
  • 2.1 oz grated Parmesan cheese
  • 1/3 cup extra-virgin olive oil
  • Salt and freshly ground black pepper to taste
  • Juice of ½ lemon, optional for brightness

Garnish

  • Extra Parmesan cheese, grated
  • Fresh basil leaves

Instructions

1
Prepare boiling water: Bring a large pot of salted water to a rolling boil.
2
Make the basil pesto: In a food processor, combine basil, garlic, pine nuts, and Parmesan. Pulse until coarsely chopped. With the motor running, slowly stream in the olive oil until a smooth, creamy sauce forms. Season with salt, pepper, and lemon juice if using. Set aside.
3
Cook the gnocchi: Add gnocchi to the boiling water and cook according to package directions, typically until they float to the surface, about 2-3 minutes.
4
Drain and reserve water: Drain the gnocchi through a colander, reserving a small amount of the cooking water.
5
Combine gnocchi and pesto: Transfer hot gnocchi to a large bowl and toss with the prepared pesto. Add a splash of reserved cooking water if needed to achieve a silky, coating consistency.
6
Serve and garnish: Plate immediately, topped with additional grated Parmesan, fresh basil leaves, and extra pine nuts if desired.
Additional Information

Equipment Needed

  • Large pot
  • Colander
  • Food processor or blender
  • Mixing bowl
  • Wooden spoon

Nutrition (Per Serving)

Calories 430
Protein 11g
Carbs 45g
Fat 22g

Allergy Information

  • Contains dairy from Parmesan cheese. Contains tree nuts (pine nuts). May contain gluten depending on gnocchi selection—verify labels for allergen traces.
Meredith Sloan

Passionate home cook sharing simple, family-friendly recipes and practical kitchen tips.