A simple essential oil gnat repellent takes about five minutes to mix and costs a fraction of store-bought sprays. The most effective versions combine 10 to 20 drops of a gnat-repelling oil with a carrier liquid like witch hazel or high-proof alcohol, then top off with water in a small spray bottle. Below are tested recipes for both skin application and indoor use, along with the oils that actually work against gnats.
Which Essential Oils Repel Gnats
Not all essential oils perform equally against gnats. The strongest evidence exists for oil of lemon eucalyptus, which contains a compound called PMD. The EPA registers PMD as a skin-applied insect repellent, putting it in the same regulatory category as synthetic options. The CDC also recognizes oil of lemon eucalyptus as effective against biting insects. This is the closest you’ll get to a proven natural repellent.
Citronella oil is another EPA-recognized option, though it tends to wear off faster. Lavender, peppermint, and cedarwood are popular in DIY recipes and have some insect-deterring properties, but they lack the formal registration that oil of lemon eucalyptus carries. For the best results, use oil of lemon eucalyptus as your primary oil and add a secondary oil like lavender or peppermint for a broader scent profile.
Skin-Safe Spray Recipe
This recipe is designed for spraying on exposed skin before going outdoors, where biting gnats (sometimes called no-see-ums or midges) are the problem.
- 10 to 20 drops oil of lemon eucalyptus (your primary repellent)
- 5 to 10 drops lavender or peppermint oil (optional, for broader coverage)
- 2 ounces witch hazel or high-proof rubbing alcohol
- 2 ounces distilled water
Combine the witch hazel and essential oils in a 4-ounce glass spray bottle first, then add the distilled water. Shake well before every use. The witch hazel or alcohol helps the oils blend into the water rather than floating on top, though neither is a true emulsifier. If you notice oil pooling at the surface, a few vigorous shakes before spraying will redistribute it just fine.
For a stronger concentration, you can follow a 1:10 ratio of essential oil to witch hazel, skipping the water entirely. That means roughly 15 drops of oil to 150 drops (about half a teaspoon) of witch hazel. This version is more potent per spray but uses witch hazel faster.
Reapply every 60 to 90 minutes outdoors. Natural repellents evaporate faster than synthetic ones, so frequent reapplication is part of the deal.
Indoor and Plant-Area Spray Recipe
If your gnat problem is indoors, you’re likely dealing with fungus gnats, the tiny flies that hover around houseplant soil. These gnats don’t bite, but they’re a nuisance. An essential oil spray can deter adults from landing, though it won’t kill larvae already living in the soil.
- 10 drops peppermint oil
- 10 drops cedarwood or citronella oil
- 2 ounces white vinegar
- 2 ounces distilled water
Shake and spray around plant pots, windowsills, kitchen counters, and bathroom drains. Avoid spraying directly onto plant leaves, as undiluted or high-concentration essential oils can damage foliage. Mist the air around the plants and the rim of the pots instead.
For an active fungus gnat infestation in soil, an essential oil spray alone won’t solve the problem. A naturally occurring bacterium called BTI (sold as Gnatrol or Mosquito Bits) is nontoxic to humans and pets but lethal to gnat larvae. You can use both approaches together: BTI in the soil to break the breeding cycle and your essential oil spray to keep adult gnats from congregating.
Why the Carrier Liquid Matters
Essential oils don’t dissolve in plain water. If you skip the witch hazel, alcohol, or vinegar, you’ll end up with a layer of oil sitting on top of your spray bottle, and each pump will deliver inconsistent amounts. Witch hazel works well for skin sprays because it’s gentle and already contains some alcohol. High-proof rubbing alcohol (70% or above) disperses oils more effectively, but it can dry out your skin with repeated use. White vinegar works best for household sprays where skin contact isn’t the goal.
For a truly stable blend where the oils never separate, you’d need a proper emulsifier like polysorbate 20, a food-grade additive available online. Add about half a teaspoon per 4-ounce batch. For most people, though, simply shaking the bottle before spraying is good enough.
Storage and Shelf Life
Store your spray in a dark glass bottle. Clear plastic can degrade when exposed to essential oils over time, and light breaks down the active compounds that make the spray work. Amber or cobalt blue glass bottles with a spray top are inexpensive and widely available online.
Keep the bottle in a cool spot away from direct sunlight. Alcohol-based sprays last longer, typically two to three months. Sprays made with just water and witch hazel may start losing potency after a few weeks. Make small batches and refresh them regularly rather than mixing a large supply that sits around.
Safety With Children and Pets
Oil of lemon eucalyptus products carry a label warning against use on children under three years old, though certain formulations at 30% concentration or less may be exempt from this restriction. Check the label of your specific oil. For young children, lavender and citronella at low concentrations are generally considered safer options.
Cats are particularly sensitive to many essential oils, including peppermint, citrus oils, and eucalyptus. Dogs tolerate most oils better but can still react to concentrated formulas. The EPA advises against using any repellent product on pets unless the label explicitly says it’s safe for animals. If you’re spraying near pet areas, stick to low concentrations, ensure good ventilation, and avoid spraying surfaces your pets lick or sleep on.
Before using any new essential oil spray on your skin, dab a small amount on the inside of your wrist and wait 15 to 20 minutes. If you see redness, itching, or irritation, dilute the recipe further or switch to a different oil.