Welcome to dinnerbymom

Pantry Pasta With Canned Green Beans And Pesto

By Isabella Clarke | January 03, 2026
Pantry Pasta With Canned Green Beans And Pesto

When life hands you a nearly empty pantry and a rumbling stomach, magic can still happen. This Pantry Pasta with Canned Green Beans and Pesto is the answer to those “what on earth can I make?” weeknights. It’s the recipe I lean on when the fridge is bare, the clock is laughing at me, and my family is already circling the kitchen like hungry seagulls. In under 30 minutes, humble staples—dried pasta, a lone can of green beans, a scoop of pesto from the freezer door—transform into a glossy, herb-flecked tangle that tastes far more intentional than frantic. My kids call it “green spaghetti” and request it even when the fridge is bursting; my husband calls it the best accidental vegetarian dinner we’ve ever had. I call it proof that pantry cooking doesn’t have to feel like a compromise.

Why This Recipe Works

  • One pot, one skillet, one happy cook: Minimal dishes means you’re out of the kitchen fast.
  • Pantry heroes: Every ingredient is shelf-stable or freezer-friendly, so dinner is always within reach.
  • Green beans that actually taste good: Searing the canned beans in garlicky oil concentrates flavor and nixes the tinny taste.
  • Double-duty pesto: Acts as sauce, seasoning, and garnish—no extra herbs required.
  • Customizable comfort: Swap beans, pasta shape, or pesto variety—recipe welcomes riffing.
  • Under 30 minutes: Perfect for Monday-night exhaustion or Friday-night laziness.

Ingredients You'll Need

Ingredients

Great pantry pasta starts with understanding your building blocks. Below, each ingredient earns its keep.

Dried pasta, 12 oz: Short shapes with nooks (cavatappi, cellentani, or fusilli) grab the pesto, but spaghetti is perfectly acceptable. Whole-wheat, legume-based, or gluten-free all work; just cook to al dente so the noodles don’t collapse under the pesto.

Canned whole green beans, 14–15 oz: Whole beans stay meatier than precut French-style. Drain well; moisture is the enemy of browning. No salt-added cans let you control sodium, but either way, a quick rinse removes the “can” flavor.

Pesto, ⅓ cup: Homemade summer surplus frozen in ice-cube trays? Perfect. A good supermarket jar works too. If it’s thick and separated, loosen with a splash of hot pasta water before measuring.

Extra-virgin olive oil, 2 Tbsp: Half goes into the skillet to crisp garlic and beans, the remainder is drizzled at the end for fruity brightness. Choose a fresh, everyday bottle—save the estate finishing oil for another day.

Garlic, 3 cloves: Thinly sliced so it bronzes in seconds, releasing sweet aroma that perfumes the beans.

Crushed red-pepper flakes, ¼ tsp: Optional but recommended. The gentle heat awakens the beans and balances pesto’s richness.

Lemon, ½: A quick squeeze just before serving heightens flavors; zest stirred into the pesto adds sparkle.

Parmesan, ÂĽ cup finely grated, plus more for serving: The umami bomb that ties everything together. Vegetarian rennet brands keep it meat-free. For a dairy-free version, substitute 2 Tbsp nutritional yeast.

Kosher salt & freshly ground black pepper: Season at three points—pasta water, beans, final toss—to build layers rather than a single salty bite.

How to Make Pantry Pasta With Canned Green Beans And Pesto

Step 1
Boil the pasta (and prep your beans)

Bring a large pot of water to a rolling boil. Salt it like the sea—about 1 Tbsp per quart. Add pasta and cook 1 minute less than package directions for al dente. While the pasta bubbles, drain your canned green beans and spread them on a clean dish towel; pat dry. Moisture equals steam, and we want caramelization.

Step 2
Crisp the beans

Heat 1 Tbsp olive oil in a 12-inch skillet over medium-high until shimmering. Add the dried beans in a single layer; let them sit undisturbed 90 seconds so a light golden crust forms. Shake the pan, add sliced garlic and red-pepper flakes, then cook 30–45 seconds more until the garlic is fragrant but not browned. Season with a pinch of salt and several grinds of black pepper. Slide beans onto a plate; keep the flavorful oil in the skillet.

Step 3
Create the pesto slurry

Scoop out ½ cup starchy pasta water just before draining. Whisk it with the pesto in a small bowl until silky and pourable; this prevents the basil sauce from seizing when it hits the hot noodles.

Step 4
Marry noodles and sauce off the heat

Drain pasta and immediately return it to the pot (off the burner). Pour the pesto slurry overtop, add Parmesan, and toss vigorously with tongs until every tube or strand is lacquered. If it looks tight, loosen with another splash of pasta water; the sauce should cling but not pool.

Step 5
Reunite beans and pasta

Add the seared green beans to the pot and fold gently. Taste and adjust salt, pepper, or chili. Finish with lemon zest, a squeeze of juice, and the remaining olive oil for sheen.

Step 6
Serve hot, cheers to pantry magic

Pile into shallow bowls, shower with extra Parmesan, and drizzle a final thread of olive oil. Serve alongside crusty bread for sopping up emerald-flecked sauce—or just eat it straight from the pot while standing at the counter. No judgment here.

Expert Tips

Hot pan, cold beans

Patting canned beans dry prevents sputtering and promotes that crave-worthy blister.

Save the aquafaba

Bean liquid from the can doubles as vegan egg-wash for tomorrow’s biscuits. Freeze in 1-Tbsp cubes.

Toast your pepper

Crack black pepper into the hot oil for 10 seconds; the heat blooms its citrusy oils.

Double-batch pesto cubes

Freeze leftover pesto in silicone trays; pop one cube into soup or scrambled eggs later.

Al dente insurance

Taste pasta 2 minutes early; noodles continue cooking slightly when tossed with hot pesto.

Lemon last minute

Adding juice while the pasta is off the heat keeps its vibrancy; heat dulls citrus.

Variations to Try

  • Tuscan tuna twist: Fold in one 5-oz can of oil-packed tuna along with the beans for protein and briny depth.
  • Spicy sun-dried: Swap half the pesto for finely chopped oil-packed sun-dried tomatoes plus a spoon of their chile-spiked oil.
  • Creamy comfort: Stir 2 Tbsp mascarpone or cream cheese into the pesto slurry for a velvety finish reminiscent of basil Alfredo.
  • Pantry puttanesca: Add 2 Tbsp capers and a handful of sliced black olives when searing the beans; finish with anchovy-free pesto.
  • Lemon-pepper chickpea: Replace green beans with canned chickpeas; follow the same searing method and double the lemon zest.
  • Nut-free option: Use sunflower-seed pesto or simply blend ÂĽ cup fresh parsley with olive oil and a pinch of nutritional yeast.

Storage Tips

Refrigerate: Cool leftovers completely, transfer to an airtight container, and refrigerate up to 4 days. The pesto may darken slightly—stir in a squeeze of lemon to perk it back up.

Freeze: Portion into freezer-safe zip bags, press out excess air, and freeze up to 2 months. Thaw overnight in the fridge, then reheat gently with a splash of water or broth.

Reheat: Warm in a covered skillet over medium-low with a tablespoon of water, tossing often. Microwave works in 30-second bursts, but the stovetop keeps beans intact.

Make-ahead components: Sear the beans and boil pasta up to 3 days ahead; store separately. Combine with fresh pesto and pasta water just before serving for brightest flavor.

Frequently Asked Questions

Absolutely. Thaw under warm water, pat very dry, then follow the searing instructions; they’ll need an extra minute to brown.

Microwave the jar 10-second bursts, stirring between, or place the container in warm water while pasta boils. You need just â…“ cup, so it thaws quickly.

It is if you use gluten-free pasta. All other ingredients are naturally gluten-free; just double-check pesto labels for sneaky wheat in stabilizers.

Yes—omit Parmesan or sub 2 Tbsp nutritional yeast. Many store-bought pestos are already dairy-free; read labels.

Dress only what you’ll eat hot; the starches continue to absorb liquid as it cools. If turning leftovers into a cold salad, revive with a splash of vinaigrette before serving.

Canned tuna, chickpeas, or shredded rotisserie chicken fold in beautifully. For plant-based power, stir in white beans alongside the green beans.
Pantry Pasta With Canned Green Beans And Pesto
pasta
Pin Recipe

Pantry Pasta With Canned Green Beans And Pesto

(4.9 from 127 reviews)
Prep
5 min
Cook
20 min
Servings
4

Ingredients

Instructions

  1. Boil pasta: Cook pasta in well-salted water until 1 minute shy of al dente. Reserve ½ cup pasta water before draining.
  2. Sear beans: Pat green beans dry. Heat 1 Tbsp olive oil in a skillet over medium-high. Add beans; sear 90 seconds undisturbed. Stir in garlic & chili; cook 30–45 seconds. Season lightly; transfer to a plate.
  3. Make pesto slurry: Whisk pesto with reserved hot pasta water until smooth and pourable.
  4. Toss: Return drained pasta to pot off heat. Add pesto slurry, Parmesan, and lemon zest; toss until coated. Fold in seared beans.
  5. Finish & serve: Adjust salt/pepper. Drizzle remaining olive oil and a squeeze of lemon. Serve hot with extra Parmesan.

Recipe Notes

For extra protein, stir in a 5-oz can of tuna or 1 cup canned chickpeas. Leftovers reheat beautifully with a splash of water in a covered skillet.

Nutrition (per serving)

486
Calories
17g
Protein
64g
Carbs
17g
Fat

More Recipes