Mom's Best Recipes
Recipe

Pesto Without Pine Nuts

A bright, garlicky basil pesto that skips pine nuts but keeps the creamy texture, rich flavor, and weeknight speed.

Author By Matt Campbell
4.8
A small glass jar filled with bright green basil pesto made with walnuts, set on a clean kitchen counter with basil leaves and a lemon nearby

Pine nuts are lovely. They are also expensive, sometimes stale, and mysteriously missing from your pantry the exact moment you decide you need pesto right now. The good news is that pesto is not a one-nut monarchy. You can make a seriously delicious, glossy, spoon-licking pesto with walnuts, almonds, sunflower seeds, or pepitas and nobody at the table will feel deprived.

This version is the one I make on repeat. It is basil-forward, garlicky in a friendly way, and balanced with lemon so it tastes alive, not flat. I will also show you a couple of easy swaps depending on what you have, plus how to keep it green, how to fix a bitter batch, and how to store it like a pro.

Fresh basil, garlic cloves, grated Parmesan, lemon, olive oil, and walnuts arranged on a light kitchen counter

Why It Works

  • Same classic pesto vibe, no pine nuts needed: walnuts bring richness and a gentle bitterness that tastes grown-up and savory.
  • Bright, not heavy: lemon juice and zest wake everything up so the sauce tastes fresh even on day three.
  • Creamy texture without drama: a short blend, then olive oil added gradually, gives you that spoonable, glossy finish.
  • Flexible for allergies and budgets: swap in sunflower seeds or pepitas, and adjust the cheese to fit what you have.

Pairs Well With

Storage Tips

How to Store Pesto

Refrigerator: Spoon pesto into a small jar or airtight container. Smooth the top, then pour a thin layer of olive oil over the surface to reduce browning. Refrigerate for 3 to 5 days. Use a clean spoon each time and trust your senses. If it smells off, looks odd, or tastes funky, toss it.

Freezer: Freeze in ice cube trays for easy portions. Once frozen, pop cubes into a freezer bag. Freeze up to 3 months.

Thawing and using: Thaw overnight in the fridge or melt a cube directly in warm pasta with a splash of pasta water. If it looks separated, stir like you mean it.

Common Questions

Common Questions

What is the best substitute for pine nuts in pesto?

Walnuts are my favorite all-around swap because they are rich, easy to find, and blend into a creamy paste. For a milder, more neutral pesto, use sunflower seeds. For a slightly sweet, buttery vibe, use almonds or cashews.

Allergy note: walnuts, almonds, and cashews are tree nuts. If you need a nut-free option, go with sunflower seeds or pepitas.

Do I need to toast the nuts or seeds?

Not required, but it helps. A quick toast brings out flavor and makes the pesto taste deeper. Just do not take them too dark or the pesto can lean bitter.

How do I keep pesto from turning brown?

Three moves: blanch the basil (optional but effective), use lemon juice, and store with a thin olive oil layer on top. Also, avoid over-blending which warms the leaves and dulls the color.

Blanching note: It keeps pesto bright green, but it can slightly soften basil's punchy, raw edge. If you love that fresh bite, skip it and lean on lemon plus the oil cap instead.

Why does my pesto taste bitter?

Common causes are over-toasted nuts, older or bruised basil, or using a very peppery olive oil. Over-processing can also push bitterness by warming and oxidizing the basil. Basil stems can contribute too, especially thicker ones.

Fix it by adding a pinch of salt, a little more lemon, and more cheese or a splash of olive oil to round it out. If it still tastes sharp, add a tiny pinch of sugar. Honey also works, but it will make the pesto a little less classic and slightly sweet.

Can I make it dairy-free?

Yes. Skip the cheese and add 1 to 2 tablespoons nutritional yeast plus an extra pinch of salt. You can also add a small spoon of white miso for savory depth.

Can I make pesto without a food processor?

Yes. Use a blender (pulse and scrape often), or go old-school with a mortar and pestle for the best texture if you have the patience. If using a blender, add oil slowly and avoid running it too long.

I was originally the kind of cook who thought pesto meant pine nuts, full stop. Then I started cooking in real kitchens where you learn fast: the “right” ingredient is the one you can get, afford, and make taste great. Walnuts were my first swap and it was one of those moments where you taste a spoonful and realize you have been overthinking your whole life. Now I keep a bag of walnuts in the freezer, basil on the counter, and I treat pesto like a choose-your-own-adventure that usually ends with pasta and a suspiciously clean spoon.