Learn how to make pesto pasta with this quick and easy recipe! Bright, bold, and flavorful, it's one of our favorite weeknight dinners.
This pesto pasta recipe is pretty much my ideal weeknight dinner. It’s SO easy to make—just blend up the vibrant pesto sauce and toss with your favorite pasta shape—but it’s still incredibly flavorful. It’s bursting with notes of fresh basil, nutty Parmesan, and brightness from lemon.
I’m sharing a quick guide to how to make pesto pasta below. Sure, this classic Italian dish is simple, but there are a few tips and tricks you should know in order to get it just right. Don’t toss your pasta cooking water, watch the heat, and season to taste for a perfect bowl of pesto pasta. Once you master it, you won’t be able to help making it on repeat. It’s too delicious not to!
How to Make Pesto Pasta
You can find the full recipe with measurements at the bottom of this post. For now, here’s a quick overview of how it goes:
- Start by making the pesto. Blend up a batch of my homemade basil pesto, or use store-bought pesto in a pinch. You’ll use 1 full recipe of the homemade pesto on the pasta, about 1 cup. If you use store-bought, you’ll likely need less. Start with 1/3 cup and add more as needed.
- Then, prepare the pasta. Cook it in a large pot of salted boiling water according to the package directions. I often use a long pasta shape like spaghetti, linguine, or bucatini in this recipe, but short pasta works too. Try rigatoni or penne pasta, or use gemelli or fusilli. Twisted trofie are actually the traditional choice in Italy!
- Reserve some pasta water. Before draining the pasta, reserve 1 cup of the starchy pasta cooking water.
- Combine the pesto and pasta off the heat. Toss them together in a large skillet. Add 1/2 cup of the reserved pasta water and toss until the pasta is coated in a lightly creamy pesto sauce, adding more pasta water as needed.
- Finally, check the seasoning. Add an extra squeeze of lemon juice or more salt and pepper to taste if needed. Garnish with freshly grated Parmesan and basil and serve!
Find the complete recipe with measurements below.
Pesto Pasta Recipe Tips
Never made pesto pasta before? Here are a few tips to get you started:
- Reserve some pasta water. My #1 tip for this recipe! The salty, starchy pasta cooking water will loosen the pesto enough to make a light sauce over the pasta. Because of its salty, starchy quality, this water will make a more flavorful, thicker final pesto sauce than regular water would. Note that you’ll likely need less pasta water if you’re using store-bought pesto.
- Pesto doesn’t like heat. Instead of combining the pesto and pasta in the hot pasta pot, I recommend tossing them together in a room temperature skillet. That’s because basil is sensitive to heat. If you heat it too much, it can become black and shriveled, giving the pesto a drier quality. I typically don’t heat the pasta at all after adding the pesto, but if you’d like, you can warm it over very low heat, adding pasta water as needed to keep the pesto creamy.
- Taste and adjust. Pestos vary in brightness, saltiness, and intensity, so make sure you taste and adjust your final dish before serving. Depending on your pesto, you might need to add an extra squeeze of lemon, a pinch of salt, or a big grind of black pepper to make the flavors sing.
Pesto Pasta Recipe Variations
Like all simple recipes, this one’s fun to play with. Here are a few ideas to change it up:
- Use another nut. Make homemade pesto with walnuts, almonds, or pepitas instead of pine nuts.
- Add leafy greens. Finish the dish with a handful of spinach or arugula.
- Mix in extra veggies. Toss in fresh or roasted cherry tomatoes, roasted cauliflower, or roasted asparagus.
- Make it cheesy. Stir in some mini mozzarella balls before serving.
- Spice it up. Sprinkle the pasta with red pepper flakes.
- Use another type of pesto. Try using kale pesto or broccoli pesto for a cold weather variation. You can also use vegan pesto and skip the cheese to make this recipe vegan.
- Try another “noodle.” Use spaghetti squash or zucchini noodles instead of regular pasta.
What’s your favorite twist on this classic dish? Let me know in the comments!
More Easy Pasta Recipes
If you love this recipe, try one of these easy pasta dishes next:

Easy Pesto Pasta
Ingredients
- 1 recipe homemade basil pesto, prepared with ⅓ cup olive oil, see notes to use store-bought pesto*
- 12 ounces spaghetti pasta**
- Freshly grated Parmesan cheese, for serving
- Fresh basil leaves, for garnish
- Sea salt and freshly ground black pepper
Instructions
- Prepare the pesto according to this recipe, using ⅓ cup olive oil.
- Bring a large pot of salted water to a boil. Prepare the spaghetti according to the package instructions, cooking until al dente. Reserve 1 cup of the pasta cooking water, then drain.
- Transfer the pasta to a large skillet. Add the pesto and ½ cup*** of the starchy pasta water and toss to coat, adding more pasta water as needed to coat the pasta in a lightly creamy sauce. If desired, gently warm the pasta over low heat.
- Season to taste and serve topped with freshly grated Parmesan and lots of basil.
Notes
Very nice
So glad you enjoyed it!
My basil needed to be harvested, so we had this delicious dish on a hot summer evening! I used cashews & spinach since that’s what I had on hand, and threw whole cashews on top, with added parm…sooooo good! =)
I’m so glad you enjoyed it!
can we substitute spaghetti for another pasta, farfalle?
Any pasta shape will work here!
This is so so good!!!
And this is just as amazing using store-bought pesto and more arugala/spinach in the bowl under the finished pasta – so tasty
I’m so glad you enjoyed it!
I made the pesto pasta for my niece’s family yesterday while she was in the hospital. I doubled the recipe and everyone loved it and it so easy to make.
I’m so glad everyone loved it, I hope your niece is doing well.
Hi Jeanine,
I love your website. I made the pesto pasta. It came out wonderful. I love Italian food. I live in India and your website is truly an inspiration and a treasure chest of vegetarian recipes. I love to cook and I am vegtarian. I stumbled upon your website on google and I am so lucky.
—Love
Minnie
Hi Minnie, I’m so glad you’ve been enjoying the recipes!
<3 < 3
But TBH, you could have broken the up the pesto and pasta recipes. Into different sections. My delicate eyes need some extra help pleazeeeee.
Very simple and delicious!
I also added a dash of dried peppermint leaves, chopped green bell pepper, and black olive slices
This looks very good. Never done it. Never had a Mother who tught me how to cook.You can say those mothers are too bussey taken care of babys not what you do. She told me i was her worst child then all the rest she had. Her name is JoAnn. I never knew a Mother say that about 1 of her grils.
Great balance of flavors, thanks! And i always love making use of that pasta water
Yum! My favorite way to eat pesto is one a thick slice of toasted seeded bread, with Vegan mozz, and piled high with tomato basil salad. Best Bruschetta evaahhh!
sounds so delicious!
This looks so amazing! I love Italian food! I’m staying in Indonesia and it is so hard to get these high class Italian ingredients. I just keep looking at your recipes and drool! Thank you for these great recipes 😀
Hi Jeanine,
I just recently stumbled on your website.
I wanted to compliment you first on your visually beautiful website and imagery….! Secondly, your recipes are wonderful!!
Thank you for the inspiration and recipes!!
Susan
Definitely need to make this! I love pasta and pesto!
might have to break my diet for this (pasta not otherwise allowed!) but I do get a day off each week, so I’ll spend it on this, love pesto pasta, craving it actually, and love pine nuts of course!
Oh my…this may be the most stunning pasta ever!
I am so excited to learn about this. My partner is a teacher in the Pullman neighborhood. There are a lot hidden gems there.
Mmmm… love me some arugula. And some pesto. And some pasta! Perhaps I should give this a try lol…
Can you link up the Gotham Greens Pesto recipe. You talk about “this recipe” in terms of a pesto but the only link is to a Kale pesto. Is that what “this recipe” refers to? Thanks!
sorry that was unclear! Their pesto is a product and not a recipe so I linked my favorite pesto recipe for those that don’t have Gotham Greens available locally.