This post contains affiliate links, which means I may earn a commission if you purchase through those links (at no extra cost to you).
After studying sauce-making in culinary school, I turned my attention to making the best pesto I possibly could. I was looking for fantastic flavor, a brilliant green color, and ingredients that wouldn’t break the bank.

Fresh basil is obviously a non-negotiable here. I love to plant basil in my summer garden so I can make pesto all summer long – and freeze the excess! It’s a real treat to pull out a summery sauce in the dead of winter, and even better if you made it with your own bare hands.
And even though basil is green, basil alone won’t make a bright green pesto. I add a few handfuls of fresh parsley to really set that green color you know and love. And since pine nuts are expensive, I tried walnuts. And you know what? I prefer their flavor here, and you might too. And your wallet will certainly thank you!
Table of Contents
Walnut Pesto Recipe ingredients

At a Glance: Here is a quick snapshot of what ingredients are in this recipe.
Please see the recipe card below for specific quantities.
- Parsley: Basil can easily turn brown in a food processor from bruising. Adding a handful of fresh parsley preserves the bright green color.
- Walnuts: For more flavor, toast the walnuts. In a medium skillet over medium heat, heat walnuts until browned and fragrant, stirring occasionally, about 2 to 5 minutes.
- Garlic: Roasting garlic trades its raw heat for a mellow taste and soft texture. To try this option, in a dry medium skillet over medium-low heat, toast unpeeled garlic cloves until spotty, dark brown, and slightly softened, about 20 to 25 minutes.
- Basil
- Salt
- Pepper
- Olive Oil
- Parmesan Cheese
How to make Pesto with Walnuts
- In a food processor or blender, add basil, parsley, Parmesan cheese, walnuts, and garlic. Pulse until coarsely chopped, about 10 pulses.

- With the motor running, slowly drizzle in the olive oil and process until smooth. Season to taste with salt and pepper.

What is the best food processor?
For making smaller portions of Basil Walnut Pesto, I like using my Cuisinart Mini Prep Food Processor, which is my favorite mini food processor. It’s small, powerful, and perfect for making dips and sauces. You can get it for $19.22 at Amazon, and I think it’s a great addition to any kitchen.
Recipe tips and variations
- Yield: This recipe makes 1 cup of pesto, enough to dress 1 pound of pasta.
- More nuts: Pesto is traditionally made with pine nuts, or you could substitute an equal amount of almonds, pecans, cashews, or even hazelnuts.
- Spicy: Add ¼ teaspoon or more crushed red pepper flakes to the food processor before blending.
- Kale pesto: Omit the parsley, decrease the basil to 1 cup, and add 2 cups packed kale leaves. Proceed with the recipe as written.
- Pesto roasted chicken: Rub pesto under and on the skin of your next whole bird, then roast to perfection.
- Pesto cheese bread: Slice a loaf of bread in half lengthwise, then spread a thick layer of pesto. Top with cheese, then finish in the oven or on the grill.
Storing this Basil Walnut Pesto
Store covered in the refrigerator for up to 4 days (add a layer of olive oil on top to prevent oxidation).
Freezer
Pour into a jar and top with olive oil to prevent oxidation. Leave enough head space at the top of the jar for expansion, then freeze for up to 6 months. Thaw overnight in the refrigerator.
More homemade sauces
Italian Recipes
Meat Sauce Recipe
Italian Recipes
Homemade Tomato Sauce
Stock, Sauce, and Spread Recipes
Lemon Garlic Butter Sauce
Appetizer Recipes
Marinara Dipping Sauce
Join Us

Basil Walnut Pesto
Equipment
- Food processor (I love my Breville one!)
Ingredients
- 2 cups fresh basil leaves packed
- 1 cup fresh parsley packed (see note 1)
- 1/4 cup freshly grated Parmesan cheese about 1 ounce
- 1/4 cup walnuts about 1 ounce (see note 2)
- 3 cloves garlic (see note 3)
- 1/2 cup olive oil
- Salt and freshly ground black pepper
Instructions
- In a food processor or blender, add basil, parsley, Parmesan cheese, walnuts, and garlic. Pulse until coarsely chopped, about 10 pulses.
- With the motor running, slowly drizzle in the olive oil and process until smooth. Season to taste with salt and pepper.
Recipe Video
Notes
- Parsley: Basil can easily turn brown in a food processor from bruising. Add a handful of fresh parsley to preserve the bright green color.
- Walnuts: For more flavor, toast the walnuts. In a medium skillet over medium heat, heat walnuts until browned and fragrant, stirring occasionally, about 2 to 5 minutes.
- Garlic: Roasting garlic trades its raw heat for a mellow taste and soft texture. To try this option, in a dry medium skillet over medium-low heat, toast unpeeled garlic cloves until spotty, dark brown, and slightly softened, about 20 to 25 minutes.
- Yield: This recipe makes 1 c. of pesto, enough to dress 1 pound of pasta.
- Storage: Store covered in the refrigerator for up to 4 days (add a layer of olive oil on top to prevent oxidation).
- Freezer: Pour into a jar and top with olive oil to prevent oxidation. Leave enough head space at the top of the jar for expansion, then freeze for up to 6 months. Thaw overnight in the refrigerator.
- More nuts: Pesto is traditionally made with pine nuts, or you could substitute an equal amount of almonds, pecans, cashews, or even hazelnuts.
- Spicy: Add ¼ tsp. or more crushed red pepper flakes to the food processor before blending.
- Kale pesto: Omit the parsley, decrease the basil to 1 c., and add 2 c. packed kale leaves. Proceed with the recipe as written.
- Pesto cheese bread: Slice a loaf of bread in half lengthwise, then spread a thick layer of pesto. Top with cheese, then finish in the oven or on the grill.
- Pesto cavatappi: This Noodles & Co. copycat dresses up pesto with a splash of cream and fresh tomatoes.
Terrific recipe. I added 3 tbsp fresh lemon, and a small handful of cilantro and parsley.
That sounds great Cherie! Glad you enjoyed it! – Meggan
Amazing and easy
Thank you so much Victoria! I’m so happy to hear that. I really love the walnut version. Walnuts are cheaper and I actually prefer their flavor in pesto anyway. Thanks so much for the comment, and take care! -Meggan
quick and easy! thanks for sharing! didn’t want the basil we grew go to waste! and this is yummy. and thanks for the tip about parsley!
You’re so welcome, Maria! I’m so happy you loved it! – Meggan
Can I use curly parsley? That’s what I have in my garden.
Hi Jessica, yes! Absolutely. I hope you love this pesto! – Meggan
How do u process the jars??
Hi Patti, thank you for your question! I’m sorry, I’m not an expert in canning, but I do have a really great book put out by Ball on the subject. They do have a Pesto recipe, but it’s in the “freezer” chapter. They also talk a lot about low-acid vs. high-acid foods, and based on the pH scale they have, I believe herbs would fall under “low acid” and would need to be pressure-canned, not just a standard water bath. Again, not an expert here but that is the info I’ve found in my canning book. I hope that helps! Thanks for your question! – Meggan
A keeper of a recipe! Yum!
So glad you loved it, Linda! Take care! – Meggan
Excellent!!! This turned out so yummy and I was so excited to use walnuts because I hadn’t tried that before and it turned out great. Thank you!!
You’re so welcome, Melinda! Thank you for trying the recipe! I’m glad you loved it! – Meggan
So much good about this recipe!
It was the best pesto I have ever made. I froze in small glass containers and placed olive oil on top before closing. I searched for pesto recipe with walnuts because pinenuts are $11 for a very small bag at the Italian store. Delish. Thank you.
Hi Linda, you are welcome! I love that you freeze it for later! Thank you and take care! – Meggan
This one’s a keeper, refresbing variation to the classic. Addition of lime juice and balsamic or cider vinegar adds an interesting note.
Thanks John! – Meggan