This homemade basil pesto is a deliciously versatile condiment made from a handful of simple ingredients. It comes together in minutes and its so much better than store bought.

Add it to burrata pasta, gluten-free pizza, caprese salads, roasted potatoes, pesto chicken, and even on a breakfast sandwich. I especially love it in salmon pesto pasta, grilled chicken margherita, or lemon orzo pasta salad.

a wooden spoon in a bowl of homemade basil pesto

Pesto alla genovese is traditionally made with mortar and pestle to press the herbs, garlic, and pine nuts together. It gets its name from pestar, which means to pound in Italian.

And just like a classic basil pesto recipe, this one uses all the best pesto ingredients like fresh basil, pine nuts, garlic, lemon juice, parmesan, and a quality extra virgin olive oil.

Adding fresh herbs is the quickest way to level up a dish. Use up your garden basil to batch this 10-minute condiment—it’s incredibly easy to store and freeze! It makes it so easy to whip up a weeknight pesto recipe—I’ve listed my favorites below!

Pesto Ingredients

Here are the simple ingredients for this basil pesto recipe. Jump to the recipe card for exact measurements.

  • Basil: pesto is the best way to use up a surplus of garden basil. Don’t have a garden? I like to use little basil plants (living basil) from the grocery store, or grab some from the farmers market. You can even use frozen basil in a pinch.
  • Pine nuts: these are traditional and yield a really smooth and creamy pesto because they’re high in fat. They can be expensive, so my favorite swap is walnuts. Toast them first to bring out the flavors!
  • Parmesan: it’s a little salty and creamy. If you’re vegan or dairy-free, try nutritional yeast.
  • Fresh garlic: it’s small, but a mighty aromatic component. You need this for the best basil pesto!
  • Lemon juice: this balances out the rich fats from oil and pine nuts. It also thins it out a bit!
  • Salt: balances any bitterness from the basil. The parmesan is salty, so start with less and add more as needed.
  • Extra-virgin olive oil: it’s the highest quality olive oil from the first pressing of the olives. With so much olive oil in this recipe, using quality olive oil is a chance to level up your homemade pesto. I like California Olive Ranch from the grocery store. Deep dive into olive oil 101 to find your favorite!
basil, pine nuts, lemon, garlic, olive oil, parmesan cheese, salt, and pepper on a counter

How to Make Basil Pesto

Here are the simple steps to make homemade basil in a few minutes with food processor or blender. Jump to the recipe card for the full instructions.

  1. Blend the pine nuts, lemon juice, garlic, salt, pepper, olive oil, and parmesan cheese in a food processor or high-speed blender until smooth, 1-2 minutes.
  2. Add the fresh basil leaves and blend again, until it’s broken down completely and the pesto turns a lush dark green color. Taste and adjust the salt as needed. Add a splash more olive oil to reach your desired consistency.

What Can I Use Instead of Pine Nuts?

Pine nuts are notoriously expensive, so if you prefer something else or can’t find them, try walnuts, almond, or pistachios instead of pine nuts in this pesto. To make nut-free, use hemp seeds or pumpkin seeds (pepitas).

More Pesto Variations

  • Another herb: add in mint, cilantro, or parsley instead of basil.
  • Mix in greens: try try arugula pesto or add in some kale or zucchini to mix it up.
  • Roasted garlic: use a few cloves of roasted garlic instead of fresh.
  • Dairy-free/vegan: replace the parmesan cheese with nutritional yeast.

How to Use Homemade Pesto

If you need ideas, here are the many ways to use basil pesto:

grilled chicken topped with mozzarella and pesto

How to Store Basil Pesto

Transfer leftover pesto to a mason jar and drizzle a layer of olive oil on top. This will prevent it from turning brown. Seal it tightly and store in the fridge for up to two weeks. Pour or spoon the extra olive oil off before using.

Can You Freeze It?

You can freeze basil pesto for up 6 months. Thaw it overnight in the fridge before you use it. Here are two options:

  1. In a jar: cover with a layer of olive oil and freeze. This is great if you plan to use all of the olive oil in one large dish, like pasta.
  2. In ice cube trays: pour it into an ice cube tray and freeze until solid, 1-2 hours, just like freezing fresh basil. Transfer to freezer bags. Thaw ice cubes individually to use a little bit of pesto at a time. I
a bowl of homemade basil pesto on a plate with lemon and basil leaves

If you make this recipe, I’d love for you to give it a star rating ★ below. You can also tag me on Instagram so I can see it!

More Sauces You’ll Love

Save this Recipe!
Enter your email & I’ll send it straight to your inbox.
Please enable JavaScript in your browser to complete this form.
Tap stars to rate!
5 from 24 votes

Basil Pesto Recipe

Prep: 5 minutes
Cook: 0 minutes
Total: 5 minutes
This homemade basil pesto is a deliciously versatile condiment made from a handful of simple ingredients. It comes together in minutes and its so much better than store bought.

Save this Recipe!

Enter your email and we’ll send it directly to you.
Please enable JavaScript in your browser to complete this form.
Servings: 1 cup

Ingredients

  • ½ cup toasted pine nuts
  • Juice from 1/2 lemon (1 1/2 Tablespoons)
  • 2 garlic cloves
  • 1/4 teaspoon Kosher salt
  • Black pepper to taste
  • 1/3 cup quality extra-virgin olive oil plus more as needed
  • 1/3 cup finely grated parmesan cheese
  • 2 cups basil leaves

Instructions 

  • Add the pine nuts, lemon juice, garlic, salt, pepper, olive oil, and parmesan cheese to a food processor or high-speed blender. Blend until smooth with some chunks left, about 1 minute.
    ½ cup toasted pine nuts, Juice from 1/2 lemon, 2 garlic cloves, 1/4 teaspoon Kosher salt, Black pepper to taste, 1/3 cup quality extra-virgin olive oil, 1/3 cup finely grated parmesan cheese
    parmesan, olive oil, garlic, and lemon mixed in a blender
  • Add the fresh basil and blend again, 1-2 minutes. Taste and add more salt and pepper as needed. You can add up to 2 Tablespoons more of olive oil for a thinner pesto sauce.
    2 cups basil leaves
    homemade basil pesto in a blender
  • Store leftover basil in a jar and drizzle olive oil on top to prevent it from turning brown. Pesto stays fresh for up to 2 weeks. Freeze the jar for up to 6 months or freeze in ice cube trays for individual servings. Thaw overnight in the fridge.
Last step! If you make this, please leave a review letting us know how it was!

Notes

Toasted Pine Nuts: You can purchase toasted pine nuts or buy raw and toast them in a pan over medium heat for a few minutes.
Nutrition information: Search “What Molly Made basil pesto” in My Fitness Pal to add and track this recipe.

Equipment

  • Food processor or high-speed blender (I used my Vitamix ONE)

Nutrition

Serving: 2Tablespoons | Calories: 143kcal | Carbohydrates: 2g | Protein: 3g | Fat: 14g | Saturated Fat: 2g | Polyunsaturated Fat: 0g | Monounsaturated Fat: 0g | Trans Fat: 0g | Cholesterol: 4mg | Sodium: 146mg | Fiber: 0g | Sugar: 0g

Nutrition information is automatically calculated, so should only be used as an approximation.

This post may contain affiliate links. Read our disclosure policy.

5 from 24 votes (1 rating without comment)

Leave a comment

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

Recipe Rating




49 Comments

  1. Adrienne says:

    5 stars
    Love this fresh and simple recipe! By this time in the summer, my basil plants have taken over the garden and I am always looking for ways to use it up. This is just perfect and I love changing up the nuts. It is delicious with walnuts as well!
    #whatwemade

    1. Molly T says:

      Thanks Adrienne!!

  2. Alison says:

    5 stars
    Just made as part of #whatwemade and turned out great! I froze in an ice cube tray to have perfect little serving sizes!

    1. Molly T says:

      Thanks Alison!

  3. Olivia Fleming says:

    5 stars
    Delicious! There is something so satisfying about making your own pesto, and this recipe makes it super simple. We used for homemade pizzas. #WhatWeMade

    1. Molly T says:

      Thank you Olivia! I agree!

      1. Molly Monk says:

        5 stars
        I could eat this by the spoonful it is so good! I have put this on everything: salad, rice bowls, noodles, chicken, etc. Bookmarking this recipe for sure.
        Delicious!

        #whatwemade

        1. Molly T says:

          Haha I love this. Thank you so much Molly!

  4. Jill Sullivan says:

    5 stars
    I have always wanted to make homemade pesto, recently came across this recipe, and decided now was the time to try it!

    This pesto is AMAZING!!!! Very simple ingredients and instructions, but man is it delicious!

    I toasted my own pine nuts, which was easy.

    We used our pesto on a sheet pan dish with chicken, tomatoes, zucchini, red onion, broccoli, and bell pepper. We were saying we want to use the next round for homemade pizzas!

    Thank you, Molly, for another great recipe!

    1. Molly T says:

      Wow, thank you so much Jill! So glad you loved it!

    2. Jill Sullivan says:

      I forgot to include #whatwemade!

  5. Colleen says:

    5 stars
    This is the best pesto recipe I have tried! I made pizzas with it and added mozzarella, chicken, tomatoes, and spinach! I also froze some of it and I am super excited to have it over pasta. I didn’t have enough pine nuts, so I used a combination of those and walnuts. Thank you Molly! #WhatWeMade

    1. Molly T says:

      Wow, thank you so much Colleen!!

  6. Melissa says:

    Wanted to make this but I don’t have pine nuts. Anybody use another nut as a sub and if so how did it turn out?

  7. Nikki Bennett says:

    5 stars
    I’m so pumped I was able to get some basil at the farmer’s market to make this! It’s such a beautiful color and adds such flavor to so many recipes so easily! #whatwemade

    1. Molly T says:

      Thanks Nikki!!

  8. Jackie says:

    5 stars
    LOVE This Pesto Recipe!

    The ingredients and directions were wonderful! So easy to make.

    We had this with our italian dinner last night. Some of my family spooned this over their pasta and others just wanted to add to the toasted french bread. Nothing was left.

    I definitely will use this on sandwiches, salads, pizza, and grilled meat(s).

    Thank you for sharing this recipe!

    1. Molly T says:

      Thank you so much for sharing this, Jackie! I’m so glad everyone loved it.

  9. Melanie D says:

    5 stars
    Wow! What an easy to make, delicious recipe. My days of store bought pesto are done! We used this on a chicken pesto pizza and then used the rest for pesto grilled cheese the next night! Thanks for sharing! #WhatWEMade

    1. Molly T says:

      Thank you so much Melanie!

  10. Nicole says:

    5 stars
    I made this the other day for dinner. I used it as a sauce with pasta and it was really good! It was a great way to use the abundance of basil I have growing in my garden right now. Thanks so much!! #WhatWEMade

    1. Molly T says:

      Thanks Nicole!

  11. Megan Clayton says:

    5 stars
    We made the grilled chicken margherita and had pesto pasta on the side. It was delicious! Happy to have a yummy pesto recipe! #whatwemade

    1. Molly T says:

      Yum! Thanks Megan!

  12. Teresa Krejci says:

    5 stars
    I made the basil pesto using fresh basil from my garden. We tossed it with pasta, chicken, and sweet cherry tomatoes, it was delicious. Having recently retired, I am enjoying spending time in the kitchen learning and experimenting. This is the first time I’ve ever made pesto, first time gardener, and first time I have ever posted. Thank you for the recipe and inspiration. #WhatWEMade

    1. Molly T says:

      I love this so much. Thank you Teresa!

  13. Sarah Caley says:

    5 stars
    I was surprised by how easy this recipe was to make! Picked fresh basil out of our herb garden and made this recipe – it will be a staple on our fridge from now on. It is a must make! #whatwemade

    1. Molly T says:

      Thank you Sarah!!

  14. Jen says:

    5 stars
    I forgot to use the hashtag!
    #whatwemade
    Love your weekly menus Molly! Keep’em coming!

  15. Jen says:

    5 stars
    Sooooo fresh so tasty!! So easy to make! I made a double batch and froze into ice cubes!

    1. Molly T says:

      Thanks Jen!!

  16. Elizabeth says:

    5 stars
    I adore ordering homemade pesto at restaurants, but it took me a long time to realize I don’t like store-bought pesto. They are just not the same. I’m so happy to have a recipe to make at home now. This recipe is sooo freaking good. The perfect balance of refreshing basil, bright lemon, and a little toasty flavor from the pine nuts & cheese. Yum! I will keep making this again & again. I just started growing basil this year, so I was excited to be able to use homegrown basil, too! I’m also excited to see that this freezes well, but I haven’t tried that yet. #whatwemade

    1. Molly T says:

      What a great compliment. Thank you Elizabeth!

  17. Patricia says:

    5 stars
    Awesome pesto! First time making it as I had quite a lot of basil from my garden! Froze it in ice cube trays!

    1. Molly T says:

      Thank you Patricia!

    2. Nancy Eduvas says:

      My first time making pesto! It was super simple and tasty. Since I’ll be harvesting basil from the garden, this recipe will be used frequently this summer.
      ##whatwemade

  18. Dylan says:

    5 stars
    Oh boy. Got to use some organic basil we grew in our garden, toasted some raw pine nuts, and wow is this good pesto 🙌🏼.

    1. Molly T says:

      Thanks Dylan!!

    2. Sarah says:

      5 stars
      Super tasty and quick to make! Will make again!

  19. Stacy says:

    5 stars
    I made this for the first time and it was amazing. I added a little more EVOO but that’s all I changed. I will definitely make this again!

    1. Molly says:

      Love it! Thanks Stacy!

  20. Crymara says:

    So easy and such a delish flavour.

  21. Shelly says:

    5 stars
    Great flavor! I made the recipe exactly and toasted my own pine nuts. I had my husband (chef) taste it before I put in refrig.. he said perfect just as it is!

    1. Molly Thompson says:

      WOW—such a compliment. Thank you!

  22. aryana says:

    5 stars
    so delicious and so easy! i used it for my pesto pasta and it was just amazing

    1. Molly Thompson says:

      Thank you so much!

  23. Kelly S says:

    Is there something I can use instead of Garlic. The family I married into has allergies to garlic and onions.

    Any suggestions welcomed.

    Thank you,
    Former Garlic Lover

    1. Molly Thompson says:

      hello! I would probably say to leave it out. I was going to suggest green onion, but that’s an onion lol. Let me know if you try it this way!

      1. blackbananaa says:

        5 stars
        Great recipe! 🌿