Pesto Recipe

By Amy April 6, 2026

Table of Contents

Pesto recipe is a vibrant Italian sauce made from fresh basil, garlic, walnuts, olive oil, and Parmesan cheese that transforms pasta, sandwiches, and vegetables with authentic Mediterranean flavor. This homemade basil pesto comes together in under ten minutes with a food processor and delivers restaurant-quality results every time. The combination of toasted walnuts and quality extra virgin olive oil creates a rich, herbaceous sauce that beats any store-bought alternative.

Prep TimeCook TimeTotal TimeServingsDifficultyCuisine
10 minutes0 minutes10 minutes8 servingsEasyItalian

Why This Recipe Works

I’ve tested countless pesto variations, and this walnut-based version consistently delivers superior results over traditional pine nut versions. The toasted walnuts provide a deeper, earthier foundation that complements fresh basil beautifully while remaining budget-friendly. The slow drizzle of olive oil during processing creates an emulsified sauce that’s creamy and cohesive rather than separated or grainy.

The Parmigiano-Reggiano adds a sharp, umami punch that elevates the entire dish without overpowering the delicate basil notes. Processing the garlic and walnuts separately before adding basil prevents bitter flavors from over-blending the tender greens. This pesto recipe yields enough sauce for four pasta servings or multiple applications throughout your week.

Quality ingredients matter enormously here since the recipe contains so few components. Fresh, fragrant basil picked close to serving time ensures maximum flavor and vibrant green color. Extra virgin olive oil with low acidity prevents harsh, metallic undertones that can overwhelm the delicate balance.

Ingredients

IngredientQuantityNotes
Walnuts, toasted⅓ cupToast at 350°F for 6-8 minutes for enhanced flavor. Toasting is optional but recommended.
Garlic cloves2 largeRoughly chop before processing. Use fresh garlic for best flavor. Alternative: 1 teaspoon minced garlic for milder taste.
Fresh basil leaves2 cups packedUse only fresh basil. Pick leaves close to the stem. Alternative: 1 cup fresh basil + 1 cup fresh spinach for milder flavor.
Salt½ teaspoonAdjust to taste. Use fine sea salt or kosher salt.
Ground black pepper¼ teaspoonFresh cracked pepper preferred. Add more for bolder taste.
Extra virgin olive oil⅔ cupUse high-quality, low-acidity oil. Add slowly during processing. Alternative: Use half olive oil and half avocado oil for different flavor profile.
Parmigiano-Reggiano½ cup gratedFreshly grated from a wedge tastes better than pre-grated. Alternative: Pecorino Romano for sharper flavor or Grana Padano for milder taste.
Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

Pesto Recipe


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

  • Author: Amy
  • Total Time: 10 minutes
  • Yield: 1 cup 1x
  • Diet: Vegetarian

Description

This homemade pesto recipe is fresh, vibrant, and bursting with bold basil flavor. Smooth yet slightly textured with a rich, nutty finish, it comes together in minutes and instantly upgrades pasta, sandwiches, and more. Once you try it, you will never go back to store bought.


Ingredients

Scale

⅓ cup walnuts, toasted if desired

2 large garlic cloves, roughly chopped

2 cups packed fresh basil leaves

½ teaspoon salt

¼ teaspoon ground black pepper

⅔ cup extra virgin olive oil

½ cup grated Parmigiano-Reggiano


Instructions

1. Place the walnuts and garlic in a food processor and pulse until coarsely chopped.

2. Add the basil leaves, salt, and pepper, then process until a thick paste forms.

3. With the processor running, slowly drizzle in the olive oil and blend until smooth and well combined.

4. Add the grated Parmesan cheese and process again until creamy.

5. Taste and adjust seasoning if needed.

6. Use immediately or transfer to a sealed container and cover the surface with a thin layer of olive oil to prevent browning.

7. Store in the refrigerator for up to one week.

8.

9. For freezing, spoon pesto into ice cube trays and freeze. Transfer cubes to a sealed bag and use as needed.

10. To toast walnuts, bake at 350°F for 6 to 8 minutes until fragrant, then cool before using.

Notes

Use fresh basil for the best flavor and vibrant color

Do not over process to keep a slightly textured consistency

Add more olive oil for a thinner pesto if desired

Store with a layer of oil on top to prevent oxidation

Freeze in small portions for easy use later

  • Prep Time: 10 minutes
  • Cook Time: 0 minutes
  • Category: Sauce
  • Method: Blending
  • Cuisine: Italian

Nutrition

  • Serving Size: 2 tablespoons
  • Calories: 180
  • Sugar: 1g
  • Sodium: 120mg
  • Fat: 18g
  • Saturated Fat: 3g
  • Unsaturated Fat: 14g
  • Trans Fat: 0g
  • Carbohydrates: 2g
  • Fiber: 1g
  • Protein: 3g
  • Cholesterol: 5mg

Step-by-Step Instructions

Prepare the Base

  1. Place the walnuts and garlic in the bowl of a food processor fitted with a steel blade.
  2. Process until coarsely chopped, about 10 seconds, stopping to scrape down the bowl sides if needed.

Build the Pesto Foundation

  1. Add the basil leaves, salt, and pepper and process until mixture resembles a paste, about 1 minute.
  2. Pause processing and scrape down the bowl with a rubber spatula to ensure even consistency.

Emulsify the Sauce

  1. With the processor running, slowly pour the olive oil through the feed tube over 30 to 45 seconds.
  2. Process until the pesto is thoroughly blended, appearing smooth and creamy, about 1 additional minute.

Finish and Store

  1. Add the Parmesan and process a minute more until fully incorporated.
  2. Transfer pesto to a tightly sealed jar or air-tight plastic container immediately.
  3. Cover the surface with a thin layer of extra virgin olive oil to seal out air and prevent oxidation.
  4. Use pesto immediately or store in the refrigerator for about one week.

Chef Tips for Perfect Results

  • Toast the walnuts before processing to intensify their nutty flavor and create deeper, more complex notes in the finished pesto.
  • Add olive oil slowly and gradually while the food processor runs to create proper emulsification rather than a separated, oily sauce.
  • Use a rubber spatula to scrape down processor bowl sides between steps to ensure even texture and prevent hard basil chunks.
  • Store pesto under a thin layer of olive oil to prevent the basil from oxidizing and turning an unappetizing brown color.
  • Make pesto in small batches using fresh basil picked on the same day for maximum flavor and vibrant green color.
  • Do not over-process the basil or it will become bitter and release unwanted chlorophyll flavors that muddy the sauce.

Common Mistakes to Avoid

Mistake 1: Over-Blending the Basil Over-processing transforms the delicate basil into a bitter paste that tastes medicinal. Fix this by processing only until the mixture reaches paste consistency, typically 60 seconds total for basil. Stop immediately when the desired texture appears rather than continuing to blend.

Mistake 2: Adding Oil Too Quickly Pouring oil in too fast prevents proper emulsification, resulting in a separated, oily sauce that won’t coat pasta evenly. Add the olive oil gradually through the feed tube while the processor runs continuously. Slow, steady oil addition takes 30 to 45 seconds total.

Mistake 3: Using Warm Ingredients Warm basil or room-temperature oil causes the pesto to oxidize rapidly, turning brown within hours and developing off-flavors. Keep all ingredients at cool room temperature or slightly chilled before processing. Store immediately under an olive oil seal.

Mistake 4: Skipping the Walnut Toasting Untoasted walnuts produce a one-dimensional, flat pesto lacking depth and complexity. Spend the extra six minutes toasting walnuts at 350°F until fragrant to unlock their full nutty potential and enhance the sauce dramatically.

Mistake 5: Using Pre-Grated Parmesan Store-bought pre-grated Parmesan contains anti-caking agents that create a gritty, unpleasant texture in the finished pesto. Always grate fresh Parmigiano-Reggiano from a wedge immediately before processing to maintain smooth texture and pure cheese flavor.

Variations and Substitutions

IngredientSubstitutionImpact on Flavor
WalnutsSunflower seeds or pumpkin seedsCreates lighter, more delicate flavor profile with slightly sweeter notes. Seeds work for nut-free diets.
Fresh basilHalf basil, half fresh spinach or arugulaSpinach dulls intensity while arugula adds peppery bite. Great for extending basil or creating unique flavor.
Parmigiano-ReggianoPecorino Romano or Grana PadanoPecorino adds sharper, saltier punch. Grana Padano creates milder, more delicate version.
Extra virgin olive oilHalf olive oil, half avocado oilAvocado oil brings subtle creaminess and higher smoke point without competing flavors.
Garlic1 large garlic clove plus 1 small shallotShallot adds subtle onion sweetness and complexity without aggressive garlic bite.
Whole pestoAdd ¼ cup fresh mint leavesCreates herbaceous, summery variation with cooling menthol notes ideal for warm weather.

Serving Suggestions and Pairings

Serve this fresh basil pesto recipe over warm pasta like penne, linguine, or fettuccine for the most classic application. Toss pesto with cooked pasta immediately after draining, adding a splash of pasta water to help distribute the sauce evenly. This approach works beautifully for simple Italian pasta dishes.

Spread pesto on crusty bread or focaccia for an elegant appetizer or light lunch sandwich that showcases the herb flavors. Layer pesto with fresh mozzarella, sliced tomatoes, and greens on ciabatta for a Mediterranean-inspired panini that transports you straight to Italy.

Dollop pesto onto grilled vegetables like zucchini, eggplant, or bell peppers for a colorful summer side dish. Stir pesto into creamy soups like minestrone or potato soup to add brightness and herbaceous depth just before serving. Mix pesto into mayonnaise for an elevated sandwich spread or deviled egg filling.

Toss pesto with roasted potatoes and fresh green beans for a vibrant side dish that pairs perfectly with grilled chicken or seafood. Use pesto as a topping for baked white fish to impart fresh flavor while keeping the protein moist during cooking.

Storage and Reheating

MethodDurationInstructions
Refrigerator Storage7 daysTransfer pesto to airtight jar or container. Cover surface with thin layer of extra virgin olive oil to prevent oxidation. Keep sealed tightly and store at back of refrigerator where temperature stays consistent.
Freezer Storage6 monthsFreeze pesto in airtight container with olive oil seal on surface. Alternatively, divide into ice cube tray compartments, freeze solid, then transfer cubes to freezer bag for easy portioning.
Thaw from Frozen30-60 minutesMove frozen pesto container to refrigerator and allow to thaw gradually. Use thawed pesto within two days. Do not refreeze thawed pesto.
Frozen Pesto CubesUp to 6 monthsAdd defrosted pesto cubes directly to hot pasta, soups, eggs, sandwiches, or potatoes without additional thawing for convenient portioning.
Revival if DarkenedUse within 2 daysIf pesto has darkened brown, it’s oxidized. Remove brown layer from surface and use remaining green pesto immediately. Prevent by always maintaining olive oil seal.

Nutritional Information

Approximate values per 2-tablespoon serving:

NutrientAmount per Serving
Calories185 kcal
Total Fat18g
Saturated Fat3g
Protein4g
Carbohydrates3g
Dietary Fiber1g
Sodium220mg
Calcium110mg

Conclusion

This pesto recipe delivers authentic Italian herb sauce in under ten minutes using simple, quality ingredients and proper technique. The walnut base provides satisfying earthiness while fresh basil and premium olive oil create vibrant, complex flavors that elevate any dish. Master this fundamental sauce by following the step-by-step instructions, avoiding common pitfalls, and storing under protective olive oil to preserve that signature bright green color and herbaceous taste that defines homemade pesto.

Reader Love These Recipes!

Leave a Comment

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star