Gnats usually appear out of nowhere because you have a hidden moisture problem or decaying organic matter. A few stray bugs can quickly multiply into a full swarm because female gnats can lay hundreds of eggs in damp areas.
Gnats are drawn indoors by moisture, food residue, and organic material. So if you're finding a lot of gnats in your house, it's likely they've found something they like — such as overwatered houseplants, uncovered fruit, rotting produce in trash, or clogged drains.
To permanently get rid of gnats, you must attack them at their source: eliminate the breeding grounds, break their reproductive cycle, and trap the remaining adults. The most effective methods target their specific habitats—houseplants and drains—using simple household solutions and targeted treatments.
To eliminate 100% of a gnat infestation, you must break their breeding cycle by treating the adults and eliminating their source. Use a DIY apple cider vinegar trap for adults and fix the source: let your plant soil dry out or treat it with a hydrogen peroxide mix.
To get rid of gnats when you cannot find the source, set up apple cider vinegar (ACV) traps with dish soap to catch adults and treat all household drains with boiling water or a baking soda/vinegar mix to destroy breeding grounds. Use yellow sticky traps near houseplants, which are common, hidden breeding sources.
Gnats don't typically build traditional nests. Instead, they lay their eggs in damp, decaying organic matter—most commonly overwatered houseplant soil, stagnant drains, fruit bowls, or hidden leaks. To locate their primary breeding grounds, follow the steps below.
Gnats are highly repelled by strong, pungent botanical scents. Their absolute least favorite smells include:
Fast Ways to Get Rid of Gnats
Gnats are most active during the warmer months, specifically from late spring to early fall (peaking in May through September). They thrive in warm, humid weather and are especially prevalent following periods of heavy rain or drought, as standing water and wet soil create the ideal breeding grounds.
In the Bible, gnats appear in both the Old and New Testaments as symbols of God's supreme power, human frailty, and religious hypocrisy.
The fastest way to kill gnats instantly is with a DIY contact spray. Mix a few drops of liquid dish soap with water in a spray bottle and spritz the gnats in the air or on surfaces. For non-plant areas, a diluted bleach solution (1 part bleach to 10 parts water) poured directly down drains instantly kills gnats and their larvae.
In addition to seeing adult gnats flying around, you may see symptoms of this infestation in your plants, including sudden wilting, loss of vigor, poor growth, and yellowing. Any plant is a target, but African violets, geraniums, carnations, cyclamens, and poinsettias are especially prone to attack.
Adult fungus gnats live for about 7 to 10 days. However, the entire life cycle (egg, larva, pupa, and adult) takes about 3 to 4 weeks. Because they reproduce quickly, multiple overlapping generations can cause an infestation to linger indoors.
While gnats are generally harmless to human health, a large infestation is highly annoying and often indicates an underlying issue in your home, such as overwatered houseplants or rotting food. Getting rid of them requires addressing their specific breeding grounds.
Gnats lay their eggs in damp, moist environments containing organic matter. Depending on the species, the specific location varies:
Yes, certain types of gnats—specifically drain flies (sometimes called sewer gnats) and some fruit flies—live and breed in drains. They thrive in the moist, decaying organic matter (slime, hair, and food particles) that builds up inside sink and shower pipes.
Fungus gnats are found throughout the United States and on other continents. They are usually found where there are plants and moisture. These pests are most noticed during late fall and winter, mostly due to plants being brought indoors, out of cold weather.
No, gnats do not lay eggs in human hair. Common household gnats (like fungus gnats) are completely harmless to your scalp and exclusively lay their eggs in damp environments like moist potting soil, compost, or decaying organic matter.
Yes, you can get rid of fungus gnats completely by breaking their life cycle. To eliminate an active infestation, you must simultaneously kill the flying adults and the larvae living in the soil over a 2 to 3 week period.
The "best" gnat killer depends on where your infestation is located. For indoor houseplants, a 3% hydrogen peroxide soil drench is best; for general indoor flying gnats, DIY traps or UV plug-in traps are ideal; and for outdoors, broad-spectrum barrier sprays are most effective.
A sudden housefly infestation often happens after bringing home food, missing a trash day, or dealing with plumbing problems. Flies get in through small gaps around windows, doors, or vents. Once inside, they're drawn to moisture, rotting food, dirty drains, pet waste, and even damp houseplants.
Temperatures above 115∘F115 raised to the composed with power F115∘F (46∘C46 raised to the composed with power C46∘C) are required to kill gnat eggs. To eliminate the entire infestation cycle, higher heat is needed: larvae die above 125∘F125 raised to the composed with power F125∘F (51∘C51 raised to the composed with power C51∘C), and adult gnats are killed above 135∘F135 raised to the composed with power F135∘F (57∘C57 raised to the composed with power C57∘C). Freezing is generally ineffective, as these resilient pests can survive sub-zero temperatures.
Yes, anecdotal evidence suggests Vicks VapoRub can help deter black flies in the immediate area where it is applied. Its active ingredients—menthol, camphor, and eucalyptus—produce strong scents that confuse and repel many insects. However, its effectiveness is highly localized, temporary, and less reliable than standard commercial repellents.
Yes, dryer sheets can repel certain gnats, but they are not a permanent or foolproof solution.