Easy Appetizers

Simple appetizers, snacks and home cooking answers

Garlic Pesto Sauce Pasta – Simple Recipe

· 6 min read · Mains

In this article
  1. Ingredients
  2. Instructions
  3. Ingredient Swaps and Their Effects
  4. Common Pitfalls and How to Fix Them
  5. Storage and Shelf Life

Garlic pesto sauce pasta combines al dente wheat strands with a bright, herbaceous sauce that carries a subtle bite from fresh garlic. The dish delivers a creamy texture without dairy cream, making it a quick weeknight dinner that can also travel well for potlucks. Its green color and aromatic profile suit spring lunches or a casual family meal.

Serves 4 · Prep 15 min · Cook 12 min · Total 30 min

Ingredients

  • 12 oz (340 g) spaghetti or linguine
  • 2 cups packed fresh basil leaves (about 60 g)
  • 4 large garlic cloves (≈12 g), peeled
  • ¼ cup (35 g) pine nuts
  • ½ cup (50 g) freshly grated Parmesan cheese
  • ½ cup (120 ml) extra‑virgin olive oil
  • ½ tsp (2.5 g) kosher salt
  • ¼ tsp (0.5 g) freshly ground black pepper
  • 1 tsp (5 ml) fresh lemon juice (optional, for brightness)
  • Additional olive oil for drizzling the cooked pasta (optional)

Instructions

  1. Fill a large pot with 4‑5 quarts (3.8‑4.7 L) of water, add 1 Tbsp (15 g) salt, and bring to a rolling boil over high heat.
  2. Add the spaghetti, stir, and cook 10‑12 minutes, or until al dente according to package directions. Reserve ½ cup (120 ml) of the hot pasta water, then drain the pasta in a colander.
  3. While the pasta cooks, place the basil, garlic, pine nuts, Parmesan, salt, and pepper in the bowl of a food processor. Pulse 5‑6 seconds until the ingredients form a coarse crumb.
  4. With the processor running, slowly drizzle the olive oil through the feed tube. Continue processing 20‑30 seconds, or until the mixture becomes a smooth, glossy paste. If the pesto looks too thick, add a tablespoon of the reserved pasta water and pulse again.
  5. Transfer the pesto to a large mixing bowl. Add the drained spaghetti and toss to coat, using the remaining reserved pasta water a tablespoon at a time until the sauce reaches a silky consistency that clings to each strand.
  6. Adjust seasoning with a pinch more salt or pepper if needed. Serve immediately, optionally drizzling a thin stream of extra‑virgin olive oil and sprinkling extra Parmesan on top.

Ingredient Swaps and Their Effects

If pine nuts are unavailable or you prefer a lower‑cost alternative, substitute an equal volume of toasted walnuts or almonds. Walnuts add a richer, earthier flavor and a slightly softer texture, while almonds keep the pesto bright but introduce a faint nutty sweetness. Use the same ¼ cup (35 g) measurement; the oil absorption may be marginally higher, so add a teaspoon of water if the sauce feels too thick.

For a dairy‑free version, replace Parmesan with ½ cup (50 g) nutritional yeast or a dairy‑free hard cheese. Nutritional yeast supplies a cheesy umami note but lacks the salty bite of Parmesan, so increase the salt by ¼ tsp (1 g) to compensate.

When basil is out of season, substitute an equal amount of packed spinach or arugula. Spinach yields a milder, greener sauce and reduces the characteristic peppery bite, while arugula adds a peppery sharpness that can replace the garlic’s heat. Expect a slightly lighter color and a softer mouthfeel; you may need to add an extra teaspoon of lemon juice to brighten the flavor.

If olive oil is a concern, use grapeseed oil or a light‑flavored avocado oil in the same ½ cup (120 ml) quantity. Both oils are more neutral, resulting in a pesto that lets the basil dominate. The sauce may feel thinner, so consider adding an extra tablespoon of pine nuts or walnuts to restore body.

For a gluten‑free pasta, replace the wheat spaghetti with a 12‑oz (340 g) brown‑rice or quinoa pasta. Cooking times may differ by 2‑3 minutes; follow the package instructions and reserve the same amount of pasta water for emulsifying the sauce.

Common Pitfalls and How to Fix Them

Pesto turns out too dry. This usually occurs when too much oil is omitted or the nuts are over‑processed, creating a powdery texture. Remedy the dryness by adding 1‑2 Tbsp (15‑30 ml) of the reserved pasta water, then toss again. The starch in the water acts as an emulsifier, binding the oil to the basil fibers.

Pesto becomes overly runny. Excess oil or over‑blending can break the emulsion, leaving a soupy sauce that slides off the pasta. Fix this by stirring in an additional ¼ cup (25 g) grated Parmesan, which absorbs excess moisture, or by adding a handful of toasted pine nuts to thicken the mixture.

Basil darkens or turns bitter. Over‑processing generates heat that oxidizes chlorophyll, producing a brown hue and bitter notes. Pulse the processor in short bursts, stopping as soon as the mixture becomes cohesive. If bitterness persists, balance it with a teaspoon of lemon juice or a pinch of sugar.

Garlic flavor overwhelms the sauce. Four cloves provide a moderate bite, but personal tolerance varies. If the sauce is too pungent, blend in an extra ¼ cup (25 g) of Parmesan and a splash of extra‑virgin olive oil to mellow the sharpness.

Salt is insufficient. Because the sauce lacks a cooking step that concentrates flavor, it can taste flat. Taste the pesto before mixing with pasta; add salt in ¼‑tsp increments until the flavor is balanced. Remember that the pasta water is already salted, so you may need less than the recipe calls for.

Storage and Shelf Life

Transfer any leftover pesto to an airtight container, smooth the surface, and drizzle a thin layer of olive oil to seal it from air. Refrigerate within 2 hours of cooking; the sauce will keep 3‑4 days at 40°F‑45°F (4°C‑7°C). Because the pesto contains raw garlic in oil, limit storage to 4 days to avoid the risk of botulism.

For longer storage, portion the pesto into freezer‑safe bags or containers, flatten to remove air, and freeze at 0°F (‑18°C). It retains quality for up to 2 months. Thaw in the refrigerator overnight, then stir in a tablespoon of fresh olive oil if the texture appears grainy.

When reheating, avoid microwaving the sauce directly, as high heat can separate the emulsion. Instead, gently warm the pesto in a saucepan over low heat, adding a splash of pasta water or broth to restore smoothness. Reheat any leftover pasta to an internal temperature of 165°F (74°C) before serving, checking with a food thermometer.

Never store the sauce at room temperature for more than 2 hours; the combination of oil, garlic, and basil creates a low‑acid environment that supports bacterial growth. Discard any pesto that shows off‑color, off‑smell, or mold.

Scaling the recipe is straightforward: multiply each ingredient by the desired factor. For example, to serve two people, use 6 oz (170 g) pasta, 1 cup (30 g) basil, 2 cloves garlic, 2 Tbsp (17 g) pine nuts, ¼ cup (25 g) Parmesan, ¼ cup (60 ml) olive oil, ¼ tsp salt, a pinch of pepper, and ½ tsp lemon juice. The cooking times remain the same because the volume of sauce does not affect the boiling point of the pasta water.