Basil Pesto Recipe

Pesto is one of my favorite condiments to keep on hand. Try these easy, fun pesto recipe variations to brighten pasta, salads, roasted veggies & more!

Pesto Recipe

One of my favorite things about summer is the bounty of fresh herbs that are just outside my doorstep. Fresh herbs make any meal instantly more flavorful and beautiful. My favorite thing to do with all of those fresh herbs (aside from sprinkle them on everything) is to make pesto! It’s especially great for lazy summertime cooking. I like to dollop it on grilled vegetables, pasta, spaghetti squash, salads, eggs, toasted bread, pizza, sandwiches… you get the idea. With just a few easy steps, it makes anything an instant tasty meal, whether you feel like cooking or not.

Pesto Recipe ingredients

What is pesto, and how do I make it?

Traditional pesto is a blend of fresh basil, garlic, pine nuts, extra-virgin olive oil, and Parmesan cheese. With a food processor, it comes together in just a few steps:

  1. Pulse the nuts, lemon juice, and garlic in the food processor until they’re finely chopped.
  2. Add the basil and pulse again.
  3. Next, drizzle in the olive oil with the food processor blade still running.
  4. Finally, add grated Parmesan cheese and process briefly until combined. For vegan pesto, simply skip the cheese.

That’s it! It’s really simple to make, and it’s easy to vary according to the season or your mood. It will keep for a few days in an airtight container in the fridge, though its surface may start turning brown. As a result, it’s best to cover your pesto with a thin layer of plastic wrap or an extra drizzle of oil before sealing your container. This will keep it fresh and green!

Pine nuts in a food processor Fresh basil in a food processor

Pesto Recipe Variations

Once you’ve made the classic basil pesto recipe, try changing it up! You can make delicious variations with all sorts of nuts, seeds, veggies, and leafy greens. Here are some of my favorites:

  • Swap out the pine nuts for any nut of your choice! I particularly like walnuts, almonds, and pistachios.
  • Make nut-free pesto by using pepitas or hemp seeds.
  • Use a different herb. Try replacing the basil with mint, cilantro, or parsley!
  • Or fewer herbs. Replace half the basil with 1 cup arugula, kale, or chopped zucchini. For a punchier twist, pulse in 4 artichoke hearts, a roasted red pepper, or half an avocado instead of half the basil.
  • Don’t let your veggie stems go to waste. Blanch 1/2 cup kale stems and blend them into pesto in place of half the basil.
  • Punch up the flavor! Add 2 to 4 sun dried tomatoes, a charred jalapeño, nutritional yeast, or a pinch of red pepper flakes.

The possibilities are endless – let me know if you have a favorite variation!

Basil Pesto Recipe Pesto Recipe

I made pesto! Now what do I do with it?

The obvious choice is tossing pesto with pasta, but your options don’t end there. Spoon it over a Caprese salad, top it onto a grain bowl, scoop it onto spaghetti squash or mac and cheese, or incorporate it into this yummy zucchini casserole. We love it on polenta and homemade pizza, too. It’s even great on scrambled eggs! Do you have a favorite way to use pesto? Let me know in the comments!

Get This Recipe In Your Inbox
Share your email, and we'll send it straight to your inbox. Plus, enjoy daily doses of recipe inspiration as a bonus!

Basil Pesto

rate this recipe:
4.86 from 655 votes
Prep Time: 5 minutes
Total Time: 5 minutes
Serves 1 cup
This classic basil pesto recipe is nutty and bright. We love it on pasta, pizza, and more! See the post above for my favorite pesto sauce variations.

Equipment

  • Food Processor (I swear by my Cuisinart one for a smooth consistency!)

Ingredients

Basic Basil Pesto:

Instructions

  • In a food processor, combine the pine nuts, lemon juice, garlic, salt, and pepper and pulse until well chopped.
  • Add the basil and pulse until combined.
  • With the food processor running, drizzle in the olive oil and pulse until combined. Add the Parmesan cheese, if using, and pulse to briefly combine. For a smoother pesto, add more olive oil.

 

 

930 comments

4.86 from 655 votes (259 ratings without comment)

Leave a comment:

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

Rate this recipe (after making it)




  1. Chris
    09.08.2026

    5 stars
    This is a great recipe, I love the hint of lemon. Easy to make and delicious!

    • Phoebe Moore (L&L Recipe Developer)
      09.11.2026

      I’m so glad you love the recipe, Chris!

  2. Matthew
    09.06.2026

    This was my first time trying pesto with lemon, and definitely won’t do it again. The star of pesto is basil, and the lemon just overwhelms it, as well as everything else.

  3. Mere
    09.04.2026

    5 stars
    Wow, I was unsure about the amount of lemon (not a fan of citrus) but this is the BEST pesto recipe I’ve ever made. Absolutely delicious, cannot recommend enough!!!

    • Phoebe Moore (L&L Recipe Developer)
      09.04.2026

      I’m so glad you loved it, Mere!

  4. Laura
    09.03.2026

    3 stars
    I like lemon but found this to have too much lemon. It took over the taste of the basil and nuts and garlic and cheese. I like a more balanced pesto. In the past when I made pesto, I always added lemon juice but less of it. I like this recipe but for my taste, i would cut the lemon juice in half.

  5. Stacy
    09.01.2026

    I have a huge basil plant out front, I’ve been sharing the basil with others and I finally decided to start making pesto for myself. I’ve tried many recipes, but this recipe is by far my favorite. I see myself making this one many more times in my future

    • Kay from Delicous-%20any%20insight%20on%20toasting%20the%20pine%20nuts
      09.03.2026

      5 stars
      Great recipe and use of our basil plants.

      • Phoebe Moore (L&L Recipe Developer)
        09.04.2026

        So glad you enjoyed it, Kay!

    • Phoebe Moore (L&L Recipe Developer)
      09.04.2026

      I’m so glad you love it, Stacy!

  6. Teres
    08.29.2026

    Never really liked pesto that I bought from store, so naturally didn’t eat it. Being that I have a garden with lots of basil, my daughter suggested homemade pesto. First time making it and so glad I did! Your recipe is delicious! I was eating it in large amts from a spoon like one would do eating peanut butter! Thanks for sharing this recipe!

    • Phoebe Moore (L&L Recipe Developer)
      09.04.2026

      I’m so glad you loved it!

  7. Rylee
    08.26.2026

    I really wish it provided nutritional information!

  8. Emma
    08.24.2026

    5 stars
    I’ve tried making pesto lots of times and I usually don’t like it. I decided to try one more time and I’m glad I did! It’s delicious 🙂
    I’m too cheap to buy pine nuts so I used toasted walnuts instead and it as great.

    • Phoebe Moore (L&L Recipe Developer)
      08.28.2026

      I’m so glad you enjoyed it, Emma!

A food blog with fresh, zesty recipes.
Photograph of Jeanine Donofrio and Jack Mathews in their kitchen

Welcome to Love & Lemons!

I'm Jeanine Donofrio, a New York Times bestselling cookbook author and recipe developer. I share fresh, delicious vegetarian recipes that celebrate seasonal ingredients and flavors.

More about us...