This post may contain affiliate links. Please read our disclosure policy.

Shrimp Pesto Pasta brings together garlic-seared shrimp, fresh basil pesto, and tender spaghetti in a silky, starchy pasta water sauce. Ready in 30 minutes.

A rustic bowl filled with spaghetti tossed in green pesto sauce, topped with cooked shrimp and fresh basil leaves, sits on a tiled surface. Small bowls of olive oil and chopped herbs are nearby.
Want to save this recipe?
Enter your email for this recipe and weekly cooking inspiration!

Shrimp Pesto Pasta has been in my weeknight rotation for so long, I don’t even need the recipe anymore. I used to measure every ingredient for the pesto: walnuts, Parmesan, basil, olive oil. But after making it countless times, I started going by feel. Still, when I want to make sure it turns out exactly right, this is the version I follow.

The secret to restaurant-quality results is that splash of starchy pasta water that transforms everything into a silky sauce that actually clings to each strand instead of sliding off. Fresh homemade pesto, perfectly cooked shrimp, and tender spaghetti come together in just thirty minutes. It’s fast, fresh, and full of flavor: the kind of dinner that makes you feel like you’ve got this whole weeknight cooking thing figured out.

Recipe at a Glance

  • Hands-on time: 15 minutes
  • Total time: 30 minutes
  • Serves: 6
  • Best for: Weeknight dinners, pasta lovers, fresh basil season
  • Key flavors: Fresh basil, garlic, Parmesan, tender shrimp

Ingredients for Shrimp Pesto Pasta

A top view of ingredients for shrimp pesto pasta, including spaghetti, shrimp, fresh basil, Parmesan cheese, walnuts, parsley, garlic, butter, red pepper flakes, salt, and olive oil, all labeled.
  • Shrimp – Medium shrimp (31–40 count per pound) cook quickly and won’t overpower the pesto. Buy them peeled and deveined to save time.
  • Fresh basil – Look for bright green leaves without dark spots or wilting; you’ll need about two packed cups (roughly 1.5 oz). Farmers‑market basil often stays fresher than store‑bought.
  • Walnuts vs. pine nuts – I use walnuts because they’re easier to find and cost less than traditional pine nuts. Their subtle earthiness pairs beautifully with basil. Toast them in a dry pan for extra flavor if you have a minute.
  • Parmesan cheese – Freshly grated melts smoothly into the pesto and adds richer flavor. Pre‑grated works in a pinch but lacks the same creaminess.
  • Pasta choice – Long, thin shapes like spaghetti or linguine give the sauce plenty of surface to cling to. Cook just until al dente so the pasta finishes in the pan.
  • Pasta water – Scoop out a full cup before draining; you can always use less, but once it’s gone you can’t get it back. The starch helps bind everything into a silky sauce.

Why This Recipe Works

  • I’ve cooked this so many times I could make it without thinking — but this version is the one I follow when I want it perfect.
  • Pasta water makes the sauce cling instead of slide off, a restaurant trick worth remembering.
  • Homemade pesto has a bolder flavor and better texture than jarred.
  • The butter and garlic base builds deep flavor before the shrimp even hit the pan.
A bowl of pasta tossed in green pesto sauce, topped with shrimp and garnished with fresh herbs, sits on a textured white surface, surrounded by bowls of grated cheese, sauce, and olive oil.

How to Make Shrimp Pesto Pasta

Get the pasta going first – Bring a large pot of salted water to a boil, drop in the spaghetti, and cook about 8 minutes until al dente. Scoop out 1 cup of starchy pasta water, then drain.

Make the pesto while the pasta cooks – Pulse basil, garlic, walnuts, Parmesan, and salt in a food processor, then drizzle in olive oil until smooth, about 2 minutes.

Sear the shrimp – Melt butter in a large skillet, add garlic and red‑pepper flakes for 30 seconds, then shrimp for 2–3 minutes until pink and just opaque.

Toss and finish – Add the pasta and pesto sauce to the skillet, splash in pasta water and stir until the sauce coats the noodles, then taste and adjust. Finish with Parmesan and pepper flakes.

Pro Tips

  • Use peeled, deveined shrimp to save time.
  • Cook pasta just to al dente, this helps it hold up when tossed with hot pesto and shrimp.
  • Always save pasta water, it’s essential for the sauce texture.
  • Stir pesto into warm, not hot, pasta to keep the basil vibrant.
  • Reheat leftovers with a splash of water to bring the sauce back together.

Recipe Variations

  • Store-bought hack: Using jarred pesto? Wake it up with a squeeze of lemon before tossing.
  • Add color: Blister a handful of cherry tomatoes in the shrimp pan and toss them in at the end.
  • Zoodle it: Swap half (or all) the pasta for zucchini noodles.
  • Make it spicy: Add extra red pepper flakes to the shrimp while they sear.
  • Try another green: Use arugula or kale in place of some of the basil.

What to Serve With

Storage and Reheating

Leftovers keep well for up to two days. Reheat gently on the stovetop with a splash of the reserved pasta water (or plain water) to loosen the sauce.

FAQ

Can I use store-bought pesto instead of homemade?

Yes, just freshen it up with lemon juice or a drizzle of good olive oil.

What pasta works best with pesto sauce?

Spaghetti, linguine, or fettuccine work well; anything long and thin to help the sauce cling.

How do I keep the shrimp from overcooking?

Cook just until they turn pink and opaque, about 2 to 3 minutes, then remove from heat.

Can I make this ahead of time?

You can prep the pesto in advance and refrigerate with a thin layer of oil on top. The pasta and shrimp are best cooked fresh.

Is there a nut-free version of pesto?

Yes, try using sunflower seeds or skip the nuts entirely and add more cheese for body.

What you’ll love about this pesto shrimp pasta dish is how quickly you can make it without feeling rushed. With fresh basil, juicy shrimp, and a smart use of pasta water, you get a dish that’s bright, satisfying, and weeknight‑friendly – one you might soon cook from memory too.

Shrimp Pesto Pasta

5 from 1 vote
Prep: 15 minutes
Cook: 15 minutes
Total: 30 minutes
Course: Main Course
Cuisine: Italian
Calories: 554
Servings: 6 people
Garlic‑seared shrimp, fresh basil pesto, and spaghetti tossed into a silky, restaurant‑worthy sauce in thirty minutes.

Video

Ingredients  

For the Pesto

  • 2 cups fresh basil leaves about 1 1/2 ounces
  • 1 large clove garlic
  • 1/3 cup coarsely chopped walnuts
  • 2 ounces grated parmesan cheese plus more for garnish (optional)
  • 1/4 fine sea salt plus more to taste
  • 1/2 cup extra-virgin olive oil

For the Pasta

  • 12 ounces dried spaghetti or other long, thin pasta
  • 2 tablespoons butter
  • 2 large cloves garlic minced
  • 1/4 teaspoon crushed red pepper flakes or more
  • 1 pound medium shrimp peeled and deveined
  • finely chopped fresh parsley for garnish, optional

Instructions 

Make the Pesto

  • Combine the basil leaves, garlic cloves, chopped walnuts, grated cheese, and salt in your food processor. Pulse in short bursts until the mixture is finely minced, stopping occasionally to scrape any ingredients from the sides back into the bowl. Taste and add more salt as needed. Transfer to a clean bowl and set aside. (recipe note #1)

Cook the Pasta

  • Meanwhile, bring a large pot of generously salted water to a rolling boil. Add the pasta and cook until al dente (tender but still firm when bitten), about 8 minutes or according to package directions. Before draining, scoop out 1 cup of the starchy cooking water and set aside (you'll need this to create the perfect sauce consistency).

Prepare the Shrimp

  • While the pasta is cooking, melt the butter in a large skillet over medium-high heat until it begins to sizzle. Add the garlic and red pepper flakes, stirring constantly for about 30 seconds until fragrant but not browned. Add the shrimp to the skillet and cook, stirring occasionally, until they just turn pink and opaque throughout, about 2-3 minutes. Remove the skillet from heat once the shrimp are just cooked through.

Finishing the Dish

  • Return the skillet with the shrimp mixture to medium-low heat. Add the drained pasta, pesto, and 1/4 cup of the reserved pasta water. Gently toss everything together until well combined and heated through. If the mixture seems dry, gradually add more pasta water until you reach your desired consistency.
  • Transfer to platter or serving bowl and garnish with parsley and more grated parmesan cheese if desired; serve immediately.

Notes

  • If making pesto in advance, pour a thin layer of olive oil over the surface to prevent browning. The oil creates an air barrier that preserves the bright green color. Store in an airtight container in the refrigerator for up to 5 days.

Nutrition

Calories: 554kcal | Carbohydrates: 45g | Protein: 27g | Fat: 30g | Saturated Fat: 7g | Polyunsaturated Fat: 6g | Monounsaturated Fat: 15g | Trans Fat: 0.2g | Cholesterol: 140mg | Sodium: 291mg | Potassium: 405mg | Fiber: 2g | Sugar: 2g | Vitamin A: 647IU | Vitamin C: 2mg | Calcium: 169mg | Iron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Leave a comment & rate the recipe below!

Related Recipes

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating





3 Comments

  1. Francis Ranwez says:

    5 stars
    Excellent. I have also made Pesto with Pecans toasted lightly (in very slight amount of butter) and that works extremely well. As one of us is trying to cut back on the Pasta Carb, I am going to try this with Spaghetti squash.

    1. Marissa Stevens says:

      Thanks Francis! Toasted pecans in pesto sound delicious. Spaghetti squash could work well as a lighter base for this dish as could “zoodles” of green or yellow zucchini if you’re looking for more options. Thanks for sharing your variations!

  2. Karen (Back Road Journal) says:

    I’ve got everything to make this dish, I think it will be tonight’s meal.