Homemade Pesto Recipe That Actually Tastes Like Basil
To make homemade pesto, blend fresh basil, pine nuts, garlic, Parmesan cheese, and olive oil in a food processor until smooth. Season with salt and lemon juice. The whole process takes about 10 minutes and yields roughly 1 cup of sauce.
I went to a farmers market in August and someone was selling basil in bundles large enough that I bought more than made any sense for a single person cooking at home. It was cheap and it smelled incredible and I had a plan that involved making pesto, which required no more specific a vision than that.
I made my first batch in a blender — basil, pine nuts, Parmesan, garlic, olive oil, blended until smooth. It was green and tasted like pesto in the general sense but felt slightly flat and the basil color started turning brownish within an hour. I made a second batch in the food processor with the same result — fine, but not the bright, punchy, deeply herby pesto I was expecting from fresh basil that had smelled that good an hour earlier.
The issue was oxidation and over-processing. A blender and food processor heat the basil slightly through friction, which accelerates oxidation and dulls the color and flavor. Blanching the basil for thirty seconds in boiling water and then shocking it in ice water before processing keeps the color bright green. Processing in pulses rather than running the machine continuously also helps — you want texture, not a smooth paste that has had all of the air beaten out of it.
The farmers market version that I eventually got right used almost the entire bundle. I ate it on pasta for three consecutive nights and then froze the rest in ice cube trays. It was one of the better decisions I made that August.
Ingredients
- 2 cups fresh basil leaves, packed (about 2 oz / 60g)
- 1/3 cup pine nuts
- 2 cloves garlic, peeled
- 1/2 cup freshly grated Parmesan cheese (about 1.5 oz)
- 1/2 cup extra-virgin olive oil
- 1/2 teaspoon kosher salt, plus more to taste
- 1 teaspoon fresh lemon juice
- Pinch of black pepper
Instructions
- 1Toast the pine nuts: Add pine nuts to a dry skillet over medium-low heat. Shake or stir constantly for 2–3 minutes until lightly golden and fragrant. Watch them the entire time —? pine nuts go from perfectly toasted to ruined with the speed of a personal catastrophe. Remove immediately and let cool for 5 minutes.
- 2Prep the basil: Wash the basil leaves and dry them thoroughly with a clean kitchen towel or salad spinner. Wet basil will water down the pesto and dull the color.
- 3Pulse the solids: Add the cooled pine nuts, garlic cloves, and grated Parmesan to the food processor. Pulse 5–6 times until the mixture resembles coarse crumbs.
- 4Add the basil: Add the packed basil leaves to the food processor. Pulse 8–10 times until the basil is roughly chopped and incorporated with the other ingredients.
- 5Stream in the olive oil: With the food processor running on low, slowly pour the olive oil through the feed tube in a thin, steady stream. Process for about 30 seconds until the pesto is mostly smooth but still has some texture. Scrape down the sides once if needed.
- 6Season and finish: Transfer the pesto to a bowl. Stir in the lemon juice, salt, and black pepper. Taste and adjust —? more salt if it needs brightness, more lemon if it tastes flat.
- 7Use immediately or store: If not using right away, press plastic wrap directly against the surface of the pesto before refrigerating to prevent browning.
Pro Tips
- Don't skip toasting the pine nuts. Raw pine nuts taste fine. Toasted pine nuts taste intentional. This is a ten-second decision that changes the whole flavor.
- Grate your own Parmesan. The pre-grated stuff in a canister has cellulose added to prevent clumping, which also prevents it from melting into the sauce like it should. I learned this after a full year of slightly gritty pesto, which is not how I wanted to spend that year.
- If your pesto turns a sad, dark green within the hour, it oxidized —? next time, blanch the basil for 15 seconds in boiling water, shock it in ice water, and dry it completely before blending. The color will hold for days. This sounds fussy. It is slightly fussy. It is also worth it when you're serving it to someone you want to impress.
Substitutions
Storage Instructions
Transfer pesto to an airtight container, press plastic wrap directly against the surface to prevent oxidation, and refrigerate for up to 5 days. For longer storage, freeze in an ice cube tray, then transfer frozen cubes to a zip-top bag and freeze for up to 3 months. Thaw individual cubes in the refrigerator or stir directly into hot pasta.
Make Ahead
Pesto can be made up to 3 days ahead and refrigerated with plastic wrap pressed against the surface. For best color and flavor, add the lemon juice and final seasoning just before serving. Alternatively, freeze the pesto before adding Parmesan —? stir in freshly grated Parmesan after thawing for the cleanest flavor.
Frequently Asked Questions
Do I really need a food processor, or can I use a blender?
A food processor gives you more control over texture —? you can keep it chunky or make it smooth depending on how long you run it. A blender works but tends to over-process the pesto into a very smooth, almost liquid sauce, and the basil can get caught under the blade. If using a blender, stop and scrape down frequently. A mortar and pestle is the traditional method and produces a deeply textured, slightly rustic pesto that many cooks prefer.
Why does my homemade pesto turn brown so fast?
Basil oxidizes quickly once it's cut, especially when exposed to air and heat from the food processor blade. To slow this down: use very cold olive oil, work quickly, and press plastic wrap directly against the surface of the finished pesto before storing. For a pesto that stays bright green for days, blanch the basil leaves for 15 seconds in boiling salted water, shock immediately in ice water, and dry completely before blending.
Can I make pesto without pine nuts?
Yes. Walnuts are the most common substitute and give a slightly earthier flavor. Toasted almonds or cashews also work well. Sunflower seeds are a good nut-free option that keeps the creamy texture without dramatically changing the taste. Whatever you use, toast them first —? it takes three minutes and makes a real difference in depth of flavor.
How much pesto do I need for a pound of pasta?
For one pound of pasta, you'll need about 3/4 cup of pesto —? this recipe yields approximately 1 cup, so it will coat a pound of pasta with a little left over for spreading on bread or spooning onto vegetables. Thin the pesto slightly with a few tablespoons of the starchy pasta cooking water before tossing; it helps the sauce cling to the noodles and keeps everything from clumping.
Is this pesto recipe gluten-free?
Yes, this pesto is naturally gluten-free. All the ingredients —? basil, pine nuts, garlic, Parmesan, olive oil, lemon juice —? contain no gluten. Always check your specific Parmesan label if you're cooking for someone with celiac disease, as some brands are processed in facilities that handle wheat. The pesto itself has no gluten-containing ingredients.
Can I make this pesto vegan?
Replace the Parmesan with 3 tablespoons of nutritional yeast and add an extra pinch of salt to compensate for the lost saltiness. The texture will be slightly less creamy and the depth a little different, but it's genuinely good. Some vegan versions also add a tablespoon of white miso for extra savory complexity, which I've tried and would recommend.
How do I freeze pesto properly?
Spoon fresh pesto into an ice cube tray and freeze until solid, about 2 hours. Transfer the cubes to a labeled zip-top freezer bag and freeze for up to 3 months. Each standard ice cube tray well holds about 2 tablespoons —? a useful portion for a single serving of pasta or a quick pan sauce. Thaw in the refrigerator overnight or stir a frozen cube directly into hot pasta water and toss.
My pesto tastes bitter —? what did I do wrong?
Bitterness in pesto usually comes from one of three things: over-processed garlic (blending releases more of its harsh compounds —? use less, or blanch the clove for 30 seconds first), over-toasted pine nuts, or a particularly strong-flavored olive oil. Stir in a small squeeze of lemon juice and a pinch of salt to balance it. If the bitterness is from garlic, a teaspoon of honey can mellow it without making the pesto taste sweet.