Easy Homemade Pesto Pasta Recipe in 15 Minutes (Fresh Basil!)
This easy homemade pesto pasta recipe takes 15 minutes from empty pan to table, and the pesto is made from scratch while the pasta boils. Fresh basil, toasted pine nuts, Parmesan, garlic and good olive oil blitzed into a vivid green sauce, tossed through spaghetti with starchy pasta water for a silky coating. No jars, no fuss, and it tastes like a restaurant dish for a fraction of the price.

Easy Homemade Pesto Pasta Recipe (15 Minutes)
Prep: 5 minutes | Cook: 10 minutes | Total: 15 minutes | Serves: 4
Ingredients
For the homemade pesto:
- 60g fresh basil leaves (about 2 large handfuls), washed and dried
- 30g pine nuts
- 50g Parmesan, finely grated, plus extra to serve
- 1 garlic clove, peeled
- 120ml extra-virgin olive oil
- 1 tbsp lemon juice
- Salt and freshly ground black pepper
For the pasta:
- 400g spaghetti (or linguine, penne or fusilli)
- Reserved pasta cooking water
Method
1. Toast the pine nuts. Tip them into a dry frying pan over medium heat and toast for 2 to 3 minutes, tossing often, until golden and fragrant. Set aside to cool slightly.
2. Blitz the pesto. Add the toasted pine nuts, garlic and basil to a food processor and pulse until roughly chopped. With the motor running, pour in the olive oil in a slow stream. Add the Parmesan, lemon juice, a good pinch of salt and a few grinds of pepper, then pulse again until you have a textured sauce. Not baby-food smooth, a little texture is good.
3. Cook the pasta. Boil the spaghetti in well-salted water until al dente. Before draining, scoop out a mugful (about 200ml) of the starchy pasta water.
4. Toss off the heat. Tip the drained pasta into a large bowl (not the hot pan, heat turns pesto dark and bitter). Add the pesto and a splash of pasta water, then toss with tongs until every strand is glossily coated, adding more water as needed. Serve immediately with extra Parmesan and basil leaves.
Pesto Variations: One Base, Five Sauces
| Variation | Swap | Best for |
|---|---|---|
| Classic basil | As written (pine nuts + Parmesan) | The full 15-minute experience |
| Nut-free | Sunflower seeds instead of pine nuts | Nut allergies, school lunchboxes |
| Vegan | Skip Parmesan; add 2 tbsp nutritional yeast | Dairy-free diets |
| Walnut pesto | Walnuts instead of pine nuts | Cheaper, earthier flavour |
| Rocket pesto | Half basil, half rocket | Peppery bite, uses up salad |

Troubleshooting: Why Pesto Goes Wrong
Pesto turned dark? You mixed it in the hot pan. Basil oxidises fast in heat. Always toss in a room-temperature bowl, off the heat.
Bitter pesto? Usually the garlic. One small clove is plenty, and never use the green sprout inside old garlic. Over-blending can also bruise the basil.
Oily and separated? Too much oil added too fast. Drizzle slowly with the motor running, like making mayonnaise.
Too thick? That is what the pasta water is for. A splash at a time until it coats the back of a spoon.

Storage and Make-Ahead
The pesto keeps in an airtight jar in the fridge for up to 1 week; press a thin layer of olive oil over the surface to stop it darkening. It freezes brilliantly for up to 3 months: freeze in ice-cube trays, then bag the cubes. Defrost in the fridge overnight. The finished pasta is best eaten fresh, but leftovers keep 2 days in the fridge. Reheat gently in a pan with a splash of water, never the microwave on full blast. For more make-ahead inspiration, our easy homemade pizza dough recipe and easy dessert recipes for special occasions are built for planning ahead.
Serve it with a simple green salad and crusty bread, or add grilled chicken for a heartier meal. Our easy Halloween party snacks and high protein dinners for weight loss round out the weeknight collection.
Conclusion
This easy homemade pesto pasta recipe proves the best 15-minute dinners need no shortcuts: fresh basil, a hot pan of pasta, and the starchy-water trick that makes the sauce cling. Make the pesto once and you will find excuses to put it on everything.
Frequently Asked Questions
Can I freeze homemade pesto?
Yes, pesto from this easy homemade pesto pasta recipe freezes very well for up to 3 months. Freeze in ice-cube trays for handy portions, transfer the cubes to a freezer bag, and defrost overnight in the fridge. The colour stays bright because freezing stops oxidation.
What can I use instead of basil?
Rocket gives a peppery pesto, spinach makes a milder one, and a mix of basil and parsley stretches a small basil bunch. Kale works too but needs a longer blitz and a little more oil.
Why did my pesto turn dark green or brown?
Heat and air. Mixing pesto into a screaming-hot pan cooks the basil and darkens it. Always toss the pasta and pesto together in a bowl off the heat, and store pesto with oil pressed over its surface.
How do I make pesto pasta dairy-free?
Leave out the Parmesan and add 2 tablespoons of nutritional yeast for the savoury depth. The rest of the recipe is naturally dairy-free. Check your pasta is egg-free if needed.
How do I reheat pesto pasta without it going oily?
Warm it gently in a frying pan over low heat with a splash of water, tossing until it loosens. High heat splits the oil out of the sauce, which is why the microwave on full power gives greasy results.
