How To Make Pesto Sauce

4.89 from 27 votes
↓ Jump to Recipe 22

This post may contain affiliate links | disclosure policy

Learn how to make pesto for use as a sauce or dip. This Italian condiment adds a burst of fresh flavor to any dish! I’ve laid out some helpful tips to elevate the taste of a traditional pesto sauce.

How To Make Pesto Sauce

Learning how to make pesto from scratch opens up a myriad of recipe ideas to liven up mealtime. Pesto is an essential condiment traditionally made from fresh herbs like basil, ripened Pecorino Romano cheese, pine nuts, and a good quality olive oil. The best part is the recipe can be customized with variations of the base ingredients. However, it’s best to know how to properly make the famous Italian sauce first before getting too creative.

Pesto can be the star of the dish when made just right. It may seem easy, just dump, mix, and voila! Although to elevate the flavors, there are some essential tricks to incorporate to create a balanced and full-bodied pesto. These tips will take your green sauce to the next level!

Pesto Ingredients

Pesto recipe ingredients

It starts with selecting ingredients and even more importantly the amounts to make a pesto sauce with the right flavor and consistency.

  • Herbs – Fresh basil leaves are the primary herb of choice for its robust, aromatic notes and an anise flavor. It’s the base of most pestos, however, other greens like spinach, arugula, kale, and parsley have become popular choices. If not using 100% basil, I like to make sure at least 50% of the mix is basil and substitute the remainder with the other greens.
  • Garlic – Adding pungency to the mix, it brightens the flavor and adds dimension. Although, the sharp bite from the sulfurous compounds may be too intense at times. Toasting whole garlic cloves in the pan can help tame the harshness and the dreaded garlic breath. Use 1 to 2 garlic cloves if keeping raw, 3 if toasting.
  • Nuts – Pine nuts are the traditional and most expensive choice. Other nut options are walnuts, pecans, and almonds. Sunflower seeds are an excellent nut-free option. The nuts add a little creaminess and interesting texture to the pesto.
  • Cheese – Freshly grated Pecorino Romano which is a raw sheep’s milk cheese adds a pungent and savory flavor, while Parmesan cheese from cow’s milk adds a more smooth and nutty flavor.
  • Oil – Extra-virgin olive oil adds richness and slightly bitter flavor. More mild oils like lighter olive oil, grape seed oil, or avocado oil are also good choices.

The sauce ratio

Here is my pesto base recipe that can be easily modified with different ingredients, but keeping the ratios the same and adjusting to taste:

  • 2 cups herbs/greens
  • 2 to 3 garlic cloves
  • ¼ cup nuts
  • 1/2 cup oil
  • ¼ cup cheese

How to make homemade pesto sauce

Here are some key tips for making a stellar pesto sauce recipe. You can implement them all or just a few and see how the flavors change. It’s a neat experiment!

Two side by side photos showing the process of blanching then shocking the green in ice water

Bruise the herbs

Classic pestos are made in a large mortar and pestle, although, lately that technique has been abandoned for quicker tools like a food processor or blender. The taste is still acceptable and cuts down on time so feel free to skip if you absolutely must.

Pounding releases the full flavorful potential of basil leaves, which you can immediately smell. Remember, 70% of what is taste is based on what you smell. To do this, add basil leaves and any other herbs to a large resealable plastic bag and use a rolling pin to pound and bruise before adding to the processor.

Blanch the basil

A great debate is whether basil should be blanched and shocked in cold water before processing. The reason to do this is as soon as basil is cut, the leaves release an enzyme that turns the pesto dark within minutes. To keep bright green, inactivating the enzymes with heat in hot water for 20 seconds and then plunging in ice water stops the cooking process helps to prevent darkening.

The taste may be similar to fresh herbs, but I find that you lose some of those wonderful fresh aromatics. If you’re going to consume the pesto right away and you’re not worried about appearance, then you can skip this step. One thing to remedy this situation is adding a few tablespoons of Italian Parsley to the pesto, which stays a nice bright green.

pan heating cloves are garlic and pine nuts


Toasting cloves of garlic has been the ultimate game changer! Spending less than 10 minutes to toast whole in their peel until brown spots appear on the surface does two things; tames the pungency and bitterness, while bringing out the sweetness. It tastes like roasted garlic, making the pesto less aggressive, it’s amazing.

Since you already have the pan out, toast the nuts too! The oils in the nuts start to warm, with the aromas becoming more fragrant and strong, which transfers right to the sauce.

Compilation of 4 photos showing how to make pesto using a food processor

Process the ingredients

  • Add into the food processor or blender the herbs/green, toasted garlic and nuts, and salt.
  • Process just for a few seconds to initially break down the leaves into smaller pieces.
  • Scrape down the sides of the bowl or cup as needed.
  • With the unit running slowly, drizzle in the olive oil until a paste is formed.
  • Add the cheese and process for a few seconds until just combined.
  • The pesto should be evenly mixed but not smooth. There should still be small chunks of garlic, nuts, and leaves to give texture to the sauce.
  • Make sure to taste and season with more salt and pepper!

Once you’ve made pesto sauce, add it to pasta, on top of eggs, chicken, fish, or serve on the side as a dip. You can even freeze the pesto in ice cube trays, defrost and use anytime!

homemade pesto sauce

How to properly store basil

Fresh basil leaves are delicate and quite a treat to have on hand. To properly store them and extend the shelf life, do not rinse first! Simply wrap the leaves in a damp paper towel, place them in a plastic bag and do not seal. The damp towel keeps them fresh without too much condensation which could cause darkening of the leaves. This should keep them fresh for 3 to 7 days.

How To Make Pesto Sauce

Learn how to make pesto for use as a sauce or dip. This Italian condiment adds a burst of fresh flavor to any dish!
4.89 from 27 votes
Prep Time10 minutes
Cook Time12 minutes
Total Time22 minutes
Servings 8 Servings
Course Condiment
Cuisine Italian


  • 2 cups basil leaves, packed
  • 2 tablespoons Italian parsley leaves
  • 3 cloves garlic, unpeeled
  • ¼ cup pine nuts, raw
  • ½ teaspoon kosher salt
  • ½ cup extra-virgin olive oil
  • ¼ cup grated pecorino romano cheese
  • black pepper, as needed for seasoning


  • Place the basil and parsley in a resealable plastic bag. Use a rolling pin or meat cleaver to lightly bruise the herbs and greens. Transfer to a food processor or blender.
  • Heat a skillet over medium heat. Toast garlic until the outsides are lightly browned, shaking pan occasionally, about 8 minutes. Peel garlic and add to food processor.
  • Place pine nuts in the same pan and toast over medium heat, shaking the pan occasionally, 3 to 4 minutes. Transfer to food processor.
  • Add ½ teaspoon salt to the food processor.
  • Process pesto by pulsing five times to help break down the basil and garlic.
  • Turn the food processor to low speed, as its running slowly drizzle in ½ cup olive oil until a smooth pesto with some smaller pieces is formed, about 10 seconds from start to finish.
  • Add the Pecorino Romano cheese and process on low speed for 5 seconds.
  • Taste and season with salt and pepper as desired. Transfer pesto to a small bowl.

Recipe Video

YouTube video


  • Store in an airtight container, using plastic wrap to cover the surface with no air space and place in the refrigerator for up to 5 days.
  • Recipe adapted from Cook's Illustrated, The Science of Good Cooking.
  • Recipe Yield: ½ cup
  • Serving Size: 1 tablespoon
  • Parmesan cheese can be substituted for Pecorino Romano cheese.
  • If using basil pesto recipe for pasta, mix in 3 to 4 tablespoons of the hot pasta water to thin out the sauce.
  • MAKE IT VEGAN OR DAIRY-FREE: Remove the cheese or use vegan cheese.
  • MAKE IT WHOLE30 OR PALEO: Remove the cheese and use sea salt.

Nutrition Facts

Serves: 8 Servings
Calories 140kcal (7%)Carbohydrates 2g (1%)Protein 1g (2%)Fat 15g (23%)Saturated Fat 2g (10%)Polyunsaturated Fat 1gMonounsaturated Fat 9gCholesterol 1mgSodium 86mg (4%)Potassium 6mgFiber 1g (4%)Sugar 0.1gVitamin C 0.8mg (1%)Calcium 10mg (1%)Iron 0.2mg (1%)

Percent Daily Values are based on a 2000-calorie diet. All nutritional information is based on estimated third-party calculations. Each recipe and nutritional value will vary depending on the brands you use, measuring methods, and portion sizes per household.

Tried this recipe?

Tag me on Instagram. I'd love to see how it turns out!

Tag @jessica_gavin

Jessica Gavin

I'm a culinary school graduate, cookbook author, and a mom who loves croissants! My passion is creating recipes and sharing the science behind cooking to help you gain confidence in the kitchen.

Quick & Easy Meals in Under 30 Minutes!
Get 25 simple meals your whole family will love.
Jessica Gavin standing in the kitchen

You May Also Like

Reader Interactions

Leave a Comment

Your email address will not be published. Required fields are marked *

Recipe Rating

22 Comments Leave a comment or review

  1. Russell Martino says

    Thank you Jessica. I have 6 grown Basil leave bushes…my Sept.
    garden. Will be making your recipe & freezing in ice cube trays.
    My favorite is Pesto w/Fettucini, Linguine.

    • Jessica Gavin says

      Wow, you’re so lucky to have so much basil! I love that you will freeze the pesto and use it with your favorite pasta.

  2. David G Michael says

    Can I place it in small canni g jars and pressure seal them as i do other canning each year?

    • Jessica Gavin says

      Hi David- I haven’t tried canning the pesto sauce. The herbs will darken in color when cooked. However, if you do try it, I would love to hear your feedback!

  3. Bee says

    I love making and eating pesto. I use it in so many different dishes and I love the vibrant color and fresh taste. Now I’m craving pesto!

  4. Vidya says

    Wonderful recipe Jessica. Going to try it with almonds as I do not have pine nuts at home. I may skip cheese in the sauce and add to the pasta directly? Is that OK? Would it affect too much?
    I have mozzarella and some pasta cheese at home which is not the ingredient you mentioned hence worried to add to the sauce.
    Would it be OK?
    Thank you for sharing a clear and well explained receipe.

  5. Sue says

    When storing the pesto, do you put it in the refrigerator or in a cool place? I grew up eating pesto, but could never make it to taste that good. Your trick about bruising the leaves makes sense. Can’t wait to make it! Thank you!!

    • Jessica Gavin says

      Hi Sue- Great question! Because pesto has fragile herbs and cheese, I always store in the refrigerator. I can’t wait to hear what you think about the bruising technique 🙂

      • Sue says

        The bruising went great! Made a big difference.

        I meant the basil: how do you store it if you can’t process it right away?

        • Jessica Gavin says

          Hi Sue! To store basil leaves I would do the following: Do not rinse first! Simply wrap the leaves in a damp paper towel, place them in a plastic bag and do not seal. The damp towel keeps them fresh without too much condensation which could cause darkening of the leaves. This should keep them fresh for 3 to 7 days.

          • Cilla Wilson says

            For what? They’re two different things. Guacamole is made from avocados, a fat veggie. Pesto is made from basil, an herb.

  6. Simone says

    Hi Jessica, please note that your first instruction mentions spinach whereas your ingredient list mentions parsley. Just FYI :O) Will be trying this recipe soon and thanks for all your efforts with the posts. You have taught me some great new recipes!

    • Jessica Gavin says

      Thank you for catching that error Simone! I’ve updated the recipe to reflect parsley instead of spinach. Much appreciated!