FREE 5-Ingredient Recipe EBook
GET IT NOWBasil pesto has always been one of my favorite sauces. I keep a jar in my fridge pretty much all year! But every time summer rolls around, I get excited to make my homemade pesto recipe using that fresh summer basil. Sorry-not-sorry, the store-bought stuff has nothing on the flavor and aroma of making it yourself. And since I make it with just 5 ingredients, it’s super easy and fast. Let me show you how to make pesto sauce, and you might find yourself with a freshly made jar in your fridge all summer, too.
Why You’ll Love My Basil Pesto Recipe

- Bright, fresh, and herby taste – Obviously basil is the star of the show here, but you’ve also got nutty, fruity, and cheesy flavors. There’s so much to love about it.
- 5 simple, good-for-you ingredients – Plus salt and pepper. There are many variations, but I’ll show you how to make pesto the basic way first. From there, you can make easy swaps to make it your own — see my substitution options below.
- Quick and easy to make – This pesto recipe takes me all of 5 minutes! You can whip it up really quickly while you’re waiting for your main or side dish to cook.
- Use it in many different ways – Seriously, you’ll never run out of ways to use this stuff. I use it for grilled chicken, noodles, fish, sandwiches, veggies, and even whisk it into salad dressings or mayonnaise. I have more ideas for you below!
- Stores very well – Homemade pesto keeps in your fridge for weeks, and you can freeze any extras. It’s the perfect perfect solution to your too-much-basil “problem” in the summer. (That’s not just me, right?)


Ingredients & Substitutions
Here I explain the best pesto ingredients, what each one does in my recipe, and substitution options. For measurements, see the recipe card.
Wondering what pesto is made of? You only need 5 ingredients, plus salt and pepper, and they are easy to customize:
- Fresh Basil – The main ingredient! I prefer lighter green basil leaves for a brighter flavor, but you can opt for darker, larger ones for more intensity. You can also make pesto using other fresh herbs (like parsley, cilantro, or mint) or leafy greens (like arugula, spinach, or kale) for different flavors. You can even add oven dried tomatoes, in addition to or instead of the greens.
- Nuts – The traditional pesto I ate in Italy used pine nuts, so that’s what I put in my pesto recipe, too. But I’ve also tried it with macadamia nuts, almonds, walnuts, and cashews, and all of them taste amazing in their own way. For a nut free version, replace the nuts with seeds, such as pepitas or sunflower seeds.
- Grated Parmesan Cheese – You could also use pecorino romano or Asiago cheese. If you can’t have dairy, replace the cheese with 2-3 tablespoons of nutritional yeast instead. (I find that nutritional yeast is more intense than parmesan, so use about half the amount.)
- Olive Oil – I love my pesto sauce with extra virgin olive oil for its rich and fruity flavor, but regular olive oil also works.
- Garlic – You can’t beat the flavor of fresh garlic cloves, but I’ve made my pesto recipe with a teaspoon of minced jarred garlic in a pinch and it’s still delicious. I don’t recommend garlic powder, though.
- Sea Salt & Black Pepper

How To Make Pesto
I have step-by-step photos here to help you visualize the recipe. For full instructions with amounts and temperatures, see the recipe card.
- Chop the nuts. Since we are blending the pesto sauce anyway, I just place nuts into my food processor, and pulse several times until broken up into smaller pieces. You could do it by hand though, if you’re not using a food processor (see my tips below).
- Add the other ingredients. Add the olive oil, garlic, cheese, basil, salt, and pepper into the blender or food processor. Push the fresh basil leaves into the olive oil.


- Give it a blend. Pulse intermittently, until the pesto recipe reaches your desired consistency. Scrape the sides occasionally with a spatula as needed.

My Recipe Tips
- Don’t over-process. In the first step, only pulse the nuts until they are broken up. If you over-process, you will end up with nut butter! Then in the final step, pulse intermittently instead of blending constantly. The texture of basil pesto can get too fine pretty quickly, so I recommend starting and stopping to keep an eye on the consistency.
- For larger food processors, add the oil in a thin stream. If your food processor is large and you’re making a small batch, don’t add the oil with the other ingredients, because it might not mix well. Instead, gradually pour in a thin stream while the food processor is running.
- No food processor? Use a powerful blender, or a mortar and pestle! You’ll just need to chop the nuts by hand. I’ve made this in my blender and it works great, but keep in mind it might not work as well if yours is less powerful. A mortar and pestle is actually the traditional Italian method. To do this, mash the garlic and combine with the chopped nuts, then add the basil leaves and salt (in batches), cheese, olive oil, and pepper. Make sure the pestle crushes each ingredient into a fine paste before proceeding to the next one.
- Adjust oil as needed. The amount you need can vary depending on how you measure your ingredients and how thick you want your pesto sauce recipe. If it’s too thick, just add more oil. If it’s too thin, you can blend in more basil, nuts, or cheese to your liking.
- A splash of lemon juice improves shelf life. I skipped this because I have a weakness for a 5-ingredient recipe, but adding 1-2 tablespoons can make your pesto last longer and preserves its bright green color. It can also help if the sauce flavor is too bitter or garlicky for your taste.
Storage Instructions
- Store: I keep my homemade pesto in a mason jar in the refrigerator, but any airtight container works. It lasts up to 2 weeks!
- Freeze: This sauce keeps in the freezer for up to 6 months. I like to pour it into a silicone ice cube tray, so that I can easily pop out how much I need at any time. You can also transfer the frozen cubes to a zip lock bag once they are solid.
Common Questions
- What is pesto? Basil pesto is a bright green Italian sauce made from fresh basil, garlic, nuts, parmesan cheese, and olive oil. Unsurprisingly, the best one I’ve ever had was on our trip to Italy — but I think I’ve gotten pretty close with my pesto recipe.
- Is pesto healthy? Everyone’s definitions are different, but yes, I would consider pesto a healthy sauce. It checks the boxes for me: fresh, natural ingredients and healthy fats (from nuts and olive oil).
- Why did my pesto turn solid? It’s normal for pesto to turn solid in the fridge. I just set it out at room temperature to return to its normal consistency, or this happens naturally if I put it on warm foods.

Ways To Use It
There are so many ways to use this fresh and herby condiment! Here are some of my fave ways to make pesto recipes:
- Chicken – Pesto chicken is one of my go-to summer dinners, because it takes me minutes to prep and the flavors are all… summery. You can also use my homemade pesto as a marinade for juicy baked chicken breast, crispy grilled chicken legs, or even chicken leg quarters.
- Seafood – I just used it again for my pesto salmon, but it would be perfect drizzled on crispy broiled salmon or juicy shrimp skewers, too.
- Noodles – The most common way to use pesto is tossed with pasta! You can use your favorite kind. I prefer lighter options, like zucchini noodles or spaghetti squash.
- Eggs – My latest obsession is frying eggs in pesto instead of oil. It’s so good! You can also drizzle it on top of cloud eggs, baked eggs, or my new breakfast salad.
- Veggies – For a burst of fresh flavor, add a few spoonfuls to your roasted vegetables or toss it with my cauliflower gnocchi.
- Potatoes – My latest experiment was tossing air fried potatoes with this pesto sauce. No regrets.
- Salads – I just thin it out with extra olive oil to turn it into a salad dressing! It makes a yummy dressing swap in my antipasto salad or shrimp salad, or drizzle it over Caprese skewers.
- Italian Dishes – I’m a huge fan of swapping this for the sauce in my zucchini lasagna, but you can also use it as the sauce on cauliflower pizza crust or use it for my sausage and peppers instead of marinara.
- Bowls – I recently made a Caprese salad inspired chicken bowl with some of my leftover chicken bites, and highly recommend. Top a bowl of rice (or cauliflower rice) with cooked diced chicken, along with fresh tomatoes, fresh mozzarella, and fresh basil. Drizzle with homemade pesto and balsamic glaze.
My Favorite Food Processor For This Recipe
I used a smaller one for the pictures above, but in reality I usually make a double batch of this pesto recipe and use my big food processor. It’s so powerful and I’ve had it for almost 10 years with no issues.
Basil Pesto Recipe (5 Minutes)
Make this 5-minute homemade basil pesto recipe with basil, pine nuts, parmesan, garlic, & olive oil. This sauce tastes amazing on everything!
Instructions
Tap on the times in the instructions to start a kitchen timer.
-
Place the nuts into a food processor. (You can also use a powerful blender, but in this case chop the nuts first and then use the blender for steps 2-3.) Pulse several times until they are broken up into smaller pieces. Don't over-process, or you'll end up with nut butter!
-
Add the basil, grated parmesan, olive oil, garlic, salt, and pepper to the blender. Push the basil leaves into the olive oil. If your food processor is very large, see my tips above before you add the oil.
-
Pulse intermittently, scraping sides occasionally with a spatula, until the desired consistency is reached.
LAST STEP: Leave a rating to help other readers, or tag me @wholesomeyum on Instagram. I’d love to hear from you!
Maya’s Recipe Notes
Serving size: 2 tablespoons
This pesto recipe makes 1 cup total.
I provide nutrition facts as a courtesy. Have questions about calculations or why you got a different result? Please see my nutrition policy.
Add Your Notes Your Notes
© Copyright Maya Krampf for Wholesome Yum. Please DO NOT SCREENSHOT OR COPY/PASTE recipes to social media or websites. We’d LOVE for you to share a link with photo instead.
Basil Pesto Recipe

Shop
My
Custom












70 Comments
Brandon
0As I was making this I was skeptical as the smell is really earthy. Tasted it and it is very rich and creamy. I don’t think I care for the pine nuts I might try a different less expensive nut next time. Nice work putting this recipe together thanks!
Wholesome Yum D
0Thanks for the feedback, Brandon! I’m so happy you enjoyed the recipe.
Tori Berning
0Great recipe! I used almonds and it turned out great.
Wholesome Yum D
0Thanks, Tori! So glad it worked well using almonds.
micaela1957
0Your pesto recipe takes me back to childhood Thank you
Maya | Wholesome Yum
0Awww, thanks, Micaela! I’m glad this sauce brought back memories for you.
Rosie
0I tried the Basil Pesto recipe to add to your Zucchini Noodles recipe and they both turned out very well, except for a minor mistake I made with the noodles. However, my guests enjoyed them both, especially the pesto sauce, and finished it all.😋
Rosie
Maya | Wholesome Yum
0Thank you, Rosie! I’m glad it all worked out.
Tessa
0I’ve made this pesto twice, and it’s phenomenal! The entire family’s raves about it! Freezing the remaining in a silicone ice or mini muffin tray makes perfect single servings to use on baked salmon filets and more! Excellent!
peggykernodle
0Delicious! I halved it and it was great!!
Sonja Abe
0I used pine nuts and fresh basil from my garden, and the flavor was incredible. I loved how easy it was to make and store in a mason jar in the fridge. I even froze some in an ice cube tray for future use. It was perfect on pasta and as a spread on sandwiches.
Sha
0I love using this for my noodles! It’s add great flavor and make it more satisfying!
Kristyn
0I won’t be buying pesto again!! This is delicious & I am excited to add it to everything!! Great flavor & easy to make!
Gabby
0So simple yet so much better than store bought!
Julie
0Last night, I made a batch of this with fresh basil from my garden. The aroma of basil and garlic filled the kitchen, and it paired perfectly with pasta! Thanks Maya! My daughter loved it! She loves pesto.
Rebe
0how much does this recipe yield? A cup of pesto? two? can’t find that info anywhere.
want to know if this makes enough for your PESTO CHICKEN BAKE WITH CAULIFLOWER recipe or do we need to double it?
Maya | Wholesome Yum
0Hi Rebe, My pesto recipe makes 1 cup total. You can easily scale it up or down as needed.
Marsha
0We all loved this Pesto! I spread it on 1/2 bagel, topped 1 egg scrambled and left flat and flipped, whole Ortega Chillies sliced long ways , next 1 thick slice of Beef Steak Tomato, thin slice of red onion and last sliced cheddar. Have the broiler ready and put under. until cheese is almost bubbling. Wowee!
Marge
0Love the tips. I put in the basil, and added spinich too, walnuts , and added a teaspoon of lemon juice. Beautiful color, and delicious. A neighbor shared their basil bounty, so I made a double batch. So tasty. A glass jar of it makes a great gift too.
Amy
0I love this pesto recipe! One tip you had that I haven’t seen in other recipes was to lightly pulse the pine nuts before adding the other ingredients. Would love for you to add recipe links for using this sauce in Keto recipes.
Wholesome Yum D
0Hi Amy, I have a section above with ways to use the pesto sauce.
Joanne
0Loved this recipe! I actually used my immersion blender (in case anyone wondered if it would work)for this since my food processor is packed away right now…living in an RV!
Amy
0I just made this pesto recipe and it’s the best recipe I’ve ever made for pesto! I had never previously chopped the pine nuts before mixing them with the other ingredients, and this really helped. I did toast the pine nuts in a dry skillet to add depth. I tried a squeeze of lemon–definitely added brightness!
Deb
0So much better than store bought! Used sunflower seeds because that was all I had and it was great. Used it on the pesto chicken, another Wholesum Yum recipe…delicious!
Sarah
0I LOVE pesto! I made a triple batch of this sauce and used it on pork chops earlier in the week, cheese ravioli last night, and have the third round in the freezer for an easy go-to meal later this fall. Delicious and super easy to make.
Allie
0I was really craving some homemade pesto (and had so much extra basil this summer) so I tried out this recipe and it was great! I love pesto for pasta or on a sandwich and this one was really flavorful. Bookmarked to make again. Thanks!!!
Jere Cassidy
0I saw the picture of your basil pesto and just had to make it, and mine came out in the prettiest green color too! I served this over feta.
Elizabeth S
0I had so much basil from my basil plants and there is no better way to use it than in this recipe. It was easy to make, balanced, flavorful, and so delicious! Will definitely use this recipe again.
Janice
0We really love your pesto recipe! It was so delicious and easy! I tried pairing it with roasted vegetables, and it turned out so great! Such a great recipe to try!
LIsa Collum
0This pesto recipe is perfect! It is delicious and decadent right out of the Vitamix, but I made it today to mix with spaghetti squash, shrimp and topped with mozzarella and parmesan. Baked 25 minutes at 350. Spectacular! Thank you, Maya, for another winning recipe.
Dorothy
0This was absolutely yum. I use macadamia nuts, but as I didn’t have enough sweet basil growing in my garden I made the 2 cups up with Thai Basil and Coriander, which I did have plenty of.
And I grated the parmesan cheese fresh from the block. The only problem was that I wanted to eat it all before I could make the keto twists that I made it for lol.
Judith K Orr
0How much nutritional yeast would sub. for parm. cheese?
Wholesome Yum D
0Hi Judith, I have never tried to use nutritional yeast in this recipe.
Whitney
0Perfect pesto
Vicki
0Thank you so much for the recipe super easy to follow and super delicious!!!
Really like all The additional Information you provided i.e. substitutions on the nuts extremely helpful
Jo Truan
0Today was the 1st time I have made pesto. I am so happy I found your recipe!! I made zoodles with pesto and eggs for breakfast since I couldnt wait to try it. So delicious!! This will be a staple in my house as long as I have basil growing!! Thank you so much!!!
Lauren
0Can your nuts be lightly salted?
Wholesome Yum M
0Hi Lauren, Yes, but you may want to reduce the added salt in the recipe. You can adjust this to taste.
kazy
0How much is 2 cups of fresh basil? Should I just stuff them into 2 cups worth to find out? I went on line to google and it said about 43 grams or 1 1/2 ounces. Does that sound about right?
Wholesome Yum M
0Hi Kazy, Yes you can measure it that way (lightly packing into measuring cups) or go by weight if you have a kitchen scale. Either method will work fine.
sheila haliotis
0This pesto was amazing! I made it with macadamia nuts and served it over zoodles with low carb meatballs. Definitely a keeper!!
Laurie
0Can this pesto be frozen?
Wholesome Yum M
0Hi Laurie, Yes! This pesto freezes very well. Be sure to store in an air tight container to preserve freshness.
Adnan Usman
0Can I leave out the nuts? I really don’t like nuts.
Wholesome Yum M
0Hi Adnan, Yes you can omit the nuts. Your pesto will have a different texture than what you see pictured, but it will still work.
Katherine
0Pesto sauce is the best!!! I’ve never heard of using macadamias though – I bet it’s delicious! Thank goodness for my garden basil 🙂
Raia Todd
0Super easy!
Jean Choi
0I’ll take pesto in everything and I love that this used macadamia nuts!
ChihYu
0This pesto sauce will be SO GOOD on all the things! And I love the taste that the macadamia nuts gives!
Megan Stevens
0Maya, have you ever had trouble with your pesto browning? I know the typical advice is plenty of olive oil prevents oxidation, so I guess that’s the key. Maybe I always use too little. I appreciate having your recipe!
Wholesome Yum
0Hi Megan, it can happen when the fresh cut basil is exposed to the air for too long. If extra oil doesn’t help, you could also try a squeeze of lemon juice.
Tayler Ross
0My family loves pesto, and this is by far our favorite recipe! So fresh and delicious!
Matt Ivan
0I love pesto sauce but for some reason rarely make it. This recipe is so easy and yummy!
Kristine
0I love, love, love making my own pesto and this recipe is so super easy! It was perfect for my chicken recipe and I can’t wait to use it on all sorts of other things, thank you!
Helen
0This looks so good! We love fresh pesto but I haven’t tried it with macadamia nuts – yet!
Patty
0I love love love basil and love it in pesto. I never thought of adding it to mayo … yum!
Sandi
0I put pesto on everything. I love this recipe so much!
Jessica Formicola
0My family loves pesto! I gave this recipe a try and it was so delicious! Thanks so much for sharing!
Dannii
0We always make our own pesto. Such a great way to use up leftover herbs too.
Emily L Currie
0This would be good with cilantro too.
Wholesome Yum
0Great idea, Emily!
Rose
0Made this today. It is amazing!!
Maya | Wholesome Yum
0Thank you, Rose!
Edith
0Anything fermented (yeast, cheese, yogurt) is off my list. Could you make it without the parmesan?
Maya | Wholesome Yum
0Hi Edith, You can replace the Parmesan with additional macadamia nuts. The flavor and texture will be different, though. Hope this helps!