Homemade basil pesto tastes so much better than store-bought, and it's a cinch to make in your food processor!

Most of the time, I don't have an issue using store-bought products in my cooking. I almost never make my own stock. I like the convenience of canned beans. Basically, anything that saves me time in the kitchen is a winner for me.
Except for basil pesto.
I have not found a single brand of ready-made basil pesto that I actually like. None of them have the bright fresh flavour of a homemade pesto sauce.
Luckily, making basil pesto from scratch is actually incredibly easy.
Pesto isn't something that I make often, largely because I don't have fresh basil in my house in the winter months (my plants never do well indoors), and I can't always find it at my local grocery.
But, right now I've got a HUGE basil plant in my backyard that has been growing happily all summer. Now that the weather is getting a bit cooler in the evening, it's the perfect time to harvest the leaves for this easy basil pesto recipe.
How to Make Basil Pesto
Now, technically, you could just throw all of the ingredients for this pesto into the food processor and call it a day.
I prefer to blitz the pine nuts and garlic a bit first though, so they can start to break down. The more you process the basil leaves, the more the flavour seems to diminish.
I add in my basil leaves once the pine nuts and garlic and ground up, then pulse them just enough to chop them up a bit. After that, I add my cheese, slowly drizzle in the olive oil, and season to taste.
If you prefer a chunkier texture to your pesto, don't grind the pine nuts and garlic too much at the beginning, and add your basil leaves at the very end - right before you add your oil.
If you don't have a blender, you can crush the ingredients together the old fashioned way - in a mortar and pestle. I have a tiny one at home, but I only use it for bashing up spices.
If you're going to use a blender, just be careful not to liquify the ingredients.
Also, I want to mention that I've seen recipes on the internet suggest that you should blanch your basil leaves before processing them. The claim is that your pesto will be a brighter green in the end.
I decided to try that method, for the sake of science.
HUGE FAIL.
Do not blanch your basil leaves. All it will do is ruin that bright fresh basil flavour that makes pesto so delicious.
You can put your own spin on this pesto by making a few substitutions.
If you don't have pine nuts, or don't like them, or just don't want to spend the money for them (they can be expensive!), then use walnuts instead.
I've also heard that pumpkin seeds and pistachios are nice, and they can help boost that green colour.
If you are going to use pine nuts, resist the temptation to toast them. While toasted nuts are always tasty, in this recipe leaving them raw actually helps create a creamier texture. If you really must toast them, do so very lightly.
Tip: Costco usually has the best value for pine nuts. I never buy them from my local grocery because they're wicked expensive. When I do get them at Costco, I store the excess in the freezer so they don't go rancid.
As for the cheese, I've used regular Parmesan here, but you could sub in a nice Pecorino or Parmigiano-Reggiano cheese instead.
I'd just avoid the shelf-stable pre-ground stuff that comes in a bottle. The flavour of fresh cheese is really important in this basil pesto recipe.
Once your pesto is ready, you can add it to a multitude of dishes. It's great on pasta (duh), potatoes, and steak. It's also a great lower-calorie substitute for mayonnaise in sandwiches (I love using it in chicken sandwiches).
TIP: to create a glossy pasta sauce, add pesto and chopped cold butter to a large bowl, add pasta and a bit of the starchy cooking water, then toss to combine.
Recipes You Can Make with Pesto
Need inspiration on ways to enjoy your basil pesto? Here are a few savoury recipes that you can try:
Gnocchi with Peas, Pesto and Spinach
Pesto Pasta Salad with Feta
Pesto Chicken Tart
How to Store Leftover Basil Pesto
Leftover pesto can be stored in the fridge for up to a week. Just make sure to put it in an air-tight container, and cover the top with olive oil to prevent browning. If you don't have an air-tight container, you can press a piece of plastic wrap right onto the surface of the pesto, then wrap another layer on top of your container.
To freeze, you can pour the pesto into an ice cube tray, freeze it, and then put the pesto cubes into a freezer-safe zip-top bag. I don't have an ice tray anymore, so I freeze my pesto flat in a zip-top bag and then break off pieces as I need it.
Alternatively, you can use my friend Tori's method for freezing instead. She lines a baking sheet with parchment paper, dollops one tablespoon portions of the pesto onto the parchment, and then pop the tray in the freezer overnight. Once the dollops are frozen, you can throw them into a freezer bag and store until ready to use. She also uses this method for tomato paste (clever!).
Some people say that cheese doesn't freeze well, but I've never had an issue with it. If you'd rather be on the safe side, omit the cheese in the recipe and freeze as directed. When you're ready to use the pesto, defrost what you need and then add the cheese in.
UPDATE: I learned in one of my recent culinary school classes that pesto will last much longer if you don't add the cheese and pine nuts. Just make up a batch with just your oil, basil and garlic, season it, and then pour a thin layer of oil on top to prevent it from oxidizing. Once you're ready to use it, you can add your cheese and pine nuts. In this case, you'd also be able to freeze it without worrying about how the cheese will defrost. Win-win!
If you try making this recipe, let me know how it turns out! You can leave a comment below, or share a photo on social media using #InSearchOfYummyness.
Happy Cooking!
• Recipe •
Basil Pesto
Equipment
- Food Processor
Ingredients
- ¼ cup pine nuts, raw (can substitute walnuts)
- 2 cloves garlic, peeled
- 2 cups fresh basil, packed
- ½ cup Parmesan cheese, grated
- 1 teaspoon lemon juice, optional
- ½ cup extra virgin olive oil
- ⅛ teaspoon salt, or to taste
- ⅛ teaspoon pepper, optional
Instructions
- Add pine nuts and garlic into a food processor. Pulse several times, until finely chopped.
- Add basil leaves, Parmesan cheese and lemon juice. Pulse a few times, until coarsely chopped. Scrape down the sides of the food processor with a rubber spatula.
- While machine is running, slowly drizzle in the olive oil. Process until the mixture is combined, but still has some texture.
- Season with salt and pepper. Stir, taste, and adjust seasoning as needed.
- Leftover pesto can be stored in an air-tight container, with a layer of olive oil on top, for up to 1 week.
To Freeze Pesto:
- Transfer mixture into an air-tight container and drizzle a layer of olive oil over the pesto. Alternatively, you can pour the mixture into an ice cube tray, freeze until solid, then store in a freezer safe zip-top bag. Freeze for up to 3 months.
Notes
- I don't toast my pine nuts for pesto, as the raw nuts create a creamier texture. You can lightly toast them if you want to.
- You can substitute walnuts, pumpkin seeds or pistachios for the pine nuts.
- You can substitute Pecorino cheese for Parmesan cheese.
- Parmigiano-Reggiano is excellent in this recipe, but any fresh Parmesan cheese is a good option.
- Don't have a food processor? You can make this recipe in a mortar and pestle instead.
Lundy Wilder says
My basil grows outside in major full sun. Last year, unbelievably, it even wintered over ok (big shock). I grow it in a big, like a 8 gallon maybe, molded plastic flower pot (Lowes has had some darn good looking ones last couple of years) and my basil usually self-seeds from year to year. New baby plants pop up in the pot spring and summer.
Occasionally basil will get this weird mold under it's leaves. The top of the leaves look at bit mottled and underneath you see this pale sooty looking stuff. Seems there is no cure so if that happens you need to toss the plant and start again with fresh potting soil. Maybe rinse the pot w/ bleach.
My basil seems to love a sprinkling of Sterns Miracle Grow every couple weeks. It grows into a small shrub almost. Bumble bees love the basil flowers, so it is entertaining. I once gathered and sprinkled basil flowers (they're small) on vanilla ice cream. Pretty and adds a nice flavor experience. As for store-bought pesto, seems Costco wins out there. Not as good as home made but acceptable. Also seems my Thai Basil is super easy to grow, so if you don't have luck w/ Sweet Basil, try the smaller leafed Thai.
Shareba says
Thanks for your detailed comment Lundy! I've been lucky not to have the mold yet, that sounds unfortunate. I agree, my basil seems to do well with some Miracle Grow. My Thai basil did really well with it this year too!
Thanks for the tip about Costco also, I'll have to take a look the next time I run out of pesto.
Kristen says
I totally agree with you, store bought just does not compare. Perfect timing for the recipe as I am pulling all our herbs this week before the old frost sets in in Calgary.
Shareba says
I've been bringing in what I can, and harvesting everything else. I hope you enjoy the recipe!
Vanessa says
Perfect timing - I have a huge basil plant outside that I want to do something with this weekend.
Shareba says
Awesome! I hope you enjoy the recipe 🙂
Colleen says
Nothing is better than homemade pesto, especially when you grew the basil. I like your tip about not toasting the pine nuts, will try that next time!
Shareba says
Thanks Colleen!
Ayngelina says
I have been making pesto for the last month. I'll make some for a meal but double or triple the recipe and freeze the rest. I'll be sad when my basil plant is done for the season.
Shareba says
That's smart!
Bernice says
I'm so jealous...I've never been able to grow basil. I just can't do it. Buuuuut, I always have fresh pesto in the fridge. I put that $#*& in everything! In my opinion, everyone should know how to make a simple pesto like this one.
Shareba says
Honestly, I've struggled with basil in past years. I had better luck this year keeping it outside in the sun, rather than inside by a sunny window in my kitchen. It needs more light that I had thought!
NANCY says
love a good pesto!
Shareba says
Thanks Nancy!