Skip to main content

What to Use Instead of Pesto: 10 Swaps That Work

| ~6 min read | Pasta Sauces

Sections
  1. What Pesto Actually Is and Why Substitutions Work
  2. Herb and Greens Swaps: Change the Color, Keep the Method
  3. Red Pesto, Tomato-Based, and Roasted Vegetable Alternatives
  4. Nut-Free and Dairy-Free Versions
  5. Non-Pesto Sauces That Fill the Same Role
  6. How to Substitute Without Ruining the Dish
  7. Storage and Food Safety
  8. Frequently Asked Questions

The quickest answer: use another herb- or nut-based sauce in the same role, such as arugula (rocket) pesto, sun-dried tomato pesto, olive tapenade, romesco, salsa verde, or a simple garlic-and-oil emulsion like aglio e olio. If you are avoiding basil, pine nuts, dairy, or garlic specifically, the right substitute depends on which ingredient is the problem, because pesto is a sauce built from five components (herbs, nuts, hard cheese, garlic, and oil) and each one can be swapped independently.

What Pesto Actually Is and Why Substitutions Work

Classic pesto genovese is a cold, uncooked emulsion of basil, pine nuts, garlic, salt, Parmigiano-Reggiano or pecorino, and olive oil, traditionally pounded in a mortar. Nothing in that list is chemically essential. The herbs supply aroma and color, the nuts supply body and fat, the cheese supplies salt and umami, and the oil carries it all. That means you can rebuild the sauce with a different herb, a different nut, or no nuts at all and still get something that behaves the same way in the bowl.

What you cannot do freely is change the texture logic. A pesto is thick enough to cling to pasta but loose enough to toss. Too dry and it clumps; too wet and it slides to the bottom of the bowl. Whatever you substitute, aim for a loose paste that falls slowly off a spoon, and loosen it at the end with pasta water rather than more oil.

Herb and Greens Swaps: Change the Color, Keep the Method

The simplest substitution is another leafy green in the same proportions. These all work in a food processor with the same nut, cheese, garlic, and oil base:

  • Arugula (rocket) pesto: peppery and sharper than basil; use slightly less garlic because arugula already bites.
  • Parsley pesto: flat-leaf parsley gives a cleaner, grassier flavor that suits fish and potatoes as well as pasta.
  • Kale or spinach pesto: blanch tough kale for about 30 seconds and squeeze it dry first, otherwise the raw fiber stays coarse and the sauce tastes bitter.
  • Mint pesto: excellent with peas, zucchini, and lamb; keep the cheese light so the mint is not buried.
  • Carrot-top or beet-green pesto: a genuine use for parts usually thrown away, though both are more bitter and benefit from a little extra cheese.

One practical note: soft basil bruises and darkens when processed hard, which is why pesto turns brown. Blanching basil for 10 to 15 seconds and shocking it in ice water preserves the green color, and the same trick helps with arugula and parsley.

Red Pesto, Tomato-Based, and Roasted Vegetable Alternatives

If you want the same spoonable texture without any herb at all, tomato-based sauces are the closest structural match:

  • Sun-dried tomato pesto (pesto rosso): blend drained oil-packed sun-dried tomatoes with almonds, garlic, and Parmesan. It is sweeter and more intense, so use about two-thirds the volume you would of basil pesto.
  • Roasted red pepper and almond spread: romesco territory; smoky, thick, and good on pasta, grilled vegetables, or as a sandwich spread.
  • Olive tapenade: chopped olives, capers, anchovy if you like, olive oil. Very salty, so taste before adding cheese or salt.

These are heavier than green pesto, so thin them with pasta water and use less than you think. A quarter cup of tapenade will coat a generous portion of spaghetti.

Nut-Free and Dairy-Free Versions

Pine nuts are expensive and are a tree nut, and pesto also contains dairy, which makes classic pesto unusable for some households. Both are easy to fix:

  • Nut swaps: walnuts, almonds, pistachios, hazelnuts, cashews, or sunflower seeds. Toast them first at 350°F (175°C) for 5 to 8 minutes to build flavor, then cool completely before processing.
  • Seed-based: sunflower or pumpkin seeds give body without any tree nut, and pumpkin seeds turn the sauce a muted green.
  • Dairy-free: replace Parmesan with nutritional yeast (about 2 tablespoons per cup of greens) plus a pinch of salt, or use a aged plant-based hard cheese. Check labels if you are cooking for an allergy.
  • Garlic-free: use a pinch of asafoetida or simply omit it; the sauce will taste flatter, so add lemon zest for lift.

Breadcrumb pesto (sometimes called poor man's pesto) uses stale bread soaked in water or vinegar instead of nuts. It is an old Italian technique, it is cheap, and the texture is surprisingly close.

Non-Pesto Sauces That Fill the Same Role

If you are out of pesto entirely and want a fast pasta sauce from pantry staples, these are the honest alternatives:

  1. Aglio e olio: warm sliced garlic in olive oil, add chili flakes, toss with hot pasta and a splash of pasta water.
  2. Cacio e pepe: grated pecorino and black pepper emulsified with starchy pasta water, off the heat.
  3. Lemon and ricotta: whisk ricotta with lemon zest, salt, and pasta water until creamy.
  4. Brown butter and sage: melt butter until nutty, fry sage leaves, toss with filled pasta like ravioli or gnocchi.
  5. Tuna and tomato: canned tuna, crushed tomatoes, olive oil, and garlic simmered for 10 minutes.

How to Substitute Without Ruining the Dish

Pesto is usually a finishing sauce, not a cooked one, so the main risks are salt and oil balance. Keep these rules in mind:

  • Taste before salting. Cheese, olives, anchovies, and sun-dried tomatoes are all salty.
  • Add pesto off the heat. Boiling it dulls the fresh herb flavor and can split the emulsion.
  • Reserve pasta water before draining: about 1 cup per pound (450 g) of pasta. Add it a tablespoon at a time to loosen the sauce.
  • Use roughly 2 to 4 tablespoons of pesto per 100 g of dry pasta, depending on how strong the substitute is.
  • Salt the water moderately, about 1 tablespoon per 4 quarts (about 3.8 L); the sauce will add more salt.

Cook pasta to al dente, usually 1 to 2 minutes less than the package time, then finish it in the pan with the sauce for the last minute.

Storage and Food Safety

Homemade pesto and its substitutes are perishable. Refrigerate in a sealed container with a thin layer of olive oil on top and use within 3 to 4 days. Freeze in ice cube trays, then transfer to a freezer bag at 0°F (-18°C) for up to 3 months; thaw in the fridge, not on the counter.

Do not store garlic or herb oil infusions at room temperature, because they create a low-oxygen, low-acid environment where bacteria can grow. Keep them refrigerated and use quickly. If a substitute sauce contains egg, such as an aioli-style emulsion, use pasteurized eggs for anyone pregnant, elderly, very young, or immunocompromised, and never taste raw dough or raw egg mixtures. Reheat leftovers to 165°F (74°C).

Frequently Asked Questions

Can I use spinach instead of basil in pesto?

Yes. Spinach makes a milder, greener sauce. Use it raw for a soft texture, or blanch and squeeze it dry first if you want a thicker result. Add a little lemon juice to keep the color bright.

What can I use if I have no pine nuts?

Walnuts, almonds, cashews, pistachios, or sunflower seeds all work. Toast them for 5 to 8 minutes at 350°F (175°C) and cool them before blending so the sauce does not turn bitter.

Is there a pesto substitute without cheese?

Yes. Nutritional yeast, a pinch of miso, or extra toasted nuts can replace the savory depth of Parmesan. Taste and adjust salt, since the cheese was doing much of that job.

Can I use pesto on things other than pasta?

Absolutely. It works as a sandwich spread, stirred into soup, dolloped on roasted vegetables, mixed into salad dressing, or spread on fish before baking.

How long does homemade pesto last?

About 3 to 4 days in the fridge at 40°F (4°C) or below, or up to 3 months frozen at 0°F (-18°C). Discard it if it smells sour or shows mold.

Similar articles