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

 

 

681 comments

4.92 from 539 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. Kari
    09.01.2025

    5 stars
    I made this today with your suggestion to try substitutes. I did 1/2 cashews and 1/2 hemp seeds in place of the pine nuts. This was soooo good. Thank you. I would never have thought of the hemp seeds. This will be my go to recipe!

  2. Linda G
    08.28.2025

    5 stars
    Love this recipe. So easy to make and delicious. We have 4 great basil plants this year. I’ve made this so often!

  3. Sumit
    08.27.2025

    3 stars
    Thanks for sharing but next time please do a better job with recipe. 2 cups of basil leaves?? Is that 50 grams or 100 grams? Should I pack the cup losely or tightly? Think about it. Thanks.

    • Darlene
      08.31.2025

      5 stars
      Be Nice, it’s not a recipe that has to have exact measurements

  4. Florin
    08.26.2025

    5 stars
    Thank you. Very tasty. But, no food processor! Pestle and mortar. Hard work, but another level.

  5. cheri
    08.26.2025

    Just made double recipe with ingredients from my garden and YUMMY, I have a ton of basil so after this batch I will play around with some other options. Meanwhile, what are your best approaches to storing.

  6. Dennis
    08.24.2025

    5 stars
    I followed the recipe exactly. It was delicious. I used fresh Basil from my garden and put it over fettuccine and made chicken meatballs with pesto sauce on top. We opened a bottle of Santa Margherita Pinot Grigio and it complimented a perfect meal.

  7. Valerie
    08.24.2025

    Ummm…. trying to make this right now and seeing the amount of everything EXCEPT basil.

    • Steph
      08.24.2025

      It’s listed as 2 cups in the recipe.

  8. Andy
    08.24.2025

    I also use a lot more garlic, but it’s oven roasted garlic, I also use Old Bay, instead of sea salt, but otherwise my recipe is similar.

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.