As Amazon affiliates we may earn a commission if you purchase a product at no cost to you.

Gnats can be downright pesky little creatures that seem to have a knack for turning a pleasant outdoor experience into an itchy, irritating nightmare. Whether you're picnicking in the park, enjoying a barbecue in your backyard, or simply trying to relax on your porch, gnats have a way of buzzing around your face and leaving you swatting and scratching. But fear not! There are ways to fend off these annoying insects, and it all boils down to one question: What chemicals repel gnats?

In this article, we'll dive deep into the world of gnats, exploring the various chemicals and substances that can effectively keep them at bay. From essential oils to commercial repellents, we've got you covered with tips, tricks, and some fascinating gnat-beating science. So, let's roll up our sleeves and learn how to say "gnat-off" to those little buggers!

Understanding Gnats: The Nuisance Bugs

Before we delve into the chemicals that can send gnats packing, let's take a moment to understand our minuscule adversaries.

What Are Gnats, Anyway?

Gnats are tiny, flying insects that belong to the Diptera order. They are often confused with other small flying insects like fruit flies and mosquitoes, but gnats have their distinct characteristics. Here's what you need to know about them:

  • Appearance: Gnats are usually less than 1/8 inch (3 mm) in size, making them quite hard to spot individually. They come in various colors, including black, brown, and even yellow.
  • Lifecycle: Gnats undergo a four-stage life cycle: egg, larva, pupa, and adult. The adult stage is the one we're most familiar with, characterized by their flying and swarming behavior.
  • Habitat: These tiny terrors can be found in various habitats, including moist soil, decaying organic matter, and even around bodies of water. Some species are also attracted to overripe fruits and vegetables.

The Gnat Conundrum

Now that we know what gnats are, let's address the real issue: their irritating presence and the burning question—how do we get rid of them?

Gnats are attracted to carbon dioxide, warmth, and moisture, which is why they often target humans and animals as their hosts. When they gather in large swarms, they can be more than just annoying; they can disrupt outdoor activities and even ruin a pleasant evening.

But fret not! The right chemicals can act as a formidable barrier between you and these pesky gnats. Let's explore some of the most effective options.

A bottle of gnat repellent.
A bottle of gnat repellent.

Chemicals That Repel Gnats

When it comes to spray for gnats, various chemicals and natural substances can work wonders. Here's a breakdown of the top contenders:

DEET: The Classic Gnat Repellent

DEET (N, N-Diethyl-meta-toluamide) is a tried-and-true chemical compound known for its effectiveness against a wide range of insects, including gnats. It's commonly found in many commercial insect-repellent products.

How DEET Works:

  • DEET confuses the gnats' olfactory receptors, making it challenging for them to detect the carbon dioxide and body heat emitted by humans and animals.

Pros of DEET:

  • Highly effective against gnats and a variety of other insects.
  • Long-lasting protection.
  • Available in various formulations, including sprays, lotions, and wipes.

Cons of DEET:

  • Some people may experience skin irritation or allergic reactions.
  • DEET has a strong smell that some find unpleasant.

Picaridin: A DEET Alternative

Picaridin is another chemical compound that has gained popularity as a gnat repellent, especially for those who prefer an alternative to DEET.

How Picaridin Works:

  • Like DEET, picaridin confuses the gnats' senses, making it difficult for them to locate potential hosts.

Pros of Picaridin:

  • Effective against gnats and a wide range of insects.
  • Odorless or with a mild scent.
  • Less likely to cause skin irritation compared to DEET.

Cons of Picaridin:

  • While generally safe, some people may still experience skin reactions.

Essential Oils: Nature's Gnat Repellent

If you're looking for a more natural approach to gnat repellent, essential oils can be a fantastic choice. Several essential oils are known for their gnat-repelling properties.

Essential Oils That Repel Gnats:

  • Citronella oil
  • Lemon eucalyptus oil
  • Peppermint oil
  • Lavender oil

How Essential Oils Work:

  • Essential oils emit fragrances that gnats find unpleasant or confusing, deterring them from approaching.

Pros of Essential Oils:

  • Natural and chemical-free option.
  • Pleasant scents for humans.
  • Versatile and can be used in various ways, such as in candles, diffusers, or as a topical spray.

Cons of Essential Oils:

  • Shorter-lasting protection compared to chemical repellents.
  • Frequent reapplication may be necessary.

Neem Oil: The Organic Gnat Fighter

Neem oil is an organic product derived from the seeds of the neem tree (Azadirachta indica). It has been used for centuries in traditional medicine and pest control.

How Neem Oil Works:

  • Neem oil contains compounds that repel gnats and other insects. It can also disrupt their reproductive cycle.

Pros of Neem Oil:

  • Organic and environmentally friendly.
  • Can be used on plants to deter gnats from infesting them.
  • Safe for humans and pets.

Cons of Neem Oil:

  • Has a strong, pungent odor that some may find unpleasant.
Bottles of chemical oil gnat repellent.
Bottles of chemical oil gnat repellent.

DIY Gnat-Repelling Solutions

If you're the DIY type or prefer to know exactly what goes into your gnat repellent, here are a couple of recipes using the chemicals and substances we've discussed:

DIY Essential Oil Gnat Repellent Spray


  • 10-15 drops of your chosen essential oil (e.g., citronella, lemon eucalyptus, or peppermint)
  • 2 tablespoons of carrier oil (e.g., coconut oil or jojoba oil)
  • 1 cup of water


  1. Mix the essential oil and carrier oil in a small bowl.
  2. Add the water and stir well.
  3. Pour the mixture into a spray bottle.
  4. Shake before each use and apply it to your skin and clothing.

DIY Neem Oil Gnat Repellent for Plants


  • 1 teaspoon of neem oil
  • A few drops of dish soap
  • 1 quart of water


  1. Mix the neem oil, dish soap, and water in a spray bottle.
  2. Shake the bottle well to ensure the ingredients are thoroughly combined.
  3. Spray the solution onto your plants, paying extra attention to the undersides of leaves and stems.

Frequently Asked Questions FAQs

Are these chemicals safe for children and pets?

DEET and picaridin are generally safe when used as directed, but it's essential to follow the product's instructions and avoid applying them to children's hands, which they might put in their mouths. Essential oils and neem oil are safer alternatives for kids and pets.

How often should I reapply gnat repellents?

The frequency of reapplication depends on the product you're using. Chemical repellents like DEET and picaridin typically last longer and may require reapplication every few hours. Essential oil-based repellents may need more frequent reapplication, every 1-2 hours, for optimal effectiveness.

Can I use essential oils directly on my skin?

It's generally recommended to dilute essential oils with a carrier oil before applying them to your skin. This helps prevent skin irritation and ensures even distribution.


So, there you have it—your comprehensive guide on what chemicals repel gnats and how to keep these tiny terrors at bay. Whether you opt for the tried-and-true DEET, the gentler picaridin, the aromatic essential oils, or the organic neem oil, you now know how to enjoy your outdoor adventures without the constant gnat-induced swatting and itching.

Remember to choose a repellent that suits your preferences and needs, whether you prioritize effectiveness, scent, or environmental impact. With the right gnat repellent on your side, you can reclaim your outdoor spaces and say goodbye to those persistent little buzzers. So, go ahead, enjoy the great outdoors, and let the gnats find someone else to bother!