Fresh basil, garlic, Parmesan, pine nuts, and extra virgin olive oil come together to create the most vibrant homemade basil pesto. It’s fresh, flavorful, incredibly versatile, and comes together in just 10 minutes.

Once you taste homemade pesto, you’ll understand why it’s worth making from scratch. The flavor is brighter, the texture is creamier, and you can customize it exactly the way you like.
Over the years, I’ve made pesto with everything from traditional pine nuts to pistachios, cashews and almonds. While I love the classic version, I’ve learned that good pesto is surprisingly flexible. I usually make a batch to keep in the refrigerator and freeze the extra—it comes in so handy for quick pasta dinners and sandwiches.
In this guide, I’ll show you how to make classic basil pesto, how to keep it bright green, the best substitutes for pine nuts, vegetarian and vegan options, plus plenty of tips for storing, freezing, and using it in everyday meals.
Why You’ll Love This Recipe
- Ready in just 10 minutes.
- Better than store-bought.
- Inexpensive compared to the store.
- Made with fresh ingredients.
- Naturally gluten-free.
- Easy to customize.
- Freezer-friendly.
- Perfect for pasta, pizza, sandwiches, roasted vegetables, and more.
Jump to:
- Why Youโll Love This Recipe
- What Is Basil Pesto?
- Ingredients Youโll Need
- Ingredient Notes
- The Secret to Bright Green Pesto
- How to Make Basil Pesto
- Vegan Basil Pesto
- Khushbooโs Tips
- Storage
- Freezing instructions
- Ways to Use Basil Pesto
- Frequently Asked Questions
- KEEP IN TOUCH
- Recipes with pesto to try!
- Easy Homemade Basil Pesto
What Is Basil Pesto?
Pesto is a traditional Italian sauce that originated in Genoa, Italy. Classic Pesto alla Genovese is made with fresh basil, pine nuts, Parmesan cheese, garlic, olive oil, and salt blended into a flavorful sauce.
While the traditional recipe is wonderful, it’s also very adaptable. Different nuts, cheeses, and herbs can be used depending on what you have on hand.

Ingredients You’ll Need
- Fresh basil leaves
- Pine nuts
- Freshly grated Parmesan cheese
- Garlic
- Extra virgin olive oil
- Fine sea salt
- Freshly cracked black pepper (optional)
Ingredient Notes
Basil
Fresh basil is the heart of this recipe. Choose vibrant green leaves without black spots or wilting.
Tender stems are packed with flavor too, so feel free to blend them along with the leaves. Simply discard any thick, woody stems.
Italian Basil vs. Thai Basil

Traditional basil pesto is made with Italian sweet basil (Genovese basil). It has tender leaves with a sweet, mildly peppery flavor that creates the classic pesto we all know and love.
Thai basil has smaller, firmer leaves and a bold flavor with hints of licorice, anise, and spice.
Can you use Thai basil?
Absolutely! Just know that it creates a different flavor profile.
A Thai basil pesto is:
- More aromatic
- Slightly spicy
- Mildly sweet
- Has subtle licorice and anise notes
It’s delicious with noodles, rice bowls, grilled vegetables, tofu, and Asian-inspired dishes.
For the most authentic Italian pesto, stick with Italian basil. If you only have Thai basil, try using half Italian basil and half Thai basil for a balanced flavor.
Pine Nuts
Traditional pesto uses pine nuts, but they can be expensive.
Fortunately, several affordable substitutes work beautifully.
My favorites are:
- Pistachios
- Raw cashews
- Blanched almonds
All three create a creamy pesto while keeping the color bright.
Walnuts are another option, but they have a stronger earthy flavor and naturally produce a darker pesto.
Whatever nut you choose, lightly toast it first for the best flavor.
Parmesan Cheese
Freshly grated Parmesan adds richness and the signature savory flavor.
For the best results, grate it from a block instead of using pre-shredded cheese.
Vegetarian Note
Traditional Parmigiano Reggiano is made with animal rennet, so it isn’t considered vegetarian.
If you follow a vegetarian diet, look for Parmesan-style cheese made with microbial (vegetarian) rennet.
Some great U.S. options include:
- BelGioioso Vegetarian Parmesan
- 365 by Whole Foods Market Parmesan
- Organic Valley Vegetarian Parmesan
- Trader Joe’s Parmesan (always check the label)
Olive Oil
Since pesto isn’t cooked, use the best quality extra virgin olive oil you have.

The Secret to Bright Green Pesto
One simple step makes a huge difference.
- Blanch the basil leaves for 5–10 seconds in boiling water before immediately transferring them to ice water.
- Pat the leaves completely dry before blending.
- This deactivates the enzymes responsible for oxidation, helping the pesto stay bright green for much longer.
- It’s optional if you’re serving the pesto immediately but highly recommended if you’re refrigerating or freezing it.
Don’t Worry If Your Pesto Turns Brown
One of the most common questions I receive is:
“Has my pesto gone bad because it turned dark?”
Usually, no.
Fresh basil naturally oxidizes after it’s chopped or blended. Even professionally made pesto darkens over time.
As long as your pesto:
- smells fresh,
- has been refrigerated properly,
- and shows no signs of mold,
it’s perfectly safe to eat.
To slow oxidation:
- blanch the basil first,
- store pesto in an airtight container,
- cover the surface with a thin layer of olive oil.
How to Make Basil Pesto
- Toast the pine nuts until lightly golden.
- (Optional) Blanch the basil for 5–10 seconds, then transfer to an ice bath and pat dry.
- Add basil, garlic, and pine nuts to a food processor.
- Pulse until finely chopped.
- Add Parmesan.
- Slowly drizzle in the olive oil while blending.
- Blend until creamy but still slightly textured.
- Season with salt and pepper.
Vegan Basil Pesto
- Making this recipe vegan is easy.
- Replace the Parmesan with:
- ½ cup nutritional yeast (nooch).
- For an even creamier pesto, blend in 1–2 tablespoons of raw cashews.
- Taste and adjust the salt before serving.
Khushboo’s Tips
- Blanch basil before blending if you want vibrant green pesto that stores well.
- Don’t panic if your pesto darkens. Oxidation is natural and doesn’t mean it has spoiled.
- Use freshly grated Parmesan for the best flavor and texture.
- If you’re vegetarian, choose Parmesan made with microbial rennet.
- No pine nuts? Pistachios, raw cashews, and blanched almonds are excellent substitutes. Walnuts work too but create a darker pesto.
- Use good-quality extra virgin olive oil.
- Blend just until combined. Homemade pesto should have a little texture.
- Slowly drizzle in the olive oil while blending for a smooth, creamy consistency.
- Reserve a little pasta water when tossing pesto with pasta. It helps the sauce coat every strand beautifully.
- Store pesto with a thin layer of olive oil on top to reduce oxidation.
- To make it vegan, replace the Parmesan with nutritional yeast (nooch).
- Italian sweet basil gives the classic flavor. Thai basil creates a bolder pesto with subtle licorice notes.
- Blend in the tender basil stems for extra flavor and less waste.

Storage
Store pesto in a clean glass jar in the refrigerator for up to 5 days.
Cover the surface with a thin layer of olive oil before sealing.
Freezing instructions
Freeze pesto in:
- Ice cube trays
- Silicone molds
- In a freezer safe ziplock, flatten the pesto and freeze.
- Small airtight containers
Freeze for up to 3 months.

Ways to Use Basil Pesto
Homemade pesto is one of the most versatile sauces you can make.Try it:
- Tossed with spaghetti or linguine
- Stirred into gnocchi
- Spread on sandwiches and wraps
- As a pizza sauce
- Mixed into pasta salad
- Drizzled over roasted vegetables
- Swirled into soup
- Stirred into risotto
- Spread on toast
- Mixed into grain bowls

Frequently Asked Questions
Why did my pesto turn brown?
Basil naturally oxidizes after blending. This is normal and doesn’t mean the pesto has spoiled.
Can I use Thai basil?
Yes. It creates a more aromatic pesto with subtle licorice and anise notes.
Can I make pesto without pine nuts?
Absolutely! Pistachios, raw cashews, and blanched almonds all work well.
Is Parmesan vegetarian?
Traditional Parmigiano Reggiano isn’t. Choose a Parmesan made with microbial rennet if you’re vegetarian.
Can I make pesto vegan?
Yes. Replace the Parmesan with nutritional yeast (nooch).
Can I freeze pesto?
Yes. Freeze it in ice cube trays or small containers for up to 3 months.
Can I make pesto ahead of time?
Definitely! Blanch the basil first and store the pesto with a thin layer of olive oil to help preserve its bright green color.
KEEP IN TOUCH
Are we friends yet? Let’s connect on Facebook| Instagram | Pinterest | Twitter. Never miss a recipe. Please subscribe to my blog. It is free!

Recipes with pesto to try!
Easy Homemade Basil Pesto
Ingredients
- 3 cups packed fresh basil leaves about 90 g
- ⅓ cup pine nuts lightly toasted
- ¾ cup freshly grated vegetarian Parmesan
- 3 garlic cloves
- ½ cup extra virgin olive oil
- ½ teaspoon fine sea salt or of choice
- ¼ teaspoon black pepper optional
Instructions
- Toast the pine nuts and let them cool.
- Optional: Blanch the basil for 5–10 seconds, transfer to ice water, and pat dry.
- Blend the basil, garlic, and pine nuts until finely chopped.
- Add the Parmesan and pulse.
- With the processor running, slowly drizzle in the olive oil until the pesto is creamy yet slightly textured.
- Season with salt and pepper.
- Store in a clean jar and cover the surface with a thin layer of olive oil before refrigerating.
Notes
- Freshly grated Parmesan provides the best flavor and texture.
- For a vegetarian version, use Parmesan made with microbial rennet.
- For vegan pesto, replace the Parmesan with ½ cup nutritional yeast (nooch).
- Pistachios, raw cashews, or blanched almonds make excellent substitutes for pine nuts.
- Walnuts create a darker, more robust pesto.
- Blanching the basil helps keep the pesto bright green for longer.
- Pesto naturally darkens with time due to oxidation and is still safe to eat if stored properly.
- Refrigerate for up to 5 days or freeze for up to 3 months.



















Leave a Reply