Lavender (Lavandula spp.) contains aromatic compounds—most notably linalool and linalyl acetate—that mosquitoes find aversive, and crushed leaves or concentrated lavender oil can produce measurable repellent effects in laboratory and limited field tests, but a healthy lavender plant sitting in the garden does not create a protective zone and is not a dependable substitute for proven repellents. The practical answer depends on what "keep away" means: masking or reducing landings on a treated surface is plausible with oil-based products; clearing mosquitoes from a patio, deck, or yard by growing the plants is not supported.

What the plant actually releases

The pleasant scent of lavender comes from volatile oils stored in glandular hairs on leaves, stems, and flowers. Those oils are released continuously at low levels and much more strongly when plant tissue is damaged—crushed leaves, trimmed stems, dried flower heads. The two mechanisms people conflate are:

1: Ambient odor from an intact plant. A living lavender shrub emits scent into the air immediately around it. This is a very small quantity of volatile material, diluted by moving air, and it does not form a barrier. 2: Concentrated oil applied to skin or a surface. Lotion, spray, or rubbed crushed foliage puts a much higher dose of the same compounds directly where mosquitoes land.

Only the second has any real claim to repellency, and even then the effect is modest and short-lived compared with regulated products. This distinction explains most of the confusion: a study showing that linalool repels mosquitoes is not evidence that a lavender hedge repels mosquitoes.

What the evidence supports

Lavender oil and its constituents have been tested as topical and spatial repellents, generally with these patterns:

Topical repellency exists but is weaker and shorter than DEET or picaridin. In comparative studies, lavender oil typically protects for a relatively brief window—often on the order of tens of minutes to a couple of hours at tested concentrations—rather than the multi-hour protection of standard repellents. Results vary with formulation, concentration, species tested, and whether the study used pure oil or a diluted product. Species matter. Aedes aegypti (yellow fever mosquito, a day-biter), Anopheles species (malaria vectors, mainly evening/night biters), and Culex species (nuisance and West Nile vectors, active at dusk and night) respond differently to the same compound. A result against one species does not automatically transfer. Spatial or "area" repellency is much weaker and inconsistent. Burning lavender, hanging sachets, or placing pots near a seating area may produce a faint local odor, but controlled trials of aromatic plants as area repellents generally show small or no reduction in biting at realistic distances. Wind, heat, and the sheer volume of outdoor air overwhelm the emission from a few plants. Crushed leaves on skin can transiently reduce landings because you are physically transferring oil, but the dose is uncontrolled and fades quickly.

The honest summary: lavender is a weak, short-duration repellent when the oil is concentrated on the target, and essentially ineffective as a landscape-scale mosquito deterrent.

Why garden lavender underperforms

Several ordinary garden realities undercut the "plant it and they'll leave" idea:

Dilution. A mosquito approaching a person is drawn by carbon dioxide, body heat, and skin chemistry. A faint floral odor a meter away does not override those cues; at most it may add a competing signal at very close range. Air movement. Even light breeze disperses volatiles. A plant's scent envelope is small and shifts constantly. Plant condition and cultivar. Oil content varies by species (L. angustifolia, L. latifolia, L. × intermedia "lavandin," L. stoechas) and by cultivar, harvest stage, and growing conditions. There is no standard "mosquito-proof lavender." Coverage. Mosquitoes breed in standing water and shelter in shaded vegetation across a property. A few plants at the border address none of that. Reducing local populations depends on eliminating larval habitat—dumping containers, refreshing birdbaths, clearing clogged gutters—not on aromatic plantings. Timing. Many nuisance species bite at dusk, when people are on the patio and the plants are simply sitting there emitting their normal low level of scent.

A useful counterexample: citronella grass (Cymbo-pogon species) is marketed heavily as a mosquito plant for the same reason—it contains repellent compounds—yet field tests consistently show that the potted plant, uncrushed, does not protect nearby people. Lavender belongs in the same category: aromatic, mildly repellent when processed, not a barrier when grown.

Where lavender does earn a place

Lavender is reasonable as part of a broader strategy, not as the strategy:

Aesthetic and pollinator value. It attracts bees and butterflies and is a good dry-climate ornamental. That is a legitimate reason to grow it and should not be dressed up as mosquito control. Crushed-leaf touch-ups. Rubbing a leaf on exposed skin may briefly reduce landings in a pinch; it is not a substitute for a labeled repellent when disease risk matters. Scented sachets and dried bundles may make a closet or small enclosed space less appealing to insects, but enclosed spaces are not where outdoor biting happens. Companion planting claims — that lavender beside a patio "repels" mosquitoes — are widely repeated in gardening media but not well supported by controlled outdoor evidence.

What actually keeps mosquitoes away

If the goal is fewer bites, the reliable levers are:

Measure What it does Notes
EPA-registered repellent (DEET, picaridin, IR3535, oil of lemon eucalyptus/PMD) Reduces landings on skin for hours Follow label; reapply per instructions
Eliminating standing water Cuts larval production on the property Check gutters, plant saucers, tarps, buckets
Screens and intact window mesh Blocks indoor entry Repair tears
Long sleeves/pants at dusk Physical barrier Loose weave still allows bites
Fans and screened porches Dilutes CO₂ and disrupts flight Effective for seating areas
Professional larval/adult control where warranted Suppresses local populations Relevant in high-disease-risk settings

Growing lavender is compatible with all of these; it just does not replace any of them.

Regional and regulatory caveats

"Natural" does not mean risk-free or effective. Essential oils can cause skin irritation or allergic reactions, and concentrations in homemade sprays are unregulated. Products making repellent claims in the U.S. are regulated by the EPA; a garden plant makes no such claim and offers no guaranteed protection. Disease-risk contexts raise the bar. Where dengue, West Nile, malaria, or other mosquito-borne illness is a real concern, rely on proven repellents and public-health guidance, not on aromatic plants. Local climate and species determine which measures matter most. Climate and cultivar differences mean garden results vary; a lavender that thrives in a Mediterranean climate may emit differently, or struggle, elsewhere. This is a further reason not to treat plant presence as protection.

Bottom line

Lavender oil is a genuine but weak and short-lived repellent when concentrated and applied; lavender plants in a garden are not. Grow lavender for its scent, flowers, and drought tolerance, and use it as a small supporting element—crushed leaves for a momentary touch-up, perhaps—but do not count on it to keep mosquitoes off a patio or away from people. The dependable approach combines proven topical repellents, elimination of standing water, and physical barriers such as screens and fans. If mosquito-borne disease is a concern in your area, treat lavender as decoration, not defense, and follow local public-health advice.