This pesto pasta coats spaghetti in a bright, fragrant homemade basil pesto made with pine nuts, garlic, parmesan, and olive oil. It is fresh, vibrant, and ready in about 20 minutes. The sauce has a long story behind it. Originally, pesto comes from Genoa in Liguria, and its name comes from the Genoese verb pestâ, meaning “to pound,” because it was traditionally made in a marble mortar (Wikipedia).
Key Takeaways
- Toasting the pine nuts deepens the flavor of the pesto.
- A splash of pasta water makes the pesto cling to every strand.
- Never cook pesto over high heat, or the basil turns dark and bitter.

Why Make Pesto Pasta From Scratch?
Jarred pesto is handy, but it often tastes dull and oily. By contrast, fresh pesto is bright green and full of basil aroma. Moreover, it takes just 5 minutes in a food processor.
Better still, you can adjust it to taste. For example, add more garlic, more lemon, or a handful of spinach.
Pesto Pasta Ingredients
- Fresh basil: Above all, use plenty of bright, fresh leaves.
- Pine nuts: Toasted for a nutty depth. Alternatively, walnuts work well.
- Parmesan and garlic: Together, they add savory flavor.
- Extra-virgin olive oil: In addition, a little lemon juice keeps it bright.
- Spaghetti: Similarly, linguine or trofie are great choices.
How to Make Pesto Pasta
The full measurements are in the recipe card at the end of this post. In short, here is how it works.
1. Toast the nuts. First, toast the pine nuts in a dry pan for 2 to 3 minutes, until golden.
2. Blend the pesto. Next, pulse the basil, nuts, garlic, parmesan, and salt. Then stream in the olive oil and lemon juice until smooth.
3. Cook the pasta. Meanwhile, cook the spaghetti until al dente and reserve a cup of pasta water.
4. Toss. Finally, toss the pasta with the pesto off the heat, adding pasta water until glossy. Serve with extra parmesan and basil.
Tips for the Best Pesto Pasta
- Do not overblend. Otherwise, the heat from the blades darkens the basil.
- Add pasta water. In fact, it turns the pesto into a silky coating.
- Keep it green. For storage, cover the pesto with a thin layer of olive oil.
- Add vegetables. For example, cherry tomatoes, peas, or green beans pair beautifully.
Frequently Asked Questions
Can I make pesto pasta with store-bought pesto?
Yes. However, add a squeeze of lemon and fresh basil to brighten the flavor.
Can I freeze pesto?
Absolutely. Freeze it in ice cube trays for up to 6 months, and then thaw only what you need.
Is it good cold?
Definitely. In fact, it makes a great pasta salad with tomatoes and mozzarella.
Final Thoughts
Ultimately, homemade pesto pasta is one of the freshest, fastest dinners you can make. Once you taste it, jarred pesto will never compare.
For another quick pasta, try our spaghetti pomodoro, or start with our caprese skewers.
Sources
- Wikipedia, Genoese basil sauce: history and ingredients

