Adult Gnats in the House: Causes, Traps, and Prevention

Adult gnats are tiny flies, typically 1/16 to 1/8 inch long, that show up indoors around houseplants, kitchen fruit, or sink drains. The term “gnat” covers several different species, and identifying which one you’re dealing with is the first step to getting rid of them. Most indoor gnats don’t bite, live only about a week as adults, and are more of a nuisance than a health threat. But a single female can lay up to 200 eggs in that short lifespan, which is why a few gnats can turn into a swarm seemingly overnight.

Common Types of Indoor Gnats

Three species account for the vast majority of indoor gnat problems, and each one breeds in a different spot in your home.

Fungus gnats are the most common houseplant pest. They’re dark-bodied, delicate flies attracted to light, so you’ll usually notice them first near windows. Their larvae live in moist potting soil, feeding on organic matter, root hairs, and fungi. If you see tiny flies hovering around your plant pots, these are almost certainly what you have.

Fruit flies are tan or brownish with distinctive red eyes. They’re drawn to ripening fruit, fermented liquids, and anything giving off the smell of acetic acid and ethanol. A forgotten banana or an open bottle of wine is enough to start a population boom in your kitchen.

Drain flies (sometimes called moth flies) are fuzzy, moth-shaped, and tend to rest on bathroom or kitchen walls near sinks. Their larvae feed on the organic film that builds up inside drain pipes. If you see small flies that look almost furry near a drain you don’t use often, that’s your culprit.

Why Gnats Appear in Your Home

Every indoor gnat problem traces back to moisture and organic material. Fungus gnats thrive in consistently wet soil, and overwatering houseplants is the single biggest trigger. Using incompletely composted organic matter in potting mix is another common source, since the material often arrives already infested with eggs or larvae. Fertilizing heavily with manure, blood meal, or similar organic amendments also creates ideal breeding conditions.

Fruit flies need fermenting food. A bowl of bananas on the counter, a recycling bin with beer cans, or even a damp mop head can sustain them. Drain flies need standing water and the slimy organic buildup inside pipes, which is why they favor floor drains, shower drains, and sinks that don’t get daily use.

How Fast They Reproduce

Adult fungus gnats live only seven to ten days. In that window, a single female deposits up to 200 eggs in moist soil or organic debris. The eggs hatch into soil-dwelling larvae that feed for a couple of weeks before pupating and emerging as new adults. Under typical room temperatures, the full cycle from egg to adult takes roughly three to four weeks, and multiple generations can overlap. This is why you can go from noticing a couple of gnats to dealing with dozens within a month if the breeding site isn’t addressed.

Do Adult Gnats Bite?

Fungus gnats, fruit flies, and drain flies do not bite. They’re strictly a nuisance indoors. However, one group commonly called gnats does bite: biting midges, also known as no-see-ums or sand gnats. These are outdoor pests found near swamps, marshes, ponds, and stream edges. At roughly 1/16 inch, they’re so small that most people never see them feeding. Females bite early and late in the day, leaving itchy, raised welts similar to mosquito bites.

Another outdoor species worth knowing about is the eye gnat, a non-biting fly that swarms around the eyes, nose, and ears of humans and animals. Eye gnats don’t bite, but they can mechanically spread bacteria. They’ve been linked to pink eye (acute conjunctivitis) when they land on a person’s eye carrying the responsible bacteria.

How to Trap Adult Gnats

Traps catch the adults you can see, which slows egg-laying while you deal with the breeding source. The best trap depends on which gnat you’re targeting.

Yellow sticky traps are the most effective option for fungus gnats. The yellow color mimics the light wavelength reflected by stressed plant tissue (around 580 nanometers), which fungus gnats instinctively fly toward. Place the sticky cards just above the soil surface of affected plants. Penn State Extension and Colorado State Extension both recommend yellow sticky cards as a primary tool for reducing flying fungus gnat populations.

Apple cider vinegar traps work well for fruit flies but poorly for fungus gnats. The vinegar mimics the smell of fermenting fruit, which fruit flies interpret as a food and egg-laying site. The key trick: add a few drops of dish soap to break the surface tension of the liquid. Without soap, flies can land on the surface and take off again. With soap, they break through and drown. A small bowl of vinegar with soap near your fruit bowl or kitchen sink can outperform expensive gadgets for kitchen fruit flies.

UV light traps attract house flies and mosquitoes effectively but are weaker against fungus gnats, which orient by yellow color rather than ultraviolet light. If your problem is specifically fungus gnats, skip the UV trap and go with sticky cards.

Eliminating the Breeding Source

Traps alone won’t solve a gnat problem because they only catch adults. The larvae developing in soil, drains, or rotting food are the real engine of the infestation. You need to cut off reproduction at the source.

For Fungus Gnats in Houseplant Soil

Let the top one to two inches of soil dry out completely between waterings. This makes the surface inhospitable for egg-laying and kills young larvae that need constant moisture. If your plants are sensitive to drying out from the top, switch temporarily to bottom-watering by placing pots in a tray of water and letting the soil absorb moisture upward. This keeps the surface layer dry while the roots still get what they need.

For a more active approach, a hydrogen peroxide drench kills larvae on contact without harming plants. Mix one part standard 3% hydrogen peroxide with four parts water and pour it through the soil. It will fizz as it works. Let the soil dry afterward.

The most effective long-term treatment is a biological larvicide containing Bacillus thuringiensis israelensis (BTI), a naturally occurring bacteria that kills gnat and mosquito larvae. You’ll find BTI products at garden centers or online. The adults will keep flying for a while after treatment since BTI doesn’t affect them, but it destroys the larvae in the soil. After four to five weeks, the population drops off sharply as no new adults emerge. It’s safe around people and pets, making it practical for indoor use. Reapply if you spot new adults later.

For Drain Flies

The breeding site is the organic film coating the inside of your pipes. Pouring bleach down the drain rarely works because it flows past the buildup too quickly. Enzyme-based drain cleaners are more effective because their gel formulations cling to pipe walls and digest the organic layer where larvae feed and develop. Removing that biofilm eliminates the breeding ground entirely. For stubborn cases, physically scrubbing the drain with a stiff brush reaches what liquid cleaners can’t.

For Fruit Flies

Remove the food source. Store ripe fruit in the refrigerator, clean up spills, empty compost bins frequently, and rinse recycling containers. Fruit flies can breed in surprisingly small amounts of fermenting material, so check for overlooked sources like a potato that rolled behind a bin or a damp sponge.

Preventing Gnats From Coming Back

Prevention is simpler than treatment. For houseplants, avoid overwatering and make sure pots have proper drainage. Don’t use incompletely composted organic material in potting mixes unless it’s been pasteurized, since it often carries fungus gnat eggs. Go easy on organic fertilizers like manure and blood meal, which create the damp, nutrient-rich conditions gnats love.

For kitchens, keep fruit stored or covered once it starts to ripen, and run water through rarely used drains at least once a week to prevent biofilm buildup. Small habit changes in watering and food storage are usually enough to keep gnats from becoming a recurring problem.