This homemade basil pesto takes five minutes and tastes nothing like the stuff in a jar. Fresh basil, toasted pine nuts, garlic, a squeeze of lemon, parmesan, and good olive oil in a food processor. Make a batch on Sunday and you’ll reach for it all week — on pasta, on pizza, on chicken, on a spoon.

This pesto is the base for baked pesto chicken, grilled chicken margherita, pesto roasted potatoes, lemon orzo pasta salad, salmon pesto pasta, and the summer orzo pasta salad. Once it’s in the fridge, you’ll find a use for it daily.

a wooden spoon in a bowl of homemade basil pesto

Why This Homemade Basil Pesto Recipe Works

bowl of turkey teriyaki vegetables and rice on a counter and then a close up of ground turkey teriyaki rice bowl

Most recipes tell you to add everything at once and blend. This one builds in order, and that order matters more than you’d expect. The pine nuts and garlic go in first. The basil goes in last. That sequence keeps the basil from over-processing, which is what turns pesto brown and bitter instead of vibrant and fresh.

The lemon is the other thing. It’s not traditional, but it keeps the pesto greener longer and brightens the flavor in a way that makes people ask what’s different about yours.

Pesto alla genovese is traditionally made with mortar and pestle to press the herbs, garlic, and pine nuts together. It gets its name from pestar, which means to pound in Italian.

Homemade Pesto Ingredients

Here are the simple ingredients for this basil pesto recipe. Jump to the recipe card for exact measurements.

basil, pine nuts, lemon, garlic, olive oil, parmesan cheese, salt, and pepper on a counter
  • Fresh basil: Two packed cups. Use bright green leaves and pull off any large stems. Wilted or yellowed leaves make the pesto flat.
  • Pine nuts: Toasted. Two to three minutes in a dry pan over medium heat until golden. This step adds depth and nuttiness. Don’t skip it.
  • Garlic: Two cloves. Raw garlic is sharp, so start with two. Add more once you taste it if you want.
  • Lemon: Juice from half a lemon. Not traditional but it brightens everything and helps the pesto stay green longer.
  • Parmesan: Freshly grated, using the fine holes on your grater. Pre-grated cheese won’t blend as smoothly.
  • Extra-virgin olive oil: Use a good one. This is the majority of the sauce.
  • Kosher salt and black pepper: Season after blending and taste as you go.

How to Make Basil Pesto

Here are the simple steps to make homemade basil in a few minutes with food processor or blender. Jump to the recipe card for the full instructions.

  1. Toast the pine nuts: Add pine nuts to a dry skillet over medium heat. Stir for two to three minutes until golden. Watch closely — they go from golden to burnt in about 30 seconds.
  2. Blend the base: Add the toasted pine nuts, lemon juice, garlic, salt, pepper, olive oil, and parmesan to the food processor. Pulse until finely chopped, about one minute. Scrape down the sides.
  3. Add the basil: Add the fresh basil leaves on top and pulse for one to two minutes until you reach the consistency you like. I go slightly chunky, not completely smooth. Taste and adjust salt.

Success tip: Don’t over-process after you add the basil. Pulse in short bursts and stop when it looks right. Over-processing generates heat and oxidizes the basil, which turns it brown and bitter.

Pine Nut Substitutes

Pine nuts are classic but expensive and sometimes hard to find. Here’s what works:

Walnuts: The most common swap. Toast them the same way. They add a slightly earthier, more bitter note.

Pistachios: Slightly sweeter and a more vibrant green. Great in pesto.

Almonds: Blanched almonds are mild and blend smoothly.

Pumpkin seeds: For a nut-free version. Same texture, slightly earthier.

More Pesto Variations

  • Another herb: add in mint, cilantro, or parsley instead of basil.
  • Mix in greens: try try arugula pesto or add in some kale or zucchini to mix it up.
  • Roasted garlic: use a few cloves of roasted garlic instead of fresh.
  • Dairy-free/vegan: replace the parmesan cheese with nutritional yeast.

What to Use Basil Pesto On

This pesto goes on everything. Here are the WMM recipes that use it:

grilled chicken topped with mozzarella and pesto

Storage + Freezing

Refrigerator: Store in a sealed jar with a thin layer of olive oil poured over the top to prevent browning. Keeps for up to one week.

Freezer: Spoon into an ice cube tray and freeze until solid, then transfer to a zip bag. Keeps for up to three months. Pull out a cube and thaw in the fridge overnight or at room temperature for 20 minutes.

Pro tip: Freeze it in small portions so you can thaw exactly what you need. One cube is about two tablespoons, which is perfect for a single serving of pasta.

Can You Freeze It?

You can freeze basil pesto for up 6 months. Thaw it overnight in the fridge before you use it. Here are two options:

  1. In a jar: cover with a layer of olive oil and freeze. This is great if you plan to use all of the olive oil in one large dish, like pasta.
  2. In ice cube trays: pour it into an ice cube tray and freeze until solid, 1-2 hours, just like freezing fresh basil. Transfer to freezer bags. Thaw ice cubes individually to use a little bit of pesto at a time. I
a bowl of homemade basil pesto on a plate with lemon and basil leaves

If you make this recipe, I’d love for you to give it a star rating ★ below. You can also tag me on Instagram so I can see it!

More Sauces You’ll Love

Save this Recipe!
Enter your email & I’ll send it straight to your inbox.
Please enable JavaScript in your browser to complete this form.
Tap stars to rate!
5 from 25 votes

Basil Pesto Recipe

Prep: 5 minutes
Cook: 0 minutes
Total: 5 minutes
This homemade basil pesto is a deliciously versatile condiment made from a handful of simple ingredients. It comes together in minutes and its so much better than store bought.

Save this Recipe!

Enter your email and we’ll send it directly to you.
Please enable JavaScript in your browser to complete this form.
Servings: 1 cup

Ingredients

  • ½ cup toasted pine nuts
  • Juice from 1/2 lemon (1 1/2 Tablespoons)
  • 2 garlic cloves
  • 1/4 teaspoon Kosher salt
  • Black pepper to taste
  • 1/3 cup quality extra-virgin olive oil plus more as needed
  • 1/3 cup finely grated parmesan cheese
  • 2 cups basil leaves

Instructions 

  • Add the pine nuts, lemon juice, garlic, salt, pepper, olive oil, and parmesan cheese to a food processor or high-speed blender. Blend until smooth with some chunks left, about 1 minute.
    ½ cup toasted pine nuts, Juice from 1/2 lemon, 2 garlic cloves, 1/4 teaspoon Kosher salt, Black pepper to taste, 1/3 cup quality extra-virgin olive oil, 1/3 cup finely grated parmesan cheese
    parmesan, olive oil, garlic, and lemon mixed in a blender
  • Add the fresh basil and blend again, 1-2 minutes. Taste and add more salt and pepper as needed. You can add up to 2 Tablespoons more of olive oil for a thinner pesto sauce.
    2 cups basil leaves
    homemade basil pesto in a blender
  • Store leftover basil in a jar and drizzle olive oil on top to prevent it from turning brown. Pesto stays fresh for up to 2 weeks. Freeze the jar for up to 6 months or freeze in ice cube trays for individual servings. Thaw overnight in the fridge.
Last step! If you make this, please leave a review letting us know how it was!

Notes

Toasted Pine Nuts: You can purchase toasted pine nuts or buy raw and toast them in a pan over medium heat for a few minutes.
Nutrition information: Search “What Molly Made basil pesto” in My Fitness Pal to add and track this recipe.

Equipment

  • Food processor or high-speed blender (I used my Vitamix ONE)

Nutrition

Serving: 2Tablespoons | Calories: 143kcal | Carbohydrates: 2g | Protein: 3g | Fat: 14g | Saturated Fat: 2g | Polyunsaturated Fat: 0g | Monounsaturated Fat: 0g | Trans Fat: 0g | Cholesterol: 4mg | Sodium: 146mg | Fiber: 0g | Sugar: 0g

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

This post may contain affiliate links. Read our disclosure policy.

5 from 25 votes (1 rating without comment)

Leave a comment

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

Recipe Rating




54 Comments

  1. Sandi Matson says:

    5 stars
    This is my go-to recipe! Thank you!

    1. Molly T says:

      You’re welcome!!

  2. Kirtida says:

    Pesto turns dark on upper layer in n hour, have to keep removing upper layer for application…
    Doesn’t stay fresh … need to know reason

    1. Molly T says:

      Hi there! The last step in the recipe says the following: Store leftover basil in a jar and drizzle olive oil on top to prevent it from turning brown. This should help!

  3. Spencer says:

    Simple yet informative.. Looking forward to your next post!馃憤

  4. Adrienne says:

    5 stars
    Love this fresh and simple recipe! By this time in the summer, my basil plants have taken over the garden and I am always looking for ways to use it up. This is just perfect and I love changing up the nuts. It is delicious with walnuts as well!
    #whatwemade

    1. Molly T says:

      Thanks Adrienne!!

  5. Alison says:

    5 stars
    Just made as part of #whatwemade and turned out great! I froze in an ice cube tray to have perfect little serving sizes!

    1. Molly T says:

      Thanks Alison!

  6. Olivia Fleming says:

    5 stars
    Delicious! There is something so satisfying about making your own pesto, and this recipe makes it super simple. We used for homemade pizzas. #WhatWeMade

    1. Molly T says:

      Thank you Olivia! I agree!

      1. Molly Monk says:

        5 stars
        I could eat this by the spoonful it is so good! I have put this on everything: salad, rice bowls, noodles, chicken, etc. Bookmarking this recipe for sure.
        Delicious!

        #whatwemade

      2. Molly T says:

        Haha I love this. Thank you so much Molly!

See More Comments