Pesto Pasta: How to Make It Right
| ~7 min read | Pasta Sauces
Sections
Pesto pasta is simply cooked pasta tossed with pesto—the uncooked Italian sauce of crushed basil, garlic, pine nuts, hard cheese, and olive oil—usually loosened with a spoonful of starchy pasta water so it coats every strand instead of clumping. The classic pairing is trofie, trenette, or linguine, but any shape with ridges or hollows works; the key is to toss the pesto with hot pasta off the heat and add enough cooking water to turn a thick paste into a glossy sauce.
What Pesto Actually Is
Pesto alla genovese comes from Liguria, where it is traditionally made with small-leaf Genovese basil, European pine nuts, garlic, coarse salt, Parmigiano-Reggiano or Pecorino, and a mild extra-virgin olive oil. The name comes from pestare, "to pound," because the sauce was made in a marble mortar with a wooden pestle. Pounding crushes the basil cells gently and keeps the sauce greener and less bitter than a fast, hot blender blade, though a food processor is what most home cooks use.
Two things matter for flavor. First, the cheese is salty, so pesto pasta rarely needs added salt beyond what goes into the boiling water. Second, pesto is a raw sauce: it is never cooked. Heating it in a pan over direct heat dulls the basil and turns the sauce muddy. It gets warmed only by the residual heat of the drained pasta.
How to Make Pesto Pasta: Step by Step
- Boil the water. Use a large pot with about 4 quarts (4 L) of water per 1 pound (450 g) of pasta. Add 1 to 1½ tablespoons of coarse salt once it boils. Salting the water is the only chance to season the pasta itself from the inside.
- Cook the pasta to al dente. Follow the package time and start checking 1 to 2 minutes before it ends. For dried linguine or spaghetti, that is usually 8 to 10 minutes; for trofie, 10 to 12. The pasta should be tender with a slight firmness at the center.
- Save pasta water before draining. Dip out 1 cup (240 ml) of the cloudy, starchy water and set it aside. This water is what makes the sauce cling.
- Put the pesto in a warm bowl. Use a large serving bowl, and if you like, warm it with hot water and dry it first. Add ½ to ⅔ cup (120–160 ml) of pesto for 1 pound (450 g) of pasta—roughly 2 to 3 tablespoons per serving.
- Toss off the heat. Drain the pasta, add it to the bowl, and toss hard with tongs. Add pasta water a splash at a time—usually 2 to 4 tablespoons—until the sauce looks creamy and coats the pasta. Do not put the bowl over a flame.
- Finish and serve. Taste, add a little grated cheese or a pinch of salt if needed, and serve immediately. Pesto pasta does not hold well; it is best eaten within minutes of tossing.
Choosing Pasta Shape and Pesto Style
Shape matters because pesto is thick and needs surface to grab onto. Good choices include:
- Trofie and trenette—the traditional Ligurian pairings.
- Linguine, spaghetti, or bucatini—long strands that carry sauce well.
- Farfalle, fusilli, penne rigate, or orecchiette—short shapes with ridges or cups that trap pesto.
- Gnocchi—potato gnocchi tossed with pesto is a common variation; cook them until they float, then about 30 seconds more.
Pesto also comes in variations that change the pasta pairing. Pesto alla trapanese (Sicilian) uses almonds and tomatoes and suits short shapes. Kale, arugula, or parsley pesto can replace basil. Avoid very thin, delicate shapes like angel hair, which tend to clump under a thick sauce.
Common Problems and How to Fix Them
- The sauce is dry and clumpy. You did not add enough pasta water, or the pasta cooled before tossing. Add hot pasta water a spoonful at a time and toss vigorously.
- The pesto turned brown. Basil oxidizes when exposed to air. Keep pesto covered with a thin layer of olive oil, and press plastic wrap onto the surface. A brief blanch of the basil leaves before blending also helps preserve color.
- The pasta tastes flat. The water was under-salted, or the pesto was low on cheese. Salt the water properly and taste before serving.
- The sauce split or looks oily. Too much oil and too little starch. The pasta water emulsifies the oil; add it gradually while tossing.
- It tastes bitter. Old basil, too much raw garlic, or over-blending. Use fresh leaves, one small clove of garlic per batch, and pulse rather than run the processor continuously.
Jarred vs. Fresh Pesto
Refrigerated fresh pesto from a deli or a good jar is a reasonable shortcut and often tastes closer to homemade than shelf-stable jars. Shelf-stable pesto is convenient but usually higher in salt and lower in basil flavor; it can also contain cheaper oils or cashews in place of pine nuts. Read the label: a good jar lists basil first, then oil, cheese, and nuts. If using jarred pesto, use a little less, since it is saltier, and thin it with pasta water as usual.
Pine nuts are expensive, and many cooks substitute walnuts, almonds, or sunflower seeds. That is fine, but toast them lightly first to bring out their flavor. If you have a nut allergy in the household, sunflower seeds or pumpkin seeds are common nut-free swaps; check the cheese too, since some brands use animal rennet.
Storage, Reheating, and Food Safety
Pesto pasta is best fresh, but leftovers are safe if handled properly. Refrigerate leftovers within 2 hours (1 hour if the room is above 90°F / 32°C) in a covered container at 40°F (4°C) or below. Most cooked pasta dishes keep 3 to 4 days in the fridge. Freeze leftovers at 0°F (-18°C) if you want to keep them longer; pesto pasta freezes acceptably, though the basil flavor fades.
To reheat, add a splash of water and warm gently in a covered pan or microwave, stirring once. Reheat leftovers to 165°F (74°C), checked with a food thermometer. Do not leave pesto pasta sitting out at room temperature for long—it is a moist, low-acid food that supports bacterial growth.
Store unused pesto in the fridge for up to about a week, covered with oil, or freeze it in ice-cube trays. Do not store homemade pesto at room temperature, and do not make garlic- or herb-infused oils to keep on the counter; those are a botulism risk. If you make pesto with raw egg (rare, but some old recipes do), use pasteurized eggs or skip the egg entirely—never serve raw or undercooked egg to anyone at higher risk, including pregnant people, young children, older adults, and people with weakened immune systems.
If you make fresh pasta dough with eggs, cook it thoroughly and never taste raw dough or raw flour; flour can carry pathogens, and raw egg is a risk. Cook fresh pasta until it is firm-tender, usually 2 to 4 minutes for thin sheets.
Frequently Asked Questions
Do you cook pesto when making pesto pasta?
No. Pesto is a raw sauce and should not be cooked. Toss it with hot, drained pasta off the heat so the residual warmth releases the aroma without dulling the basil.
How much pesto should I use per pound of pasta?
About ½ to ⅔ cup (120–160 ml) of pesto for 1 pound (450 g) of dried pasta, plus 2 to 4 tablespoons of pasta water to loosen it. Adjust to taste.
Why does my pesto pasta turn out dry?
Usually because no pasta water was added. The starch in the cooking water helps the oil and cheese emulsify into a sauce that coats the pasta. Add it a splash at a time while tossing.
Can I make pesto pasta ahead of time?
You can make the pesto a few days ahead and refrigerate it, but toss it with the pasta just before serving. Assembled pesto pasta is best eaten right away; leftovers keep 3 to 4 days refrigerated and should be reheated to 165°F (74°C).
Is pesto pasta vegetarian?
Often, but not always. Traditional pesto contains Parmigiano-Reggiano or Pecorino, which are made with animal rennet. Look for a vegetarian-labeled cheese if that matters to you.
Can I use frozen basil or dried basil for pesto?
Frozen basil loses some texture but works in a pinch. Dried basil is not a good substitute—it lacks the fresh oils that define pesto—so use parsley or another fresh herb instead.