Basil walnut pesto is a fresh and tasty way to use up all that garden basil in the summer months. This versatile sauce can be used for pasta, garlic bread, a dip or spread, and so much more. 

overhead photo of walnut pesto in a white jar with a spoon on a white countertop with walnuts and basil spread around the counter.

This post contains affiliate links, which means I make a small commission at no extra cost to you. See my full affiliate link disclosure here.

The basil is going crazy in my garden. With fall just around the corner, Iโ€™m trying to use up as much of it as I can before the frost comes.

Homemade basil walnut pesto is an easydelicious, and resourceful way to use a lot of basil.

While traditional pesto is made with pine nuts, I often use walnuts. I always have walnuts on hand, and pine nuts are expensive and sometimes difficult to source.

Fresh pesto is bursting with flavor. From the earthy, mildly bitter notes of the walnuts to the sweet and spicy flavors of basil, it’s a complex and bold addition to any dish. 

Basil has a very pungent aroma, as well. If something can smell green, basil can. It’s astonishingly vibrant and fresh.

This homemade pesto sauce is so versatile, too! Use it as a pizza sauce, add it to mashed potatoes for amazing flavor, or brush pesto on salmon before baking. You can even use it as a dip for your homemade sourdough bread. The delicious depth of flavor is a great addition to so many dishes.

It also stores really well! Freeze it in ice cube trays to enjoy a burst of fresh basil flavor in the middle of winter.

Why You’ll Love Basil Walnut Pesto

Simple: Tossing the simple ingredients in a food processor couldn’t be any easier.

Delicious: Basil has such a vibrant taste. It’s fresh and invigorating. Blended into a pesto with walnuts, garlic, and cheese only amps up the flavor.

Versatile: Homemade basil walnut pesto has so many uses. Add it to pasta, pizzas, or sandwiches. Use it as a dip for sourdough garlic breadsticks or homemade sourdough pretzels

Ingredients

olive oil, salt, Parmesan, garlic, walnuts in a jar, and a food processor with basil on a white countertop in a kitchen.

Fresh basil leaves – Rinsed and dried garden-fresh basil produces the best-tasting pesto you’ll ever try.

Parmesan cheese – Preferably grated parmigiano reggiano for its stronger, more complex flavor.

Walnuts – Raw, chopped walnuts work great. If you prefer, you can roast them in the oven for added flavor before processing.

Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Tools You May Need

Food processor

How to Make Fresh Basil Walnut Pesto

basil, parmesan, and walnuts in a food processor.

Step 1: Add the basil, parmesan, walnuts, garlic cloves, and salt to a food processor. Pulse to combine. 

close up side view of a white ceramic jar with pesto and a spoon in the jar. A white and blue vintage salt box is in the background.

Step 2: Drizzle the extra virgin olive oil in a steady stream while processing. Be sure not to run the food processor too long or the pesto may become bitter. Serve and enjoy!

Recipe Modifications

  • Chopped almonds, pistachios, or macadamia nuts will also work.
  • Substitute some of the basil with parsley, spinach, or even carrot tops. When you grow carrots, you will have a lot of carrot tops. Donโ€™t throw them away! They are delicious and versatile, having a similar flavor to parsley.
  • Add some avocado when processing to make a creamy version full of healthy fats.
  • Stir in diced tomato for freshness and texture!

Tips

  • For more of a nutty flavor, you can roast the walnuts before chopping. Heat walnuts in a skillet over medium heat until toasted and fragrant, stirring constantly.
  • Substitute the walnuts with almonds or pecans.
  • If you arenโ€™t a huge garlic fan, you can roast the garlic before processing to give it a smooth, caramelized taste. 
  • You can โ€œsealโ€ the pesto by pouring a thin layer of olive oil on top after transferring the pesto to your storage dish. This will help prevent browning when stored in the refrigerator. Brown pesto is not as appetizing.

Recipe FAQ

How should I store pesto?

Store in an airtight container in the fridge. Pour the pesto into a container, then add some olive oil to the top to help โ€œsealโ€ in the sauce. This protects the pesto from oxidation so it doesnโ€™t turn brown. For longer-term storage, freeze in silicone ice cube trays. Once frozen, pop out the pesto cubes and store them in a freezer bag. This gives you perfect one-tablespoon portions for recipes.

Can walnuts be substituted for pine nuts in pesto?

Yes, you can substitute walnuts for pine nuts. Pesto is traditionally made with pine nuts, but most nuts work well in this recipe!

Why is my walnut pesto bitter?

The most likely culprit of bitter pesto is over-processing in the food processor. Olive oil contains polyphenols which can become bitter-tasting once agitated enough. Adding a little lemon juice usually fixes the problem, as the acid helps balance out the bitterness.

What nuts work best in pesto?

Pine nuts, pistachios, walnuts, almonds, hazelnuts, macadamia nuts – nearly any nut will work in pesto.ย 

Can I make a nut-free pesto?

Yes, you can substitute the nuts with sunflower seeds or pepitas (pumpkin seeds) for a nut-free option.

How to Serve Homemade Pesto

overhead photo of walnut pesto in a jar with a spoon on a white countertop surrounded bye basil, walnuts, garlic cloves, Parmesan cheese and a stripped tea towel.

More Recipes from the Farmhouse

If you try this recipe and love it, I would love it if you could come back and give it 5 stars! Tag me on Instagram @farmhouseonboone.

Walnut Pesto

4.75 from 8 votes
Homemade basil walnut pesto is a tasty way to use up all that garden basil. This versatile sauce can be used for pasta, garlic bread, a dip or spread, and so much more.
Prep: 10 minutes
Total: 10 minutes
Servings: 1 cup
pesto in a white ramekin with a spoon on a white countertop with walnuts basil, a stripped towel and a vintage blue and white salt box in the background
Save this recipe!
Just enter your email and get it sent to your inbox! Plus you’ll get new recipes from us every week!
Please enable JavaScript in your browser to complete this form.

Ingredients 

  • 2 cups packed fresh basil leaves
  • 1/4 cup freshly grated Parmesan
  • 1/4 cup walnuts, chopped
  • 3 cloves garlic
  • 1/4 teaspoon salt
  • 1/2 cup olive oil

Instructions 

  • Add the basil, grated parmesan, walnuts, garlic and salt to a food processer.
  • Pulse to combine.
  • Slowly drizzle the olive oil in while processing. Be careful not to over process.
  • Store in the fridge.

Notes

  • For more of a nuttyย flavor, you can roast the walnuts before chopping. Heat walnuts in a skillet over medium heat until toasted and fragrant, stirring constantly.
  • Substitute the walnuts with almonds or pecans.
  • If you arenโ€™t a huge garlic fan, you can roast the garlic before processing to give it a smooth, caramelized taste.ย 
  • You can โ€œsealโ€ the pesto by pouring a thin layer of olive oil on top after transferring the pesto to your storage dish. This will help prevent browning when stored in the refrigerator. Brown pesto is not as appetizing.

Nutrition

Serving: 1tablespoon | Calories: 80kcal | Carbohydrates: 1g | Protein: 1g | Fat: 8g | Saturated Fat: 1g | Polyunsaturated Fat: 2g | Monounsaturated Fat: 5g | Cholesterol: 1mg | Sodium: 64mg | Potassium: 22mg | Fiber: 0.2g | Sugar: 0.1g | Vitamin A: 172IU | Vitamin C: 1mg | Calcium: 22mg | Iron: 0.2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

Sharing is caring!

4.75 from 8 votes (7 ratings without comment)

Leave a comment

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

Recipe Rating




5 Comments

  1. Lorraine says:

    Have you tried freezing it?

    1. Lisa Bass says:

      Yes. Works great!

  2. Jeanette says:

    5 stars
    I made this as written and it turned out very tasty. It used up more basil than I expected (that’s a good thing, I’ve got it coming out of my ears lol). I thought I would freeze it but I don’t think it’ll last that long!

    1. Lisa Bass says:

      Glad you enjoyed the pesto!

  3. Bonnie says:

    This is the same way I make my Pesto. Really good