Skip to main content

Can You Cook Pesto Sauce? Yes, Here's How

| ~7 min read | Pasta Sauces

Sections
  1. What Pesto Actually Is
  2. Why Pesto Is Treated as a Raw Sauce
  3. How to Make Pesto Step by Step
  4. Choosing Ingredients and Adapting the Recipe
  5. Common Problems and How to Fix Them
  6. Storing, Freezing and Reheating Pesto
  7. Frequently Asked Questions

Yes, you can cook pesto sauce, and you can do it two ways: toss it with hot pasta off the heat, or warm it gently in a pan. What you should not do is boil it hard, because basil pesto is a raw sauce and prolonged heat turns it bitter and dulls the bright green color. The classic method is to pound or blend basil, garlic, pine nuts, salt, Parmesan and olive oil into a paste, then loosen it with pasta water and fold it through drained pasta that has been taken off the burner. Heat comes from the pasta, not from the flame.

What Pesto Actually Is

Pesto alla genovese comes from Liguria, the coastal region around Genoa, where basil grows sweet and small-leaved. The traditional ingredients are basil, garlic, pine nuts, coarse salt, Parmigiano-Reggiano (often with a little Pecorino), and 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 leaves rather than tearing them at high speed, which is one reason a mortar-and-pestle version tastes different from a blender version: blades and heat can bruise the basil and release bitter compounds.

Outside Liguria, the word pesto has stretched to cover many raw herb or vegetable pastes: rocket (arugula) pesto, sun-dried tomato pesto, kale pesto, pistachio pesto, and even pea or courgette versions. They all follow the same logic, a flavorful base plus nuts, cheese, salt and oil, and they all behave the same way in the pan. Knowing that logic lets you improvise without a recipe.

Why Pesto Is Treated as a Raw Sauce

Basil is delicate. Its aroma compounds are volatile, and its color comes from chlorophyll, which degrades with heat and acid. Cook pesto in a hot pan for several minutes and you get a sauce that is olive-brown, flatter in flavor, and slightly bitter. That is why Italian cooks generally add pesto at the very end, off the heat.

The exception is when pesto is used as a cooking base, for example spooned over chicken or fish before baking, or stirred into a soup at the end. In those cases the pesto is an ingredient, not a finishing sauce, and some flavor loss is acceptable. Judge by the dish: if pesto is the star, keep the heat low and brief; if it is a supporting flavor, cook it as you would any herb paste.

How to Make Pesto Step by Step

This makes enough for about 500 g (1 lb) of pasta, serving four. Use a food processor for speed or a mortar for a more textured result.

  1. Toast 50 g (about 1/3 cup) pine nuts in a dry pan over medium-low heat, shaking often, until fragrant and lightly golden, 3 to 5 minutes. Cool completely. Toasting is optional but improves depth; skipping it keeps the sauce greener.
  2. Pick and wash 60 g (about 2 packed cups) fresh basil leaves and dry them thoroughly. Wet leaves make a watery sauce.
  3. Pulse 2 small garlic cloves with a pinch of coarse salt in the processor until chopped, not pureed. Add the basil and pine nuts and pulse in short bursts, scraping down the sides.
  4. With the machine running, drizzle in 120 to 150 ml (1/2 to 2/3 cup) extra-virgin olive oil in a thin stream until the mixture is a loose paste.
  5. Pulse in 50 g (about 1/2 cup) finely grated Parmesan and a spoonful of grated Pecorino if you like. Taste and adjust salt. Do not add cheese before blending if you plan to freeze the pesto, since dairy does not freeze as well.

Salt the pasta water generously, roughly 10 g (about 1.5 teaspoons) of salt per 4 liters (1 gallon) of water, and cook the pasta to al dente, usually 1 to 2 minutes less than the package time. Before draining, scoop out a mug of starchy pasta water. Drain, return the pasta to the warm pot off the heat, add the pesto and a splash of pasta water, and toss until the sauce clings. Add more water a spoonful at a time if it looks tight.

Choosing Ingredients and Adapting the Recipe

Pesto is forgiving, but a few choices matter more than others.

  • Basil: Sweet Genovese basil is ideal. If your basil is woody or the leaves are large and tough, blanch them for 10 seconds in boiling water, then shock in ice water and squeeze dry; this softens the flavor and keeps the color vivid.
  • Nuts: Pine nuts are traditional and expensive. Walnuts, almonds, cashews and pistachios all work; toast them first and expect a slightly different texture.
  • Cheese: A dry, aged grating cheese gives the salty backbone. Pre-grated cheese often contains anti-caking starch that makes the sauce grainy, so grate your own.
  • Oil: Use a good extra-virgin olive oil you would be happy to eat raw. A peppery oil can overpower delicate basil, so taste before committing.
  • Garlic: Raw garlic is pungent and gets stronger over time. Start with one clove and add more only after tasting.

Common Problems and How to Fix Them

Bitter pesto usually means over-processed basil, old garlic with a green sprout, or pine nuts that were rancid or over-toasted. Remove the green germ from garlic before using it, pulse the basil briefly, and taste your nuts before adding them.

Brown pesto is oxidation. A brief blanch of the basil helps, as does storing the pesto under a thin layer of olive oil. The color change is harmless, but the flavor does fade.

Grainy or oily pesto comes from adding oil too fast or from cold cheese. Add oil in a slow stream and use room-temperature cheese.

Dry pasta happens when pesto is added to pasta that has been rinsed or drained too thoroughly. Skip rinsing, save pasta water, and toss while the pasta is still steaming.

Too salty pesto can be balanced with more pasta water, a little unsalted butter, or extra nuts; do not add more cheese to fix it.

Storing, Freezing and Reheating Pesto

Homemade pesto keeps in the fridge for about 3 to 4 days in a sealed jar, topped with a film of olive oil to limit air contact. It freezes well for up to 3 months in small portions, ideally without the cheese, which you can stir in after thawing. Ice cube trays make convenient single-serving blocks. Thaw in the fridge overnight or in the microwave, never on the counter.

Cooked pasta with pesto is a leftover like any other: refrigerate within 2 hours (1 hour if the room is above 90°F/32°C) at 40°F (4°C) or below and eat within 3 to 4 days. Reheat to 165°F (74°C), ideally in a covered pan with a splash of water, or in the microwave. Pesto pasta is best eaten fresh, since the pasta absorbs the oil and the basil dulls on standing; if you must hold it, keep the sauce and pasta separate until serving.

Frequently Asked Questions

Can you heat pesto sauce in a pan?

Yes, but gently. Warm it over low heat for under a minute, or simply stir it into hot drained pasta off the burner. Boiling or frying pesto for several minutes makes it bitter and turns it brown.

Do you cook pesto or add it raw?

Traditional basil pesto is a raw sauce added at the end. It is not simmered like tomato sauce. The heat of freshly drained pasta is enough to warm it and help it coat the noodles.

Why does my pesto turn brown?

Contact with air oxidizes the basil. Storing the pesto under a layer of olive oil, blanching the leaves briefly, and using it soon after making it all slow the change. Brown pesto is safe to eat, just less vivid.

Can I make pesto without pine nuts?

Yes. Walnuts, almonds, cashews and pistachios are common substitutes. Toast them first for better flavor, and adjust salt since different nuts vary in richness.

Is pesto safe for everyone to eat?

Classic pesto contains raw garlic and unpasteurized cheese, and some versions use raw egg, which is not recommended for anyone at higher risk of foodborne illness. If that is a concern, use pasteurized egg or skip it, and check cheese labels. Pesto also contains nuts and dairy, so anyone with allergies should read the ingredients carefully.

How much pesto should I use per portion of pasta?

Roughly 2 to 3 tablespoons of pesto per 100 g (about 3.5 oz) of dry pasta is a good starting point. Start light and add more, loosening with pasta water, since pesto is intense and easy to overdo.

Similar articles