Skip to main content

Pasta al Pesto Vegana: How to Make It Right

| ~7 min read | Pasta Sauces

Sections
  1. What Traditional Pesto Contains and What to Replace
  2. How to Make Vegan Pesto Without It Turning Bitter or Grey
  3. Choosing the Pasta and Cooking It
  4. Common Problems and How to Fix Them
  5. Allergens, Safety and Storage
  6. Variations Worth Trying
  7. Frequently Asked Questions

Yes, pasta al pesto can absolutely be vegan. Traditional Italian pesto alla genovese contains Parmesan and pecorino, but you can make a fully plant-based version by swapping those cheeses for nutritional yeast, a fermented nut or seed paste, or a good vegan hard cheese, and by using olive oil, basil, pine nuts (or another nut or seed), garlic and salt. The result is a bright, herby, savoury sauce that clings to pasta just as well as the dairy original.

What surprises many cooks is that pesto is not a cooked sauce. It is a raw emulsion of crushed herbs, nuts, oil and cheese, which is why the cheese plays such an outsized role: it adds salt, umami and a slight tang that balances the fat of the oil and nuts. Remove it without replacing those qualities and the pesto tastes flat. The sections below cover what to substitute, how to build the sauce so it does not turn bitter or grey, which pasta shapes work, and the food-safety points that matter when you are working with raw garlic, nuts and fresh basil.

What Traditional Pesto Contains and What to Replace

Pesto alla genovese is a short list: fresh basil, pine nuts, garlic, coarse salt, extra-virgin olive oil, Parmigiano-Reggiano and pecorino sardo. For a vegan version, the basil, pine nuts, garlic, salt and oil stay. The two cheeses are the only ingredients that need replacing, and each brings something different.

  • Parmesan contributes sharp, nutty umami and salt. Nutritional yeast (about 2 to 3 tablespoons per batch) is the most common stand-in, often combined with a pinch of salt.
  • Pecorino contributes a sharper, saltier bite. A small amount of white miso (about 1 teaspoon) or a fermented almond or cashew "cheese" adds that savoury depth.
  • Texture: dairy cheese also thickens and helps the sauce cling. Ground almonds, cashews or sunflower seeds, or a spoonful of mashed tofu, restore some body.

A reliable baseline for one batch serving about four people as a sauce: 50 g (about 2 packed cups) fresh basil leaves, 30 g (about 1/4 cup) pine nuts or blanched almonds, 1 small garlic clove, 1/2 teaspoon fine salt, 2 to 3 tablespoons nutritional yeast, 1 teaspoon white miso (optional), and 100 to 120 ml (about 1/2 cup) extra-virgin olive oil. Blend or pound, then taste and adjust salt and acidity with a squeeze of lemon.

How to Make Vegan Pesto Without It Turning Bitter or Grey

Basil bruises and oxidises quickly. Two things help: keep the blades cold and avoid over-processing. A food processor works, but pulse in short bursts and scrape down the sides; running it for a full minute heats the leaves and turns the sauce dull and slightly bitter. If you have a mortar and pestle, pounding the leaves with salt first, then adding nuts and oil, gives a silkier, more aromatic result.

Chilling the bowl and blade of the processor for ten minutes before you start is a practical trick. So is blanching the basil for just 10 to 15 seconds in boiling water and plunging it into ice water before blending; this sets the green colour, though it slightly softens the raw flavour. Either way, use the pesto the same day if you can. Stored in a jar with a thin layer of olive oil on top and a lid, it keeps about 3 to 4 days in the refrigerator at 40°F (4°C) or below.

Choosing the Pasta and Cooking It

Pesto clings best to shapes with texture or hollows. Good choices are trofie (the traditional Ligurian shape), fusilli, farfalle, penne rigate, orecchiette, casarecce or linguine. Long smooth strands like spaghetti work, but the sauce tends to pool at the bottom of the bowl unless you toss it thoroughly with a splash of pasta water.

For four servings, use about 350 to 400 g (12 to 14 oz) dried pasta. Bring a large pot of water to a rolling boil, salt it with about 1 to 1.5 tablespoons of salt per 4 litres (4 quarts), and cook to al dente according to the package, usually 1 to 2 minutes less than the full time. Before draining, scoop out about 1 cup of the starchy cooking water. Do not rinse the pasta; the surface starch helps the sauce adhere.

Off the heat, toss the drained pasta with the pesto and a few tablespoons of the reserved water, adding more water a spoonful at a time until the sauce coats every piece. Pesto should never be heated in a pan over direct heat, which dulls the basil and separates the oil.

Common Problems and How to Fix Them

  • Pesto tastes flat: it needs salt and acid. Add a pinch more salt and a squeeze of lemon, and check whether you used enough nutritional yeast.
  • Sauce is oily and separates: the emulsion broke. Whisk in a tablespoon of warm pasta water or a teaspoon of miso until it comes back together.
  • Pesto is bitter: the garlic was over-processed or the basil was old. Use a fresh small clove, remove any bruised leaves, and pulse rather than blend.
  • Sauce is too thick: add reserved pasta water, not more oil.
  • Colour turns brown: oxidation. Press plastic wrap or a film of oil directly onto the surface for storage and use within a few days.

Allergens, Safety and Storage

Pesto is a raw sauce, so it carries the usual cautions. Fresh garlic and basil are low-risk, but nuts are a major allergen; if you are serving guests, label the dish and offer a seed-based version (sunflower or pumpkin seeds work well) for anyone with a tree-nut allergy. Pine nuts are technically seeds but are often grouped with tree nuts in allergy advice, so treat them cautiously.

Keep pesto refrigerated at 40°F (4°C) or below and use within 3 to 4 days. Do not store it at room temperature, and never make garlic-in-oil infusions to keep on the shelf; garlic in oil at room temperature is a documented botulism risk. If you want garlic oil, make it fresh and refrigerate it, using it within a few days.

If you add cooked ingredients such as roasted vegetables or chickpeas to the dish, refrigerate leftovers within 2 hours (1 hour if the room is above 90°F/32°C). Reheat leftovers to 165°F (74°C), and check with a food thermometer rather than by sight. Cooked pasta dishes keep 3 to 4 days in the refrigerator and freeze well at 0°F (-18°C) for up to about 2 months, though the basil flavour fades.

Variations Worth Trying

Pesto is a template, not a fixed recipe. Swap basil for rocket (arugula), parsley, kale or wild garlic; swap pine nuts for almonds, walnuts, pistachios, hazelnuts or sunflower seeds. A roasted red pepper and almond pesto, or a sun-dried tomato and cashew version, both work as vegan sauces for pasta and keep well. For a creamier result, blend in a few tablespoons of silken tofu or soaked cashews; the sauce will coat more heavily and suits short shapes like rigatoni.

If you are serving a crowd and want to stretch the sauce, toss the pesto with hot pasta and a handful of blanched green beans and cubed potato, the classic Ligurian combination. Add the vegetables to the pasta water in the last few minutes so everything finishes together.

Frequently Asked Questions

Is store-bought pesto usually vegan?

Most traditional jars contain Parmigiano-Reggiano or pecorino, and many also contain milk powder or whey, so check the label. A growing number of brands make explicitly vegan pesto with nutritional yeast or cashew cheese; look for "vegan" on the front and read the ingredient list for milk, cheese or whey.

Can I make vegan pesto without nuts?

Yes. Sunflower seeds, pumpkin seeds, hemp hearts or toasted breadcrumbs can replace the nuts. Sunflower seeds give a mild, creamy result; pumpkin seeds add a slightly green, earthy note. Toast seeds lightly first for more flavour.

Why does my pesto turn brown?

Basil oxidises when exposed to air and light. Store it in a small jar with a film of olive oil on top, press plastic wrap onto the surface, and keep it cold. A brief blanch of the leaves before blending also slows browning.

Can I freeze pesto?

Yes. Freeze it in ice-cube trays or small jars, leaving headroom, for up to about 2 months at 0°F (-18°C). Thaw in the refrigerator overnight and stir well before tossing with hot pasta; the texture may be slightly looser than fresh.

Do I need to cook the pesto?

No. Pesto is a raw sauce and is added to hot, drained pasta off the heat. Heating it in a pan dulls the basil and can make the oil separate.

Is vegan pesto gluten-free?

The sauce itself usually is, but check the nutritional yeast and any vegan cheese for gluten-containing additives, and use gluten-free pasta if needed.

Similar articles