Types of Small Flying Bugs and How to Tell Them Apart
In this article
Start with the fungus gnat if you see tiny dark flies hovering around a houseplant or the kitchen sink: it is the most common small flying insect indoors, and the fix is usually letting the potting soil dry out between waterings. If the insects bite, look at drain flies, phorid flies and biting midges instead. The list below separates the usual suspects by where you see them, what they look like and what actually stops them.
Indoor Plant and Drain Flies
1. Fungus gnats
Small, dark, mosquito-like flies about 1/16 to 1/8 inch (2-3 mm) long with long legs and a slender body. They hover in a loose cloud near pots and rest on soil and leaves. The adults are harmless; the larvae live in wet potting mix and feed on fungi and fine roots. Let the top 1-2 inches of soil dry out completely between waterings, water from the bottom, and repot into fresh mix if the population is heavy. Yellow sticky traps catch adults but do not stop the cycle. Expect two to four weeks of consistent drying before the numbers collapse.
2. Drain flies (moth flies)
Fuzzy, moth-like insects about 1/8 inch (3 mm) long with broad hairy wings held in a heart shape. They appear on bathroom and kitchen walls near drains and sit still until disturbed. The larvae live in the slime layer inside the drain pipe. Clean the drain with a stiff brush and a mild detergent, and remove standing water and biofilm from the overflow hole and the trap. Pouring insecticide down the drain rarely works because it does not remove the film. Give it about a week of daily cleaning to judge whether the count is falling.
3. Phorid flies
Tiny humpbacked flies, about 1/16 inch (1.5-2 mm), that run in short jerks across a surface rather than flying far. They breed in decaying organic matter: a wet mop head, a leaking pipe under the sink, a forgotten potato, a compost bucket. Find and remove the source rather than spraying the adults. Check under appliances and inside the cabinet under the sink for damp patches. Once the breeding site is gone, adults disappear within about a week.
4. Fruit flies
About 1/8 inch (3 mm) with red eyes and a tan body, circling ripe fruit, onions, beer bottles and recycling bins. They lay eggs on fermenting surfaces. Refrigerate ripe fruit, rinse bottles before recycling, and set a small dish of cider vinegar with a drop of dish soap next to the bin; the soap breaks surface tension so the flies sink. Empty the trap every two days. A kitchen with an active infestation usually clears in 7-10 days once the food sources are sealed.
5. Small wasps at the window
If the flying insects are 1/8 to 1/4 inch (3-6 mm), dark, and appear at a window in late summer, they may be parasitic wasps that emerged from a host insect indoors, or fig wasps if figs are in the house. They do not sting people. Open the window, let them out, and check houseplants for scale or aphids, which are the usual hosts. No treatment is needed beyond removing the infested plant material.
Outdoor Biters and Swarmers
6. Biting midges (no-see-ums)
Extremely small, 1/32 to 1/8 inch (1-3 mm), grey or black, and nearly invisible until they land. The bite is sharp and itchy and often appears on ankles, wrists and the neckline. They are worst near water and damp soil at dawn and dusk. Wear long sleeves and trousers, use an EPA-registered repellent on exposed skin, and fit window screens with a mesh fine enough to block them; standard insect mesh may not. A fan on a porch moves enough air to keep them off a seated person.
7. Mosquitoes
Larger than midges, about 1/4 to 3/8 inch (6-10 mm), with a long proboscis and a whining flight. Only females bite. Empty any container that holds water for more than a few days: buckets, plant saucers, gutters, tarps. Standing water is the whole story; a saucer emptied weekly breaks the cycle. Repellent with an EPA-registered active ingredient and long sleeves at dusk do the rest.
8. Sand flies
Hairy, pale-brown flies about 1/8 inch (2-3 mm) that hold their wings in a V over the body and hop rather than fly when disturbed. They bite at dusk near sandy soil and animal burrows. Avoid sitting on dry sand after sunset, use repellent, and keep screens in good repair. Their bites leave small red bumps that itch for days.
9. Small bees and wasps
Sweat bees are 1/4 to 3/8 inch (6-10 mm), often metallic green or brown, and land on skin for salt. They rarely sting unless swatted. Ground-nesting bees make small holes in bare soil and are active for a few weeks in spring. Leave the holes alone if they are away from walkways; if a nest is in a high-traffic spot, call a local extension service for advice rather than treating it yourself.
10. Flying ants and termites
Winged ants have a pinched waist, bent antennae and four wings of unequal size; termites have a broad waist, straight antennae and four equal wings. Both swarm on warm, humid days, usually after rain. Ant swarms are mostly harmless and pass within a day or two. Termite swarmers indoors, or mud tubes on a foundation, warrant a professional inspection. Collect a few in a jar for identification before you call.
Mistakes That Waste Time
Spraying adults is the most common error. Fungus gnats, drain flies and phorid flies all breed in wet organic material, so the adults you kill are replaced within days. Find the wet spot first.
Assuming every tiny fly is a fruit fly leads people to clean the kitchen while the real source is a plant saucer or a drain. Match the insect to its location: hovering over soil means gnats, resting on a drain means drain flies, running in jerks means phorids, and circling fruit means fruit flies.
Treating a biting midge problem with a bug zapper does not work. Midges are attracted to carbon dioxide and body heat, not to light, and zappers kill more harmless insects than biters. Repellent and airflow are the practical tools.
Quick Identification and Next Steps
Use size and behavior as your first filter. Under 1/8 inch and hovering near a plant: fungus gnat. Under 1/8 inch and fuzzy on a wall by a drain: drain fly. Under 1/8 inch and running in short bursts: phorid fly. About 1/8 inch with red eyes near fruit: fruit fly. Biting at dusk near water: biting midge or mosquito, with midges smaller and harder to see.
For an indoor infestation, write down where you see the insects and at what time of day for two days. That record usually points to one breeding site. Remove the moisture or food source, dry the area, and give it a week before judging the result. For bites outdoors, cover up, use repellent, and keep air moving.
If you cannot identify the insect, catch two or three in a clear container and take them to a local extension office or public health unit; they identify insects for free in most areas and can tell you whether the species matters for health or property.