
Do Gnats Like Lavender? Science Says No
No, gnats do not like lavender. In fact, the essential oils in lavender, particularly linalool and linalyl acetate, are known to repel common indoor gnat species such as fungus gnats. Lavender’s strong aromatic profile disrupts gnat sensory receptors, making it an effective natural deterrent when used properly in homes or gardens.
Why Gnats Avoid Lavender
Lavender (Lavandula spp.) emits a distinct fragrance that many insects, including gnats, find unpleasant. This section explores the biological and chemical reasons behind this repellent effect.
Chemical Compounds in Lavender That Repel Gnats
- Linalool: A terpene alcohol with proven insect-repelling properties.
- Linalyl acetate: Contributes to lavender’s scent and deters flying pests.
- Camphor and 1,8-cineole: Minor compounds that enhance repellency.
These volatile organic compounds interfere with gnat olfactory systems, discouraging them from laying eggs or feeding near lavender plants.
Types of Gnats and Their Response to Lavender
Not all small flying insects react the same way to plant scents. Understanding which gnats are affected helps optimize pest control strategies.
- Fungus gnats (Bradysia spp.): Strongly avoid lavender; deterred by both scent and essential oil applications.
- Phorid flies: Less studied, but show reduced activity near strong aromatics like lavender.
- Eye gnats (Hippelates spp.): May be mildly repelled, though evidence is limited.
| Gnat Species | Attracted to Lavender? | Repellency Level | Study Method | Effectiveness Duration |
|---|---|---|---|---|
| Fungus Gnat (Bradysia odoriphaga) | No | High | Laboratory Y-tube olfactometer | Up to 7 days (oil diffuser) |
| Midges (Chironomidae) | Neutral | Low | Field observation | Short-term avoidance |
| Phorid Fly (Megaselia scalaris) | Rarely | Moderate | Cage trials with essential oil | 3–5 days |
| Eye Gnat (Hippelates punctatus) | Possibly | Low-Moderate | Behavioral assay (outdoor) | Inconsistent results |
The data shows that fungus gnats exhibit the strongest aversion to lavender, especially when essential oils are diffused. Midges show little response, indicating species-specific sensitivity. Repellency duration depends on application method, with sustained release methods (like diffusers) offering longer protection.
Using Lavender to Deter Gnats: Practical Applications
Knowing that lavender repels gnats, here’s how to use it effectively in real-world settings.
Indoor Use
- Place potted lavender near windows or houseplants prone to infestation.
- Use a few drops of lavender essential oil in a diffuser for continuous protection.
- Create a spray: mix 10 drops of lavender oil with water and mild soap; apply to soil surfaces weekly.
Outdoor Gardens
- Plant lavender as a companion plant near vegetables or ornamentals vulnerable to gnats.
- Interplant rows with lavender to create a natural barrier.
- Avoid overwatering adjacent plants, as damp soil attracts fungus gnats despite repellents.
Limitations and Considerations
While effective, lavender alone may not eliminate severe gnat infestations. It works best as part of an integrated pest management (IPM) strategy.
- Environmental factors: High humidity can reduce efficacy.
- Concentration matters: Diluted oils may not provide sufficient repellency.
- Not a kill agent: Lavender deters but does not kill adult gnats or larvae.
- Sunlight degradation: UV exposure breaks down essential oils quickly outdoors.
Frequently Asked Questions About Gnats and Lavender
Does lavender keep fungus gnats away?
Yes, lavender effectively repels fungus gnats due to its aromatic compounds like linalool. Using lavender essential oil in a diffuser or as a soil spray can significantly reduce gnat presence indoors.
Can I use lavender oil to get rid of gnats on houseplants?
Yes. Mix 10–15 drops of lavender essential oil with one cup of water and a few drops of dish soap. Spray this solution on the soil surface every 5–7 days to deter adult gnats from laying eggs.
Do live lavender plants repel gnats better than essential oils?
Live plants offer mild, continuous repellency, while essential oils provide stronger, short-term effects. For optimal results, combine both: grow lavender nearby and supplement with occasional oil diffusion.
Are there any insects that love lavender?
Yes. While gnats avoid it, beneficial pollinators like bees, butterflies, and hoverflies are strongly attracted to lavender flowers, making it excellent for supporting garden biodiversity.
Is lavender safe to use around pets when trying to repel gnats?
Lavender is generally safe, but essential oils should be used cautiously around cats and dogs. Diffuse in well-ventilated areas and avoid direct skin contact. Consult a vet before widespread use in pet-inhabited homes.









