Pesto is a raw Italian sauce made by crushing basil, garlic, pine nuts, hard cheese, salt, and olive oil into a thick, spoonable emulsion. To make pesto, grind or pulse the dry ingredients first, add olive oil gradually, then stir in cheese and adjust the texture with pasta water. The complete process takes 5-20 minutes.
Key Facts at a Glance
A classic batch uses about 50 g basil leaves, 30 g pine nuts, 50-60 g hard cheese, and 120 ml olive oil.
A food processor makes pesto in about 5-7 minutes; a mortar and pestle usually takes 15-20 minutes.
Two packed cups of basil leaves produce approximately 1 cup, or 225 g, of finished pesto.
Pesto should be tossed with warm pasta off the heat, because direct cooking can dull basil and make cheese clump.
Refrigerated pesto keeps for about 5-7 days when covered and handled with clean utensils.
Pesto freezes well for 3-4 months, especially in small portions with cheese added after thawing.
What Is Pesto?
Pesto is a raw, crushed herb sauce associated with Genoa in Liguria, northwest Italy. The name comes from the Genoese verb pestâ, related to the Italian pestare, meaning to pound or crush, so the traditional preparation uses a mortar and pestle rather than a heated pan.
Classic pesto alla genovese combines Genovese basil, garlic, pine nuts, hard cheese, salt, and extra-virgin olive oil. The official traditional profile is tied to Ligurian ingredients and preparation, but a home cook can make a useful pesto with walnuts, almonds, arugula, spinach, or sunflower seeds.
Pesto is not a cooked sauce. Heat changes its identity by darkening basil, softening its fresh aroma, and tightening melted cheese. The sauce is therefore mixed with hot food after cooking rather than simmered over a burner.
How does pesto work as a sauce?
Pesto is a temporary oil-based suspension. Olive oil surrounds particles of crushed basil, nuts, garlic, and cheese, while nut solids and grated cheese provide body; the mixture may separate during storage, but stirring restores most of its texture.
Basil browns when damaged cells expose polyphenol oxidase to oxygen. Dry leaves, short processing times, a cool bowl, and limited air exposure slow the change. Olive oil helps coat particles, but an oil layer cannot reverse oxidation that has already occurred.
A mortar releases basil oils without the heat created by fast blades. A food processor remains highly effective when used in short pulses, especially with a small bowl, cold ingredients, and oil folded in after chopping.
How to Make Pesto in 7 Steps
This classic pesto method yields about 1 cup, or 225 g, and takes 5-7 minutes with a food processor or 15-20 minutes with a mortar. The main success factor is completely dry basil, because residual water weakens the emulsion and makes the sauce seem thin.
Before You Start
| Item | Typical specification | Why it matters |
|---|---|---|
| Fresh basil | 50 g, about 2 packed cups leaves | Provides the dominant herb aroma |
| Pine nuts | 30 g, about 3 tablespoons | Adds fat and creamy texture |
| Hard cheese | 50-60 g, finely grated | Supplies salt, umami, and body |
| Garlic | 1 medium clove, 3-4 g | Adds sulfurous heat |
| Olive oil | 120 ml, 1/2 cup | Forms the liquid phase |
| Preparation time | 5-20 minutes | Depends on equipment |
| Yield | 225 g, about 1 cup | Covers 4 pasta servings |
| Cost | $5-$12 per batch | Pine nuts and cheese drive the range |
Wash basil under cool running water, spin it thoroughly, and spread the leaves on clean towels for 10-15 minutes. Remove thick stems and damaged leaves. Grate the cheese before processing so the finished sauce receives no unnecessary heat.
Step 1: Prepare the Basil and Garlic
Dry the basil completely, then remove the leaves from thick stems. Peel one garlic clove and remove the green central sprout if the clove has begun to germinate.
You will know the basil is ready when no water beads remain on the leaves or bowl. Wet basil produces diluted pesto and makes the oil separate sooner. The common mistake is processing basil immediately after washing, even when the leaves feel only slightly damp.
Step 2: Crush the Garlic, Salt, and Nuts
For a food processor, add 1/4 teaspoon fine sea salt, the garlic, and 30 g pine nuts. Pulse 5-7 times until the nuts resemble coarse sand with a few larger pieces. For a mortar, grind the garlic and salt into a paste, then crush in the pine nuts until creamy.
The mixture should hold together when pressed against the bowl. Stop before the nuts become warm or oily. Overprocessing at this stage releases excess nut oil and can create a heavy, pasty texture.
Step 3: Add and Chop the Basil
Add the basil in two or three handfuls, pulsing for about 1 second at a time. Scrape the bowl once or twice, then stop when the leaves are finely chopped and coated with the nut mixture. In a mortar, add basil gradually and grind it against the walls with a circular motion.
The correct mixture looks moist but still has tiny green pieces. If the processor runs continuously for 30-60 seconds, friction can heat the leaves and darken their aroma. Short pulses preserve more texture than a smooth puree.
Step 4: Incorporate the Olive Oil
Add 120 ml mild extra-virgin olive oil in a thin stream while pulsing briefly, or stir it into the mortar mixture with the pestle. Stop as soon as the oil is integrated; do not process until completely smooth.
A successful pesto falls slowly from a spoon and contains fine visible particles. The common mistake is using an intensely peppery oil at full strength, which can overwhelm basil and read as bitterness. A mild Ligurian, Tuscan, or California extra-virgin olive oil is usually easier to balance.
Step 5: Fold in the Cheese
Transfer the mixture to a bowl and fold in 40 g finely grated Parmigiano-Reggiano plus 15-20 g finely grated Pecorino Romano or Pecorino Sardo. Add the cheese by hand rather than processing it with the blade.
The finished sauce should be thick enough to cling to a spoon but loose enough to spread. Cheese processed at high speed can compact into a dense paste. Pecorino adds salt and sharpness, so taste before adding more salt.
Step 6: Correct the Seasoning and Texture
Taste 1 teaspoon of pesto on a warm piece of bread or with a cooked pasta sample. Add salt in 1/16-teaspoon increments, or add 1-2 teaspoons olive oil if the sauce is too dense.
For pasta, reserve cooking water and add 1-2 tablespoons to the serving bowl before tossing. You will know the consistency is correct when pesto coats the pasta in a thin film rather than sitting in oily pools.
Step 7: Toss With Food Off the Heat
Cook 350-400 g dried pasta until al dente, reserve at least 120 ml cooking water, and drain. Combine the hot pasta, pesto, and 30-60 ml pasta water in a warm bowl, tossing for 30-45 seconds.
The sauce should look glossy and evenly distributed. Never fry pesto in a skillet or boil it in the pasta pot. Direct heat separates oil, tightens cheese, and removes the high notes that make fresh basil sauce taste fresh.
Which Method Makes Better Pesto?
A mortar and pestle makes the most textured and aromatic pesto, while a food processor is the practical choice for speed, larger batches, and regular weeknight cooking. A blender can work, but its tall vessel and high-speed blades make uneven chopping and overheating more likely.
| Criterion | Mortar and pestle | Food processor | Blender |
|---|---|---|---|
| Typical batch time | 15-20 minutes | 5-7 minutes | 4-8 minutes |
| Best batch size | 75-225 g | 225-900 g | 300-600 g |
| Texture | Coarse, creamy, irregular | Fine, controllable | Often very smooth |
| Heat risk | Low | Medium at continuous speed | High at high speed |
| Oil technique | Stir gradually | Pulse or fold in | Add slowly, use low speed |
| Cleanup | 1 mortar, 1 grater | Bowl, blade, spatula | Jar, blade, spatula |
| Best use | Special meals, traditional texture | Everyday preparation | Small emergency batch |
Is a mortar and pestle worth using?
A mortar is worth using when texture and aroma matter more than speed. The grinding action crushes basil, garlic, and nuts into a cohesive paste without turning the sauce into a uniform puree.
Use a heavy marble or granite mortar with an interior diameter of at least 15 cm for a one-cup batch. A small mortar forces ingredients upward and requires repeated scraping. The trade-off is labor: a traditional batch commonly takes three times as long as a processor batch.
What Ingredients Do You Need?
Classic pesto depends more on ingredient condition than on expensive equipment. Young basil, freshly grated cheese, a mild olive oil, and restrained garlic produce a cleaner result than large quantities of any single ingredient.
Basil
Use approximately 50 g young Italian sweet basil leaves. Small leaves usually have softer stems and fewer tough fibers, while mature leaves can taste more minty or slightly bitter.
Genovese basil is the traditional choice, but supermarket sweet basil works. Avoid wilted leaves with black edges. A typical 2 cups packed basil weighs 45-55 g, although leaf size changes the volume substantially.
Pine Nuts and Substitutes
Pine nuts give classic pesto a buttery, resinous flavor. Raw pine nuts preserve a delicate taste; lightly toasted pine nuts add depth but should cool completely before use.
| Substitute | Quantity for 30 g pine nuts | Flavor and cost profile | Best situation |
|---|---|---|---|
| Walnuts | 30 g | Earthy, slightly bitter, $0.50-$1 | Budget pesto |
| Almonds | 30 g blanched | Firm, sweet, $0.60-$1.25 | Sicilian-style pesto |
| Sunflower seeds | 30 g | Mild, nut-free, $0.25-$0.60 | Nut allergy |
| Cashews | 30 g | Very creamy, mild, $0.70-$1.50 | Vegan pesto |
| Pumpkin seeds | 30 g | Green, savory, $0.60-$1.25 | Seed-based variation |
Do not serve pine nuts to someone with a known tree-nut allergy without confirming the specific medical guidance. Cross-contact can occur in bulk bins and shared food processors.
Cheese
Parmigiano-Reggiano provides a rounded, savory flavor, while Pecorino Romano or Pecorino Sardo contributes sharper saltiness. A practical home ratio is 2-3 parts Parmesan to 1 part Pecorino by weight.
Pre-grated cheese often contains anti-caking agents that interfere with a smooth sauce. Finely grate cheese from a wedge immediately before mixing. For dairy-free pesto, replace the cheese with 20-25 g nutritional yeast and 10 g white miso, then reduce added salt.
Garlic, Salt, and Oil
One medium garlic clove gives a balanced batch; two cloves suit a stronger raw-garlic profile. Sea salt helps season the sauce and provides abrasion in a mortar, but the cheese already contributes substantial sodium.
Use 100-120 ml mild extra-virgin olive oil for a thick spread, or 130-150 ml for a looser sauce. A very grassy, peppery oil can dominate the basil, especially when the pesto is served cold.
How Do You Prevent Brown Pesto?
Prevent brown pesto by minimizing oxygen, moisture, and heat: dry the basil fully, process in short pulses, use a cool bowl, and cover the surface immediately. Optional blanching for 5-10 seconds followed by an ice bath can preserve a greener color, but it slightly softens raw basil flavor.
Professional kitchens sometimes blanch basil for color stability when pesto will be displayed or held. For immediate home service, fresh unblanched basil usually tastes more aromatic.
| Browning cause | Observable sign | Prevention | Recovery |
|---|---|---|---|
| Wet basil | Thin, pale sauce | Spin and towel-dry leaves | Add grated cheese and nuts gradually |
| Warm blades | Warm bowl or cooked aroma | Chill bowl, pulse 1 second | Refrigerate immediately |
| Excess air | Dark surface after storage | Press parchment or oil onto surface | Scrape off only severely oxidized top |
| Old basil | Black spots before mixing | Buy fragrant, firm leaves | Remove damaged leaves |
| Blanched basil not dried | Watery green puree | Dry after ice bath | Reduce with nuts and cheese |
An oil layer slows surface oxidation but does not make pesto shelf-stable. The sauce remains a perishable, low-acid food containing fresh herbs and cheese.
Why Is Pesto Bitter?
Pesto usually tastes bitter because of assertive olive oil, overprocessed basil, mature greens, scorched nuts, or excessive garlic, not because a blender “breaks oil molecules.” High-speed blending can increase heat and aeration, while some extra-virgin olive oils naturally contain bitter phenolic compounds.
Taste the olive oil alone before using it. If it has a pronounced peppery finish, dilute it with a mild oil or use 80-100 ml rather than the full 120 ml, then adjust after the cheese is added.
Burnt pine nuts are another common source. Toast nuts over medium-low heat for 3-5 minutes, stirring continuously, and remove them when pale gold rather than dark brown. A bitter batch can sometimes be balanced with more basil, cheese, nuts, and a small amount of lemon juice, although lemon changes the traditional flavor.
How Should You Store Pesto?
Store pesto in a clean, airtight container in the refrigerator for 5-7 days, pressing plastic wrap or parchment directly onto the surface and adding a thin oil layer if desired. Discard pesto with mold, fermentation bubbles, a sour odor, or a visibly slimy texture.
Cool the pesto promptly after mixing and use a clean spoon each time. Do not leave it at room temperature for more than 2 hours, or 1 hour when the surrounding temperature exceeds 32°C, following the United States Department of Agriculture’s general perishable-food guidance.
Oil on the surface limits oxygen contact but does not eliminate bacterial risk. Never rely on color alone to judge safety, because harmless oxidation and harmful spoilage can look similar.
Can you freeze pesto?
Freeze pesto for 3-4 months in 1-2 tablespoon portions, leaving roughly 1 cm of headspace in rigid containers or using an ice-cube tray. Cheese can be frozen with pesto, but the texture may become slightly grainy after thawing.
For the smoothest result, freeze the basil, nut, garlic, and oil mixture without cheese. Thaw it in the refrigerator, then fold in freshly grated cheese before serving. Frozen cubes can be added directly to hot pasta, soup, beans, or roasted vegetables.
Which Pesto Variations Are Worth Making?
Classic Genovese pesto is best for a fresh basil flavor, while pesto rosso and pesto alla Trapanese suit tomato-based meals and heartier pasta. The word “pesto” now describes many crushed sauces, but regional recipes differ in their principal ingredients and serving traditions.
| Variation | Main green or base | Nut or seed | Cheese | Typical yield and use |
|---|---|---|---|---|
| Genovese | 50 g basil | 30 g pine nuts | Parmesan and Pecorino | 225 g, trofie or linguine |
| Pesto rosso | 120 g sun-dried tomatoes | 40 g almonds | Pecorino Romano | 300 g, rigatoni or bread |
| Trapanese | 250 g fresh tomatoes | 50 g almonds | Pecorino Romano | 400 g, busiate or seafood |
| Arugula-walnut | 75 g arugula, 25 g basil | 35 g walnuts | Parmesan | 250 g, gnocchi or steak |
| Vegan basil | 50 g basil | 30 g cashews | 25 g nutritional yeast | 220 g, vegetables or grains |
| Spinach pesto | 100 g baby spinach | 30 g sunflower seeds | Parmesan | 250 g, sandwiches or pasta |
Modenese pesto is a separate regional preparation made with rosemary, garlic, pork fat, and Parmigiano-Reggiano, traditionally served with tigelle or similar breads. It should not be substituted directly for basil pesto in a pasta recipe.
How Do You Use Pesto With Pasta?
Use 90-120 g pesto for 350-400 g dried pasta, then loosen the sauce with 30-60 ml reserved cooking water. The starch helps pesto cling to noodles and prevents the oil from pooling at the bottom of the bowl.
Trofie and trenette are traditional Ligurian pairings. Linguine, spaghetti, fusilli, penne, potatoes, and green beans also work because their surfaces hold the thick sauce.
Pesto works particularly well with short pasta when the sauce contains coarse nut pieces. For filled pasta, use less pesto and more pasta water so the sauce does not overpower delicate ricotta or vegetable fillings.
Common Mistakes and How to Fix Them
Pesto is too watery
Watery pesto usually contains wet basil or too much oil. Stir in 1 tablespoon finely grated cheese and 1 tablespoon ground nuts at a time, waiting 30 seconds between additions so the solids can absorb liquid.
Pesto separates immediately
Separation is normal in a temporary emulsion, but excessive separation indicates too much oil or insufficient solids. Whisk in 1 teaspoon warm pasta water, then add pesto to pasta gradually instead of pouring all the oil onto the noodles.
Pesto tastes too salty
Saltiness comes from Pecorino, Parmesan, and added salt together. Mix the pesto with unsalted pasta, potatoes, beans, or additional basil and nuts; adding lemon alone will sharpen the taste rather than remove salt.
Pesto has a harsh garlic flavor
Raw garlic intensifies after several hours. Use half a clove next time, remove the green sprout, or briefly blanch the garlic for 30 seconds before cooling it. Aged garlic cloves require less quantity than fresh young cloves.
Pesto is too thick
Add 1 tablespoon warm pasta water or olive oil at a time. Pasta water is the better choice for a pasta meal because its starch improves adhesion without making the finished dish greasy.
Pesto turns brown
Remove badly oxidized leaves before mixing, keep the bowl cool, and shorten processing. For a display-quality green sauce, blanch basil for 5-10 seconds, shock it in ice water, squeeze it dry, and process it with chilled ingredients.
What Does Homemade Pesto Cost?
A typical 225 g batch costs $5-$12 in the United States, depending mainly on pine nuts, cheese, basil season, and olive-oil quality. Replacing pine nuts with sunflower seeds or walnuts can reduce ingredient cost to approximately $3-$6 per batch.
| Ingredient | Typical quantity | Typical US cost | Cost driver |
|---|---|---|---|
| Fresh basil | 50 g | $2-$4 | Season and package size |
| Pine nuts | 30 g | $2-$4 | Imported or premium nuts |
| Parmigiano-Reggiano | 40 g | $1.25-$2.50 | Aging and retail format |
| Pecorino | 15-20 g | $0.40-$1 | Cheese type |
| Olive oil | 120 ml | $0.75-$2 | Brand and origin |
| Garlic and salt | 1 clove, 1.5 g | $0.05-$0.20 | Usually negligible |
| Total batch | 225 g | $5-$12 | Four pasta servings |
Homemade pesto is not always cheaper than supermarket pesto when fresh basil and pine nuts are purchased in small packages. It is usually more economical when making multiple batches, using garden basil, or substituting walnuts and seeds.
FAQ
Can you make pesto without cheese?
Yes. Replace 50-60 g hard cheese with 20-25 g nutritional yeast plus 10 g white miso, or use an additional 15 g nuts and adjust salt. Dairy-free pesto has less salty depth, so taste it after mixing rather than copying the classic salt quantity.
Should basil be blanched for pesto?
Blanch basil only when maximum green color matters more than the freshest raw aroma. Dip leaves in boiling water for 5-10 seconds, transfer them to ice water, and dry them completely; unblanched basil is usually preferable for immediate serving.
Can you use a blender instead of a food processor?
A blender can make pesto, but the narrow jar often forces liquid to the bottom while basil sticks to the sides. Use low speed, stop to scrape frequently, and add oil gradually; a food processor gives more even chopping for a one-cup batch.
Can you use dried basil for pesto?
Dried basil cannot replace fresh basil in classic pesto because drying removes much of the leaf’s volatile aroma and changes its texture. Dried basil can season a cooked tomato sauce, but it will not produce a raw, herb-based pesto.
How much pesto should you use per person?
Use approximately 20-30 g pesto per person for pasta, then loosen it with 1-2 tablespoons reserved cooking water per serving. Start with less sauce for filled pasta and mild vegetables, because pesto’s cheese, garlic, and oil become concentrated in small portions.
Is pesto safe during pregnancy?
Commercial refrigerated pesto and properly handled homemade pesto require the same attention to pasteurized cheese, refrigeration, and cross-contamination. Pregnant people should follow advice from their healthcare professional, especially for homemade sauces held beyond the recommended 5-7 days.
The Bottom Line
To make pesto, process or grind 50 g dry basil with 30 g pine nuts, one garlic clove, salt, 120 ml olive oil, and 50-60 g grated hard cheese. Use short pulses, fold in the cheese by hand, and toss the finished sauce with warm pasta and reserved cooking water off the heat. Fresh pesto is best within several days and freezes effectively in small portions.


