Recipe Box0

Ingredient · Sauces and condiments

Basil Pesto

A fresh, uncooked sauce of basil, olive oil, hard cheese, nuts, garlic and salt. Bright, herbal, savory, and rich from oil and cheese. For pasta, start with about ¼ cup pesto per 8 oz (½ lb) dry pasta. Loosen with a splash of hot pasta water until the sauce is glossy and coats the noodles.

Recipes1
SeasonSold year-round
KeepsUntil best-by dateunopened jar (shelf-stable), cool
AllergensContains milk, tree nuts

Basil Pesto recipes

What to cook with basil pesto

1 recipe

Forms and products

Which basil pesto should you buy?

FormTypeBest for
JarredProductShelf-stable convenience. Good for pasta, sandwiches, dressings
RefrigeratedProductOften fresher, greener flavor. Use in pastas and as a finishing sauce
HomemadePreparationBest aroma and bright color. Adjust salt, cheese and nuts to taste
VeganProductDairy-free; usually uses nutritional yeast or vegan cheese. Great in pasta and on vegetables. Not a 1:1 match for Parmesan flavor - taste and adjust salt/acid
Nut freeProductFor nut allergies; often replaces nuts with seeds or more cheese/oil. Texture may be looser; add grated cheese to thicken

Pesto alla Genovese (classic)

Basil, extra-virgin olive oil, Parmigiano Reggiano (or Grana Padano), Pecorino, pine nuts, garlic, and salt.

With different nuts

Cashews or walnuts are common substitutes for pine nuts. Flavor shifts slightly; cashews are creamier, walnuts taste fuller.

DOP Genovese pesto

Made to protected standards with specific ingredients and methods; usually pricier and very aromatic.

Buy and store

How to pick and store basil pesto

At the store

  • Scan the ingredient list: basil should be near the top, with olive oil, real hard cheese, nuts and garlic. Avoid jars with lots of fillers or seed oils if flavor matters to you.
  • Color should be green, not brown. Refrigerated pesto usually tastes fresher than shelf-stable.
  • Check the nut and cheese types if you have allergies or dietary needs. Pine nuts are tree nuts; some brands use cashews or walnuts.
  • Sodium varies widely in jarred pesto. If you’re salt‑sensitive, choose a lower‑sodium brand and salt pasta water lightly.
How it's keptWhereAbout how long
Unopened jar (shelf-stable)Cool, dark pantryUntil best-by date
Opened jar (commercial)Fridge, tightly covered; film of oil on top helps limit browningAbout 5 to 7 days
Refrigerated deli pesto (unopened)FridgeUse by the date on the package
Refrigerated deli pesto (opened)Fridge, tightly coveredAbout 5 to 7 days
Homemade pestoFridge, in a clean jar; level the top and cover with a thin layer of oilAbout 3 to 4 days
Frozen pestoFreeze in ice-cube trays or small containersUp to 6 months; thaw in the fridge or stir cubes into hot dishes

Food safety. Pesto contains garlic and herbs blended with oil. Keep it refrigerated. Do not leave it at room temperature. Homemade versions should be used within 3 to 4 days or frozen. Commercial jars are acidified; follow their labels.

Advertisement

Prep

How to use basil pesto

The techniques this calls for, and the tools that make them easier.

All techniques →

Techniques

Mortar and PestleFood ProcessorThin With Pasta WaterFreeze in Ice Cube Tray

Tools that help

Food ProcessorFastest, smoothest pesto
Mortar and PestleBest aroma and texture; bruises basil instead of shredding
BlenderWorks for looser pesto and dressings
Rubber SpatulaScrape the bowl clean and fold pesto into pasta

Equipment links may become affiliate links, always labeled as such.

Substitutes

Out of basil pesto? Use this instead

SubstituteFor 1 tbspWhat to know
Pistou1 tbspFrench basil sauce with basil, garlic and oil, usually without nuts or cheese. Add grated cheese at serving if you want more savoriness.
Chimichurri1 tbspHerb sauce with parsley, oregano, garlic, oil and vinegar. Brighter and tangier; good on meats and vegetables.
Basil Paste1 tbspTube basil paste mixed with olive oil and a little grated cheese makes a fast stand‑in. Season to taste.

Nutrition and allergens

Nutrition per tbsp

Per tbsp (16 g)

Calories60
Carbohydrates1 g
Protein0.7 g
Fat6 g
Fiber0.3 g (1% DV)
Sodium165 mg (7% DV)
Vitamin C0 mg (1% DV)

Calculated from USDA FoodData Central.

Allergens and diets

  • Contains milk, tree nuts
    Pesto typically contains milk (hard cheese) and tree nuts (often pine nuts; some brands use cashews or walnuts). Nut-free and dairy-free versions exist. Always check labels.
  • Vegetarian
    Classic pesto uses Parmesan or similar cheeses made with animal rennet, which some vegetarians avoid. Choose a brand labeled vegetarian or use vegan pesto if needed.
  • Gluten
    Pesto itself does not contain gluten ingredients, but some brands add starches or are made in shared facilities. Check the label if sensitive.
  • Fodmap: high
    Usually contains garlic. For low-FODMAP, use a garlic-free pesto or blend basil with garlic-infused oil and lactose-free cheese.
  • Sodium
    Jarred pesto can be high in sodium. Taste before salting pasta water or finished dishes.

Flavor pairings

What goes with basil pesto

FAQ

Basil Pesto questions

How much pesto should I use for pasta?

For 8 oz (½ lb) dry pasta, start with about ¼ cup pesto. Reserve some pasta water before draining. Toss the hot, drained pasta with the pesto off the heat, then add splashes of pasta water as you toss until the sauce is creamy and coats the noodles.

How do I keep pesto green?

To keep pesto from browning, work quickly to limit air exposure. Some cooks blanch the basil leaves for 5 to 10 seconds in boiling water, then shock them in an ice bath before blending; this sets the bright green color. Chilling your food processor bowl and blade also helps. After making, store pesto in a small container with a layer of olive oil or plastic wrap pressed directly on the surface to block air.

Can I heat pesto?

Warm it gently, but don’t fry or simmer it. High heat dulls basil’s aroma and can turn pesto dark and bitter. Toss pesto with hot pasta off the heat, or whisk a spoonful into warm soup or pan sauce just before serving.

What meats and proteins go well with pesto?

Chicken, shrimp, salmon, white fish, sausage, and eggs all take well to pesto. Spoon over grilled or roasted meats, fold into scrambled eggs, or thin with a little pasta water or lemon juice for a quick drizzle on seafood.

How should I freeze pesto?

Portion pesto into ice-cube trays or small containers, cover the top with a thin layer of oil, and freeze. Pop out the cubes and store in a freezer bag. Thaw in the fridge, or stir cubes directly into hot pasta, grains, or soup to melt.