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.92 from 537 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.

 

 

679 comments

4.92 from 537 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. Andy
    08.24.2025

    Instead of the lemon, I use a good amount of lemon basil. I also use two parts pine nuts and one part pistachios.

  2. Lesli
    08.24.2025

    5 stars
    Delish–thank you! I doubled the recipe as had lots of fresh basil. I also digest garlic powder better than raw garlic and had nutritional yeast instead of cheese, and used half carrot tops so made those subs. Would def do again and recommend this recipe!

  3. Joan Lamontagne
    08.23.2025

    Love every re pipe I’ve tried from you. Quick question. Is it two cups packed basil for pesto or loose? Thank you!

    • Connie
      08.24.2025

      pretty sure it’s packed basil

  4. Maryanne
    08.23.2025

    5 stars
    I tried it ,thanks for the recipe

  5. Rhiannon
    08.20.2025

    5 stars
    Absolutely delicious!! I’ve made this several times this season and it’s been perfect every time! (Although I do add extra garlic..just a personal preference)

    • Jeanine Donofrio
      08.22.2025

      I’m glad you’ve loved it!

  6. Pam
    08.20.2025

    I don’t see where it gives the amount of basil? A handful and actual measurment?
    Thank you,Pam

    • Jeanine Donofrio
      08.22.2025

      Hi Pam, it’s 2 cups (the full measurements are listed at the bottom of the post)

  7. Alexa
    08.18.2025

    5 stars
    I made this last night to put on sandwiches and it’s so good! Thank you. 😍

  8. Stephanie
    08.17.2025

    4 stars
    Made this recipe – excellent but I doubled the amount of oil and added more salt. Excellent!

  9. Kristi Franke
    08.16.2025

    5 stars
    Thus was so good! Great way to use up all my overgrown herbs!

  10. Donna
    08.15.2025

    I have a Lemon Basil plant, and so just wondering would I use the same amount of lemon juice or should I reduce the amount ?

    What do you think ????

    Thanks for your help !!!!

    • Conzo
      08.16.2025

      I have Thai basil too and am going to try a combo of Thai and Genovese.

  11. Mel Smer
    08.14.2025

    5 stars
    Fresh and delicious! I made a double batch and froze it in a mini cupcake pan. Once frozen, I popped the portions into a container, making it easy to grab pesto anytime I need it.

  12. Liz
    08.12.2025

    5 stars
    Just an FYI but Pine Nuts aren’t actually nuts. They’re a seed. So if you have a nut allergy, pine nuts shouldn’t be a problem:-)

  13. Michele
    08.10.2025

    Just made this with fresh basil from my garden. What have I done wrong? I don’t feel like it has any flavor. I’m hoping once it sits the flavors will meld!

    • Jen
      08.13.2025

      I’ve read that basil that is picked in the morning is more flavorful and also if it’s ’feet are wet’ it won’t taste as strong. Not sure if either of those apply to you?

    • 5 stars
      I just made it with fresh basil from my garden. A little more garlic from a friend at farmers market. Fresh lemons from a girlfriend just at the end of the road. This was the best pesto I’ve ever made and I’ll be making double batches for as long as the basil is happening in my garden. Freezing it so I have it all winter long. It was heavenly. Try a little more salt and a little more garlic you should get full flavor.

  14. Mary Younger
    08.06.2025

    5 stars
    This is the second time I have made this and it is amazing. All fresh from my garden and then I freeze it and it comes out perfectly.

    • Phoebe Moore (L&L Recipe Developer)
      08.08.2025

      Hi Mary, I’m so glad you love the recipe!

  15. Candace
    08.06.2025

    5 stars
    Excellent Pesto!! This is a keeper 🙂

    • Phoebe Moore (L&L Recipe Developer)
      08.08.2025

      So glad you loved it, Candace!

    • Phoebe Moore (L&L Recipe Developer)
      08.08.2025

      So glad you loved it, Rose!

  16. Talia
    08.04.2025

    4 stars
    I made this recipe with fresh basil from my garden. I really like it, with one caveat: I felt the lemon was a little too intense. everything else about it seemed in the right proportion, but it tasted too tart. Next time I try it, I think I will go down to 1.5 tbsp rather than 2, and that will probably be just right

  17. Richie
    08.04.2025

    5 stars
    I love this pesto. Made some homemade focaccia and the pesto made it a home run . Bravo

  18. Dick Eger
    08.03.2025

    4 stars
    Your Basil Pesto recipe sounds good though I would probably leave out the lemon juice since it imparts a slightly sour taste.

    Most importantly, the list of ingredients forgot to mention BASIL!

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

Hello, we're Jeanine and Jack.

We love to eat, travel, cook, and eat some more! We create & photograph vegetarian recipes from our home in Chicago, while our shiba pups eat the kale stems that fall on the kitchen floor.