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.96 from 405 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.

 

 

460 comments

4.96 from 405 votes (228 ratings without comment)

Leave a comment:

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

Rate this recipe (after making it)




  1. Aneel Gupta
    08.12.2024

    5 stars
    This basil pesto recipe is an absolute game-changer! I love how simple and versatile it is, perfect for adding a burst of flavor to any dish. The variations you suggested are fantastic. Thanks for sharing such a delightful recipe!

    • Jeanine Donofrio
      08.15.2024

      Hi Aneel, I’m so glad you’ve loved it!

  2. MJ
    08.10.2024

    5 stars
    Loved it. Fresh and flavorful. As I was making it my husband was telling me how much he dislikes pesto. Then I had him try a bite atop a rice cracker. I almost couldn’t get him to stop eating it so I would have enough leftover to make pesto pasta.

  3. Kathy Fowler
    08.08.2024

    Made this exactly like your recipe and was so good! Thank you, we have lots of basil in the garden.

    • Phoebe Moore (L&L Recipe Developer)
      08.09.2024

      Hi Kathy, I’m so glad you enjoyed it!

  4. Kate
    08.06.2024

    5 stars
    Hi darling!
    It’s a great recipe. Before anything else, I want to thank you for letting me know that pesto can be done with pretty much any nut. I used walnuts and recipe turned out amazing. My daughter loves it and I already did my third batch, this time quadrupled as we eat like crazy (and ratio worked so well).
    I wanted to thank you for taste and pleasure you brought to our home.
    Much love.

    • Jeanine Donofrio
      08.08.2024

      Aww, I’m so happy to hear Kate!

  5. Chelsea
    08.04.2024

    2 stars
    I honestly don’t know what I did wrong- maybe it’s too many pine nuts? Mine was a tan paste I kept having to add basil and it just never came together I ended up throwing it out and I literally followed it to a T? Anyone else run into this sadly?

    • Brenda
      08.08.2024

      Hey Chelsea, Did you pack the basil down tight? I didn’t realize to do that at first. 🙂

  6. Leah
    08.03.2024

    5 stars
    Wonderful. I made this with pepitas. Glad to know about different options as I rarely have pine nuts on hand. Thank you so much!

    • Debbie
      08.06.2024

      Hi Leah-

      I wanted to try this recipe with pepitas too! Did you use the same amount of pepitas as the pine nuts in the original recipe? Did you toast them also. Any other modifications from the recipe?

      Am not a creative cook type, so unfortunately I always have to follow a recipe.

      • Jeanine Donofrio
        08.08.2024

        Hi Debbie – when I replace the pine nuts I use the same amount. Hope that helps!

  7. Steve from Love%20and%20Lemkns
    08.02.2024

    5 stars
    Made fresh basil pesto using cashews and several sprigs of rosemary for the piney flavor and it fame out perfect!

    • Phoebe Moore (L&L Recipe Developer)
      08.02.2024

      Hi Steve, I’m so glad you loved it! The rosemary addition sounds delicious.

  8. Crystal S.
    07.28.2024

    5 stars
    Made a double batch today with my garden basil, and it turned out perfectly. Ingredients are in perfect ratio; didn’t have to adjust a thing. Slathered generously on farfalle with roasted cherry tomatoes and chicken sausage. Delicious!

    • Phoebe Moore (L&L Recipe Developer)
      08.02.2024

      Hi Crystal, I’m so glad you enjoyed the pesto. That sounds like a great meal!

  9. Ria
    07.28.2024

    Such a great recipe and easy to make.
    Thank you!

    • Phoebe Moore (L&L Recipe Developer)
      08.01.2024

      Hi Ria, I’m so glad you loved it!

  10. Karen S
    07.27.2024

    5 stars
    Have made pesto zillions of times, but never with lemon juice. Nice touch! In the spirit of “in for a penny, in for a pound,” I included the zest. Used a mix of pine and pistachio nuts, and mostly basil with some mint and Italian parsley. YUM!!! I’ll be freezing most of mine (a double batch-plus). So instead of including the cheese, I’ll add freshly-grated as I use the pesto. (That trick courtesy of a former boss who was from Northern Italy.) Thank you!

    • Phoebe Moore (L&L Recipe Developer)
      08.01.2024

      Hi Karen, yum! That variation sounds delicious! So glad you enjoyed the recipe.

    • Kate M
      08.03.2024

      5 stars
      Genius!! Thx for the cheese bit.

  11. Sally
    07.27.2024

    5 stars
    Made this using walnuts tonight. It’s delicious and perfect in every way! I love all the recipes on this site. So, so much goodness.

    • Phoebe Moore (L&L Recipe Developer)
      08.01.2024

      Hi Sally, I’m so glad you love the pesto as well as the other recipes!

  12. Lenny
    07.26.2024

    5 stars
    Hi! Woa! My basil has flourished and decided to make pesto. I doubled the batched and incorporated my dairy Parmesan instead. Also, I’ve decided to freeze the unused portion in a couple of days if we don’t devour it. lol Mmmmmm thank you ☺️

    • Phoebe Moore (L&L Recipe Developer)
      07.26.2024

      Hi Lenny, so glad you loved the pesto!

  13. Mirka
    07.23.2024

    5 stars
    Absolutely delicious!

  14. Laurie
    07.22.2024

    5 stars
    Our new favorite! I made mine with pistachios instead of pine nuts. I sauteed shrimp with minced garlic, added pasta and the pesto. Absolutely delicious ?

  15. Beth
    07.22.2024

    Never mind, I found it hidden in the ingredients list and wasn’t hyperlinked. Sorry.

  16. Beth
    07.22.2024

    How much basil do I use? The key ingredient is missing from the ingredients list.

    • Christina Robinson
      07.22.2024

      it said 2 cups

      • Jika
        07.31.2024

        is it 2 cups of firmly packed or loosely packed basil? thats my question!

        • Phoebe Moore (L&L Recipe Developer)
          08.02.2024

          Hi Jika, 2 cups loosely packed basil will work well.

  17. Lee
    07.19.2024

    5 stars
    Did you post the pine nuts first?

  18. Lee
    07.19.2024

    5 stars
    Did you toast the pine nuts first? Plain raw pine nuts will not give you the right flavor.

  19. Tracy
    07.18.2024

    How long would it last?

    • Phoebe Moore (L&L Recipe Developer)
      07.19.2024

      Hi Tracy, the pesto is good for about 3 days in the fridge. You can also freeze it for up to 3 months.

    • Koko
      07.22.2024

      I fill up ice cube trays and freeze it and thrown the cubes in a freezer bag. When I make my Sunday sauce, I toss one or two in. Or I defrost a bunch and use it as a sauce.

  20. John
    07.17.2024

    5 stars
    Great recipe. Nice and smooth, great flavor!

    • Jeanine Donofrio
      07.18.2024

      Hi John, I’m so glad you loved it!

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.