Walnut Pesto (And a Flexible Basic Pesto Recipe)

As an Amazon Associate, I earn from qualifying purchases.

Whether you’re craving a bright, bold walnut pesto or would rather riff on our flexible basic pesto formula with whatever ingredients you have on hand, we’ve got you covered. Here’s how to make perfect pesto every time.

Why we love this recipe

I’m hardly exaggerating when I say I want to dive right into a bowl walnut pesto. This recipe:

  • Balances the creaminess and earthiness of walnuts with
  • Basil’s fresh flavors
  • The deep umami of grated parmesan or pecorino
  • The astringency of good olive oil
  • And plenty of bright, tangy lemon juice

It’s also a really good idea to have a basic, flexible formula for pesto that can accommodate a variety of nuts, greens, and cheeses and still come out great every time.

Once you’ve got that, you’ve pretty much got a meal in your back pocket.

Ingredients

Here’s all you need to make walnut pesto. You can pop down to the section below to learn about the basic pesto formula to use other ingredients.

pesto ingredients in bowls
  • Walnuts add an unbeatable creaminess and an earthiness to pesto. Since you’ll be chopping them up in the food processor, opt for less-expensive walnut pieces rather than whole nuts.
  • Basil makes classic pesto. It’s a great one to grow rather than buy if you can. You can even do it in a container on your balcony.
  • Garlic is classic and always available, but I also LOVE to swap in garlic scapes when they’re in season. Either one is great!
  • Cheese โ€” when we’re going classic, I use either parmesan or pecorino.
  • This recipe uses fresh lemon juice, which adds an exceptional brightness to pesto that I really miss when it’s not there.

How to make it

Here’s all you need to do to have walnut pesto on the table in about 10 minutes. You can see all the steps in action in the video that accompanies this post.

cutting garlic scapes, adding ingredients to food processor, stirring in cheese
  1. First you’ll prep all the ingredients: chop garlic or scapes (those are scapes in the photo) // toast the nuts in a dry pan // pick the basil leaves off the stems and wash and dry them // juice the lemon // grate the cheese
  2. Then you’ll add all the ingredients except the oil and cheese to the food processor and pulse
  3. Drizzle in the oil with the motor running to help it emulsify into a creamy, dreamy pesto
  4. Stir in the grated cheese

A flexible basic formula for pesto

Creamy, tangy, herbaceous pesto is a beautiful way to use up the ingredients you actually have. Here are the elements you’ll need, along with some of our favorite options.

  • Nuts: Use 1/2 cup of nuts, toasted in a dry pan until fragrant and lightly browned. You guys, there are SO many great options for nuts. Try pine nuts // walnuts // almonds // pistachios // pepitas // hazelnuts // pecans // brazil nuts // or a combination
  • Greens: Use 6 gently packed cups of greens, and feel free to combine them. Some of our favorites: basil // ramps // arugula // spinach // flat leaf parsley // cilantro // lacinato kale // sorrel // mint
  • Alliums: You need something garlicky (or garlic-ish) to make pesto glimmer. As a rough guide for quantity, try 2 tablespoons of stronger ingredients or 1/2 cup of bulkier ingredients. Some of these double as greens! Some of our favorites: garlic // garlic scapes // ramps // chives // scallion // shallot
  • Acid: A little bit of acid goes a long way in pesto. It balances the other flavors and adds an addicting brightness. Use 3 tablespoons freshly squeezed juice or 1 tablespoon vinegar. Some of our favorites: lemon juice // Meyer lemon juice // lime juice // champagne vinegar // sherry vinegar
  • Oil: Use a good-quality oil for pesto, since you can really taste the difference. Half a cup makes a nice, creamy pesto. Some of our favorites: extra-virgin olive oil // avocado oil // walnut oil // hazelnut oil // safflower oil (for a neutral taste)
  • Cheese: Aged hard cheeses work best for both flavor and texture. Use 1/2 cup. For vegan pesto, omit the cheese or substitute a few tablespoons of nutritional yeast or a teaspoon of white miso paste (to add umami). Some of our favorites: Parmigiano-Reggiano // Pecorino // Manchego // Cave-aged Gouda // Cave-aged Gruyere // Piave Vecchio

Expert tips and FAQs

Is pesto better with pine nuts or walnuts?

It’s really up to you! Pine nuts are super-traditional and have a nuanced, inimitable flavor profile. They can be very expensive.

Walnuts are earthier and less expensive and are also a classic ingredient in this sauce.

Both nuts make a creamy, satisfying pesto.

Can I make it in advance?

Pesto is at its absolute best when just made. Since it doesn’t take very long, I like to make it just before serving when possible.

That said, this recipe actually keeps very well due to its acid content, which prevents oxidation. You can make walnut pesto up to a week in advance and store it tightly sealed in the fridge. A thin layer of olive oil poured overtop before storing helps it keep even better.

Can you freeze walnut pesto?

Yes! It keeps well tightly sealed in the freezer for up to a year. I sometimes freeze the whole batch in a pint-size takeout container. Or freeze it in ice cube trays (and then transfer to a sealed container or zip-top bag) to use in smaller portions.

How to serve pesto

Pesto elevates so many meals. Here are some of our favorite ways to use it:

  • Tossed with boiled pasta (long or short). Protip: add a little bit of the pasta cooking water to loosen it up.
  • Dolloped onto a baked pasta dish like this one.
  • Dolloped onto pizza (like this one or this one) either before or after baking
  • Stirred into a dip like this one (or stir it into Greek yogurt or sour cream for an instant dip)
  • Spooned onto cooked chicken, eggs, or fish
  • Straight from the spoon (kidding/not kidding)

Hungry for more?

Subscribe to our email updates, and follow along on Instagram, Pinterest, Facebook, and YouTube.

Walnut Pesto

This bright, bold, creamy walnut pesto recipe makes a great all-purpose pesto for pasta, pizza, and more.

Prep Time 10 minutes
Cook Time 3 minutes
Total Time 13 minutes
Serves 8

Ingredients

  • 1/2 cup shelled walnut pieces
  • 3 large garlic cloves or 1/2 cup chopped garlic scapes
  • 6 gently packed cups fresh basil leaves
  • 1 teaspoon fine sea salt
  • 1/4 teaspoon freshly ground black pepper
  • 3 tablespoons freshly squeezed lemon juice
  • 1/2 cup extra-virgin olive oil
  • 1/2 cup grated Parmigiano-Reggiano or Pecorino Romano cheese

Directions

  1. Toast the walnuts in a small, dry pan over medium heat until they are fragrant and a little darker brown than they started out (3 to 5 minutes).
  2. Let cool slightly and pour into the bowl of a food processor fitted with the blade attachment.
  3. Add the garlic scapes or cloves, basil, salt, pepper, and lemon juice and pulse just until a thick paste forms. Stop to press any stray or stubborn basil leaves into the whirling action of the blade as necessary.
  4. With the motor running, pour the olive oil through the feed tube in a slow stream. Transfer pesto to a mixing bowl and stir in the grated cheese.

Notes

  1. If you don't have a food processor, you can use a mortar and pestle or a mezzaluna. This is actually a more traditional method of pesto making, but it takes a lot longer.
  2. This pesto keeps well tightly sealed in the fridge for up to a week due to the acid content. You can cover it with a thin layer of olive oil for extra protection against oxidation.
  3. You can also freeze it! It keeps for up to a year. I sometimes freeze the whole batch in a pint-size takeout container. Or freeze it in ice cube trays (and then transfer to a sealed container or zip-top bag) to use in smaller portions.
  4. For a vegan pesto, you can omit the cheese or swap in a few tablespoons of nutritional yeast.
  5. Check out the post above to learn all about substitutions.

Nutrition Information

Amount Per Serving:

Calories:: 218 Total Fat:: 22.7g Carbohydrates:: 2.7g Fiber:: 0.7g Protein:: 4g

Did you make this recipe?

We'd love to see! Tag us on Instagram at @umamgirl and use the hashtag #umamigirl. We'll reshare our favorites.

Hungry for more?

Subscribe to our email updates, and follow along on Instagram, Pinterest, Facebook, and YouTube.

Comments

Your email address will not be published. Required fields are marked *

  1. Ketan Arora

    very nice

  2. We also pretty much never go out unless it is for friends or something i can’t make at home. Pesto is a fave and also freezes well. Your recipe sounds yummy!

  3. Leah

    You are a genius – my husband has always been disappointed by my apathy towards pesto; it’s always too garlicky, or too oily, not basil-y enough, or missing “zing.” I made your recipe tonight, and it hit ALL the right notes. Consider me a pesto convert!

  4. JanAnd

    “Big ole Geek stamp on my dance card.” Oh yeah, me too!

  5. I’m totally into it! I agree whole heartedly about food at home tasting better, although sometimes I’m tired and I’d like to say, oh I don’t know, whip out a batch of homemade pesto from the freezer ๐Ÿ˜‰

    And I can empathize with those quiet Friday nights (although, for me, it’s because of a 2 year-old in bed, so we need to stay home – no family within 200 miles to babysit) Anyway, I feel ya on the homemade pesto and the blender. Fun post! ๐Ÿ˜€

  6. Yum! Love the garlic scapes in this, I totally need to try those in pesto! It looks so yummy ๐Ÿ™‚

  7. Cute blog. ๐Ÿ™‚

  8. Sounds like a familiar conversation. Lenny likes to say, we already eat at the best restaurant in town! I love pesto but do not make often enough. Whenever I have an overload of basil, I think, I should make pesto and put away in the freezer for a rainy day. I really should!!

    1. Denise, it is so worth it. I guess this may be a little less true where you live than where I do (for the next week, anyway!), but in the middle of February, there is nothing more gorgeous than a container of pesto defrosting on the countertop. xx

  9. Leslie

    Can I still call it pesto if I don’t add the cheese? I don’t think soymage will quite be a good enough substitute.

    1. Definitely, and I think it will taste great without it, too. Some pestos don’t even have nuts in them, so as far as I’m concerned, you’re covered.

  10. I love the addition of lemon juice to the pesto

    1. It seems so essential to me that I’m always surprised to remember it’s not part of the traditional recipe. Glad I’m not the only one!

  11. I have a fridge full of scape and a garden full of basil. To top it off, I’ve been on the search for the perfect pesto. Needless to say, this post is quite timely. ๐Ÿ™‚ Thanks for yet another wonderful recipe!

    1. Lucky lady! Enjoy your voluminous quantities of pesto. xx