This post may contain references to products from one or more of our advertisers. Oh Sweet Basil may receive compensation when you click on links to such products.

This post covers how to make pesto sauce, how to store it, and more! If you’ve never made homemade pesto before, you’ve been missing out!

This a perfect summer recipe to use up all that basil in the garden! I swear basil multiplies overnight. I can’t keep ahead of it, but homemade pesto is one of my favorite ways to use it up!

a photo of a jar of homemade pesto sauce on a wooden plate with a gold spoon next to it.
Want to save this recipe?
Just enter your email and get it sent to your inbox! Plus, you’ll get new recipes from us every week!

Homemade Basil Pesto Sauce Recipe

I don’t know why, but I had never had pesto until college. At least I’m pretty sure I hadn’t. And I honestly don’t even remember who made it when I did finally have it. All I remember was that it was a basic pesto pasta and I loved it.

I’ll be the first to admit that I ate waaaaaay more than I should have. It was slightly nutty, cheesy, and super fresh. Could there be a better combo? We use pesto all the time now and we even make it a few different ways depending on how much of everything we have like our 15-Minute Pesto Pasta, pesto butter grilled cheese, creamy pesto chicken pizza,  or the bacon pesto grilled cheese sandwich contest I won with Tillamook. However, in the end this is our ultimate, absolute favorite classic pesto recipe.

A classic pesto recipe is easy enough to make, but storing is a bit tricky. I have two ways that I store it and a third that I’ve heard great things about but never tried it. But we can talk about storing it after we discuss the actual classic pesto recipe.

A photo of a jar of homemade pesto taken from above the jar.

Basil Pesto Recipe Ingredients

This is such an easy pesto recipe! It requires minimal ingredients to whip up. Here’s what all goes into this homemade pesto sauce:

  • Fresh Basil
  • Garlic Cloves
  • Pine Nuts
    • NOTE: The best substitutes for pine nuts are walnuts, almonds or cashews.
  • Olive Oil
  • Grated Parmesan Cheese
    • NOTE: The best substitute is pecorino romano cheese.
  • Salt

The measurements for each can be found in the recipe card below.

How to Make Pesto Sauce

To start this homemade pesto recipe, I just heat up a skillet over medium heat, add both the garlic cloves and the pine nuts and let it cook until golden, shaking the pan occasionally. Then, I remove the nuts and allow the garlic to finish turning golden as well.

An added bonus is that the garlic slides right out of its skin when it’s toasted this way. I love that. So, yes you read right, toast the garlic in its thin skin and then remove after it’s golden.

Place everything except the cheese and salt in the bowl of a food processor or blender and pulse until smooth. Stir in the cheese and add salt to taste. Yes, making this classic pesto recipe is that easy. If you want to go totally authentic, you can use a mortar and pestle to blend the pesto together. That’s just too much work for me, so food processor it is!

a photo of a jar of pesto sauce with a gold spoon scooping some out. the jar is on a wooden plate and has some pine nuts and fresh basil leaves on it.

How to Store Pesto

Storing Pesto in a Jar

Make your classic pesto and then fill a jar to to almost the very top. Drizzle a thin layer of olive oil over the top and seal closed to keep pesto green. This can keep for a few weeks in the fridge if you continue to cover the top with olive to keep the herbs fresh. You can also choose to freeze the jar, but I wouldn’t keep it in the freezer for more than a month before switching it to the fridge.

Storing Pesto in a Vacuum Bag

I love the foodsaver. Yes, it costs a little money, but you end up saving tons. You can easily make your pesto, stick it in a bag, suck out the air and freeze it for up to 9 months. BOOYAH! When you’re ready to use it just move it down to the fridge to defrost and use on your favorite dish.

How Long Does Pesto Last?

This easy basil pesto sauce will last up to 5 days in the refrigerator if stored in an airtight container. If you use the olive oil method shared above, the shelf life will be extended.

Can You Freeze Pesto?

Yes! Homemade basil pesto sauce freezes incredibly well. Simply make the recipe as instructed, then seal the pesto in an airtight container or freezer bag.

Alternately, spoon the homemade pesto into ice cube trays and freeze until solid. Once hardened, transfer the pesto cubes to a freezer bag. This way, you wind up with single servings of frozen pesto!

a photo of a jar of homemade pesto sauce on a wooden plate with a gold spoon next to it.

Our Favorite Pesto Uses

We love pesto on everything from egg whites to garlic bread to chicken to pasta to salads. I love having a jar handy in the fridge or freezer! Here are a few of our favorite recipes that use pesto sauce:

a photo of a glass jar of homemade pesto sauce on a wooden plate with a gold spoon laying next to the jar.

Tips for the Best Pesto Sauce

  • Put ice in the food processor and mix. This will cool your machine before preparing your pesto and will help in keeping your pesto greener.
  • Because this easy pesto recipe uses so few ingredients, it’s important that you buy the best quality ingredients you can.
  • Use extra virgin olive oil and freshly grated Parm for the best flavor.

Other Italian Sauce Recipes

Looking for more Italian Sauce recipes? Who doesn’t love Italian sauces!?  Make sure you try these out the next time you are making that Italian dish:

4.26 from 51 votes

Classic Pesto Recipe

By Sweet Basil
Prep1 minute
Cook3 minutes
Total4 minutes
Servings1
This post covers how to make pesto sauce, how to store it, and more! If you've never made homemade pesto before, you've been missing out! 
Want to save this recipe?
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

  • 1/4 Cup Pine Nuts, plus 1 1/2 Tablespoons
  • 3 Cloves Garlic, unpeeled
  • 3 Cups Fresh Basil, packed
  • 1/4 Cup Olive Oil, plus 1-2 Tablespoons
  • 1/4 Cup Parmesan Cheese, plus 2 Tablespoons, grated
  • Salt, to taste

Instructions 

  • Heat a skillet over medium heat and add the pine nuts and garlic.
    1/4 Cup Pine Nuts, 3 Cloves Garlic
  • Toast for a few minutes or until golden brown, shaking the pan occasionally to toss the pine nuts and promote even color.
  • Once the pine nuts are done, remove them from the pan and continue to toast the garlic.
  • Remove garlic from the pan and remove the skin.
  • Wait until both garlic and pine nuts are cooled.
  • Place the basil, pine nuts, garlic, and olive oil in a blender and pulse until smooth, but still a tad grainy in texture.
    3 Cups Fresh Basil, 1/4 Cup Olive Oil
  • Place everything in a bowl and stir in the cheese.
    1/4 Cup Parmesan Cheese
  • Salt to taste and store according to post directions.
    Salt

Recipe Notes

  • You can adjust the garlic to your own taste. It you don’t love it, just use 2 cloves!
  • See the post for details on storing pesto in a mason jar with a little olive oil in the fridge.

Nutrition

Serving: 0.5Cup, Calories: 842kcal, Carbohydrates: 10g, Protein: 17g, Fat: 85g, Saturated Fat: 13g, Cholesterol: 22mg, Sodium: 388mg, Potassium: 482mg, Fiber: 3g, Sugar: 2g, Vitamin A: 4025IU, Vitamin C: 16mg, Calcium: 427mg, Iron: 5mg

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

Like this? Leave a comment below!

REMEMBER TO SUBSCRIBE TO our FREE Oh Sweet Basil NEWSLETTER AND RECEIVE EASY RECIPES DELIVERED INTO YOUR INBOX EVERY DAY!

When you try a recipe, please use the hashtag #ohsweetbasil on INSTAGRAM for a chance to be featured in our stories!  FOLLOW OH, SWEET BASIL ON FACEBOOK | INSTAGRAM | PINTEREST | TWITTER FOR ALL OF OUR LATEST CONTENT, RECIPES AND STORIES.

a photo of a jar of homemade pesto sauce on a wooden plate with a gold spoon next to it.

About The Author

Carrian Cheney

Carrian Cheney is the creative force behind ‘Oh, Sweet Basil,’ a food blog she co-authors with her husband, Cade. She creates fresh, family-friendly recipes that encourage togetherness in the kitchen.

More Ideas

4.26 from 51 votes (42 ratings without comment)

Leave a comment

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

Recipe Rating




104 Comments

  1. Amy says:

    How much pesto does this recipe make?

    1. Sweet Basil says:

      Hi Amy! It makes about 1 cup of pesto.

  2. Ramya says:

    sorry just saw this now will be making this soon can i use vegan parmesan as am a vegan i love pesto sooooooooooo much perfect for my pizza and pasta will dm you if i make this and let you know how it goes Thanks Ramya

    1. Ramya says:

      sorry i meant will dm you guys if i make this and let you guys know how it goes sorry again Thanks Ramya

    2. Sweet Basil says:

      Can’t wait to hear what you think!

  3. Melissa Busch says:

    5 stars
    I used the recipe and unfortunately ran out of olive oil. Is there anything that I can use when packing in a jar that will keep it fresh looking until I can get to a store for more olive oil?

  4. lorena basco says:

    Love this article!😍😍

    1. Sweet Basil says:

      Thank you!

  5. Maria Lee says:

    5 stars
    Loved this recipe!!

    1. Sweet Basil says:

      Thank you Maria!

  6. Kara says:

    5 stars
    Perfect! Delicious! Thank you for the freezing tips. 

    1. Sweet Basil says:

      Thank you for the feedback Kara!

  7. Redge says:

    I love your recipes and I will try them, just with few adjustments on the ingredients availability here in the Philippines! Basil / Pesto dishes were not a common dish here, it’s mostly found in classy restaurant and pricy.. I’m a member of organic farming and I grow basil in pots and I love to use them in my cooking. We’re having an upcoming bazaar and I’m wondering if I can jar preserved pesto mixture for gift and selling purposes, just like tomato paste. But as I read, it’s best if kept frozen… Air dry would be the other option.

    1. Sweet Basil says:

      You can put it in a jar and keep it refrigerated. It will last up to 2 weeks that way.

  8. Susan James says:

    I live in Central America and pine nuts are not available. I have used cashews, sunflower seeds or macadamia nuts. One you would prefer? And would toasting them help?
    Thanks,
    Susan

    1. Sweet Basil says:

      Hi Susan! I would use sunflower seeds for sure. That will give you the most similar flavor as pine nuts.

  9. Jason Hocky says:

    Thanks, Carrian! Any idea how many leaves one can strip without affecting the growth of a Basil Plant? It’s great if you write a little about it

    1. Sweet Basil says:

      We’ve learned that stripping about 1/3 of the plant is the best.

  10. Donna says:

    That’s looking so good & I love how easy it is! One quick question, Can I use any type of oil, instead of olive oil? Like- Coconut oil.

    1. Sweet Basil says:

      Unfortunately pesto does need an olive oil for that classic Italian flavor.