Skip to main content

Gnocchi with Fresh Basil Pesto Recipe

| ~6 min read | Gnocchi

Sections
  1. Ingredients
  2. Instructions
  3. Tips
  4. Serving Suggestions
  5. Variations
  6. Storage and Reheating
  7. Frequently Asked Questions

Gnocchi with fresh basil pesto is a fast, satisfying dish that pairs soft potato dumplings with a bright, uncooked sauce of basil, pine nuts, garlic and Parmesan. The pesto comes together in a food processor or mortar in minutes while the gnocchi boil, so the whole dish is on the table in under half an hour. It works because the starchy gnocchi absorb the oily, herby sauce without turning heavy, and a splash of the cooking water loosens everything into a glossy coating.

Ingredients

  • 500 g (about 1 lb 2 oz) potato gnocchi, fresh or shelf-stable
  • 60 g (2 packed cups) fresh basil leaves, stems removed
  • 50 g (1/2 cup) pine nuts, lightly toasted
  • 2 medium garlic cloves, peeled
  • 60 g (2/3 cup) finely grated Parmesan or Pecorino Romano
  • 120 ml (1/2 cup) extra-virgin olive oil
  • 1/4 teaspoon fine sea salt, plus more for the water
  • Freshly ground black pepper, to taste
  • Optional: 1 tablespoon unsalted butter for tossing

Instructions

  1. Toast the pine nuts. Put them in a dry skillet over medium-low heat and stir constantly for 3 to 5 minutes, until fragrant and pale gold. Tip them onto a plate to cool so they don't scorch in the hot pan.
  2. Make the pesto. In a food processor, pulse the garlic and salt until finely chopped. Add the basil and pine nuts and pulse about 8 to 10 times, until coarsely chopped. With the machine running, drizzle in the olive oil in a thin stream until the mixture is loose but still slightly textured. Stop and scrape down the sides once. Pulse in the Parmesan and a few grinds of pepper. Do not over-blend; heat from the blade dulls the basil and turns it dark. If you don't have a processor, pound the garlic and salt in a mortar, add the basil and nuts, then work in the oil and cheese.
  3. Bring a large pot of water to a boil. Use at least 4 litres (4 quarts) of water and add 1 tablespoon of salt per 4 litres. Salt the water once it boils, not before.
  4. Cook the gnocchi. Add them all at once and stir gently once so they don't stick. Fresh gnocchi float in 1 to 2 minutes; shelf-stable ones usually take 2 to 3 minutes. They are done when they rise to the surface and hold there for about 30 seconds. Check the package timing as a guide, then taste one.
  5. Save some water, then drain. Scoop out about 120 ml (1/2 cup) of the cooking water before draining. Drain the gnocchi gently in a colander; don't rinse them.
  6. Toss and serve. Return the gnocchi to the warm pot off the heat. Add the pesto and a splash of the reserved water, then fold gently with a rubber spatula until every piece is coated. Add more water a tablespoon at a time if the sauce looks dry. Taste, adjust salt and pepper, and serve immediately.

Tips

  • Keep the basil cold and the blade brief. Basil bruises and oxidises quickly. Use dry leaves, pulse rather than purée, and add the cheese last. If the pesto turns dark, it is still safe to eat; the flavour is just slightly muted.
  • Don't crowd the pot. Cook gnocchi in batches if your pot is small. Crowding drops the water temperature, and the dumplings turn gluey before they float.
  • Watch the salt. Parmesan is salty, so taste the pesto before adding more salt, and salt the pasta water moderately rather than heavily.
  • Toast nuts ahead. Toasted pine nuts keep for weeks in an airtight jar, so make a double batch. Walnuts or almonds work if pine nuts are unavailable or too costly.

Serving Suggestions

Serve the gnocchi straight from the pot in warmed bowls, with extra grated Parmesan and a crack of black pepper on top. A handful of halved cherry tomatoes or a few torn mozzarella pieces turn it into a fuller meal. Pair it with a simple green salad dressed with lemon and olive oil, or with grilled vegetables. It also works as a side for roast chicken or fish, in which case use about half the pesto and toss lightly.

Variations

  • Nut-free: Replace the pine nuts with toasted sunflower seeds or pumpkin seeds.
  • Lemon-basil pesto: Add the finely grated zest of 1 lemon and 1 teaspoon of juice to the pesto for a sharper edge.
  • Spinach or rocket pesto: Swap half the basil for baby spinach or rocket; the colour stays vivid and the flavour is milder.
  • Creamy version: Stir 2 tablespoons of mascarpone or ricotta into the pesto before tossing, loosening with pasta water as needed.
  • Add protein: Fold in cooked shredded chicken (cooked to 165°F / 74°C) or pan-seared prawns (cooked to 145°F / 63°C) at the end. Keep any added meat or seafood hot and serve right away.

Storage and Reheating

Pesto keeps in a sealed jar in the fridge for up to 5 days; press plastic wrap onto the surface or float a thin layer of olive oil on top to slow browning. It freezes well in ice-cube trays for up to 3 months. Cooked gnocchi with pesto is best eaten fresh, but leftovers can be refrigerated within 2 hours (1 hour if the room is above 90°F / 32°C) and kept at 40°F (4°C) or below for up to 3 days. Reheat in a covered skillet over medium-low heat with a splash of water, tossing until steaming hot, or microwave in 30-second bursts, stirring between each. Reheat leftovers to 165°F (74°C) and do not reheat more than once.

Frequently Asked Questions

Do I need to rinse the gnocchi after boiling?

No. Rinsing washes away the surface starch that helps the pesto cling. Drain them gently and toss them while still hot.

Why did my gnocchi fall apart in the water?

They were probably overcooked or the water was at a rolling boil that battered them. Keep the water at a steady boil, stir once at the start, and pull them out as soon as they float and hold at the surface.

Can I make the pesto ahead of time?

Yes. Make it up to 2 days ahead and refrigerate it in a sealed container with a film of oil on top. Bring it to room temperature and stir before tossing, since cold pesto clumps.

Is it safe to eat pesto made with raw garlic?

Yes, for most people. The garlic is finely chopped and used in a small quantity. Anyone advised to avoid raw garlic or raw egg should check with their doctor; this recipe contains no raw egg, so it is suitable for most diets.

Can I use store-bought pesto instead?

Absolutely. Use about 150 g (2/3 cup) of good-quality refrigerated pesto and loosen it with 2 to 3 tablespoons of the gnocchi cooking water before tossing.

How much salt goes into the cooking water?

Roughly 1 tablespoon of salt per 4 litres (4 quarts) of water is enough to season the gnocchi without overpowering the pesto. Add it once the water is boiling.

Similar articles