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.88 from 620 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.

 

 

854 comments

4.88 from 620 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. Toni Jones
    07.12.2026

    5 stars
    I made this recipe this evening to accompany homemade fettucini and grilled chicken. Delicious. The touch of lemon adds just enough brightness to cut through some heaviness I have found in other recipes. Yours is light and refreshing and good use for an abundance of basil I have this year. Any suggestions on how to freeze this for future use?

    • Jeanine Donofrio
      07.13.2026

      I’m glad you loved it! You can freeze it in any freezer safe container, but I like to freeze it in ice cube trays for individual portions.

  2. Terry Creighton
    07.10.2026

    5 stars
    Wow! This pesto was the perfect recipe for my bumper crop of basil. Served it over protein pasta w/a grilled sirloin. Amazing blend of fresh flavors and it came together so quickly. Thanks for the recipe!

    • Jeanine Donofrio
      07.13.2026

      I’m so glad you loved it!

  3. Sue
    07.10.2026

    5 stars
    Another great recipe from Love and Lemons

    • Jeanine Donofrio
      07.13.2026

      I’m glad you loved it!

  4. Linda Schooley
    07.10.2026

    5 stars
    Great pesto!!! I will be eating it on every from now on!

    • Jeanine Donofrio
      07.13.2026

      I’m glad you enjoyed it!

  5. Debi from theromanticvineyard.com
    07.07.2026

    5 stars
    What a vibrant pesto made from my herb garden. Thank you for opening this door of possibilities for me. It’s a great summer!

  6. Bern
    07.06.2026

    Can you freeze pesto sauce? How long is it good in the fridge?

    • Mary
      07.06.2026

      I freeze mine. Comes out fine

    • Gretchen Nicholson
      07.11.2026

      Leave out the cheese if you are going to freeze it. Then add when you use it.

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...