How to Make Pesto
Homemade basil pesto is so easy! Learn how to make basil pesto with this recipe, plus find tips on how to properly toss it with pasta, freeze pesto, etc.
Updated by Kathryne Taylor on September 5, 2024
280Comments
Jump to recipeIt’s hot outside, so let’s to talk about basil pesto! Have you made it yet? Pesto is one of my absolute favorite, ultra-flavorful sauces.
Great pesto tastes fresh, herbal, nutty, garlicky and luxurious, all at once. Today, I’m sharing my favorite pesto recipe and my best pesto tips.
Homemade pesto is infinitely more tasty than store-bought varieties. While pesto always seems fancy and gourmet, homemade pesto is very easy to make in your food processor or blender.
Pesto originated in Liguria, Italy, where pesto is made in a mortar and pestle. (In fact, “pestâ” means “to pound.”) I don’t have the patience to crush basil by hand, one handful at a time. So, I recommend using your food processor.
Watch How to Make Pesto
Uses for Classic Basil Pesto
You can serve pesto on:
- Pasta: Generally speaking, the best pasta shapes for pesto are thin spaghetti or angel hair, twisted shapes like fusilli, and bow-ties.
- Zucchini noodles
- Pizza
- Sandwiches
- Basically anything that could benefit from a jolt of fresh basil sauce!
Basil Pesto Ingredients
Traditional pesto alla genovese is made simply with basil, pine nuts, Parmesan, garlic, salt and olive oil. I often change up the nuts and add a squeeze of lemon juice. Read on to learn why!
Fresh Basil
Pesto is the perfect use for your summer garden basil surplus. Don’t have a garden? My favorite sources for affordable fresh basil are the farmers’ market, Trader Joe’s, or those little basil plants (“living basil” or potted) from grocery stores.
Kenji from Serious Eats says you can use frozen basil leaves. If you ever have extra basil leaves—rinse, dry, and put them in a freezer bag for future pesto!
Pine Nuts or Other Nuts/Seeds
Pine nuts are the traditional choice (did you know they’re actually pine cone seeds?). Pine nuts are tender, buttery and high in fat, so they yield smoother, silkier pesto.
On the downside, pine nuts are prohibitively expensive. I save money by using raw almonds, walnuts, pecans or pepitas instead. Almonds are the most neutral option, so I used them for the pesto you see here. They’re all delicious in their own way, though.
I typically toast the nuts first to really bring out their flavor and add an extra-savory edge to the pesto.
Parmesan
Parmesan is salty and creamy, and tones down the anise flavor of the basil. You can use Pecorino Romano for a more prominent cheesy flavor. Technically, Parmesans usually are not vegetarian (they contain animal rennet), but Whole Foods and BelGioioso offer vegetarian varieties.
If you’re vegan or dairy free, you can use a smaller amount of nutritional yeast instead (see recipe note). Sometimes, if I’m in the mood for extra-bold pesto, I just leave it out altogether or sprinkle vegan Parmesan cheese on my finished dish, to taste.
Garlic
Garlic is a traditional component that livens up the pesto with aromatics and makes it taste a whole lot more interesting. Don’t skip it.
Lemon Juice
I always add a bit of lemon juice to my pesto to brighten up the flavor without adding more salt. It’s optional, but I think you’ll like it!
Salt
Salt amps up all the other flavors and reduces the bitterness of the basil.
Extra-Virgin Olive Oil
Extra-virgin olive oil is the highest quality and comes from the first pressing of the olives. My favorite brands are California Olive Ranch and Trader Joe’s Kalamata olive oil.
PrintBasil Pesto
Homemade basil pesto is so easy to make! Learn how to make basil pesto with this recipe, plus learn how to properly toss it with pasta, and freeze leftovers. Recipe yields 1 cup pesto, which is enough to toss with about 12 ounces of pasta.
Ingredients
- ⅓ cup raw pine nuts, almonds, walnuts, pecans or pepitas
- 2 cups packed fresh basil leaves (about 3 ounces or 2 large bunches)
- ¼ cup grated Parmesan cheese
- 1 tablespoon lemon juice
- 2 cloves garlic, roughly chopped
- ½ teaspoon fine sea salt
- ½ cup extra-virgin olive oil
Instructions
- (Optional) Toast the nuts or seeds for extra flavor: In a medium skillet, toast the nuts/seeds over medium heat, stirring frequently (don’t let them burn!), until nice and fragrant, 3 to 5 minutes. Pour them into a bowl to cool for a few minutes.
- To make the pesto, combine the basil, cooled nuts/seeds, Parmesan, lemon juice, garlic and salt in a food processor or blender. With the machine running, slowly drizzle in the olive oil. Continue processing until the mixture is well blended but still has some texture, pausing to scrape down the sides as necessary.
- Taste, and adjust if necessary. Add a pinch of salt if the basil tastes too bitter or the pesto needs more zing. Add more Parmesan if you’d like a creamier/cheesier pesto. If desired, you can thin out the pesto with more olive oil. (Consider, however, that if you’re serving the pesto on pasta, you can thin it with small splashes of reserved pasta cooking water to bring it all together. See notes for details.)
- Store leftover pesto in the refrigerator, covered, for up to 1 week. You can also freeze pesto—my favorite way is in an ice cube try. Once frozen, transfer to a freezer bag, then you can thaw only as much as you need later.
Notes
Make it dairy free/vegan: Replace the Parmesan with 1 tablespoon nutritional yeast.
Make it nut free: Use pine nuts, pepitas or sunflower seeds. (Pine nuts are technically seeds, but if you’re allergic to nuts, there’s a chance you’ll be allergic to pine nuts, too.)
Parmesan note: Most Parmesans are not technically vegetarian (they contain animal rennet), but Whole Foods 365 and BelGioioso brands offer vegetarian Parmesan cheese.
How to toss pesto with pasta: Before you drain your pasta, place a liquid measuring cup in the sink. Then, pour about 1 cup of the pasta cooking water into the measuring cup before you drain off the rest of the water. That pasta cooking water is pure gold—it contains starches that create a creamy emulsion and help attach the sauce to the pasta. Off the heat, toss pasta, pesto and small splashes of pasta cooking water together until you’re satisfied with the consistency (I used roughly ⅓ cup reserved pasta cooking water for ½ pound of spaghetti).
Nutrition
The information shown is an estimate provided by an online nutrition calculator. It should not be considered a substitute for a professional nutritionist’s advice. See our full nutrition disclosure here.
Fantastic & simple. We didn’t have pine nuts (and they are $$) so I toasted raw almonds, walnuts and sunflower seeds. I also added some cracked pepper. And great call on the adding of pasta water…yum!
Soooooo yummy! Fresh, bright, and easy to make. Toasted the pine nuts and used basil that I grew on the balcony, so I feel extra accomplished. :) Will be making this again very soon! Thank you
You’re welcome, Re!
So I am going to try this recipe for sure, my question is will it freeze well? I have so much basil this I do freeze some by leaf but I cld use all my basil if I can freeze the pesto?
Thanks in advance!
Yes, this freezes well. I hope you love it!
Hi Kate,
Your pesto recipe turned out great. I’ve used it in so many recipes for pasta, lasagne and pesto bread rolls. Worked great in all. Thanks a lot for sharing.
Wonderful pesto recipe. I’ve made this many, many times now and it is just amazing! Today I put cashews in my pesto for the first time and it was really tasty.
Thank you!
This was just perfect! Thanks for sharing. I doubled the recipe and shared it with my neighbors. I used unrefine avocado oil because I ran out of olive oil (oops)
Pasta, baked potatoes, pizza, sub sandwich, even on toast!!- good with toasted pecans.