Dinners

How to Make Basil Pesto Pasta Salad

Updated · By Stir & Share

Total timeprep + cook
32 min
Prep
20 min
hands-on
Cook
12 min
oven or stovetop
Serves
6
as written

Save

Undercooked pasta turns mushy when tossed with pesto, and wilted basil makes dull sauce. Cook pasta in well-salted water until just tender, then cool it quickly to stop cooking. Make pesto with fresh, dry basil to preserve its bright flavor and vibrant color.

Check Equipment and Ingredients Before You Start

Use a large pot (at least 5 quarts / 4.7 L) to give pasta room to move while boiling. A colander is needed to drain the pasta. For the pesto, a food processor or blender is required. Have a large mixing bowl ready for combining the salad. Use a rubber spatula to scrape all the pesto from the processor.

Use dried pasta, not fresh—fresh pasta becomes too soft. Choose short, sturdy shapes like rotini, penne, or farfalle that hold sauce well. Cook the pasta in 4–6 quarts (3.8–5.7 L) of water with 1 tablespoon (18 g) salt per pound (450 g) of pasta. Do not add oil to the cooking water—it prevents sauce from sticking.

Use fresh basil leaves, not dried. Pack basil lightly into the measuring cup. Dry the leaves thoroughly after washing—water dilutes the oil and causes the pesto to separate. Toasted pine nuts add depth, but walnuts or almonds can substitute. Use freshly grated Parmesan cheese, not pre-grated, for better melt and flavor. Extra-virgin olive oil is essential for flavor and emulsification.

Make the Basil Pesto

  1. Measure 2 cups (60 g) fresh basil leaves, packed, and pat them completely dry with a clean towel.
  2. Add 1/3 cup (45 g) pine nuts or walnuts to a dry skillet over medium heat. Toast for 3–5 minutes, stirring often, until golden and fragrant. Let cool.
  3. In a food processor, combine the cooled nuts, 2 cloves garlic (peeled), 1/2 teaspoon (3 g) salt, and 1/4 teaspoon (0.5 g) black pepper. Pulse until finely chopped.
  4. With the processor running, slowly pour in 1/2 cup (120 ml) extra-virgin olive oil in a steady stream. Process for 20–30 seconds until smooth.
  5. Add the basil and 1/2 cup (50 g) freshly grated Parmesan cheese. Pulse 10–15 times until the leaves are broken down but not puréed. Scrape down the sides once.
  6. Transfer pesto to a bowl. Taste and adjust salt if needed. Cover the surface directly with plastic wrap to prevent browning.

Cook and Cool the Pasta

  1. Bring 4 quarts (3.8 L) of water to a rolling boil in a large pot. Add 1 tablespoon (18 g) salt.
  2. Add 1 pound (450 g) dried pasta all at once. Stir immediately to prevent sticking.
  3. Cook according to package time minus 1 minute—usually 8–11 minutes—until al dente (tender with a slight bite).
  4. Reserve 1/2 cup (120 ml) of pasta water, then drain the pasta in a colander.
  5. Rinse the pasta under cold running water for 30–60 seconds, stirring gently, until cool to the touch. This stops cooking and removes surface starch.
  6. Drain well. Let sit for 1–2 minutes to remove excess water, or pat lightly with a towel if very wet.

Assemble the Pasta Salad

  1. In a large mixing bowl, add the cooled pasta and 3/4 of the prepared pesto. Toss gently with a spatula to coat evenly.
  2. If the mixture seems dry, add 2–3 tablespoons (30–45 ml) of reserved pasta water and toss again. The sauce should cling, not pool.
  3. Add 1/2 cup (75 g) halved cherry tomatoes, 1/4 cup (40 g) thinly sliced red onion, and 1/4 cup (35 g) toasted sunflower seeds or pine nuts (optional).
  4. Toss gently to combine. Fold in the remaining pesto to preserve streaks of green.
  5. Stir in 1/4 cup (25 g) extra grated Parmesan if desired.
  6. Cover and refrigerate for at least 15 minutes before serving to let flavors blend.

Finish and Serve the Salad

Before serving, stir gently and check consistency. If the salad has thickened in the fridge, add 1–2 tablespoons (15–30 ml) of cold water or olive oil and toss. Adjust salt and pepper if needed. Garnish with extra Parmesan, a drizzle of olive oil, or fresh basil leaves.

Leftovers keep in an airtight container in the refrigerator for up to 3 days. The pesto may darken slightly—stirring renews the appearance. Do not freeze pesto pasta salad; the texture of the pasta and vegetables degrades.

Know When It Worked

The pasta salad is ready when the noodles are fully coated with a rich green sauce, flecked with herbs and cheese. The vegetables are crisp-tender, not soggy. The pesto tastes bright and herbal, not bitter or oily.

Symptom Most Likely Cause Fix
Pesto is watery or separates Basil was wet or oil added too fast Re-process with 1 tablespoon (15 ml) oil more slowly, or add 1 teaspoon (5 g) grated cheese to stabilize
Sauce is too thick or pasty Not enough oil or pasta water added Whisk in 1–2 tablespoons (15–30 ml) pasta water or olive oil until smooth
Pasta is mushy Overcooked or not cooled fast enough Cool under cold water immediately after draining; reduce cook time by 1 minute next batch
Pesto tastes bitter Over-processed basil or old garlic Use fresh garlic; pulse basil just until combined, do not purée
Salad lacks flavor Under-salted pasta water or dull cheese Always salt pasta water; use freshly grated Parmesan

Substitute Ingredients as Needed

Use 1/2 cup (60 g) cashews or almonds instead of pine nuts—toast first for richer flavor. If basil is unavailable, a mix of 1 cup (30 g) basil and 1 cup (30 g) fresh spinach can work, though the taste will be milder. Nutritional yeast (3–4 tablespoons / 15–20 g) replaces Parmesan for a dairy-free version. Use lemon juice (1–2 teaspoons / 5–10 ml) to brighten the pesto if it tastes flat.

Do not use pre-made pesto from a jar if you want fresh flavor—jarred versions are often oily and less vibrant. If using jarred, drain excess oil and mix in fresh grated cheese and a squeeze of lemon.

Store Without Spoiling

Refrigerate the salad within 2 hours of making. Store in a sealed container with a piece of parchment pressed on the surface to limit air exposure. Consume within 3 days. Toss again before serving. Do not leave the salad at room temperature for more than 2 hours (1 hour if above 90°F / 32°C), especially if it contains cheese or nuts, which can support bacterial growth.

Garlic and herbs in oil, including pesto, must be refrigerated and used within 4 days to prevent botulism risk. Never store at room temperature.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).