Yes—sweet basil (Ocimum basilicum) is the classic and most common basil used to make pesto, and it produces the familiar green, fragrant sauce associated with traditional Ligurian pesto genovese. The main qualification is that "sweet basil" covers many cultivars (Genovese, large-leaf, lettuce-leaf, and others), and some are better suited to pesto than others; also, pesto is not limited to basil, so the question of whether sweet basil "can" be used is really a question of which sweet basil and in what proportion.
What "Pesto" Means and Why Basil Dominates
Pesto in modern American usage usually means pesto alla genovese: a uncooked sauce of fresh basil, pine nuts (or another nut), garlic, salt, olive oil, and grated hard cheese such as Parmigiano-Reggiano and/or pecorino. The word comes from the Italian pestare, "to pound," referring to the traditional mortar-and-pestle method rather than to basil itself. Historically, other pesti exist—pesto alla trapanese with almonds and tomatoes, pesto of arugula, of parsley, of sun-dried tomatoes—so basil is central to the Genoese version but not essential to the category.
That distinction matters for the question. Sweet basil is not merely permitted; it is the reference ingredient against which other pestos are compared. If you have sweet basil and the standard supporting ingredients, you have everything needed for a conventional pesto. The real variables are cultivar choice, leaf condition, and how the sauce is balanced and stored.
Which Sweet Basil to Use
Sweet basil is a species with many cultivars, and they differ in leaf size, tenderness, aroma, and tendency to bruise or darken.
Genovese and similar large-leaf types are the standard choice. They have broad, tender leaves, a pronounced sweet-anise-clove aroma, and enough leaf mass to blend into a smooth sauce. These are what most recipes mean by "sweet basil." Lettuce-leaf and mammoth types give a milder, softer flavor and more bulk; they work but may need slightly more basil or a touch more cheese and garlic to taste assertive. Bush or small-leaf sweet basils are fine but tedious to strip in quantity; flavor is acceptable, and the sauce may be slightly more peppery or clove-forward depending on the cultivar. Purple or red basils are still O. basilicum in many cases but carry different aromatics and can turn the sauce muddy brownish-green; they make a valid pesto but not a classic-looking one.
Avoid basil that has bolted and grown flower buds if you want the mildest, sweetest flavor; flowering shifts the leaf toward stronger, sometimes slightly bitter or menthol notes. This is a matter of preference, not safety. Also discard leaves that are yellowed, slimy, or blackened—those will degrade the sauce.
Why Sweet Basil Specifically Works
Pesto depends on raw, uncooked basil because heat destroys much of the volatile aroma that defines it. Sweet basil's chemistry—compounds such as linalool, eugenol, and estragole, in proportions that vary by cultivar—gives the sauce its characteristic sweet, slightly licorice-like, clove-tinged scent. Blending or pounding raw leaves into oil and cheese preserves those volatiles far better than cooking would.
The cheese and nuts provide fat, salt, and body; the garlic provides pungency; the olive oil carries aroma and protects color. Sweet basil's tender leaves break down readily, which is why it emulsifies into a coherent sauce rather than staying stringy. Hardy herbs like rosemary or thyme would be too resinous and aggressive in the same proportion, which is why basil is the default rather than an arbitrary choice.
A Workable Basic Proportions Approach
Exact recipes vary, but a common starting ratio by volume is roughly two packed cups of fresh sweet basil leaves to one-half cup of grated hard cheese, one-third cup of nuts, one to two cloves of garlic, and one-half cup of olive oil, with salt to taste. This is illustrative, not a rule; adjust to taste and to the intensity of your basil.
Practical points that affect the result:
Dry the leaves well after washing. Surface water dilutes flavor and encourages oxidation and browning. Chill the equipment if you can. Heat from a food processor's blades accelerates browning and volatile loss; cold bowl and blade help. Add oil gradually while processing for a smoother emulsion, or pound in a mortar for a more textured, traditional result. Hold back some cheese if you plan to freeze the pesto; cheese changes texture on freezing, so many cooks add it after thawing. Blanch briefly (optional) if you want a brighter green color; a very short blanch and immediate ice-shock can set color, though it softens the fresh flavor. This is a trade-off, not an improvement in every case.
Color, Browning, and Oxidation
Sweet basil pesto browns quickly when exposed to air because enzymes and oxidation act on the crushed leaves. This is a cosmetic and flavor issue, not a safety one. Stirring a little extra olive oil over the surface, pressing plastic wrap directly onto the sauce, or storing in a small airtight container reduces exposure. A brief blanch before blending, or adding a small amount of lemon juice or vitamin C, can slow browning, but acid also changes flavor and can dull the green. None of these is mandatory.
Common Misconceptions
"Pesto must be made with pine nuts." Pine nuts are traditional but expensive and increasingly substituted with walnuts, almonds, pistachios, or sunflower seeds. Sweet basil works with any of these; the nut choice changes flavor and cost, not the legitimacy of calling it pesto.
"Only Genovese basil counts." Genovese is prized, but other sweet basil cultivars make acceptable pesto. The distinction is quality and tradition, not a categorical rule.
"Pesto is always uncooked." The sauce itself is raw, but it is often tossed with hot pasta, which gently warms it. Some recipes cook pesto into dishes; that is a different use, and the fresh aroma fades.
"Sweet basil and Thai basil are interchangeable." They are different cultivars with different aromatics—Thai basil is more anise- and licorice-forward and holds up better to heat. It can make an interesting pesto, but it will not taste like classic genovese.
Storage and Safety Notes
Pesto keeps refrigerated for a few days and freezes well in small portions. Because it contains raw garlic and cheese and is uncooked, it should be refrigerated promptly and not left at room temperature for long periods. This is ordinary food-handling practice, not a special warning about basil.
Bottom Line
Sweet basil is not just usable for pesto—it is the standard. Choose a tender, large-leaf sweet basil cultivar, use fresh unbruised leaves, balance nuts, cheese, garlic, and oil to taste, and handle the sauce gently to preserve color and aroma. The only real ambiguities are which cultivar you have and whether you mean classic genovese pesto or a broader herb sauce; both are answerable, and both favor sweet basil.