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.

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!

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.
- 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.
- 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:
- Pesto pasta: Use it as a sauce over cooked pasta, like tortellini, penne or even spaghetti squash. You’ll love it in this burrata pasta.
- Pizza: use it in place of the sauce on this homemade sheet pan pizza.
- Vegetables: toss it with vegetables before roasting. It’s delicious with roasted broccoli and carrots, pesto roasted potatoes, and roasted mini peppers.
- Stir in soup: Swirl a tablespoon or two into Italian meatball soup or corn chowder.
- Pesto sandwich: spread it on toasted bread with your favorite cheese, meat, lettuce, and tomato.
- With eggs: add some to a pan then scramble or fry eggs. You’ll love it on fluffy egg sandwiches or cheesy breakfast sliders.
- Pesto marinade: place it in a plastic bag and use it as a chicken marinade or salmon marinade, then grill or bake it.
- Spoon over salads: spoon it over caprese salad or tomato peach burrata salad.
- Mix into dressings: Add fresh flavor to homemade dressings with a Tablespoon or two of basil pesto. It’s amazing in the dressing for summer orzo salad, grilled zucchini salad, grilled peach salad, or summer corn salad.
- As a topping: spoon it over cooked chicken, fish, eggs, or veggies. You’ll love this pesto chicken and grilled chicken margherita.

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

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!
Basil Pesto Recipe
Save this Recipe!
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

- 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

- 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.
Notes
Equipment
- Food processor or high-speed blender (I used my Vitamix ONE)
Nutrition
Nutrition information is automatically calculated, so should only be used as an approximation.
This post may contain affiliate links. Read our disclosure policy.












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
Thanks Adrienne!!
Just made as part of #whatwemade and turned out great! I froze in an ice cube tray to have perfect little serving sizes!
Thanks Alison!
Delicious! There is something so satisfying about making your own pesto, and this recipe makes it super simple. We used for homemade pizzas. #WhatWeMade
Thank you Olivia! I agree!
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
Haha I love this. Thank you so much Molly!
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!
Wow, thank you so much Jill! So glad you loved it!
I forgot to include #whatwemade!
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
Wow, thank you so much Colleen!!
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?
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
Thanks Nikki!!
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!
Thank you so much for sharing this, Jackie! I’m so glad everyone loved it.
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
Thank you so much Melanie!
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
Thanks Nicole!
We made the grilled chicken margherita and had pesto pasta on the side. It was delicious! Happy to have a yummy pesto recipe! #whatwemade
Yum! Thanks Megan!
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
I love this so much. Thank you Teresa!
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
Thank you Sarah!!
I forgot to use the hashtag!
#whatwemade
Love your weekly menus Molly! Keep’em coming!
Sooooo fresh so tasty!! So easy to make! I made a double batch and froze into ice cubes!
Thanks Jen!!
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
What a great compliment. Thank you Elizabeth!
Awesome pesto! First time making it as I had quite a lot of basil from my garden! Froze it in ice cube trays!
Thank you Patricia!
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
Oh boy. Got to use some organic basil we grew in our garden, toasted some raw pine nuts, and wow is this good pesto 🙌🏼.
Thanks Dylan!!
Super tasty and quick to make! Will make again!
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!
Love it! Thanks Stacy!
So easy and such a delish flavour.
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!
WOW—such a compliment. Thank you!
so delicious and so easy! i used it for my pesto pasta and it was just amazing
Thank you so much!
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
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!
Great recipe! 🌿