
Basil pesto pasta with roasted courgette and cannellini beans: a quick vegetarian dinner made with ready-made pesto and wholewheat spaghetti.
Add pesto off the heat so the basil stays bright and fragrant.
Reserve pasta water before draining; it makes the pesto glossy and helps it coat the spaghetti.
Roast the courgettes on a large, uncrowded tray so their moisture can evaporate and the edges can brown.
We use affiliate links, which may earn us a small commission at no extra cost to you.
Ingredient amounts update instantly.
Heat the oven to 220C. Toss the courgettes with the olive oil and spread them over a large baking tray in a single layer. Season lightly and roast for 20 to 25 minutes, turning once, until tender with browned edges. Set aside.
Meanwhile, bring a large pot of well-salted water to the boil. Cook the spaghetti until just al dente, following the packet timing.
Reserve 250 ml / 1 cup pasta water, then drain the spaghetti.
Measure the ready-made basil pesto into a bowl. Stir in a splash of reserved pasta water if it is very thick; it should be loose enough to coat the spaghetti.
Return the spaghetti to the pot off the heat. Add the pesto and enough reserved pasta water to make a glossy sauce, then toss well.
Fold through the roasted courgettes and cannellini beans until warmed through. Taste and adjust the black pepper and salt.
Divide between bowls and finish with the remaining Parmesan.
Save this recipe to one of your meal plans or browse your existing plans.
Everything you want to know about this recipe.
This basil pesto pasta is a quick vegetarian dinner that keeps the familiar fresh, nutty pesto flavour while making the bowl more satisfying. Wholewheat spaghetti, courgettes, and cannellini beans turn a simple pesto sauce into a proper main meal, with enough protein and fibre to carry a weeknight dinner.
The ready-made pesto remains the focus, while the roasted vegetables and beans make the bowl more satisfying without turning it into a different kind of pasta. Using a prepared pesto keeps the recipe practical for a quick weeknight meal.
Prepared basil pesto brings herbal sweetness, cheese, and nutty depth in one ingredient. Courgettes pick up browned edges in a hot oven, and cannellini beans bring a mild creaminess that works naturally with pesto. Black pepper at the end gives the finished pasta a little lift.
Roast the courgettes on a large tray while the spaghetti cooks until barely al dente. That high, dry heat lets their moisture evaporate so they brown rather than steam. Save a generous cup of pasta water; its starch transforms pesto from a thick paste into a silky sauce.
Loosen the ready-made pesto with a little pasta water, then toss it with the drained spaghetti off the heat. This keeps the sauce glossy and prevents the cheese in the pesto from becoming grainy. Add the beans and courgettes last, using a splash more pasta water to bring everything together.
Do not rinse the spaghetti after draining; the surface starch is helpful here. Add pasta water a little at a time as you toss. The sauce should cling to the noodles and look glossy, not sit in a puddle at the bottom of the pot.
Check the pesto before adding salt because prepared brands vary considerably in their cheese and salt levels. If it tastes thick or concentrated, loosen it with pasta water rather than adding extra oil.
Wholewheat spaghetti contributes more fibre than standard white pasta, while cannellini beans add plant protein and a creamy texture. Courgettes provide a generous vegetable portion without competing with the basil. A measured amount of ready-made pesto keeps the classic flavour present without requiring a separate sauce-making step.
Butter beans, chickpeas, navy beans, or borlotti beans can replace cannellini beans. Use penne, fusilli, or another short wholewheat pasta if you prefer; the same dry weight works well. Green beans, peas, spinach, mushrooms, or tenderstem broccoli are practical alternatives to courgettes. Add spinach only at the end so it wilts without overcooking.
For a dairy-free version, choose a dairy-free ready-made pesto and check the label before adding salt. Pesto brands vary in oil, cheese, nut, and salt levels, so the final flavour and nutrition will differ slightly.
Pesto keeps in a covered container for up to 3 days in the refrigerator. Press a piece of baking paper directly onto the surface to limit browning. Store leftover pasta for up to 3 days and reheat it with a splash of water; add a little fresh pesto after warming if you have it.
One serving is one pasta bowl, about 420 g, with pesto, courgette, and beans. It provides roughly 25 g protein and 15 g fibre. On a training day, add 50 g cooked rice or a piece of fruit if you need more carbohydrate. On a rest day, keep the beans and vegetables the same and reduce the spaghetti portion slightly.
For another protein option, grilled chicken breast, shrimp, firm tofu, or tempeh work well with basil pesto. Broccoli, green beans, spinach, peas, mushrooms, onions, courgette, tenderstem broccoli, and frozen mixed vegetables can all take the place of the courgettes.
Serving Size: 1 pasta bowl (about 420 g)
* Reference intakes are based on an average adult's 8,400 kJ / 2,000 kcal diet. Your needs may be higher or lower.
Use about 150 g of a good-quality basil pesto and loosen it with pasta water before tossing it through the spaghetti, courgettes, and beans. Refrigerated and jarred versions both work; check the seasoning because brands vary in salt and cheese content.
Butter beans, chickpeas, navy beans, or borlotti beans all work. Drain and rinse canned beans before adding them to the pasta.
See how other home cooks made this recipe, then share your own experience.
7 ratings
How would you rate this recipe?
Using ready-made pesto made this much faster, and loosening it with pasta water helped it coat the spaghetti evenly.
Roasting the courgettes was much easier than frying them and gave them better colour without needing extra oil.
I used a mix of courgette and green beans and it was great. Saving pasta water made a real difference to the sauce.
Perfect summer lunch. It was a hit with the whole family. We had it cold as leftovers too!
The cannellini beans made it much more filling than my usual pesto pasta. I will be adding them from now on.
I added a clove of garlic to the pesto for a little extra punch. Great base recipe!
Delicious and so easy! Loved the texture of the pesto — not too smooth. Will definitely make again.
Add your personal creations and build your own recipe collection.