This post may contain affiliate links. For more information, read my disclosure policy.
This homemade Basil Pesto is the perfect from scratch recipe! My ultimate pesto recipe is so easy to make and adds so much flavor to so many recipes. If food could be a perfume, I’d want this one. Make a batch of pesto for dinner today!

Best Recipe for Basil Pesto
I’ll never forget the first time I saw pesto: I was in college and hanging out at my boyfriend’s apartment. His roommate brought home a pesto pizza and it was the weirdest thing I’d ever seen. A green sauce on pizza? No thanks!
I then started to grow basil in my garden when I met my husband, and expanded my palate to new things. I have to say, I fell in love with pesto after trying it a few times but I my infatuation with it didn’t start until I began making homemade pesto myself.
Not only is it delicious, but pesto is easy to make from scratch. This classic recipe is a game changer: it’s one of the best sauces that you can use in so many ways. Store-bought pesto is good, but homemade pesto is so much better!

Basil Pesto Ingredients
- Basil: Traditionally, pesto is made with fresh basil leaves. I love the smell of basil! You must use FRESH basil for the best pesto. The basil is why it’s called green pesto!
- Toasted pine nuts: These add a nutty flavor to the sauce and are a super important component. Check the bulk bin section so you don’t have to buy a whole package.
- Parmesan cheese: Use a block of fresh parmesan – not pre shredded and don’t use the green can. The anticoagulants in the preshredded stuff can prevent a smooth emulsion.
- Garlic: A must in pesto! It’s best if you pre-chop it (at least in chunks) before adding it to the food processor so that it incorporates more easily.
- Olive oil: The oil is the emulsifier in the recipe – what makes it sauce. So be sure to use a good quality oil (we love extra virgin olive oil).
Click to see the recipe card below for full ingredients & instructions. See below the recipe card for even more information: process shots, variations, FAQ and more.
SAVE THIS RECIPE

Dorothy’s Expert Tips
- Be sure to pulse the basil and nuts before adding the oil to prevent bruising the leaves which can release bitter compounds.
- Using a food processor is essential; blenders can bruise the basil, making it bitter.
- Toasting the pine nuts is essential to prevent a bitter aftertaste (called Pine Nut Syndrome).

Best Homemade Basil Pesto
Recipe Video
Ingredients
- ¼ cup pine nuts
- 2 cups packed basil leaves fresh
- 2 cloves garlic
- ½ cup fresh parmesan cheese
- ½ – 1 teaspoon salt to taste
- ½ – ¾ cup (118-177ml) olive oil
Instructions
- Place pine nuts in a small skillet over medium-low heat. Stir often, cooking for just a few minutes, until they start to brown. Remove from heat and cool.
- Place basil, pine nuts, garlic, and parmesan in a the bowl of a food processor or blender. Pulse until a paste forms. Add ½ teaspoon salt and pulse to combine.
- While running the machine, pour in olive oil, starting with 1/2 cup. Once the pesto emulsifies it will become a thick sauce. If you want thinner pesto, add another ¼ cup olive oil.
Recipe Notes
- The biggest frustration with homemade pesto is that it turns brown almost instantly once exposed to air. To keep your pesto vibrantly green, try a quick ‘Acid Buffer.’ By adding just one teaspoon of fresh lemon juice, the vitamin C acts as a natural antioxidant, preventing the basil from oxidizing. For a professional ‘caterer-style’ green, you can also blanch your basil leaves in boiling water for 15 seconds followed by an ice bath before blending.
- When storing in a jar, add a layer of olive oil on the top to prevent any air from touching the pesto.
- This will last a week in the refrigerator or freeze in ice cube trays or souper cubes for several months.
Recipe Nutrition
Recipe Swaps
- Use Pistachios for a different flavor.
- Walnut Pesto is more meaty than the delicate pine nut version.
- Same if you want to make my pesto recipe with almonds!
- Lemon Basil Pesto – add lemon juice from half a lemon before the oil.
- Tomato Pesto – instead of using basil, use a jar of sun-dried tomatoes in oil (you’ll need less olive oil this way).
- Spicy Pesto – add some red Chile flakes to the mixture with the cheese and garlic.
- Swap arugula, cilantro, or parsley for the basil.
- Pecorino Romano cheese works as well
- Add some freshly ground black pepper for extra flavor.

How to make Basil Pesto Step-by-Step
- Toast your pine nuts for a deeper flavor. Stir them often until they just start to get golden and don’t walk away from the stove. Nuts burn fast so keep a close eye on them. While toasting the pine nuts isn’t absolutely required, it adds a toasty depth of flavor to the pesto sauce, so I highly recommend it.
- Pesto is made in a food processor (or you can use a powerful blender). It only takes about 5 minutes! All you have to do to make the pesto is add the basil, garlic, nuts, and Parmesan cheese to the food processor.
- Pulse to chop the ingredients fine.
- Then add your extra-virgin olive oil slowly, while the machine is running, to for the pesto sauce.
What goes with pesto?
There are so many uses for my ultimate pesto recipe! One recipe makes just over a cup of pesto and can be used in several meals:
- Make a basil pesto pasta salad.
- Put it on spaghetti or gnocchi, or even on zucchini noodles!
- Stir some pesto into rice or risotto.
- Marinate in pesto to make basil pesto chicken.
- Put pesto on pizza!
- Make a cheesy pesto dip.
- Use the plain pesto as a dip for bread or crackers or add it to a cheese board.
- Make Hot Cheesy Pesto Dip for a party
- Use on sandwiches or potatoes!
FAQs
Since homemade pesto doesn’t have preservatives, it will only last (at most) a week in the refrigerator. I recommend planning two or three uses for your fresh pesto, or you can freeze it.







Can I freeze the pesto? And if so, how? In cubes? In a sealing bag?
Thanks
Yes you can!
Best and easy pesto ever!!
Excellent
Excellent recipe that is easy, quick and tastes great as written!
What an easy simple recipe that take no time to create a delicious pesto .
Featured In
Rate This Recipe
Recipe Ratings without Comment