Lavender and Marjoram

What Does the Smell of Lavender Keep Away?

Lavender is often said to deter moths, mosquitoes, flies and deer. Here's what its scent may keep away, how strong the evidence is and how to use it well.

On this page
  1. The short answer
  2. Clothes moths
  3. Mosquitoes
  4. Flies, fleas and other household insects
  5. Deer, rabbits and other garden visitors
  6. What lavender attracts instead
  7. Plants vs. oil: why the form matters
  8. How to get the most from lavender as a deterrent
  9. Safety notes for pets and people

The short answer

Lavender’s scent is most often credited with keeping away clothes moths, mosquitoes, flies and some other insects, and lavender plants are usually left alone by deer and rabbits. The honest picture is more modest than many home tips suggest, though. Most of the supporting evidence comes from concentrated lavender or lavandin oil tested in labs, not from a pot of lavender on the patio or a sachet in a drawer.

Lavender can be a pleasant, gentle deterrent, especially for moths in stored clothes. It is not a reliable replacement for proven insect repellents or for good housekeeping.

Clothes moths

This is lavender’s best-known use as a repellent, and it has some backing. Colorado State University Extension notes that lavandin oil, from the hybrid lavender grown widely for oil, is lethal to clothes moths. That’s a finding about the oil, though, and dried flowers in a sachet release far less of the active compounds.

Sachets of dried lavender in drawers and closets may help discourage moths, but they work best as one part of a routine:

  • Clean clothes before storing them, since moth larvae are drawn to sweat, food stains and body oils.
  • Store woolens in sealed bags or bins.
  • Vacuum closet floors and corners now and then.
  • Replace or refresh sachets regularly. Squeeze them to release more scent, and swap in fresh lavender when the smell fades.

If you already have an active moth problem, lavender alone is unlikely to fix it.

Mosquitoes

Lavender oil has shown some repellent effect against mosquitoes in lab studies, and diluted oil on the skin may offer short-term protection. Growing lavender in the yard is a different matter. Clemson’s Home and Garden Information Center points out that studies of plant oils against mosquitoes were mostly done in labs, and none looked at whether landscape plantings actually keep mosquitoes away.

So a lavender border may make your patio smell lovely, but it shouldn’t be counted on to stop bites. Crushing a few sprigs and rubbing them on your skin releases more oil, though the effect is likely brief and some people find it irritates their skin.

Where mosquito-borne illness is a concern, use a repellent registered with the EPA and follow the label.

Flies, fleas and other household insects

Lavender is often recommended against houseflies, fruit flies, fleas, ants and even cockroaches. These claims are mostly based on anecdote or on lab tests of essential oils. Some people find a bowl of dried lavender or a lavender sachet near a window helps a little with flies, and it does no harm to try. For real infestations, though, you’ll need proper pest control: removing food sources, sealing gaps and, for fleas, treatment advice from a vet.

Deer, rabbits and other garden visitors

In the garden, lavender has a good reputation for being left alone by deer and rabbits. Its strong scent, essential oils and fuzzy gray leaves seem to make it unappealing, and it often appears on lists of deer-resistant plants. “Resistant” doesn’t mean “proof,” though. Hungry animals will sometimes nibble almost anything, and young plants are more vulnerable.

Some gardeners plant lavender along borders hoping it will protect nearby plants too. A lavender edge may make a bed less inviting, but it isn’t likely to keep determined deer out on its own. If you want to know which animals lavender tends to discourage in more detail, see what animal does lavender keep away for a closer look.

What lavender attracts instead

It’s worth remembering that lavender doesn’t keep everything away. It is a favorite of bees, including honeybees and bumblebees, and it draws butterflies and other pollinators. That’s a big plus in most gardens, but it’s worth thinking about if someone in your household is allergic to bee stings. Avoid planting lavender right beside doorways or seating areas in that case.

Plants vs. oil: why the form matters

The compounds behind lavender’s scent, such as linalool and linalyl acetate, along with camphor in some types, are what affect insects. How much of them you get depends on the form:

  • Growing plants release scent mostly when the leaves and flowers are brushed or warmed by the sun.
  • Dried flowers give off a steady but light scent that fades over weeks to months.
  • Essential oil is far more concentrated, which is why most studies use it.

Different lavender types also smell different. Lavandins tend to be stronger and more camphor-rich than English lavender, so if scent strength matters, our guide to the lavender plant with strongest scent may help you choose.

How to get the most from lavender as a deterrent

  • Use fresh dried lavender, and replace it once the scent fades.
  • Crush or squeeze sachets every week or two to release more oil.
  • For closets, combine lavender with cleaning and sealed storage rather than relying on it alone.
  • In the garden, plant lavender in a sunny spot where you’ll brush past it, so you enjoy the scent even if the pest benefit is small.
  • Keep expectations realistic: lavender is a nice extra, not a guarantee.

Safety notes for pets and people

Lavender plants and dried lavender are generally considered low risk around the home, but concentrated essential oils need more care. Cats in particular are sensitive to many essential oils, so avoid applying oils to pets and be cautious about diffusing them in small, closed rooms where animals can’t leave. If you have a cat, read what happens if a cat sniffs lavender before using oils at home. Never put undiluted essential oil on your skin, and keep oils out of reach of children.

The complete guide to lavender and marjoram

Lavender and Marjoram: Growing and Cooking Them Together
Read the guide

Keep exploring

Guides from other topics

All topics →