Skip to main content

Perfect Pesto Pasta

This classic pesto pasta is a vibrant vegetarian dish that celebrates the punchy flavours of fresh basil and rich extra-virgin olive oil. By toasting the pine nuts before blending, you add a sophisticated depth and nuttiness that elevates the sauce far beyond any shop-bought alternative. The addition of a little butter and starchy cooking water creates a silky, emulsified sauce that clings perfectly to every strand of pasta.

Ideal for a quick midweek meal or a relaxed weekend lunch, this homemade pesto is incredibly versatile and can even be prepared a day in advance. For the best results, use the finest quality Parmesan you can find and serve immediately while the pasta is glossy and fragrant. It is a nutritious, heart-healthy option that brings a taste of the Mediterranean to your kitchen.

Video picks

Continue reading below

Ingredients for Perfect Pesto Pasta

  • 80g pine nuts

  • 2 garlic cloves, finely grated

  • 90g Parmesan, grated, plus more shaved for serving

  • 6 cups basil leaves (from about 3 bunches)

  • 180ml extra-virgin olive oil

  • 1 teaspoon kosher salt, plus more

  • 350g dried long pasta

  • 2 tablespoons unsalted butter, cut into pieces

Preheat oven to 177°C. Toast pine nuts on a rimmed baking sheet, tossing once, until golden brown, 5–7 minutes. Transfer to a food processor and let cool, 5–7 minutes.

Add garlic and grated Parmesan to food processor and pulse until finely ground, about 1 minute. Add basil and, with the motor running, add oil in a slow and steady stream; continue to process until pesto is mostly smooth with just a few flecks of green remaining, about 1 minute. Pulse in 1 teaspoon salt.

Cook pasta in a large pot of boiling salted water, stirring occasionally, until al dente. Drain, reserving 120ml pasta cooking liquid.

Place pesto and butter in a large bowl. Add pasta and 60ml pasta cooking liquid. Toss vigorously with tongs, adding more pasta cooking liquid as needed, until pasta is glossy and well coated with sauce. Taste pasta and season with more salt if needed.

Divide pasta among bowls. Top with shaved Parmesan.

Do Ahead: Pesto can be made 1 day ahead. Pour oil over to cover by 1/4" to prevent browning. Press plastic wrap directly against surface and chill.

Disclaimer

While every effort has been made to ensure the information is accurate and up to date, individual needs may vary and dietary requirements can differ based on personal health conditions. Always check food labels and allergen information before preparing or consuming any recipe. If you have specific health concerns, allergies, intolerances, or are following a medically prescribed diet, seek advice from your GP, pharmacist, or a registered dietitian before making significant changes to your diet or lifestyle.

Article history

The information on this page is peer reviewed by qualified clinicians.

  • 28 Jan 2026 | Originally published

    Authored by:

    UK recipe editors

    Peer reviewed by

    UK recipe editors
flu eligibility checker

Ask, share, connect.

Browse discussions, ask questions, and share experiences across hundreds of health topics.

symptom checker

Feeling unwell?

Assess your symptoms online for free

Sign up to the Patient newsletter

Your weekly dose of clear, trustworthy health advice - written to help you feel informed, confident and in control.

Please enter a valid email address

By subscribing you accept our Privacy Policy. You can unsubscribe at any time. We never sell your data.