Those tiny, mosquito-like bugs flying around your house are almost certainly not mosquitoes. They’re most likely fungus gnats, drain flies, or non-biting midges, all of which are harmless but annoying. The good news: none of these common lookalikes bite or spread disease. The better news: once you figure out which one you’re dealing with, they’re straightforward to eliminate.
How to Tell What You’re Looking At
Several species of small flies look strikingly similar to mosquitoes, with long legs, slender bodies, and translucent wings. The key differences come down to size, shape, and where you spot them in your home.
Fungus gnats are the most common culprit. They’re tiny (about 1/16 to 1/8 inch long), dark-bodied, and delicate-looking with long segmented antennae and light gray to clear wings. You’ll typically notice them hovering near potted plants, running across the surface of soil, or flying weakly toward windows. They’re poor fliers and tend to stay close to wherever they hatched. They don’t bite.
Drain flies are about 2mm long, gray, and fuzzy with a distinctive moth-like appearance. Their wings are broad and held roof-like over their body, which makes them look less like mosquitoes up close but easy to confuse at a glance. You’ll find them near bathroom sinks, shower drains, or any drain that hasn’t been cleaned in a while. They also don’t bite.
Non-biting midges are the closest visual match to mosquitoes. They can be a quarter to half an inch long, grayish-black, with long legs and long antennae. They look almost exactly like mosquitoes but hold their front legs differently and lack the needle-like mouthpart mosquitoes use to pierce skin. They’re strongly attracted to light and often show up near windows or lamps at night.
Crane flies are the giant version of this confusion. They look like oversized mosquitoes with extremely long, spindly legs, but they’re completely harmless. They wander indoors because they’re attracted to lights and sometimes get stuck against screens.
Where They’re Coming From
Each of these insects breeds in a different spot in your home, and identifying the source is the single most important step in getting rid of them.
Fungus gnats breed in moist soil. Indoor infestations are almost always connected to potted plants, especially overwatered ones. Females lay eggs in damp organic material, and the larvae (tiny, white, legless worms with shiny black heads) feed on fungi, decaying organic matter, and root hairs in the soil for about 12 to 14 days before emerging as adults. If you have houseplants and you’re seeing small flies near windows, this is your most likely source.
Drain flies breed in the slimy organic buildup that accumulates inside drains. That gelatinous layer of gunk lining your shower drain or kitchen sink pipe is a perfect nursery. Females lay eggs directly in this material, and the larvae develop inside the drain where you can’t see them. If the bugs are concentrated in your bathroom or near a kitchen sink you don’t use often, drains are the likely culprit.
Non-biting midges typically breed outdoors in moist, decaying organic matter, then fly inside through open doors or windows, drawn by indoor lighting. They don’t usually establish breeding populations inside your house, so their presence is more of a seasonal nuisance than an ongoing infestation.
Getting Rid of Fungus Gnats
The goal is simple: dry out their breeding site. Let the top inch or two of soil in your potted plants dry completely between waterings. Fungus gnat larvae need consistently moist conditions to survive, and letting the soil surface dry out breaks their life cycle. This alone solves most minor infestations within a couple of weeks.
For heavier infestations, you can speed things up. Yellow sticky traps placed near the soil surface catch adults before they can lay more eggs. A layer of coarse sand or decorative gravel on top of the potting mix creates a dry barrier that discourages egg-laying. If you suspect the soil itself is heavily infested, repotting the plant with fresh, sterile potting mix removes the larvae entirely. Also check for other moist organic sources: compost bins, bags of potting soil stored in a garage, even a forgotten bag of fruit or vegetables can serve as a breeding ground.
Getting Rid of Drain Flies
Killing the adult flies won’t solve anything. Aerosol “flying insect” sprays are largely ineffective, and sticky traps or UV light traps will capture a few adults but won’t stop the infestation. The larvae’s food source inside the drain has to be physically removed.
First, confirm which drain is the problem. Place a piece of clear tape over each suspect drain at night, sticky side down, leaving enough space around the edges for airflow. In the morning, check for tiny flies stuck to the underside. You can also coat the inside of a clear glass or plastic cup with petroleum jelly and set it upside down over the drain opening overnight to trap emerging adults.
Once you’ve identified the drain, clean it thoroughly. A stiff drain brush combined with a drain-cleaning product that breaks down organic buildup is the standard approach. Foaming drain cleaners are particularly useful because they coat the inside walls of the pipe where the gelatinous scum accumulates. For stubborn cases, a professional high-pressure drain cleaning service can clear organic material through the entire length of the pipe.
One important note: don’t pour pesticides or bleach down the drain as a shortcut. No insecticide products are registered for use in drains or sewer systems, and pouring them down can damage your septic system or plumbing without actually reaching the larvae.
Keeping Them Out of Your House
For bugs that breed indoors (fungus gnats and drain flies), prevention is about moisture control. Water houseplants only when they need it, not on a schedule. Clean drains periodically, especially ones that don’t get daily use, since standing water and slow buildup in guest bathroom drains or basement floor drains are common overlooked breeding sites.
For bugs that breed outdoors and fly in (midges, crane flies, and others attracted to light), physical exclusion is your best tool. Make sure window screens are intact and free of tears. Seal gaps and cracks around window frames and door frames. Switch outdoor lights near entry points to warm-colored bulbs, which are less attractive to flying insects than bright white or blue-toned lights. At night, using curtains or blinds reduces the amount of indoor light visible from outside, which cuts down on the number of insects gathering at your windows. Keeping compost bins and trash cans away from windows and doors also helps.
Are They Harmful?
None of the common mosquito lookalikes found indoors bite humans or transmit diseases. Fungus gnats, drain flies, non-biting midges, and crane flies are all nuisance pests only. The adults land on people, food, and surfaces, which is irritating but not dangerous. Fungus gnat larvae can damage plant roots in large numbers, potentially harming seedlings or delicate houseplants, but they pose no risk to human health. If you’re getting actual bites, you may be dealing with real mosquitoes (check for standing water in plant saucers, pet bowls, or clogged gutters) or possibly biting midges, which are extremely tiny and typically an outdoor problem.