Some nights ask for a dinner that cooks itself while you handle everything else. Pesto white bean pasta is that kind of meal. It uses a jar of pesto, a can of beans, and a handful of fresh things from the fridge, and it lands on the table in 20 minutes with one pot to wash. Nothing about it is fancy, and that is exactly why it works on a Tuesday when the day ran long and nobody wants to wait for dinner.
I reach for this pasta when the fridge looks thin but the pantry still has options. The pesto brings all the flavor, so there is no long list of herbs or spices to measure. The white beans turn a quick pasta into something that actually fills people up. Cherry tomatoes soften just enough in the warm pot to taste sweet, and the spinach wilts into the sauce without any extra step. Parmesan at the end ties the whole bowl together.
If you keep a jar of pesto and a can of cannellini beans on the shelf, you are never more than a pot of boiling water away from a real dinner. That is a useful thing to know on the nights when takeout feels tempting and the clock is already past six.
Quick Answer
Pesto white bean pasta is a 20-minute, one-pot dinner made with pasta, cannellini beans, basil pesto, cherry tomatoes, baby spinach, and Parmesan. Cook the pasta and save a cup of the cooking water, then toss everything together in the same pot over low heat until the spinach wilts. Add Parmesan and enough pasta water to loosen the sauce, and serve it right away.
Why This Pasta Works
The first reason is speed with no shortcuts that show. A jar of basil pesto carries basil, garlic, cheese, and nuts in one spoonful, so the sauce is done the moment it hits the warm pasta. You do not have to build flavor from scratch, and you do not have to chop a single herb.
The second reason is the beans. Cannellini beans are mild, creamy, and filling, and they make this a complete meal without meat. They also hold their shape in the pot, so the pasta stays a pasta dish instead of turning into a mash. A quick rinse takes off the starchy liquid from the can and keeps the sauce clean and bright.
Then there is the way the vegetables cook in the same pot. The cherry tomatoes go in halved, and the heat of the pasta softens them just enough to release a little juice. The spinach needs only a minute over low heat before it folds into the sauce. Nothing gets a separate pan, and nothing needs watching on its own.
The last reason is the pasta water. That cloudy cup you save before draining is the difference between a sauce that clings and a sauce that sits in a puddle at the bottom of the bowl. A splash at a time loosens the pesto and helps it coat every piece. It is the oldest trick in pasta cooking, and it costs nothing.
If you like pasta nights that come together fast, our Simple Tomato Basil Pasta follows the same idea with a lighter tomato sauce and the same 25-minute pace.
Ingredients
- 12 oz pasta
- 1 can cannellini beans, rinsed
- 1/2 cup basil pesto
- 2 cups cherry tomatoes, halved
- 3 cups baby spinach
- 1/3 cup Parmesan
Any short pasta shape works here. Penne, rigatoni, fusilli, and farfalle all hold the pesto well and give the beans and tomatoes places to sit. Spaghetti works too, though the beans tend to slide to the bottom of the bowl with long strands. Pick the shape your family already likes and the meal will feel familiar from the first bite.

For the pesto, use the jarred basil pesto you already buy. Refrigerated pesto from the deli section tastes a little fresher, and shelf-stable pesto keeps longer in the pantry, so either one is fine. Taste your pesto before you start. Some jars run salty, and if yours does, hold back a spoonful of the Parmesan at the end and let people add more at the table.
How to Make Pesto White Bean Pasta
- Cook pasta and reserve 1 cup cooking water.
- Return drained pasta to pot with beans, pesto, tomatoes and spinach.
- Toss over low heat until spinach wilts.
- Add Parmesan and enough pasta water to loosen the sauce.

Start by bringing a large pot of salted water to a boil and cooking the pasta until it is just tender. Before you drain it, dip a measuring cup in and save a full cup of the cooking water. This is the step people skip when they are in a hurry, and it is the step that makes the sauce work, so make it a habit.
Drain the pasta and put it straight back in the same pot. Add the rinsed beans, the pesto, the halved tomatoes, and the spinach. Keep the heat low and toss everything together with tongs. The spinach will look like far too much at first, and then it will shrink down to almost nothing in about a minute. That is normal, and it is why the recipe calls for three full cups.
Once the spinach has wilted and the pesto coats the pasta, take the pot off the heat. Sprinkle in the Parmesan and add pasta water a few spoonfuls at a time, tossing as you go, until the sauce turns glossy and loose enough to coat each piece. Serve it right away while the tomatoes are still warm and soft.
If you want another fast pasta for a different night, Creamy Tomato Tortellini with Spinach is ready in 20 minutes too and uses the same wilt-the-spinach trick.
Tips That Make It Better
Salt the pasta water well. The pasta absorbs that salt as it cooks, and it seasons the whole dish from the inside out. A small handful of salt in a big pot is about right, and you will taste the difference in the finished bowl.
Do not rinse the pasta after draining. The starch on the surface helps the pesto cling, and rinsing washes that starch away. Just drain it and get it back in the pot while it is still hot.
Keep the heat low once the pesto goes in. Pesto is mostly oil, cheese, and herbs, and high heat can make it separate or turn bitter. Low heat is all it needs to warm through and coat the pasta.
Halve the tomatoes even if you are in a rush. Whole cherry tomatoes roll off a fork and stay firm in the middle, while halves soften fast and release a little juice that thins the sauce in a good way. A quick slice through each one is worth the extra minute.
Shave the Parmesan or grate it fine so it melts into the sauce instead of clumping. If your Parmesan comes in a wedge, a vegetable peeler makes wide shavings that look nice on top. If it comes pre-grated, that works too, just add it off the heat and toss well.
Substitutions
Use chickpeas instead of white beans. They are firmer and nuttier, and they hold up just as well in the pot. Rinse them the same way and add them at the same step. The flavor shifts a little, but the meal stays the same kind of fast and filling.
Add leftover chicken if your family prefers. Shredded rotisserie chicken or the last of a roast chicken folds in with the beans and warms through in the same minute the spinach wilts. It turns the pasta into a heartier dinner without adding a cooking step.
Swap the greens if spinach is not in the fridge. Baby kale works, though it needs an extra minute to soften. Arugula wilts even faster than spinach and adds a peppery bite. Frozen spinach works in a pinch too, just squeeze it dry first so it does not water down the sauce.
Try a different pesto when you want a change. Sun-dried tomato pesto gives the pasta a deeper red color and a sweeter flavor. Arugula pesto or kale pesto keeps the same green look with a sharper taste. The rest of the recipe stays exactly the same.
For a one-pot pasta with a different sauce and the same short ingredient list, try our One-Pot Beef and Tomato Pasta, which is ready in 30 minutes.
What to Serve With It
This pasta is a full meal on its own, and it does not need a side dish to feel complete. On nights when you want a little more on the table, warm bread is the easiest choice. A torn baguette or a few slices of garlic bread mop up the pesto left in the bowl, and the bread can go in the oven while the pasta water boils.
A simple green salad works well too. Mixed greens with a squeeze of lemon and a drizzle of olive oil are enough, and the bright dressing balances the rich pesto. Sliced cucumbers or a few carrot sticks are fine if that is what the kids will actually eat.
Fresh fruit makes an easy finish. Grapes, sliced apples, or a bowl of berries need no prep at all, and they give the meal a light ending after a rich pasta. Keep it simple and let the pasta be the main event.
Storage and Leftovers
Let leftovers cool promptly, then refrigerate them in covered containers. The pasta will firm up in the fridge as the sauce thickens, and that is normal. Reheat only the portion you plan to eat, and add a spoonful of water while it warms so the sauce loosens again. A quick toss in a skillet over low heat works better than the microwave for keeping the texture right.
Leftover pasta makes a good next-day lunch. Pack it in a container with a little extra Parmesan on top, and warm it gently before eating. The tomatoes soften a bit more overnight, and the flavor actually deepens, so do not be surprised if the second bowl tastes even better than the first.
This pasta is one of four fast dinners in our 30 Minute Homemade Meals for Busy Moms collection, where each recipe is built for a real weeknight.
Frequently Asked Questions
Can I use chickpeas instead of white beans?
Yes. Chickpeas are the easiest swap in this recipe. Rinse them the same way, add them at the same step, and the meal cooks in the same 20 minutes.
Can I add chicken to this pasta?
Yes. Leftover chicken works best because it only needs to warm through. Add shredded chicken with the beans and pesto, and it will be hot by the time the spinach wilts.
Do I have to save the pasta water?
Yes, save at least a cup before draining. The starchy water loosens the pesto into a sauce that coats the pasta. Plain water works in a pinch, but it does not cling the same way.
Can I make this with frozen spinach?
You can. Thaw it and squeeze out as much water as you can before adding it, or the sauce will turn thin. Frozen spinach needs the same low heat and the same short toss as fresh.
What pasta shape is best?
Short shapes like penne, rigatoni, and fusilli hold the pesto and the beans best. The recipe works with any pasta you have, so use the box already in your pantry.
How long does it take?
The full recipe takes 20 minutes from the time the water starts boiling to the moment it is served. Most of that time is the pasta cooking on its own while you rinse the beans and halve the tomatoes.

Ingredients
Method
- Cook pasta and reserve 1 cup cooking water.
- Return drained pasta to pot with beans, pesto, tomatoes and spinach.
- Toss over low heat until spinach wilts.
- Add Parmesan and enough pasta water to loosen the sauce.
