Pasta with Pesto Sauce

This Pesto Pasta is a must-have for your easy-dinner arsenal!

This Pesto Pasta is bursting with fresh basil, garlic, Parmesan, and a bright kiss of lemon. Thanks to expert techniques, every bite is silky, perfectly coated, and packed with bold, restaurant-quality flavor! Follow along for step-by-step photos, expert tips, and variations!

Watch: How to make Pesto Pasta

showing how to make pesto pasta recipe by tossing pesto with linguine pasta


 

Why you’ll love this Basil Pesto Pasta

This Pesto Pasta recipe was tested and perfected for flawless flavor and texture, with expert techniques that elevate every bite into a silky, aromatic, restaurant-quality dish. Here’s why you’ll love it:

  • Homemade pesto shines: Fresh, fragrant, and full of flavor without any additives or preservatives—no jarred sauce can compete.
  • Quick luxury: Ready in just 30 minutes with a few simple ingredients and a few pulses in your food processor, you have a lazy yet lavish meal.
  • Expert techniques elevate: Lemon juice keeps it bright, toasted pine nuts add sweetness, Parmigiano-Reggiano adds complexity, and careful blending prevents bitterness.
  • Silky, glossy sauce: Tossed with starchy pasta water instead of more oil, the pesto emulsifies into a luscious, yet light, aromatic sauce that glides effortlessly over the pasta.
  • Roasted veggie perfection: The veggies add pops of flavor and texture, while the extra juices from roasting are added to the pasta for another exciting dimension of flavor.
top view of pesto pasta in a bowl with roasted vegetables
ingredient icon

Basil Pesto Pasta Ingredients 

This easy Pesto Pasta recipe features homemade basil pesto sauce! Let’s take a closer look at what you need to make this recipe (measurements in the printable recipe card at the bottom of the post):

FOR THE PESTO

  • Fresh basil: Use Genovese basil with smooth, bright green leaves and a delicate floral aroma. Avoid thick, veiny, or spotted leaves, which can make pesto dark and stringy.
  • Parmesan cheese: Freshly grated Parmigiano-Reggiano from Italy (aged at least 2 years) delivers the richest, most complex flavor—skip pre-shredded or powdered cheese.
  • Pine nuts: Raw, unsalted Italian or Mediterranean pine nuts (Pinus Pinea) are sweeter, creamier, and less likely to cause “pine mouth.”
  • Garlic: Choose plump, young garlic heads for pungent flavor; adjust quantity to taste.
  • Lemon juice: Brightens both the pesto and pasta; fresh is best, bottled works in a pinch.
  • Olive oil: Use extra virgin olive oil for bold flavor, regular for milder taste, or a blend to suit your preference.
  • Salt and pepper: Essential for seasoning—finish generously with freshly cracked pepper.
showing how to make pesto pasta recipe by tossing pesto, pasta and roasted vegetables in a large bowl

FOR THE PASTA AND VEGETABLES

The vegetables are roasted with homemade pesto, olive oil, salt, and pepper.  You can use the below vegetables or mix and match your favs with similar roasting times, or omit the veggies altogether. 

  • Linguine: Cook just until al dente, and generously salt the water for flavorful pasta.
  • Cherry tomatoes: Roasting makes them sweet and juicy; grape tomatoes work too.
  • Asparagus: Use medium spears so they cook evenly with the zucchini and tomatoes.
  • Zucchini: Slice into ½-inch half-moons; smaller zucchini are tender and flavorful, while thick ones can be fibrous and watery.

How to Make Pesto Pasta

Let’s take a closer look at how to make this recipe with step-by-step photos (full recipe in the printable recipe card at the bottom of the post):

Step 1: Roast the Vegetables  

  • Add the chopped veggies to a baking sheet and toss with a little pesto, olive oil, salt, and pepper. It will seem like a lot of oil/pesto, but it will be mixed into the pasta later for an extra-flavorful sauce.
  • Spread the veggies out in a single layer once they’ve been seasoned and roast at 400ºF until the asparagus is crisp-tender. 
showing how to make pesto pasta recipe by roasting vegetables on a baking sheet

Step 2: Make the Basil Pesto Sauce 

  • Preheat a nonstick skillet over medium-high heat. Do NOT add oil to the pan! 
  • Add the pine nuts and toast them just until golden in spots. Immediately remove from the skillet so they don’t continue to cook. Be careful; pine nuts can go from being perfectly golden to burnt in a matter of seconds. 
  • Add all the pesto ingredients except the olive oil to a food processor and then pulse to chop. 
  • With the food processor running, slowly drizzle in the olive oil until fully combined.
a collage showing how to make pesto pasta by 1) toasting pine nuts, 2) adding pine nuts, basil, garlic and basil to a food processor, 3) chopping the ingredients, 4) streaming in the olive oil

showing how to make pesto pasta recipe by processing pesto until smooth

Step 3: Cook the Pasta

  • Cook the pasta in salted water according to package directions. You want the pasta to be al dente, meaning it should still have some bite to it.  
  • Reserve 1 cup of the pasta water before you drain the pasta.

Step 4: Assemble the Pesto Pasta

  • Add the drained pasta to a mixing bowl.  
  • Add the prepared pesto and additional lemon juice. 
  • Toss to coat pasta in pesto, adding reserved pasta water a little at a time if needed to make the pasta silky and saucy, rather than dry and sticky.  
  • Stir in the roasted vegetables.  
  • Serve immediately, garnished with freshly grated Parmesan.
showing how to make pesto pasta recipes by tossing pesto, pasta and vegetables together
showing how to make pesto pasta recipe by tossing pasta with pesto

Pesto Pasta Variations

This Pesto Pasta recipe is the ideal recipe to make your own. You can adjust the pesto itself or add protein, sun-dried tomatoes, etc. to the dish. Here are a few ideas:

Pesto Variations:

  • Try different basil varieties: Large-leaf Italian, lemon, mint, or Greek basil; each brings unique flavors.
  • Swap greens: Mix in parsley, cilantro, arugula, kale, spinach, or a combination for a twist.
  • Add herbs: Boost flavor with marjoram, thyme, oregano, or extra mint.
  • Swap cheese: Use Pecorino Romano for sharpness, or Cotija with cilantro and pepitas for a creative twist.
  • Swap nuts: Replace pine nuts with cashews (best option), almonds, walnuts, pecans, or pistachios.
  • Go nut-free: Use pumpkin seeds, pepitas, or hemp seeds instead of nuts.
  • Boost flavor: Add sun-dried tomatoes, roasted peppers, jalapeños, capers, olives, or artichokes.
  • Add heat: A pinch of red pepper flakes brightens the pesto
  • Make it vegan: Replace the cheese with a non-dairy alternative or 3 tablespoons of nutritional yeast for a nutty, cheesy flavor.

pasta Variations:

  • Pesto forward: Start with less and add more to taste, depending on how bold you want the flavor to be.
  • Vegetable variations: Use any roasted, sautéed, grilled, or leftover cooked veggies; just adjust cooking times as needed.
  • Protein options: Add your favorite proteins—pan-seared chicken, Italian sausage (beef, turkey, or chicken), roasted or butter-garlic shrimp, or crispy bacon—stirring in at the end of cooking.
  • Lemon Pesto Pasta: Add 1 tablespoon at a time of extra lemon juice for a bright, citrusy flavor.
  • Creamy Pesto Pasta: Stir in heavy cream instead of pasta water for a richer, silkier sauce.
  • Sun-dried tomatoes: Add ¼ cup chopped sun-dried tomatoes in oil for a zesty twist.
  • Gluten-free option: Use your favorite gluten-free pasta; the rest of the recipe is naturally gluten-free.
a bowls of pesto pasta with basil pesto

Pesto Sauce Pasta FAQs

What is pesto?  What is pesto made of? 

Classic Pesto is an uncooked basil cheese sauce or condiment made of fresh basil, Parmigiano Reggiano, pine nuts, garlic, extra virgin olive oil, salt and pepper– sometimes with some Pecorino as well. The ingredients are combined in a food processor then finely chopped to create a thick green sauce. 

Where is pesto from?   

Pesto originated in Genoa, Italy, around the 16th century.  The name pesto comes from the Genoese word pestâ, which means to pound or to crush.  This refers to the original method of preparing pesto with a mortar and pestle. Today, pesto sauce is incredibly quick and easy to make in the food processor with countless variations. 

What does pesto pasta taste like? 

Basil pesto is bright, herby, and peppery with a hint of anise from the basil, salty, nutty, and rich from the Parmesan, buttery and nutty from the pine nuts, garlicky from the garlic, with a pleasant, rich, herby grassiness from the extra virgin olive oil.

Is pesto always basil? 

Classic basil pesto, Pesto Alla Genovese, is by far the most popular. In fact, whenever you see the word “pesto” on a restaurant menu or in a recipe without any clarification, it is unmistakably referring to basil pesto.  There are, however, thousands of variations of pesto sauce. Pesto can be made with any leafy green instead of basil, such as parsley, arugula, kale, or spinach, any nuts such as almonds, walnuts, cashews, or pistachios, and additions such as lemon zest, sun-dried tomatoes, and even ricotta. So, let your imagination run wild!

How long does pesto last? 

This basil pesto is made with natural, fresh ingredients, so it needs to be stored in the refrigerator. It will keep in an airtight container in the fridge for up to 5 days, but is freshest/best/most flavorful if used within the first 3 days. The oil will separate to the top after it has been sitting, so just give the homemade pesto a stir once ready to use.

How to keep pesto from turning brown? 

Browning is a natural process that occurs when the chopped basil is exposed to the air (oxidation). There are three ways to help prevent browning:
 
1. Limit the exposure to air by pressing plastic wrap directly on the surface of the pesto before sealing to store.
2. Pour a thin layer of olive oil on top of the pesto to cover its surface before sealing to store.
3. Blanch the basil leaves briefly before processing.  It locks in the bright green color of the leaves. To blanch the basil, dunk the basil leaves into boiling water for 5 to 10 seconds, then submerge in ice water. Pat the leaves completely dry before making the pesto.
 
Note that you only need to use one of these tactics if you make the pesto in advance and store it separately before preparing the entire pasta dish! 

serving pesto pasta by twirling pesto pasta recipe on a fork

WANT TO TRY THIS Pesto Pasta RECIPE?

PIN IT TO YOUR Pasta, dinner or 30 minute recipe BOARD TO SAVE FOR LATER!

FIND ME ON PINTEREST FOR MORE GREAT RECIPES!  I AM ALWAYS PINNING :)!

©Carlsbad Cravings by CarlsbadCravings.com

Pasta with Pesto

Pesto Pasta is a deliciously cheesy, garlicky and herbaceous meal with the option of roasted veggies!  It’s light, vibrant and comforting, brimming with peppery basil, nutty pine nuts, zingy garlic, rich olive oil, a kiss of lemon, and a crescendo of Parmesan cheese.  Serve it with garlic bread and Caesar salad for an easy fresh taste of summer!
Servings: 6 servings
Prep Time: 20 minutes
Cook Time: 15 minutes

Save This Recipe To Your Recipe Box

You can now create an account on our site and save your favorite recipes all in one place!

Ingredients

PASTA

PESTO

ROASTED VEGETABLES (OPTIONAL)

  • 1 tablespoon olive oil
  • 1 12 oz. pkg. pkg. cherry tomatoes
  • 1 small zucchini, halved and sliced 1/2-inch thick
  • 1/2 bunch asparagus, ends trimmed, cut into 1” pieces
  • 1/2 teaspoon salt
  • 1/4 teaspoon pepper

Instructions

  • Prep: Preheat the oven to 400°F. Begin boiling the water for the pasta.
  • Pesto: Preheat a skillet over medium-high heat (without any oil). Add pine nuts and toast until golden in spots. Immediately transfer the nuts to a food processor to prevent them from continuing to cook.on’t continue to cook.
  • Add the remaining pesto ingredients EXCEPT the olive oil (basil through pepper) to the food processor. Pulse until finely chopped.
  • With the food processor running, slowly drizzle in the olive oil until fully combined; set aside.
  • Roasted Vegetables: Add vegetables to a baking sheet lined with foil or a non-stick mat. Toss with 1 tablespoon olive oil, 2 tablespoons homemade pesto, ½ teaspoon salt, and ¼ teaspoon pepper. (There will be a generous amount of oil/pesto – this will transfer to the pasta later). Roast at 400°F in a single layer for 12-15 minutes or until asparagus is crisp-tender.
  • Pasta: Meanwhile, cook pasta al dente in generously salted water according to package directions. Reserve 1 cup of pasta water before you drain the pasta.
  • Combine: Add drained pasta to a very large mixing bowl or cold pot, OFF HEAT, along with all of the pesto, ¼ cup reserved pasta water, and 2 tablespoons lemon juice. Toss to coat the pasta. Stir in roasted vegetables and pan juices; toss again, adding reserved pasta water a little at a time if needed to make the pasta silky and saucy rather than dry and sticky. You can also alternate the reserved pasta water with a drizzle of olive oil if you like. Taste, and season with additional salt, pepper, and lemon juice if desired.
  • Serve immediately, garnished with plenty of freshly grated Parmigiana Reggiano, and freshly cracked pepper.

Video

Notes

Tips and Tricks

  • Watch the olive oil: Different olive oils have different flavors and strengths, even extra virgin olive oil, so choose what you like best.
  • Don’t over-process the olive oil or your pesto sauce will taste bitter: Extra virgin olive oil is super sensitive to mechanical agitation – as in a blender or a food processor.  Meaning, if you over-process the oil, its polyphenols can break away from the fatty acids causing oxidation which will make the pesto taste bitter. If you’re worried about this, you may stir the olive oil in by hand.
  • Cook the pasta in less water. I recommend cooking the pasta in a large Dutch oven so that it will fit the length of the dish, allowing you to use less water. This will make the water extra starchy, which creates the most luscious glossy, thick pesto sauce (see below).
  • Adjust the Pesto Pasta recipe to taste:  As with all recipes, it is important to make this recipe right for YOU, especially because pesto is made with living ingredients that will vary in brightness, saltiness, and overall intensity of flavor.  You may find you need extra Parmesan, an extra squeeze of lemon or loads of freshly cracked pepper.  So, prepare to be flexible!
  • Recipe variations: See post for lots of recipe variations such as making it creamy, adding chicken, using different nuts, etc.
  • Vegan Pesto Pasta: Substitute the cheese with a non-dairy cheese or add 3 tablespoons of nutritional yeast. Nutritional yeast is nutty and cheesy.
  • Gluten Free Pesto Pasta: Use your favorite gluten free pasta. The rest of the ingredients are gluten free.

Meal Prep

This Pesto Pasta recipe can be made completely in advance or you can prepare the individual ingredients ahead of time:
  • Pesto: Can be prepared and refrigerated for up to three days. It’s a fresh sauce, so it doesn’t have a long shelf life. 
  • Parmesan: Can be grated and stored in an airtight container in the fridge until ready to use.
  • Veggies: Can be chopped or sliced, then stored in an airtight container in the fridge until ready to roast. I don’t recommend roasting the veggies and then assembling the pasta at a later date. Roast the veggies just before assembling the pasta for the best flavor and texture. 

How to store and reheat

Basil Pesto Pasta reheats like a dream in the microwave or on the stovetop. You may need to add a little olive oil and/or water if the pasta looks dry. 
  • Microwave: Microwave small portions for 1 minute, stir, then continue to heat at 30-second intervals until warmed through.
  • Stove: For larger portions, reheat pasta gently on the stove over medium-low heat, stirring occasionally. 

Did You Make This Recipe?

Tag @CarlsbadCravings and Use #CarlsbadCravngs

Leave a Review, I Always Love Hearing From You!

Reader Interactions

leave a review

Your email address will not be published. Required fields are marked *

2 Comments

  1. Brenda says

    This was amazing and so easy to make, made with fresh veggies from my friends garden .

    • Jen says

      That sounds heavenly! I am so glad you enjoyed the recipe!