Skip to Content

Easy Homemade Pesto from Scratch

Bursting with the fresh flavors of basil, garlic, and pine nuts, and enriched with the robust taste of Parmesan cheese and olive oil, this pesto from scratch is a game-changer in the kitchen. 

 

A small white bowl with homemade basil pesto.

 

Homemade pesto is a staple in Italian cuisine, particularly in the summer months when basil is at its peak. Traditionally, pesto is served with pasta, like this chicken pasta salad or (not technically pasta but you know) pesto gnocchi, but its uses are endless.

 

Drizzle it over grilled meats, mix it into salads, or spread it on your favorite bread. I also love it with eggs in this green shakshuka! This sauce not only enhances the flavor of your meals but also brings a touch of Mediterranean charm to your table.

 

Ingredients

 

For a traditional pesto alla Genovese you will need:

 

  • Basil leaves: Fresh basil provides the distinctive, fragrant base of the pesto.
  • Garlic: Adds a pungent, savory kick.
  • Pine nuts: Contributes a rich, buttery texture and flavor.
  • Parmesan cheese: Gives the pesto its salty, umami depth.
  • High-quality olive oil: Binds the ingredients together and adds a luscious, smooth finish.
  • Lemon juice: To brighten up the pesto.
  • Salt: Enhances and balances all the flavors.

 

Ingredients to make pesto.

 

Instructions

 

Start by preparing the ingredients: Wash and dry the basil leaves. Peel the garlic cloves. 

 

In a nonstick skillet, toast the pine nuts on medium heat until dark and toasty but not burnt. Set aside to cool slightly, for about 2-3 minutes.

 

In a food processor, combine basil leaves, garlic, and pine nuts. Pulse until finely chopped. Add grated Parmesan cheese to the mixture and blend until combined.

 

With the processor running, slowly drizzle in olive oil until the pesto reaches your desired consistency. Finally add salt and lemon juice to taste, blending briefly to incorporate.

 

Steps to make basil in a food processor.

 

Substitutions

 

  • Replace pine nuts with walnuts or almonds for a different nutty profile. Nuts should generally only be omitted if you have allergies, they bring such a special flavor and thicken the pesto.
  • Use Pecorino Romano instead of Parmesan for a sharper taste.
  • You can also replace some of the basil with spinach, see in Variations.

 

Variations

 

  • Spinach pesto: Replace half the basil with fresh spinach for a milder, nutrient-packed version. Good for everyday use if you don't have an abundance of basil!
  • Spicy pesto: Add a pinch of red pepper flakes or half of a fresh cayenne for a subtle heat. 
  • Citrus pesto: Incorporate lemon zest and even more lemon juice for a bright, tangy twist.

 

Pouring pesto from a food processor bowl into a serving bowl.

 

Equipment

 

A food processor or high-speed blender is essential for achieving the smooth, cohesive texture of pesto. A mortar and pestle can be used for a more traditional and rustic texture.

 

I know many swear by using a mortar and pestle, but I don't think it matters that much. Using a mortar and pestle releases more essential oils from the basil and provides a more traditional, aromatic pesto.

 

However, you should try both versions and see if you agree or not! Either way, the ingredients should be the same for both methods.

 

Storage

 

Store homemade pesto in an airtight container in the refrigerator for up to one week. To prevent oxidation and maintain a vibrant green color, drizzle a thin layer of olive oil over the top before sealing.

 

Pesto can also be frozen in ice cube trays for easy, portioned use later.

 

Expert tips

 

  1. For a smoother pesto, add more olive oil. For a chunkier texture, use less oil and pulse briefly.
  2. Use high-quality olive oil and fresh Parmesan for the best flavor. Here is a test for how to tell good olive oil from mediocre.
  3. Avoid over-processing to maintain a bright green color and prevent the basil from bruising. Just process until combined! It doesn't have to be perfect.
  4. My favorite pesto recipes include:
    1. lemon pesto chicken tray bake
    2. green shakshuka with pesto eggs
    3. pesto gnocchi with zucchini,
    4. and pesto chicken pasta
    5. or when I reheat this lemon parmesan sausage orzo!

 

Close-up of a bowl of creamy gnocchi with zucchini.

Pesto gnocchi with zucchini

 

Recipe FAQs

Can I use dried basil instead of fresh?

Fresh basil is essential for the authentic flavor and vibrant color of pesto.

Dried basil lacks the necessary moisture and intensity so in any case the ratios would need to be different, so you'll have to look for recipes specifically using dried.

Although I 100% recommend fresh basil pesto!

How can I prevent my pesto from turning brown?

There are two ways to avoid brown pesto:

  1. Blanch the basil leaves in boiling water for a few seconds and then immediately plunge them into ice water before blending.
  2. Storing the pesto with a layer of olive oil on top also helps.

However, I usually make it because I want it in a recipe then and there, so then you will not have to worry about it. If you have anything left over, simply freeze it!

Is there a vegan alternative to Parmesan cheese?

Parmesan cheese is not even vegetarian. However, for a vegetarian and vegan option, many swear by using nutritional yeast. You will need about half the amount of parmesan cheese. Keep in mind I have not tried it in homemade pesto!

Pesto without a food processor

Traditionally, pesto is made in a mortar and pestle. It's important to work in small batches to not overcrowd the mortar. Start by crushing the garlic and salt. The salt acts as an abrasive, helping to break down the garlic.

Gradually add basil leaves to the mortar. Use a gentle, circular motion with the pestle to grind the basil leaves against the sides of the mortar.

Then add the pine nuts until well combined, followed by the cheese, and finally drizzle in olive oil, while you stir with the pestle. Season to taste with salt.

Enjoy!

 

A white bowl with pesto alla Genovese, garnished with fresh basil.

 

Did you like this recipe? Here are other pesto recipes I think you would like:

I'd love to hear your thoughts. Comment below or tag me @thegingerwithspice on Instagram. And don't forget to Pin it for later! To make sure you're never missing another recipe, please feel free to subscribe to my newsletter

 

As thanks, you will receive a free e-cookbook Travels Through the Seasons, with many delicious recipes from around the world that suit different seasons of the year. 

 

To keep the blog up and running this post may contain affiliate links, it will be at no extra cost to you, please read the disclosure for more information.

 

Print

Recipe

clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
A small white bowl with homemade basil pesto.

Easy Homemade Pesto from Scratch


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

5 from 3 reviews

  • Author: Stine Mari | Ginger with Spice
  • Total Time: 10 minutes
  • Yield: 1 cup 1x
  • Diet: GlutenFreeDiet

Description

Pesto from scratch is bursting with fresh flavors of basil, garlic, and pine nuts, and enriched with Parmesan and olive oil - a game-changer!


Ingredients

Units Scale
  • 1 cup packed basil leaves (about one large pot, or 20 grams)
  • 2 cloves garlic
  • ¼ cup pine nuts (4 tablespoons)
  • cup shredded parmesan (40 grams)
  • ¼ cup high-quality extra virgin olive oil (4 tablespoons)
  • ½ fresh lemon (about 2 tablespoons juice)
  • Salt (to taste)

Instructions

  1. Start by preparing the ingredients: Wash and dry the basil leaves. Peel the garlic cloves.
  2. In a nonstick skillet, toast the pine nuts on medium heat until dark and toasty but not burnt. Set aside to cool slightly, for about 2-3 minutes.
  3. In a food processor, combine basil leaves, garlic, and pine nuts. Pulse until finely chopped. Add grated Parmesan cheese to the mixture and blend until combined.
  4. With the processor running, slowly drizzle in olive oil until the pesto reaches your desired consistency. Finally add salt and lemon juice to taste, blending briefly to incorporate.

Notes

Storage: Store homemade pesto in an airtight container in the refrigerator for up to one week. To prevent oxidation and maintain a vibrant green color, drizzle a thin layer of olive oil over the top before sealing. Pesto can also be frozen in ice cube trays for easy, portioned use later.

  • Prep Time: 0 hours
  • Additional Time: 0 hours
  • Cook Time: 10 minutes
  • Category: Sides
  • Cuisine: Italian

Nutrition

  • Serving Size: 1 tablespoon
  • Calories: 53
  • Sugar: 0
  • Sodium: 65
  • Fat: 5
  • Saturated Fat: 1
  • Unsaturated Fat: 4
  • Trans Fat: 0
  • Carbohydrates: 1
  • Fiber: 0
  • Protein: 1
  • Cholesterol: 1
Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Melinda

Tuesday 18th of June 2024

The lemon juice is a wonderful addition to fresh pesto! I tossed this pesto with homemade pasta and served it with grilled chicken breasts and everyone was raving about the homemade pesto! Added bonus, it was really easy to make.

Stine Mari | Ginger with Spice

Sunday 23rd of June 2024

That sounds like a delicious meal, Melinda. I'm glad you liked it!

Colleen

Monday 17th of June 2024

I was going to buy pesto sauce but then I saw this recipe. It turned out perfectly and will be delicious on our pasta tonight. Thank you.

Stine Mari | Ginger with Spice

Sunday 23rd of June 2024

Thank you for your feedback!

This site uses Akismet to reduce spam. Learn how your comment data is processed.