How to Get Rid of Gnats in Your Home

Gnats are common indoor pests commonly found around houseplants. They do not bite or spread diseases and are not harmful to humans or pets. However, they can become a nuisance when swarming around your face, food, and living spaces. Gnat larvae can even cause plant damage. They also reproduce quickly, so it’s important to take immediate action to eliminate them and avoid an infestation. So, how do you get rid of gnats in your home?
What Are Gnats?
Gnats are a group name for two-winged flying insects that can be both biting and non-biting. There are several different kinds of gnats. But there are also plenty of insect-like pests that can be easily mistaken for gnats. Knowing what kind of gnat or pest you’re dealing with makes it easier to determine the right removal method. Some common types of gnats in the home include:
- Drain flies: These gnats, called drain flies , are small (about 1/8 of an inch) and commonly found around fixture drains or floor drains. These pesky insects thrive in moist environments with decaying matter.
- Fruit flies: Commonly found in the kitchen among rotting fruit or fermented items like kombucha, fruit flies are tiny, tan-grey, with red eyes. They can also sometimes be found in bathrooms .
- Biting gnats: Often mistaken for mosquitoes, biting gnats cause small, red, irritating bites on the skin. Also, only about 1/8 and 1/4 inch long (4 to 7 mm), these insects can be found near trash bins, rotten food, and other places with moist, decaying organic matter.
- Fungus gnats: These non-biters are also generally between 1/8 and 1/4 an inch long and can be brown, black, or yellowish. They are active outdoors in the summer in shady, moist environments and indoors year-round, where they enjoy houseplants where they feed and breed.

How to Get Rid of Gnats

Address Moist Soil
Wet soil is an attractant for many pests. If the soil in or around your home tends to be overly moist, let it dry out between waterings to discourage gnats and other pests. You can also try killing off any larvae in houseplants by digging down 2 to 3 inches and turning the top of the soil over. Then, allow the soil to dry out and place 1 to 2 inches of sand on top to discourage standing water and deter gnats from laying eggs.
Install Bug Zappers
Bug zappers can be installed inside and outside to discourage gnats. Interior light traps will help keep inside gnats and other nuisance pest populations manageable. Exterior light traps can help prevent gnats outdoors from entering your home in the first place, but they must be brighter and more exciting to the pests outside than the lights inside your home.
Clean Organic Material
Gnats and many of their lookalikes are attracted to rotting organic materials. Whether it's damp potting soil, plant matter, scummy residue in drain pipes, or rotting food in a compost bin, these food sources must be addressed to get a handle on any gnat issue. Don't overwater your soil; clean drains with a stiff scrub brush and drain cleaner, and ensure your compost bin has a tight lid.
Make Vinegar Traps
Vinegar traps can be an effective way to get rid of gnats in your home. There are a few vinegar trap variations to try. Pour apple cider vinegar into a jar or bowl and add a drop of dish soap to keep the gnats trapped. Place it in an area where gnats are concentrated. Alternatively, mix vinegar (apple cider or white) and some sugar in a bowl or jar and cover it with plastic wrap. Use a utensil and poke little holes to let the gnats in but not out. Set as many traps as needed if there are multiple infested areas.
Use Drain Cleaners
For drain flies, this problem can be solved by adequately cleaning drains manually and with a cleansing bleach. Pouring bleach or drain cleaner will kill adult pests but not the larvae. Eliminate the feeding and breeding source by scrubbing the drain thoroughly with a cleaner and a stiff scrub brush.
Place Sticky Paper
Store-bought sticky paper and traps work much like a vinegar trap in attracting and trapping gnats. These can be placed outdoors or indoors and near areas where gnats are concentrated, like kitchens or potted plants.
Trap With Fruit
If you do have fruit that’s going bad and no vinegar, you can make an effective fruit trap for gnats. Place the fruit in a jar or bowl and cover it tightly with plastic wrap. Poke tiny holes with a utensil so the gnats get in but can’t get out.
Create a Wine Trap
Similar to the other homemade traps, souring wine can work well too. Pour wine that’s past its prime into a jar or bowl. Either cover with plastic film and poke holes or mix with a few drops of dish soap and let the trap work its magic on the gnats.
Repot Plants
Protect your plants from gnats by repotting them. Prepare a clean pot with new soil (don’t reuse the soil as it could be contaminated with larvae). Remove the plant and brush off as much of the soil as possible from the roots. Then, transfer it to the new and prepped pot, adding as much fresh soil as necessary. It’s also a good idea to relocate the plant away from where the gnats were previously congregating.
Reduce Watering
If you have houseplants, ensure they are not being overwatered, as this creates a year-round breeding and feeding source inside your home for gnats and other pests. Keep them in a sunny place to dry out. Reduce watering frequency to prevent overwatering and soggy soil.
What Causes Gnats in the House?
Gnats and small flies that appear inside homes are drawn to rotting organic matter, which they use for both a feeding and breeding site. You will want to address as many of these sources as you can to get rid of them.
When determining what type of tiny flying pest is invading your home, start by asking yourself the following questions:
- Where are you finding them most?
- What might they feed on?
- Where could they be finding water?
How to Prevent Gnats in Your Home
Here are some ways to keep your home clean and prevent gnats:
- Keep all food sealed in cabinets or the refrigerator
- Take out the trash every day
- Use a trash can with a tight lid
- Address plumbing leaks
- Seal cracks and crevices
- Clean up outdoor debris that can hold moisture
- Water houseplants less frequently
- Clean drains regularly
- Use a dehumidifier

When to Call a Professional
Interior gnat and fly issues will likely go away once the feeding or breeding ground is found and removed. If you are having trouble finding where the gnats or flies are coming from, call a professional integrated pest management specialist to help you deal with the problem.
Frequently Asked Questions
Is it dangerous to have gnats in your house?
Gnats in your house are typically more of a nuisance than a danger. However, biting gnats may leave small marks on your skin, and fungus gnats can cause harm to houseplants.
How do you get rid of gnats fast?
The fastest way to get rid of gnats is to set traps. These traps use vinegar, wine, fruit, or sticky paper to lure and eliminate gnats.
Will gnats go away on their own?
Gnats will not go away on their own if the source of what attracts them remains. Find what's drawing them, address it, and the issue should resolve itself.
What smell do gnats hate?
Gnats hate many natural scents, like eucalyptus, citronella, lemon, peppermint, vanilla, and lavender.
Source: https://www.thespruce.com/how-to-get-rid-of-gnats-in-your-home-5207918