The first time I stopped treating pesto like a “rules-only” sauce, dinner got way easier. It was late summer, my basil looked tired, and pine nuts cost more than my whole grocery cart. So I made Pesto with Herb and Nut Swaps anyway. I grabbed parsley, a handful of walnuts, and a squeeze of lemon, and suddenly I had a sauce that tasted fresh, bold, and completely mine.
That’s why I love Pesto with Herb and Nut Swaps. You keep the soul of pesto—garlic, greens, good fat, and a salty finish—then you swap what you have. Better still, you can steer the flavor on purpose. Want peppery? Add arugula. Want citrusy? Lean into cilantro and lime. Want cozy and rich? Toast walnuts and go heavier on cheese. Once you learn the pattern, Pesto with Herb and Nut Swaps stops being a recipe and turns into a habit.
And yes—this still counts as pesto. Many cooks treat it as a flexible formula, not a strict basil-only rulebook.

The pesto formula you can memorize
Think of pesto as four building blocks: greens + nuts/seeds + cheese (or umami) + oil, then you balance with salt and acid.
Here’s my “works-every-time” ratio for a medium batch (about 1 cup). It matches how many trusted recipes frame the sauce, while leaving room for swaps.
- 2 packed cups greens/herbs (about 2–3 ounces)
- 1/3 cup nuts or seeds
- 1/2 cup finely grated hard cheese (Parmesan-style)
- 1–2 garlic cloves
- 1/3 to 1/2 cup olive oil (start lower, then adjust)
- 1–2 teaspoons lemon juice (optional, but I love it)
- Salt + black pepper, to taste
You don’t have to hit these numbers like a math test. Still, the ratio keeps your sauce from turning watery, bitter, or greasy.
My fast food-processor method (best for busy nights):
- Add nuts/seeds + garlic to the processor. Pulse until sandy.
- Add greens + a pinch of salt. Pulse until chopped.
- Add cheese. Pulse once or twice.
- Drizzle in oil while pulsing until spoonable.
- Finish with lemon, pepper, and any extra salt.
My “bright green” habit: I stop blending before it turns into a perfectly smooth paste. Pesto tastes fresher when it keeps a little texture.
Mortar-and-pestle vibe (without the time sink):
If you want that old-school flavor, crush garlic with salt first, then smash nuts, then mash greens, and finally stir in cheese and oil. Even Bon Appétit-style pesto guidance leans on this idea: crush and blend in stages, not all at once.
Pesto with Herb and Nut Swaps (Mix-and-Match Pesto)
Ingredients
Equipment
Method
- Toast the nuts or seeds in a dry skillet until fragrant. Cool completely.
- Add cooled nuts/seeds and garlic to a food processor. Pulse until sandy.
- Add herbs/greens and salt. Pulse until finely chopped.
- Add grated cheese and pulse 1–2 times to combine.
- Drizzle in olive oil while pulsing until glossy and spoonable. Add a splash of water if it needs loosening.
- Taste and adjust with more salt, pepper, or lemon juice. Store tightly covered with a thin oil layer on top, or freeze in cubes.
Nutrition
Notes
Tried this recipe?
Let us know how it was!Herb swaps that actually taste good
Classic basil pesto tastes sweet, grassy, and a little peppery. When you build Pesto with Herb and Nut Swaps, you can keep that vibe—or flip it completely.
One key trick: tender herbs blend smoother than woody herbs. Parsley, cilantro, dill, tarragon, chives, mint, and basil puree nicely. Strong, woody herbs can overwhelm fast, so I use them in small amounts.
My favorite herb swap pairs (use any two):
- Basil + parsley: tastes classic but brighter
- Parsley + cilantro: fresh and citrusy, great with tacos
- Basil + mint: clean, cooling finish (killer with grilled chicken)
- Arugula + basil: peppery and bold (I do half-and-half)
- Spinach + basil: mild, super-green, kid-friendly
If your herb tastes sharp or bitter:
Don’t fight it—blend it. I cut intense greens (arugula, kale) with a softer base like basil, spinach, or parsley. Love & Lemons also suggests mixing basil with other greens to mellow the punch.
Quick flavor steering (my “tiny add-ins” rules):
- Add lemon zest if your herbs taste flat.
- Add more cheese if your greens taste too “green.”
- Add a teaspoon of honey if you used a bitter green and it needs rounding (optional, but it works).
Nut and seed swaps (plus nut-free options)
Pine nuts taste buttery and sweet, but they’re pricey. Thankfully, you can swap them with almost any nut or even seeds. Martha Stewart calls out pistachios, cashews, almonds, walnuts, and seeds like sunflower and pumpkin.
My “toast first” rule:
Toasting pulls out deeper flavor and makes cheaper nuts taste expensive. Just toast in a dry skillet until fragrant, then cool before blending.
Swap guide by the texture you want:
- Creamy pesto: cashews, pistachios, macadamias
- Earthy pesto: walnuts, pecans
- Clean and mild: almonds
- Budget hero: sunflower seeds
- Nut-free: pepitas (pumpkin seeds) or sunflower seeds
If you’re cooking for allergies:
Nut-free pesto exists for a reason. Several nut-free approaches swap in seeds, and they still blend into a thick, glossy sauce.
What about the cheese?
Parmesan gives pesto that salty, savory backbone, but you can swap it too. Hard, salty cheeses (like Pecorino-style) work well, and vegan versions often lean on other umami boosters.
The swaps table you’ll actually use
Here’s the “save this” chart for Pesto with Herb and Nut Swaps:
| Swap | Best picks | Flavor you get | Where it shines |
|---|---|---|---|
| Herb base | Parsley, cilantro, mint, dill | Brighter, fresher, less sweet | Grilled meats, grain bowls, tacos |
| Greens blend | Arugula, spinach, kale (use half) | Peppery or mellow depending on mix | Sandwiches, pasta, roasted veg |
| Nut swap | Walnuts, almonds, cashews, pistachios | Earthy to buttery (toast for depth) | Pasta, pizza, spooned over chicken |
| Seed swap (nut-free) | Sunflower seeds, pepitas | Toasty, slightly savory | School lunches, allergy-friendly meals |
Now you can build Pesto with Herb and Nut Swaps based on what’s in your fridge, not what a “classic” list demands.
Fix-it guide: bitterness, thickness, salt, and browning
Even a flexible pesto can go sideways. When it does, you can fix it fast.
If it tastes bitter:
- Use fewer strong greens (like kale/arugula) and blend with parsley or spinach.
- Toast nuts lightly, then cool them before blending.
- Add a little more cheese or a pinch of sugar to round sharp edges.
If it’s too thick:
Add oil slowly first. If you already added plenty, loosen it with a tablespoon of pasta water (my favorite), or a splash of water. That keeps the flavor strong instead of oily.
If it’s too salty:
Blend in more greens, or add a small squeeze of lemon to shift the balance.
If it looks dull or brown:
Air causes browning. I press pesto into a jar and smooth the top, then pour a thin layer of olive oil over it before sealing. Plenty of cooks use this same trick to slow oxidation.
Storage you can trust:
The National Center for Home Food Preservation recommends keeping pesto refrigerated no more than a few days and freezing it for longer storage.
Many recipe publishers also suggest about a week in the fridge and a few months frozen, depending on how you store it.
One internal link (as requested):
If you want more weeknight-friendly ideas like this, browse Quick Recipes for simple, fast dinners and sides.
Serving Up the Final Words
Once you start making Pesto with Herb and Nut Swaps, you stop running to the store for “perfect” ingredients. You’ll use what you have, toast a handful of nuts or seeds, and build a sauce that fits the meal you’re cooking tonight. Keep the formula in your head, taste as you go, and adjust with lemon, cheese, and salt until it sings. Make a batch this week, freeze a few cubes, and you’ll have instant flavor on standby.

Frequently Asked Questions
What can I use instead of pine nuts in pesto?
Try walnuts, almonds, cashews, pistachios, sunflower seeds, or pepitas. Toast them first for deeper flavor. This swap keeps the texture thick and spoonable while making your pesto cheaper and easier to pull off any night.
What’s a good substitute for basil in pesto sauce?
Use parsley for a mild, classic feel, or cilantro for a brighter, citrusy edge. Mint also works when you want a cooling finish. Start with tender herbs, then add stronger herbs in small amounts so they don’t take over.
Can you make pesto without nuts?
Yes. Swap nuts for sunflower seeds or pumpkin seeds, or skip them entirely and accept a sharper, lighter texture. Seed-based versions still blend smooth and taste rich, which makes them great for nut-free households.
How long does homemade pesto last in the fridge?
For best safety, keep it only a few days in the fridge, then freeze the rest. If you top it with oil and seal it tightly, you can stretch freshness, but freezing gives you the best flavor later.
