• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Our Country Life

From scratch, from the garden, from our Idaho homestead — one skill at a time.

  • Recipes
  • Canning
  • Gardening
  • Animals
  • Country Life
  • Sourdough
  • First Batch — A Beginner’s Guide to Safe & Simple Water Bath Canning

Walnut Pesto Recipe — Fresh Basil, No Pine Nuts, Freezes for Winter

This page may contain affiliate links. Learn More.

May 13, 2024 by Yvonne Gallia Leave a Comment

Jump to Instructions

This post was originally published May 13, 2024 and updated June 16, 2026 with new information, expanded storage tips, and a troubleshooting section.

Every summer, the basil wins.

I plant it everywhere — between the tomatoes, along the garden edges, in large planter by the back door. And every July, without fail, it gets ahead of me. The plants are bolting, the kitchen smells incredible, and I’m standing there with two fistfuls of basil wondering what to do next.

This is what I do next.

Homemade walnut pesto in a glass jar garnished with fresh basil, lemons, walnuts, and parmesan on a wood cutting board made in an Idaho homestead

Walnut pesto takes five minutes, uses up a serious amount of basil, and freezes into cubes you’ll be pulling out for pasta in January when the garden is buried under a foot of Idaho snow. No pine nuts required — walnuts are earthier, bolder, and I keep them in my pantry year-round anyway.

Make a big batch. The garden gives in July. The freezer gives back in the winter.

Table of Contents

Toggle
  • What Is Walnut Pesto?
  • Why This Walnut Pesto Recipe Works
  • What to Expect
  • Ingredients You’ll Need for Walnut Pesto
  • Walnuts vs. Pine Nuts — What’s the Difference?
  • Step-by-Step Instructions
  • How to Use Walnut Pesto
  • Storage Tips for Homemade Walnut Pesto
  • Troubleshooting — When Your Pesto Doesn’t Look Right
  • Recipe Variations
  • Walnut Pesto FAQs

What Is Walnut Pesto?

Walnut pesto is a basil pesto made with walnuts instead of the traditional pine nuts. Same bright, garlicky flavor. Richer, earthier texture. And a fraction of the cost.

Around here, pine nuts are about as common as truffles. So I reach for walnuts — they’re easy to find, easy on the wallet, and honestly? I like their flavor better. Bold and earthy in a way that stands up to pasta, pizza, grilled meat, and just about everything else that comes out of a summer kitchen.

This is my go-to walnut pesto recipe. You won’t miss the pine nuts. I promise. Five minutes, one food processor, eight ingredients. Make it now while the basil is going crazy. Freeze it in cubes and eat it all winter.


Why This Walnut Pesto Recipe Works

Pesto is forgiving. But a few things make this version especially reliable.

Walnuts instead of pine nuts — Walnuts bring a deeper, earthier flavor than pine nuts. They also toast beautifully if you have five extra minutes, which adds another layer you don’t get from pine nuts at any price.

Lemon juice instead of just olive oil — Most walnut pesto recipes skip the lemon. I don’t. A quarter cup of fresh lemon juice brightens the whole sauce and keeps it from going flat after the first day in the fridge.

Parmesan, not Romano — Romano is sharper and saltier. Parmesan is mellower and lets the basil stay the star. Either works, but Parmesan is what I reach for first.

Process in stages — Basil first, then everything else on top. This keeps the basil from over-processing into a bitter paste before the other ingredients have a chance to smooth things out.


What to Expect

Fresh walnut pesto is bright green when it comes out of the food processor — almost electric. It will darken to a deeper olive green within a few hours in the fridge. That’s normal. It hasn’t gone bad.

The texture should be thick and spreadable, not runny. If yours is thinner than you’d like, add another tablespoon or two of walnuts and pulse again.

The flavor is bold right out of the processor. It mellows slightly after a day in the fridge, which is actually when it’s at its best.


Ingredients You’ll Need for Walnut Pesto

Walnut pesto ingredients laid out in glass bowls — fresh basil, walnuts, parmesan cheese, lemon juice, olive oil, garlic, salt, and pepper
  • 2 cups fresh basil, tightly packed
  • 3/4 cup shredded Parmesan cheese (about 4 oz)
  • 1/2 cup shelled walnuts, raw or toasted
  • 2 garlic cloves
  • 1/4 cup freshly squeezed lemon juice
  • 1/2 teaspoon kosher salt
  • 1/4 teaspoon black pepper
  • 1/2 cup extra virgin olive oil

A note on basil: Every summer, my garden turns into a basil jungle. I plant it everywhere — it’s a great companion plant for tomatoes and it deters flies and mosquitoes naturally. Last July, I pulled two full bags of basil off my plants in a single morning just to keep them from bolting. This recipe is what happened next. If you don’t grow your own yet, farmers market basil is your best bet — look for vibrant green leaves with no black spots or wilting.

Pro tip: Toasting the walnuts adds a noticeably deeper flavor. Dry skillet, medium heat, five minutes. Watch them — they go from golden to burnt fast. But if dinner needs to happen now, skip it. The pesto will still be very good.


Walnuts vs. Pine Nuts — What’s the Difference?

WalnutsPine Nuts
FlavorRich, earthy, slightly bitterMild, buttery, delicate
Texture in pestoThick, heartySmoother, creamier
CostAffordable, widely availableExpensive, harder to find
ToastingHighly recommendedOptional
Freezes wellYesYes
Best forBold pasta sauces, pizza, grilled meatsDelicate dishes, lighter pasta

Either works. Walnuts just happen to be what grows well in this part of Idaho — and what I keep in my pantry year-round.


Step-by-Step Instructions

Fresh basil, toasted walnuts, and shredded parmesan loaded into a food processor ready to blend into walnut pesto

Step 1 — Wash and dry your basil.
A salad spinner works perfectly. Wet basil makes watery pesto. My salad spinner gets a serious summer workout.

Step 2 — Toast the walnuts (optional but worth it).
Dry skillet over medium heat, five minutes, stirring occasionally. Pull them when they smell nutty. Let them cool for a minute before adding to the processor.

Step 3 — Add basil to the food processor first.
Then pile everything else on top — walnuts, Parmesan, garlic, lemon juice, salt, and pepper. Hold the olive oil.

Step 4 — Pulse until roughly chopped.
Scrape down the sides. This is important — basil hides in the corners.

Step 5 — Stream in the olive oil while the processor runs.
Slow and steady gives you a better emulsion. Too fast and the oil separates.

Step 6 — Taste and adjust.
More salt? More lemon? A little more Parmesan? This is your pesto. Make it taste like yours.


Pasta with homemade walnut pesto garnished with parmesan cheese and fresh basil leaves

How to Use Walnut Pesto

This is the part I love. Pesto is one of those sauces that makes everything taste intentional — even a Tuesday night scramble.

  • Toss with hot pasta — the heat loosens it perfectly
  • Stir a spoonful into homemade tomato soup — it’s a different soup entirely
  • Spread on crostini or crusty bread as an appetizer
  • Layer into Italian pressed sandwiches — this is one of my favorites
  • Use as pizza sauce — especially good with fresh mozzarella and cherry tomatoes
  • Drizzle over grilled chicken, steak, or vegetables
  • Stir into scrambled eggs — don’t knock it until you’ve tried it

Pesto goes with everything except dessert. Although I’m still thinking about that one.

If you’re building out your from-scratch kitchen, this pesto fits right into the Comfort Food From Scratch collection — simple sauces, real ingredients, nothing that comes from a jar.


Storage Tips for Homemade Walnut Pesto

How to store fresh pesto in the fridge

Transfer to a glass jar and pour a thin layer of extra virgin olive oil over the top. This is the key step — that oil layer is what keeps the basil from oxidizing and turning brown. Seal with a lid and refrigerate.

Best within 3–5 days.

How to freeze walnut pesto

This is the move for summer basil overload. Spoon the pesto into an ice cube tray — each cube is roughly two tablespoons, which is a perfect single-serving portion for pasta. Freeze until solid, then pop the cubes into a freezer-safe bag.

They’ll keep up to 3 months. Pull one cube per person straight from the freezer into hot pasta. It melts right in.

Freezer bag method

If you don’t have an ice cube tray, spread the pesto into a thin layer in a zip-top freezer bag, press it flat, and freeze. Break off pieces as needed.


Troubleshooting — When Your Pesto Doesn’t Look Right

Pesto turned dark brown or black
Oxidation. It happens fast once basil is cut. The olive oil layer in the jar slows it down but doesn’t stop it entirely. Brown pesto is still safe to eat — it just doesn’t look great. To prevent it, press plastic wrap directly against the surface of the pesto before adding the oil layer.

Pesto tastes bitter
Two possible causes. Over-processed basil gets bitter — pulse in short bursts rather than running the processor continuously. Or the walnuts were over-toasted. Pull them while they’re golden, not dark brown.

Pesto is too thick
Add olive oil one tablespoon at a time and pulse until you reach the consistency you want. A splash of pasta water works too if you’re tossing it with pasta immediately.

Pesto is too thin
Add more Parmesan or a small handful of walnuts and pulse again.

Garlic flavor is too strong
Use one clove instead of two, or roast the garlic first for a mellower flavor.


Recipe Variations

  • Vegan walnut pesto — Skip the Parmesan and add nutritional yeast instead. Start with 3 tablespoons and taste as you go.
  • Walnut parsley pesto — Replace half the basil with fresh flat-leaf parsley. Milder, good for people who find straight basil pesto too intense.
  • Arugula walnut pesto — Replace half the basil with arugula for a peppery bite.
  • Walnut pesto with heat — Add a pinch of red pepper flakes or half a small jalapeño.
  • Different nuts — Pecans work beautifully. Almonds give a slightly drier texture but good flavor.

Shop This Post

Everything I use to make this recipe:

  • Cuisinart Food Processor — from pesto to pizza dough, I use this food processor all the time
  • Extra virgin olive oil — a good olive oil makes a real difference in pesto
  • Weck jars for storage — these are my favorite jars for storing pesto in the fridge
  • Ice cube trays for freezing — these large ice cube trays with lids are perfect for pesto freezing and storage
  • Salad spinner — if you have a garden full of basil, lettuce or any other leafy green, this will get used all the time like it does in my kitchen

Never Miss a Recipe

If you liked this walnut pesto, you’ll love what’s coming next — from-scratch recipes, canning guides, and real homestead cooking from my Idaho kitchen.

    Built with Kit

    No spam. Just good country cooking, straight to your inbox.


    Homemade walnut pesto in a glass jar topped with fresh basil, surrounded by parmesan cheese, walnuts, and olive oil on a wood board

    From the Garden to the Freezer — That’s the Whole Plan

    Pesto is one of those things that sounds fancier than it is.

    Five minutes. Eight ingredients. A food processor and a fistful of basil from a garden that got away from you.

    That’s it. That’s the whole secret.

    Make a big batch while the basil is going strong, freeze it in cubes, and you’ve got a little piece of summer sitting in your freezer waiting for the nights when dinner needs to happen fast and nobody has the energy to think about it.

    Simple Living ❤️ Country Style — one jar of frozen pesto cubes at a time.

    If you made this — what did you put it on first? Pasta is the obvious answer but I’m always curious what people reach for when nobody’s looking.

    Walnut pesto in Weck Jar with walnuts and parm cheese next to it

    Walnut Pesto Recipe

    Yvonne Gallia-OurCountryLife.com
    Homemade walnut pesto made with fresh basil, Parmesan, garlic, and lemon juice — no pine nuts needed. Bold, earthy flavor that comes together in 5 minutes and freezes beautifully for winter pasta nights.
    No ratings yet
    Print Pin Recipe
    Made This Recipe?Enjoyed this recipe? I’d love it if you leave a star rating!
    Prep Time 5 minutes mins
    Optional: Walnut toasting 5 minutes mins
    Total Time 10 minutes mins
    Course Sauces and Condiments
    Cuisine Italian Inspired
    Servings 8 Servings

    Equipment

    • Food Processor

    Ingredients
      

    • 2 Cups Basil – tightly packed
    • 3/4 Cup Shredded parmesan cheese 4 oz
    • 1/2 Cup Extra virgin olive oil
    • 1/2 Cup Walnuts – shelled, raw Optional – Toast for extra flavor
    • 2 Cloves Garlic
    • 1/4 Cup Lemon juice – freshly squeezed
    • 1/2 Teaspoon Kosher salt
    • 1/4 Teaspoon Ground black pepper

    Instructions
     

    • Wash and dry basil thoroughly. A salad spinner works well.
    • Optional: Toast walnuts in a dry skillet over medium heat for 5 minutes, stirring occasionally. Cool slightly before using.
    • Add basil to the food processor, then add walnuts, Parmesan, garlic, lemon juice, salt, and pepper on top.
    • Pulse until roughly chopped. Scrape down the sides.
    • With the processor running, slowly stream in the olive oil until smooth.
    • Taste and adjust salt, pepper, or lemon as needed.

    Notes

    How to store fresh pesto: 
    Transfer to a glass jar and top with a thin layer of olive oil to prevent browning. Seal with a lid and refrigerate.
    How long it lasts:
    Best within 3–5 days in the fridge.
    How to freeze pesto:
    Spoon into ice cube trays and freeze. Pop the cubes into a freezer-safe container or bag. They’ll keep for up to 3 months—perfect for mid-winter pasta cravings.
    Keyword walnut pesto recipe, pesto with walnuts, walnut pesto, basil walnut pesto, homemade walnut pesto, pesto without pine nuts, walnut basil pesto
    Tried this recipe?Let us know how it was!

    More Recipes You’ll Love ❤️

    • Italian Pressed Sandwiches – Great for Picnics and Camping
    • Zucchini Lasagna Made with Béchamel White Sauce
    • Homemade Lasagna Pasta – Easy and Fun to Make
    • Cavatelli Pasta – So Delicious and Easy to Make

    Pin and Save for Later!

    Homemade walnut pesto in a glass jar with fresh basil, parmesan, lemons, and walnuts on a wood cutting board

    Walnut Pesto FAQs

    Can I make walnut pesto without a food processor?

    Yes — a blender works, though you may need to scrape it down more often. A mortar and pestle is the traditional method and gives you more control over texture. It takes longer but the result is genuinely different — coarser, more rustic, and worth trying at least once when you have time.

    Can you make pesto with walnuts instead of pine nuts?

    Absolutely. Walnuts are actually one of the most common substitutes and many cooks — myself included — prefer them. They bring a richer, earthier flavor and they’re far more affordable and available than pine nuts.

    Does pesto have walnuts in it?

    Traditional Genovese pesto uses pine nuts. But walnut pesto is a well-established variation with a long history, particularly in other regions of Italy. It’s not a shortcut — it’s a different and genuinely good sauce.

    Is walnut pesto gluten-free?

    Yes. All the ingredients are naturally gluten-free. If you’re serving someone with celiac disease, just verify that your Parmesan and walnuts are processed in a gluten-free facility.

    Can I make walnut pesto vegan?

    Yes. Leave out the Parmesan and replace it with nutritional yeast — start with 3 tablespoons and add more to taste. The flavor is different but still very good.

    How long does homemade walnut pesto last?

    3–5 days in the fridge with an olive oil layer on top. Up to 3 months in the freezer in ice cube trays.

    Can I use pre-shredded Parmesan?

    You can. Freshly grated melts more smoothly and tastes cleaner, but pre-shredded works fine in a pinch. Avoid the shelf-stable powdered kind — it doesn’t blend properly and the flavor is flat.

    Why does my pesto turn dark?

    Oxidation — the same reason cut basil turns black. The olive oil layer in the jar slows it down. Pressing plastic wrap directly against the pesto surface before adding the oil layer slows it further. It’s cosmetic, not a safety issue.

    Can you freeze pesto with Parmesan in it?

    Yes. The Parmesan holds up fine in the freezer. The texture may be very slightly grainier after thawing but once it hits hot pasta you won’t notice.

    What do you use walnut pesto for besides pasta?

    Pizza sauce, sandwich spread, soup stirred in, grilled chicken or steak topping, scrambled eggs, crostini. It’s one of the more versatile sauces in a summer kitchen.

    Thank-you graphic from Yvonne of Our Country Life — sage green circle design with photo and text that reads: ‘Thanks for reading! Follow along or subscribe for more recipes, garden tips, and country living inspiration.’ Includes tagline Simple Living ❤️ Country Style.


    Yvonne Gallia

    Hi, I’m Yvonne — the voice behind Our Country Life. I share from-scratch recipes, garden know-how, and simple living inspiration rooted in real farmhouse life. Thanks for being here ❤️

     

    Filed Under: Comfort Food From Scratch, Recipes Tagged With: Appetizers, Dinner, Dips and Sauces, International Recipes, Italian, Sauce Recipes

    Previous Post: « How to Get Rid of Plant Gnats on Plants and Seedlings
    Next Post: How to Make Easy Homemade Tomato Soup (Garden Fresh & Comforting!) »

    Reader Interactions

    Leave a Reply Cancel reply

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

    Primary Sidebar

    Search

    Follow Us!

    • Facebook
    • Instagram
    • Pinterest
    Yvonne from our country life

    Hi, I am Yvonne, the blogger of Our Country Life.

    I am dedicated to sharing my passions:

    • Home cooking
    • Gardening
    • Raising animals
    • Country Living

    Together, let’s embrace the charm of old-fashioned living. You’ll be amazed at how fulfilling it can be!

    Learn more about Our Country Life here!

    • About Me
    • Contact Us
    • Privacy Policy and Disclosures
    • Home – Our Country Life
    • Subscriber Printable Library

    Copyright © 2026 · Niche Theme

    Rate This Recipe

    Your vote:




    Tried this recipe? Leave a quick rating and review — it helps other readers and means so much!

    A rating is required
    A name is required
    An email is required