Pest problems
Gnat infestation: what it means and what to do
Indoor gnats breed in moisture: wet potting soil or the slime inside a drain. Dry out the source and they fade away.
Find a Pest Control Company What it costs
Written by HyrePest Research Desk Primary-source research and fact checking
The short answer
A gnat infestation in the house usually means fungus gnats breeding in damp potting soil or drain flies breeding in the slime inside sink and shower drains.
UC IPM says fungus gnats thrive in moist conditions and drain flies develop in decaying matter in drains, so the fix is drying soil and cleaning drains, not spraying.
Key takeaways
UC IPM says they commonly infest potted plants.
UC IPM says they rest with wings held roof-like over their backs.
UC IPM says adult fungus gnats do not bite people, and drain flies do not bite people or animals.
UC IPM advises against overwatering houseplants.
What does a gnat infestation usually mean?
Where they rest tells you which gnat and which source.
Fungus gnats. UC IPM says they are often 1/16 to 1/8 inch and are drawn to light.
UC IPM says fungus gnat larvae can leave slime trails.
Drain flies, about 1/8 inch with hairy wings, making short hopping flights.
UC IPM says very large numbers point to a breeding site bigger than a few indoor drains.
More likely fruit flies. See fruit fly infestation.
What to check today
Test the two likely sources.
Is it wet on top most of the time? Look for larvae near the surface.
Tape a clear bag over a drain overnight. Flies inside point to that drain.
Guest showers and floor drains build slime.
Under sinks, behind toilets, wet crawl spaces.
UC IPM says fungus gnats also breed in compost and wet mulch.
Safe first steps
Dry it, clean it, trap it.
Water less and make sure pots drain. UC IPM says to avoid overwatering and give good drainage.
UC IPM says the key to drain flies is removing breeding sites. Scrub the slime out with a brush.
Near plants to catch adult fungus gnats.
Any constant moisture can breed gnats.
Sprays kill adults but not the larvae in soil or drains.
When to call a licensed company
Most gnat problems end with drier soil and clean drains. Call a company when gnats persist after cleaning, when you see very large numbers, or when a hidden leak or broken pipe may be the source.
A plumber may be needed for broken lines. Price depends on finding the source; see what pest control costs.
What to ask the company
Are these fungus gnats or drain flies?
Where are they breeding?
Could a broken pipe be the source?
Your inquiry
Tell us about the work
Three short steps: the job, your home, and how to reach you. Nothing goes to a pest control company unless you agree.
Free, with no obligation: a person at HyrePest reads it and replies. Matching is not live yet, so this is not a quote or a dispatch line. For an active problem today, call local pest control companies directly and check their license first.
Find a Pest Control Company
Tell us what you have seen and where you are. A person at HyrePest reads it and replies about the next step.
Questions
Why do I have gnats in my house?
Do gnats bite?
How long does it take to get rid of gnats?
Are gnats harmful to plants?
Gnats or fruit flies?
Written and audited by
HyrePest Research Desk
Primary-source research and fact checking
We are not a pest control company. We read the pesticide label rule, the agency guidance and the state board record ourselves, and publish each point with its source and the date we retrieved it.
Where a claim cannot be traced to a primary source, we leave it out and say so. We hold no dataset of pest control prices, so we publish no average price.
- 25
- primary-source pages (EPA, CDC, eCFR, state boards) behind the fact base
- 7
- common claims we checked, could not verify, and do not repeat
- 10
- calculators that use your numbers, not a national average
- 0
- average prices published, because we hold no price data
How this desk works
- Primary sources only. Label law comes from FIFRA and 40 CFR 156, safety guidance from EPA and CDC, licensing from the state board that issues the license. We do not cite an article that cites a source.
- Every figure carries its retrieval date. Agency pages and board rules change. A statement without the date it was read cannot be checked.
- Identify before treating. We describe what separates one pest from another and what a good inspection looks at. We never diagnose a species from a description, and we never give pesticide application instructions.
- What we could not verify is published too. Claims that circulate widely but trace to no current primary source are listed and left out of the pages.
Authorship on this site is organizational: the analysis belongs to the desk rather than to a named individual, and we do not publish credentials we do not hold. Our editorial policy sets out how we source, date and correct what we publish.
Sources & retrieval dates
Information on this page is general and varies by species, region, construction and your own circumstances. It is not pesticide application advice, and a pesticide label is a legally binding instruction that takes precedence over anything written here.
HyrePest is not a pest control company: we inspect nothing, treat nothing, apply no pesticide and bond no structure. This page explains the work so you can read a proposal and judge the company that wrote it.