Classic Basil Pesto
This classic basil pesto recipe takes only 5 minutes to make and can be tossed with pasta, spread on bread, dolloped on pizza, and more. Make and use this bright, perfectly balanced pesto right away or store in the fridge or freezer for later.

Table of contents
Why make pesto at home?
It’s hard to say if the best thing about homemade basil pesto is the fact that you can whip up a batch in minutes, use it in an endless number of ways, or if the best part is just how crazy delicious it is. This is one of those foods that’s low-fuss, convenient, and richly flavorful.Â
I’ve made a lot of pestos over the years and know that recipes can vary quite a bit. But this version has the perfect balance of rich flavor and texture. The freshness beats every store-bought pesto I’ve tried.
You’ll only need 5 minutes, 5 basic ingredients (plus salt and pepper), and a food processor to make this versatile sauce. Once you get comfortable with the base recipe, you can even start to experiment with other variations!

Testing tips
Make sure the basil isn’t wet – After you wash your basil, make sure to dry it very thoroughly. Spin drying is generally not enough. Make sure to towel dry it too, or let it air dry further. You don’t want excess water on the basil leaves to water down your pesto sauce.
Use toasted pine nuts – If you think toasting nuts is annoying, I get what you mean. But I always do it anyway because the flavor difference between toasted and untoasted nuts is massive. If you are not able to purchase toasted pine nuts, it shouldn’t take more than 5-10 minutes to toast your own from a raw state, and it will make your pesto so much better.
Finely grate or “zest” the parmigiano reggiano cheese – If you want to use the pre-grated parmigiano reggiano that they often have at grocery stores, it is certainly more convenient and it will work fine. But if you want truly the best results, buy an actual block piece of cheese and grate it yourself. I use my microplane zester to grate it very finely, and it cuts the parmigiano into flakes that are as light as snow. They melt so pleasingly on the tongue and disperse nicely into the pesto sauce.
Ingredient notes and substitutions
This basil pesto recipe keeps things simple, but don’t think that doesn’t mean it’s not packed with flavor. The ingredients we use are important for getting the best flavor out of this recipe:
- Fresh basil: You’ll need 2 ounces of fresh basil leaves, which is about 2 cups of lightly packed basil. This is a great use for basil from your garden or your local farmer’s market. Be sure to only use the leaves, not the stems, which can have a bitter flavor.
- Garlic: I like 3 whole garlic cloves in this recipe, which yields about 1.5 to 2 cups of pesto. This is the perfect amount to add a nice garlic flavor without overpowering the other ingredients.
- Pine nuts: If you can’t find toasted pine nuts at the store, take the time to toast them yourself using the instructions in the notes section of the recipe card. For a nut-free pesto, use pumpkin seeds or sunflower seeds.
- Parmigiano Reggiano cheese: Finely grate this for the best texture. Other cheeses that work nicely include Grana Padano or Pecorino Romano. For a dairy-free or vegan pesto, omit the cheese or use a plant-based parmesan.
- Extra virgin olive oil: Make sure to use a really flavorful and aromatic extra-virgin olive oil here, and not a “light” olive oil. A few of my favorites are California Olive Ranch, Trader Joe’s 100% Greek Kalamata EVOO, and Lucini Extra Virgin First Cold Press. Any good quality extra virgin olive oil with fresh flavor will work though, and you can decide if you enjoy the flavor of a more fruity olive oil, or a more peppery olive oil.
You will also need sea salt and freshly ground black pepper for seasoning the pesto.
How to make basil pesto (step-by-step overview)
First we’re going to need some toasted pine nuts:

Toasting the pine nuts for the pesto is an important step, to bring out and enhance the flavor. If you are toasting them yourself, keep a close eye on them—they can go from perfectly toasted to burned very quickly!
Add the toasted pine nuts to a food processor along with some garlic, and process until smooth. The two ingredients will create a paste-like texture, pictured here:

I like to add the basil, salt and pepper and pulse just to chop up the basil a bit before streaming in the olive oil. Make sure you only process just until the oil is combined; over-processing can “bruise” the basil, and you don’t want the heat from the food processor’s motor to “cook” the sauce.
It should look like this:

Finally, add the finely grated cheese.

Again, only pulse the cheese in just until it’s mixed.
Be sure to taste the pesto before using or storing it, adding more salt and/or pepper as needed. I find that how much salt the pesto needs can vary based on how fresh the basil is, the cheese I’m using, etc.

Serving suggestions
Basil pesto is an incredibly versatile sauce. Stir it into Caprese Pasta Salad, Rice Pilaf, or dollop it onto a classic Lasagna. Pesto plays nicely with the vast majority of all pastas, rice, and starchy sides, and these are usually my favorite things for pairing.
You can also slather the pesto on slices of baguette or as a sandwich spread on an Italian Club Sandwich, main courses like Grilled Chicken Breast and Grilled Salmon, or use it as a pizza sauce.
Recipe variations
Once you have the basic method for making basil pesto down, you can play with the ingredients to create different variations on the classic recipe, such as:
- Swap out the pine nuts for other nuts, such as walnuts, almonds, macadamia nuts, and pistachios. All of them have a different flavor profile that will complement the basil in different ways. Use pumpkin seeds or sunflower seeds for a nut-free version.
- Use other herbs or greens alongside or instead of the basil. A mix of parsley and basil makes for a very bright, verdant sauce. Using spinach or kale is a great option, especially in recipes like warm potato salad.
- Add ingredients such as artichoke hearts or sun-dried tomatoes. These less traditional pesto options are delicious in recipes like artichoke pesto zucchini rolls and chicken roulade.
Recipe Tips and FAQ
Store your leftover pesto in an airtight container, or tightly covered with plastic wrap, in the fridge for up to 5 days.
Yes. Store in an airtight container for up to 2 months. To prevent the basil from browning, you can optionally add a thin layer of olive oil to the top of the pesto before sealing and freezing.
For smaller portions, freeze the pesto in ice cube trays or smaller portioned trays such as Souper Cubes (affiliate).
The pesto may separate after thawing, so be sure to stir it well before using.
This is typically from the basil oxidizing, which is a normal process after the leaves are cut. If the pesto still smells fresh, it is typically fine to consume and is not spoiled. Discard immediately if it gives off a sour smell or you see anything growing on the surface of the pesto.
If a bright green color is important to you, you will need to blanch the basil leaves in boiling water for 30 seconds, then immediately plunge in ice water for 30 seconds, then drain well before adding it to the pesto. This is an optional step, and just for the sake of appearance.
You may also add 1 tablespoon of lemon juice to the mix, but keep in mind it can alter the flavor of the pesto slightly.
The full recipe is below, and here’s a video if you’d like more guidance. Enjoy!
Tried this recipe? Leave a rating and comment below — I’d love to hear how it turned out! Or, follow me on Facebook, Instagram or Pinterest!

Basil Pesto
Ingredients
For the Basil Pesto:
- 3 cloves garlic peeled
- 1/2 cup toasted pine nuts see notes
- 2 ounces fresh basil leaves about 2 cups lightly packed
- 1/4 teaspoon fine sea salt or to taste
- 1/8 teaspoon freshly ground black pepper or to taste
- 1/2 cup extra virgin olive oil
- 1/2 cup freshly grated parmigiano reggiano cheese
Equipment
Instructions
- Place the peeled garlic cloves and toasted pine nuts in a food processor, and process for about 30 seconds until the mixture is well pureed and has almost become a paste.3 cloves garlic, 1/2 cup toasted pine nuts
- Add the basil leaves to the food processor, along with the salt and pepper, and pulse it until the basil is chopped up.2 ounces fresh basil leaves, 1/4 teaspoon fine sea salt, 1/8 teaspoon freshly ground black pepper
- With the food processor running, stream in the olive oil. Once the olive oil is incorporated, stop the food processor.1/2 cup extra virgin olive oil
- Add the parmesan cheese, and pulse just until combined.1/2 cup freshly grated parmigiano reggiano cheese
- Taste and adjust seasoning as desired. Pesto can be used right away in recipes such as caprese pasta salad or stored until ready to use.
Notes
Ingredients
- Some stores carry already toasted pine nuts. If you can only find raw pine nuts, you may toast them yourself, either in a dry skillet for about 5 minutes over medium heat until golden, stirring frequently, or on a sheet pan in a 350℉ oven for about 5-8 minutes, watching closely so they don’t burn.
Storage
- Fridge:Â Store in an airtight container in the refrigerator for up to 5 days.
- Freezer:Â Freeze in an airtight container for up to 2 months. Optional: Add a thin layer of olive oil on top of the pesto before sealing and freezing to help reduce browning. Allow to thaw in the refrigerator overnight or at room temperature for 1-2 hours; stir well to recombine before use. Note that freezing can slightly alter the flavor, so I prefer using frozen pesto in cooked applications.
Yield
- Makes 1.5 to 2 cups pesto
Nutrition
Nutrition is estimated using a food database and is only intended to be used as a guideline for informational purposes.
20 Comments on “Classic Basil Pesto”
Your recipe is quite close to the one I use, which is 60gms home grown basil, 60gms walnuts, 60gms grated (by my local Italian store) reggiano parmigiano cheese, 30gms finely grated garlic cloves (I’m a garlic lover!) and about 160ml of
Greek Kalamata Koroneiki extra virgin olive oil from a single estate. Left tightly covered in the fridge for 24 hours to blend flavors then frozen separately in an ice cube tray with larger than normal cubes producing six 60-64 gram servings. Each is then tightly wrapped in Glad wrap and then 9 portions fit nicely inside a medium freezer bag. I make – and use it once a week – throughout the summer and can freeze enough by the end of September to have enough to last me until I start again next June. They actually freeze well if properly stored without getting freezer burn or losing perceptible flavor. I just finished my last one from Sept 23/22 and it was delicious! Of course I’ve already started freezing more to get me through the summer and then next year. đŸ™‚
My use for it is serving it tossed with rotini pasta which itself is tossed with buttered and seasoned microwaved frozen mixed vegetables. That delicious mix fills up about half a dinner plate. Served with something like seasoned fish fillets covered with chopped onions and tomatoes and baked at 400F for 20 minutes or so it’s a dish I enjoy almost weekly! đŸ™‚ I do sometimes serve it with lamb chops, just not as often.
Very similar recipe that I use except I have been substituting dry roasted cashews for the pine nuts and 1/4 cup of nuts. Both nut choices are good. Delicious.
What is the serving size for the nutrition info?
How much is 2 oz. of basil? We grow our own and I don’t have a scale.
Ah, at the store they sell basil in 2 oz package units so that’s why I shared that, but makes sense. I’d estimate about 2 cups lightly packed.
Just made your basil pesto with fresh leaves right from my garden. Worked perfectly, but I wanted to share a slight variation. I used walnut oil purchased for another recipe. It kicks up the nutty flavor a notch, and tastes wonderful! I like the photos to show what it’s supposed to look at each step. Thanks! Sharon?
Hi Sharon, that sounds fantastic. Thanks for sharing!
I love this on pasta and pizza. So easy to make- delicious!
This pesto is exactly how I like it! Pure, classic ingredients. Next year, I hope to have a huge basil crop so I can fill my freezer!
Soo good. I did it a little bit keto approved with pecans instead of pine nuts. Delicious!
That’s awesome, glad you enjoyed!
Thank you for listing the basil by weight. Many recipes I have read call for 2 cups of basil, but for me, the correct weight helps with “loose” ingredients like herbs and grated cheese. A kitchen scale is essential and not expensive.
Hi Bea, I’m so glad! If I had my way, I wish most things in the cooking world were by weight. Weighing things is so much easier! I will be sure to include it more. Thanks!
I want to put this on everything!
Love it đŸ™‚
This is a must-make!
Looks so good and easy to make
Happy New Years Joanne! This classic pesto makes me want to dip my bread into the computer screen. Take Care, BAM
Great recipe!
Thank you for the recipe, especially now that my daughter has given me a food processor! I’m likely to use walnuts because pine nuts are so expensive. (I grew up in pine forests and we kids used to forage for cones with seeds while we played. Then they were free.) Can pesto be frozen?
It definitely can be! In fact, I’ve seen a few ‘life hack’ posts about freezing it in ice cube trays so you have individual portions that can be thawed at any time.