How To Make Your Own Basil Pesto

This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. If you click a link and make a purchase, I may receive a small commission at no extra cost to you.

Making your own basil pesto is easier than you think, and the fresh flavor beats anything from a jar.
 
You can make your own basil pesto in under fifteen minutes with just a handful of simple ingredients and a food processor or blender.
 
If you’ve ever wondered how to make your own basil pesto that’s vibrant, nutty, and creamy, this guide walks you through every step.
 
We’ll cover the classic ingredients, the best basil to use, and even a few easy swaps so you can make your own basil pesto exactly how you like it.
 
Let’s get blending.
 

Why You Should Make Your Own Basil Pesto

Making your own basil pesto isn’t just about saving money, it’s about controlling every single ingredient that goes into your food.
 
When you make your own basil pesto, you get that bright, garlicky, herby punch that commercial brands often miss.
 
Plus, homemade pesto has no preservatives, no excess oil fillers, and no artificial colors.
 
Once you learn how to make your own basil pesto, you’ll never want to buy the store-bought version again.
 

1. Fresh Basil Is the Star

The foundation of any good pesto is fresh sweet basil leaves, not dried.
 
You can make your own basil pesto with basil from your garden, a farmers market, or even the grocery store, just look for bright green, fragrant leaves.
 
Avoid wilted or dark-spotted basil because it will give your pesto a bitter, dull taste.
 
And remember, you’ll need about two packed cups of basil leaves for one standard batch.
 

2. It’s More Affordable Than You Think

A good jar of artisan pesto can cost eight dollars or more at the store.
 
But when you make your own basil pesto at home, you’re paying only for pine nuts, parmesan, garlic, olive oil, and basil.
 
That’s often less than half the cost per serving, and you get a much bigger portion.
 
So if you’re on a budget but still want premium flavor, making your own basil pesto is a smart choice.
 

How To Make Your Own Basil Pesto: The Classic Recipe

Here’s the easiest method for how to make your own basil pesto that tastes like it came from a Ligurian kitchen.
 
You’ll need fresh basil, pine nuts, garlic, parmesan, extra-virgin olive oil, salt, and a squeeze of lemon.
 
Let’s break it down step by step.
 

1. Toast the Pine Nuts (Optional But Recommended)

Start by placing a third of a cup of pine nuts in a dry skillet over medium heat.
 
Toast them for two to three minutes, shaking the pan often, until they smell nutty and turn lightly golden.
 
This step brings out their natural oils and makes your basil pesto taste deeper and richer.
 
If you’re short on time, you can skip toasting, but don’t skip the nuts entirely.
 

2. Blend the Basil and Nuts First

Add your two cups of fresh basil leaves and the toasted pine nuts into your food processor.
 
Pulse a few times until the basil is chopped but not pureed into a paste.
 
This gives you a nice texture so you can make your own basil pesto that’s chunky or smooth, depending on your preference.
 
At this stage, you can also add one or two garlic cloves, depending on how bold you like it.
 

3. Add the Parmesan and Cheese Magic

Now add about half a cup of freshly grated parmesan cheese, ideally Parmigiano-Reggiano.
 
Freshly grated cheese melts into the pesto much better than pre-shredded, which has anti-caking agents.
 
Pulse everything together until the cheese is fully incorporated and looks like a coarse green sand.
 
Then, season lightly with coarse salt.
 

4. Stream in the Olive Oil

With the food processor running, slowly drizzle in about half a cup of extra-virgin olive oil.
 
Pouring it in a steady stream helps the oil emulsify with the basil and cheese, creating a silky consistency.
 
Stop the processor and scrape down the sides with a spatula to make sure everything blends evenly.
 
Keep blending until you have a creamy, spoonable pesto, but don’t overmix or it can turn bitter.
 

5. Finish with Lemon

Finally, add a squeeze of fresh lemon juice, about a teaspoon, and pulse once more.
 
The acid brightens the flavor and also helps to make your own basil pesto stay vibrant green longer.
 
Taste it now and adjust salt or garlic for your personal preference.
 
And that’s it, you’ve officially learned how to make your own basil pesto from scratch.
 

Easy Swaps To Make Your Own Basil Pesto Varieties

One of the best parts of making pesto at home is that you can change almost any ingredient.
 
You can make your own basil pesto recipe vegetarian, vegan, nut-free, or even spicy.
 
Here are a few fun variations you can try this week.
 

1. Swap Pine Nuts for Walnuts or Almonds

Pine nuts are traditional but pricey, so don’t be afraid to swap them.
 
Walnuts give your basil pesto an earthy, slightly bitter note, while almonds add a crunchy, sweet flavor.
 
And if you have a nut allergy, you can still make your own basil pesto with sunflower seeds or even hemp hearts.
 
Just use the same quantity as you would pine nuts.
 

2. Go Vegan with Nutritional Yeast

If you skip the parmesan, you can still make your own basil pesto that’s creamy and cheesy, thanks to nutritional yeast.
 
Nutritional yeast gives a savory, umami hit that mimics cheese beautifully.
 
Use two tablespoons of nutritional yeast in place of the half cup of parmesan.
 
You’ll also want to add a little extra salt, as parmesan is salty by nature.
 

3. Add Some Greens or Herbs

While classic basil pesto is sacred, you can make your own basil pesto even greener by swapping half the basil for spinach or arugula.
 
Spinach makes the pesto milder and sweeter, while arugula gives it a peppery kick.
 
You can also toss in fresh parsley or a handful of mint leaves to change the flavor profile entirely.
 
The trick is to keep the same total volume of greens.
 

How To Store Your Homemade Basil Pesto

So you’ve made your own basil pesto, now what do you do with the leftovers?
 
Storing it correctly is key to keeping that bright green color and fresh flavor.
 
Here’s how to make your own basil pesto last for days or even months.
 

1. Fridge Storage with an Oil Cap

Place your pesto in a clean glass jar and smooth the top with the back of a spoon.
 
Pour a thin layer of olive oil over the surface to create a barrier against air.
 
Then, screw on the lid and refrigerate.
 
Your homemade basil pesto will stay fresh for up to five days this way.
 

2. Freeze in Ice Cube Trays

If you’ve made a big batch, freezing is the best option.
 
Spoon your pesto into ice cube trays, then freeze for a few hours until solid.
 
Once frozen, pop the cubes into a freezer bag and keep them frozen for up to three months.
 
When you’re ready to use them, just thaw a cube or two and add to pasta, soups, or sandwiches.
 

3. Skip the Cheese for Freezing

A pro tip for the freezer is to make your own basil pesto without the parmesan first.
 
Freeze the basil-nut-oil blend, then stir in fresh cheese after thawing.
 
This helps preserve the texture and keeps the cheese from turning grainy or clumpy in the freezer.
 

So, How Do You Make Your Own Basil Pesto?

You make your own basil pesto by blending fresh basil, nuts, garlic, parmesan, olive oil, and lemon juice until smooth and creamy.
 
The whole process takes about ten minutes of active time and requires zero cooking skills.
 
You can make your own basil pesto for pasta, pizza, sandwiches, marinades, dips, or even stirred into scrambled eggs.
 
And with all the variations we talked about, you can make your own basil pesto a different way every single week.
 
So grab some fresh basil and your food processor, because now you know exactly how to make your own basil pesto at home.
 
Enjoy every bright, garlicky spoonful.