Homemade basil pesto is a wonderfully versatile and tasty sauce/spread made from a handful of flavorful ingredients. It comes together in minutes and tastes worlds better than store-bought because it’s so fresh. (Just like with lemon curd, store-bought pesto is nothing like real, FRESHLY made pesto!)
The uses for pesto are virtually endless, and you can use it in recipes like pesto pizza and pesto shrimp. Or use it as pasta sauce, drizzle it over grilled chicken, eggs, or roasted vegetables, spread it on sandwiches or homemade bread, or even swirl into hummus or minestrone soup.
Today’s homemade basil pesto recipe is my absolute favorite. It’s classic, simple, flavorful, and completely fresh. You’ll appreciate how easily it comes together and that it tastes infinitely better than store-bought versions. Homemade pesto can be a dip, sauce, or spread and pairs wonderfully with so many flavors. Bottom line? Pesto is an easy way to instantly elevate any savory dish.
Originating in Genoa, Italy, pesto was traditionally made by crushing the ingredients with a mortar and pestle. Now it’s typically done with the convenience of electric tools like a food processor or blender. You don’t need to cook it at all, unless you want to roast the garlic first.
This Homemade Basil Pesto Is:
- Fresh and flavorful
- Incredibly versatile
- Ready in minutes
- Made with just a few ingredients
- Easy to customize with what you have on hand
- Extra flavorful with roasted garlic
Key Ingredients You Need & Why
- Basil: Fresh basil leaves are the base of this pesto recipe. Rinse and pat dry before using.
- Pine Nuts: Pine nuts add structure and a light nutty flavor to the pesto. If I’m having trouble finding pine nuts, sometimes I’ll swap them for walnuts, pistachios, or almonds.
- Parmesan Cheese: Fresh parmesan cheese adds a little saltiness and helps the pesto stick together. In place of parmesan (aka parmigiano-reggiano), you can use any Italian-style hard cheese, such as pecorino romano, asiago, or grana padano.
- Garlic: It goes without saying that garlic adds incredible flavor to homemade pesto. I urge you to try using roasted garlic because the flavor isn’t as harsh as raw garlic. (Here’s how to roast garlic.)
- Olive Oil: Olive oil is the main liquid and helps create a creamy, rich consistency.
- Lemon Juice: 1 teaspoon of fresh lemon juice brightens everything up and really helps the other flavors shine. Many recipes don’t call for it, but I highly recommend it.
- Salt & Pepper: Both add flavor and you can add them to taste.
Make it your own: For a twist, try adding your favorite herbs like cilantro, mint, or parsley; your favorite spices like cayenne, ground ginger, paprika, or crushed red pepper flakes; or add a dash of your favorite hot sauce.
FAQ: What Can I Use Instead of Basil?
When fresh basil isn’t in season, it can be really pricey or even impossible to find. I like to use kale, spinach, or arugula in its place. You can find the kale variation I like to use in this pesto pasta salad recipe.
FAQ: What Can I Use Instead of Pine Nuts?
Pine nuts can be really expensive, not to mention hard to find! Walnuts, pistachios, and almonds are all great 1:1 substitutes and you can’t really detect a flavor difference in the finished pesto.
For nut-free pesto, try pumpkin seeds, hemp seeds, sunflower seeds, or cooked and cooled edamame.
Overview: How to Make Homemade Basil Pesto
Basil pesto comes together in a matter of minutes using a food processor or blender; just a few pulses and you’re done. The ingredients blend together rather easily, so if you don’t have a fancy food processor, don’t worry. It will still taste like pesto and it will still be good. (It’s hard to mess this up.)
- Blend the basil, pine nuts, cheese, and garlic together in a food processor or blender. Add the olive oil and pulse/process to blend. Scrape down the sides of the blender bowl, then add the lemon juice, salt, and pepper. Pulse this mixture until everything is blended together and relatively smooth. Taste and add more seasoning and any extra herbs/spices if desired.
Can I double or triple the recipe? Yes, you can easily scale up this recipe if your food processor/blender has the room!
How to Use Homemade Pesto
If you need inspiration, here are MANY ways you can use this basil pesto:
- Pesto Tortellini: Use as a sauce over cooked tortellini with parmesan cheese and fresh diced tomatoes.
- Shrimp: Try my creamy pesto shrimp for dinner—it’s super quick!
- Pizza: Use it in place of pizza sauce on pizza crust; here is my pesto pizza recipe.
- Pesto Bruschetta: Bake slices of a fresh baguette in a 400°F (204°C) oven until golden. Top with pesto, parmesan cheese, and diced fresh tomatoes.
- Stuffed Peppers: Use pesto in my sausage stuffed peppers recipe instead of the chicken broth. (Same amount—tastes fantastic.)
- Focaccia: Skip the herbed olive oil topping on focaccia (step 8) and spread 1/2 cup of pesto all over the dough instead.
- Star Bread: Use my star bread recipe and reduce the amount of sugar in the dough to 1 Tablespoon. Spread 1 heaping Tablespoon of pesto onto each of the 3 circles. (3 Tbsp. total.) Top each with a light layer of shredded cheese, herbs, and/or chopped pepperoni.
- Pesto Sandwich: Spread pesto on toasted bread, and add your favorite cheese or meat, greens, and tomato.
- Pesto Grilled Cheese: Brush 2 slices of thick-cut crusty bread (like artisan bread) with pesto, add provolone or cheddar cheese, butter the outside of the bread, and cook both sides on a griddle or skillet until golden brown.
- Swirl in Soup: Swirl a few spoonfuls into a bowl of minestrone soup.
- Hummus: Blend 2 Tablespoons of pesto with parmesan garlic hummus.
- As a Dip: Use it as a dip for homemade bread, breadsticks, crackers, or pizza pull apart rolls.
- As a Spread: Spread it on olive bread or seeded oat bread.
- As a Topping: Drizzle over cooked meats, fish, eggs, chicken meatballs, or roasted vegetables.
FAQ: How Long Does Homemade Pesto Last?
You can store this basil pesto in a jar or sealable container, then tightly seal and refrigerate for up to 1 week or freeze for up to 2–3 months. Let it thaw at room temperature or in the refrigerator.
To prevent your pesto from browning in the fridge, pour a layer of olive oil on top before tightly covering or sealing the pesto.
You could also freeze the fresh pesto in small amounts, in a greased ice cube tray, and then thaw the amount you need for a recipe when you need it, so you don’t have as much leftover to store in the fridge.
PrintEasy Homemade Pesto Recipe
- Prep Time: 10 minutes
- Cook Time: 0 minutes
- Total Time: 10 minutes
- Yield: 1 cup
- Category: Appetizer
- Method: Cooking
- Cuisine: Italian
Description
This is how I make classic basil pesto at home. It’s incredibly simple and flavorful and uses only a handful of fresh ingredients.
Ingredients
- 2 cups (60g) fresh basil leaves*
- 1/3 cup (48g) pine nuts*
- 1/3 cup (25g) freshly grated or shredded parmesan cheese
- 3 small cloves garlic (roasted garlic or fresh)*
- 1/3 cup (80ml) olive oil
- 1 teaspoon fresh lemon juice
- 1/4 teaspoon salt
- freshly ground black pepper, to taste
Instructions
- Pulse the basil, pine nuts, cheese, and garlic together in a food processor or blender. Scrape down the sides, then add the oil, lemon juice, and salt. Pulse until everything is blended together and relatively smooth. Add a drizzle more olive oil to thin out, if desired. Taste and add pepper (and/or more salt) if desired. I always add a pinch of pepper.
- Store pesto in a jar or sealable container, tightly seal, and refrigerate for up to 1 week.
Notes
- Storing & Freezing Instructions: You can store this basil pesto in a jar or sealable container, then tightly seal and refrigerate for up to 1 week. To prevent browning, pour a layer of olive oil on top of the pesto before sealing. Freeze the pesto for up to 2–3 months. You can freeze it in greased ice cube trays and thaw small portions at a time. Let it thaw at room temperature or in the refrigerator.
- Special Tools (affiliate links): Food Processor or Blender
- Basil or Other Greens: Instead of basil, try other greens like spinach, kale, or arugula. No matter which greens you choose, rinse and pat dry before using.
- Nuts: If I’m having trouble finding pine nuts, sometimes I’ll swap them for walnuts, pistachios, or almonds. For a nut-free version, try cooked and cooled edamame, pumpkin seeds, hemp seeds, or sunflower seeds.
- Parmesan Cheese: In place of fresh parmesan (aka parmigiano-reggiano), you can use any Italian-style hard cheese, such as pecorino romano, asiago, or grana padano.
- Garlic: If you don’t have fresh garlic cloves, use 3 teaspoons minced garlic from the jar.
- Other Pesto Variations: Try adding your favorite herbs like cilantro, mint, or parsley. Add your favorite spices like cayenne, ground ginger, paprika, or crushed red pepper flakes. Or add a dash of your favorite hot sauce.
I have a stoma and cannot eat raw veg – so making pesto out of green veg and nuts and seeds seems a brilliant way of getting my raw veg intake
AWESOME!!!
Sally,
Just wanted you to know that I love all your recipes and trust them to bake without trying before. I love your website and use the recipes all the time. thanks so much
Just made 8 batches from home grown Basil. Used raw garlic and slightly more than recipe said but still tasted great. Will try rooting pine nuts and Garlic next time – Placed servings into seal bags for freezing and into a couple jars for use over the next few weeks
can I use hazel nuts in place of the pine nuts
You can use different nuts if desired – the flavor will change.
We added your pesto recipe on top of vegan red lentil lasagna soup. OMG it was the perfect addition! So happy with this recipe!!!
I suggest first one blends the garlic, cheese and nuts with a little olive oil – then adding the basil. Also, Sally is correct, if one does not roast the garlic first and uses raw garlic, be careful and use no more than 3 cloves for raw garlic can be overwhelming.
Oh! And so try roasting your pine nuts! The flavour is astonishing. I had to make a double batch because I couldn’t stop eating the plain roast d pine nuts
Bake/ roast at 325°F for 5-7 minutes
Start your timer for 5 and check carefully after that. Roast until golden bro n and fragrant
Beautiful and so darn delicious!!!! ❤️
Sally knows her stuff … thanks girl, you are so amazing
Hey guys… Set up an ice water bath beside your skillet. Heat to medium – high heat/ bring to a rolling boil. Blanch your basil leaves in boiling water for 3 to 5 minutes. WATCH IT CAREFULLY. Times will depend but those are ball park numbers so watch carefully. Just lightly wilted and then transfer to the ice water bath immediately. This stops cooking or further wilting of the leaves. This will prevent oxidation or browning of the leaves and keep the beautiful green colour we all love! And as Sally has said, to always put a layer of oil over top after jarring to put in the fridge. The oil will prevent oxidation…
Oxygen in the air is the reason we see this browning … Think iron oxide commonly known as rust… oxygen oxidates with many compounds and elements whether it be a metal or botanical make up. Thanks Sally for your amazing recipes. Coming from a humble chemist.
~cooking and baking is chemistry we just get to eat it after! ***Rewards!!!❤️
I am growing my own pesto leaves I have a question I am going to make homemade pesto sauce I like to know if I pressurize it in ball jars and turn around and stored in a Cupboard like you do pickles and everything else can this be done and how long will it usually last and I would also cover it at the top with olive oil as well
Hi Sally, we haven’t tried canning this pesto, but it should work just fine if you follow directions for proper canning.
This is an amazing simple and so tasty recipe!
Best pesto recipe!
How do you keep the pesto green when storing it in the refrigerator? I put a layer of olive oil on the top and as soon as I use it, it turns brown on the top.
Hi Heidi, this is a great question. From what we’ve tested and read elsewhere, a layer of olive oil on top is the best defense against the pesto browning. You could also try freezing the fresh pesto in small amounts, like in an ice cube tray, and then just thawing what you’ll need for a recipe when you need it, so you don’t have as much leftover to store in the fridge. If you find another trick that works, please let us know!
Absolutely fresh and delicious.
This recipe would serve how many people over pasta, approximately? I’ll be serving it over linguine, as a side with chicken parm for 11 people…
Sophie, It makes one cup of pesto. How far it goes really just depends on how heavily/lightly you coat the pasta. You can always double it and if you have leftovers you can freeze it (see the recipe notes for details).
I’am from India . I love all your recipes. Thy are simple and easy to follow . And the outcome is delicious.
I tried your granola , almond berry bar, pizza base and pesto pasta recipe. All of it came very well
If u could suggest something good to try in vegetarian.
Hi Bhavana, We have great vegetarian recipes for you to try! https://sallysbakingaddiction.com/recipes/?fwp_savory_category=vegetarian
This is by far the best pesto recipe I’ve used or had. Made 8 cups of home made pesto 2 weeks ago, using this recipe and everyone loves it. I wish I could post a picture of my dinner, it was the bomb. I love you baking recipes a and now this! Winner winner!
Absolutely delicious! I like the boost it gets from a touch of lemon. Thank you for sharing the recipe.
Excellent recipe. I swapped the basil for basil mint leaves and it turned out beautifully. Our summers aren’t always warm enough for basil to grow well but the basil mint does very well and tastes very similar.
I find that toasting the pine nuts before incorporating them will enhance the pesto tremendously. Also, if you have a mortar and pestle along with some determination, use it. The end result is phenomenal. I don’t know why, but pounding the leaves with the garlic, salt, and roasted pine nuts produces results that are superior to those using a food processor blade. The addition of lemon juice is a brilliant suggestion.
Wow, made this today and it’s delicious…..we use your website for many of our baking recipes and it’s our “go to”. Thank you for your easy to read and fabulous recipes
Jolien from South Africa
I made this today. Didn’t have fresh basil so I substituted with freeze dried basil…very delicious…I am planning to use it on spaghetti squash…
If I don’t have basil at my place, any suggestion for replacement? Thanks
Arugula makes a wonderful pesto too!
I needed to make some vegan basil pesto for our upcoming Thanksgiving Italian (vegan) sausage, mushroom and zucchini pasta dish. Our grandchildren are allergic to milk and eggs. Since all the grocery pesto contains milk, I needed to make the pesto myself. Instead of looking for cut and bagged basil, I picked up a live, $5.00 basil plant in the produce area which was covered with fresh basil leaves. I’ll follow your recipe by adding in some vegan parmesan or mozzarella cheese. This recipe will be great and we all love basil pesto in our pasta. Thanks!