Small Flying Bugs in the House: Gnats, Flies or Swarmers?

By the Pest Control Brief editorial team Updated October 12, 2026 12 min read
Bowl of bananas and apples on a kitchen counter by a window
Quick answer

Most small flying bugs in a house are one of four small flies, fruit flies, drain flies, fungus gnats or phorid flies, and where they hover usually tells you which. Fruit flies gather at the fruit bowl and bin, drain flies rest on bathroom walls, fungus gnats drift around houseplants and windows, and phorid flies run across surfaces before they fly. Each breeds in one wet, rotting source, so finding the source is the fix. The other common culprits are pantry moths, cluster flies at autumn windows, and swarmers, winged ants or termites, which appear in a one-day burst and are the ones worth a professional inspection.

Small flying insects indoors are rarely a mystery once you note where they collect, how they move and the time of year. Spraying the adults does little, because the next generation is developing in a drain, a pot, a bag of rice or a wall void.

Identify them by where they hover

Insect Where you see it Size What gives it away What it usually means
Fruit fly Fruit bowl, bins, recycling, open wine or vinegar 2 to 4 mm, about an eighth of an inch Tan to brown-black body, often red eyes, hovering flight Fermenting food nearby
Drain fly Resting on bathroom and kitchen walls near drains 2 to 5 mm Fuzzy, moth-like, wings held flat or roof-like; flies only a few feet at a time Organic film inside a drain, trap or condensate pan
Fungus gnat Houseplants, windows, around faces and screens 1.5 to 4 mm Slender, black, long legs, like a tiny mosquito; weak flyer Damp potting soil
Phorid fly Kitchens, bathrooms, ground floors, near drains 2 to 4 mm Humpbacked; runs and stops on surfaces before taking off Decaying matter, sometimes a broken drain or a dead animal
Indian meal moth Kitchen ceilings and walls, inside cupboards About 8.5 to 10 mm long Two-tone wings, coppery outer two-thirds; webbing in food Infested dry food in the pantry
Termite or ant swarmers Windows, doors and light fittings, often in spring Varies by species Many winged insects at once; dropped wings on sills Termites indoors almost always mean an infestation
Cluster fly Upper windows and attics, autumn and warm winter days Slightly larger than a house fly Dull grey, golden hairs on the thorax, sluggish Overwintering adults, not breeding indoors
No-see-um Near screens at dawn and dusk; you feel bites Under 1/16 inch Barely visible; passes through ordinary screening Moist breeding sites, mostly outdoors

Extension sources differ slightly on sizes, so the table gives the combined range.

Small flying household insects by body lengthThe four small flies overlap almost completely at 2 to 5 mm, so size will not separate them: use where they gather and how they move. Indian meal moths and the larger filth flies are two to three times longer.No-see-um (under)1.6 mmFungus gnat1.5 to 4 mmFruit fly2 to 4 mmPhorid fly2 to 4 mmDrain fly2 to 5 mmBlow fly6.4 to 9.5 mmIndian meal moth adult8.5 to 10 mmHouse fly (up to)9.5 mm0246810mm
Small flying household insects by body length The four small flies overlap almost completely at 2 to 5 mm, so size will not separate them: use where they gather and how they move. Indian meal moths and the larger filth flies are two to three times longer. Source: University of Kentucky ENTFACT-657; Texas A&M AgriLife Extension; UC IPM Pest Notes; University of Arizona Extension; University of Wisconsin Insect Diagnostic Lab.
A small jar trap with a paper funnel beside a fruit bowl
A jar and paper funnel shows what is flying, and where it is coming from. Illustration for The Pest Control Brief.

The four small flies

Fruit flies, drain flies and fungus gnats are covered in depth, with costs, in our guide to fruit flies, drain flies and gnats. The short identification notes are below, followed by the fourth small fly, which deserves more attention than it gets.

Fruit flies: the kitchen hoverers

University of Kentucky entomologists describe a hovering “helicopter flight”. At 77°F the whole cycle takes 8 to 10 days and a female can lay over 500 eggs, which is why numbers seem to explode. Texas A&M AgriLife lists less obvious sources: the wet bottom of a bin where a liner leaked, bags of potatoes or onions, and loose lids on vinegar or wine.

Drain flies: fuzzy and parked on the wall

Kentucky describes drain flies as weak flyers that move in short hops and rest on walls near where they breed. Texas A&M lists sites beyond the sink: condensate pans, the bottom of garbage cans, under cracked tile and sliding door tracks. Bleach is largely ineffective against the film they breed in; a stiff brush and hot water remove it.

Fungus gnats: the houseplant drifters

UC IPM notes that adults are attracted to light, so you may first notice them flying near windows, and Kentucky adds that they are usually reported around people’s faces and computer screens. Adults do not bite or damage plants. The larvae live in damp potting soil, and our houseplant pests guide covers drying the soil and the other steps that end an infestation.

Phorid flies: the serious one

Phorid flies are about the size of fruit flies, 2 to 4 mm, with a humped back. The behaviour gives them away: Texas A&M notes they often run and stop repeatedly before taking wing, which is why they are also called scuttle flies, and Kentucky describes their tendency to run rapidly over surfaces when disturbed rather than fly away.

What makes them the serious one is what they breed in. The larvae feed on decaying plant and animal matter, and Kentucky notes they can establish indoors in decaying organic matter and even dead animals and animal waste. University of Maryland Extension states that extremely large numbers of phorid flies on the first floor of a building may indicate a broken drain or sewer line under the structure. Texas A&M makes the cost point plainly: when sewer leaks occur under buildings they can lead to severe indoor fly infestations and sometimes require expensive excavation to remove the contaminated soil.

University of Minnesota Extension notes phorid flies can be found at any time of year, so a population persisting through winter with no obvious source points to something hidden. Kentucky suggests checking garbage cans, water from leaking appliances and drain openings, and using sticky traps to see where most flies are caught. If the trail leads to a slab or a wall, the next call is usually a plumber, not a pest control company.

Three tests that identify the source

  1. The vinegar trap. Kentucky’s version is vinegar in a jar with a drop of dish soap. Texas A&M suggests apple cider vinegar, wine or fruit slices as attractants. Large catches in a day or two point to fruit flies and confirm the kitchen is the source. Remember a trap removes adults, not the larvae in the fruit bowl.
  2. The tape test. Texas A&M’s method is to place a length of clear packing tape across a drain without totally covering the opening, since with no airflow the flies may not emerge. Check it periodically: flies stuck to the underside mean that drain is a breeding site. Iowa State describes the same idea with plastic film or a clear bag taped over the drain; flies accumulate underneath within a day or two. Test every drain, including floor drains and a rarely used shower.
  3. The potato and sticky card test. UC IPM notes that raw potato chunks placed in the soil are very attractive to fungus gnat larvae, and that small squares of yellow sticky trap on skewers in each pot catch adults. Whichever pot attracts the most is the one to dry out or repot.

Swarmers at the window: the ones that matter most

A sudden cloud of winged insects at a window, often in spring, is not a slow build of gnats. These are swarmers leaving a colony, ants or termites, and the distinction matters more than any fly above.

University of Kentucky entomologist Michael Potter gives the check: termites have straight antennae, a uniformly thick waist and wings of equal size; ants have elbowed antennae, a pinched waist and forewings longer than the hind wings. Swarmers are attracted to light, so they turn up around windows and doors. Termite swarmers emerging indoors cannot damage wood and live only about a day, but Kentucky is clear that discovering winged termites indoors almost always indicates an infestation warranting treatment.

Keep a few in a sealed jar before vacuuming the rest. Our termites vs flying ants guide walks through the check with a specimen, and our termite swarm season guide covers when each species swarms. A termite swarm indoors is a job for a licensed professional, starting with an inspection; see what a termite inspection costs.

When Americans record drain flies, cluster flies, termites and pantry mothsTermite records peak at 195 in April, matching spring swarming; their November high reflects any photographed termite, not a second swarm. Cluster flies peak in March and November as they leave and enter buildings, while Indian meal moths stay fairly flat because they live indoors.JFMAMJJASONDDrain fliespeaks in OctoberCluster fliespeaks in MarchSubterranean termitespeaks in NovemberIndian meal mothpeaks in November
When Americans record drain flies, cluster flies, termites and pantry moths Termite records peak at 195 in April, matching spring swarming; their November high reflects any photographed termite, not a second swarm. Cluster flies peak in March and November as they leave and enter buildings, while Indian meal moths stay fairly flat because they live indoors. Source: The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026.

In The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026, subterranean termite records reach an index of 166 in March and 195 in April, in line with the spring swarming season. The November value of 207 is not a second swarm: iNaturalist counts any photographed termite, including workers in rotting wood. Cluster flies peak at 184 in March and 183 in November, as they leave and enter buildings, while Indian meal moth records stay comparatively flat, as you would expect from an insect living in cupboards. These are records of when people photographed the insects, not indoor infestation rates.

Pantry moths: the ones on the ceiling

If the small flyer is a moth, settling on the kitchen ceiling or flying out of a cupboard, it is most likely the Indian meal moth. UC IPM calls it the most common moth found on food products in the home: 1/3 to 2/5 inch long with a wingspan of about 3/5 inch, with reddish-brown forewings that have a coppery lustre on the outer two-thirds. The larvae do all the damage, in cereal, flour, rice, dried fruit, nuts and chocolate, and leave silk webbing wherever they crawl. The cycle from egg to adult takes six to eight weeks.

UC IPM states that insecticides are not recommended for any of the pantry pests. The fix is to find and discard the infested package, clean the shelves and store dry goods in sealed containers; pheromone traps then show whether any moths remain. Our pantry pests guide covers the full clean-out.

Tiny flying bugs in the bedroom at night

Two groups explain most night-time reports in bedrooms, besides mosquitoes:

  • Fungus gnats from a bedroom plant, drawn to the light of a lamp or a phone screen. They do not bite.
  • No-see-ums, biting midges under 1/16 inch long that University of Arizona Extension says can pass through normal window screens, and occasionally enter through standard 16 mesh screening. They are most active in early mornings and evenings. If you are waking with itchy bites and can see nothing, these are a likely candidate; our bite identification guide covers the alternatives, and anyone with a strong reaction should speak to a doctor.

A burst of winged insects around a bedroom light in spring is more likely swarmers, covered above.

Flying bugs in the house in winter

Winter narrows the list. Insects breeding indoors carry on regardless of the weather, so fruit flies, drain flies, fungus gnats, phorid flies and pantry moths can all appear in January. What winter adds is overwintering insects waking up early.

The main winter flyer is the cluster fly. Penn State Extension describes them gathering in large numbers at windows on warm winter days, crawling out of wall voids and attics where they spent the autumn. They are not reproducing in the house, and they are sluggish and easy to vacuum. If you are seeing a lot of larger flies rather than small ones, our guide to flies in the house all of a sudden covers cluster flies alongside the other two causes, blow flies from a dead animal and an indoor breeding source.

A mosquito indoors in winter may be a dormant female. Ohio State University Extension explains that some northern house mosquito females survive winter in a dormant state called diapause, during which they are not interested in a blood meal; they resume biting in March and April.

When DIY is enough, and when it is not

For fruit flies, drain flies, fungus gnats and pantry moths, extension entomologists are consistent: remove the breeding source and the problem collapses, usually without insecticide. Kentucky notes that killing adult flies usually provides only temporary relief.

Call a professional, or the right trade, when:

  • you find winged termites indoors, which calls for a licensed inspection;
  • phorid flies persist in large numbers on a ground floor or around a slab, which can mean a broken drain or sewer line and is often a plumbing job first;
  • flies keep returning after every visible source has been removed;
  • a dead animal is suspected in a wall, attic or crawl space you cannot reach.

If you do use an insecticide for any of these, follow the label exactly. A fogger kills only the adults it reaches; Penn State notes that foggers do not stop cluster flies emerging from wall voids, and none of the small flies is solved without removing its breeding source.

Frequently asked questions

What are the tiny flying bugs in my house?

In most homes they are one of four small flies: fruit flies around fruit and bins, drain flies resting near drains, fungus gnats around houseplants and windows, or phorid flies that run across surfaces before flying. All are 1.5 to 5 mm long and each breeds in one wet or rotting source. Moths on the kitchen ceiling are usually Indian meal moths from infested dry food in the pantry.

Why do I have small flies in my house in winter?

Small flies that breed indoors, such as fruit flies, drain flies, fungus gnats and phorid flies, are not affected by the weather outside, so a winter population means there is a breeding source inside. Larger, sluggish flies at upper windows on warm winter days are usually cluster flies that moved into the walls and attic in autumn. Penn State notes these are not reproducing in the house.

What are phorid flies a sign of?

Phorid flies breed in decaying plant and animal matter, including garbage, drain film, animal waste and dead animals. University of Maryland Extension states that very large numbers on the first floor may indicate a broken drain or sewer line under the building, and Texas A&M notes such leaks sometimes require excavation. Persistent phorid flies with no visible source are worth investigating professionally.

How do I tell fruit flies from fungus gnats?

Fruit flies are stout, tan to brown-black, often have red eyes, and hover around fruit, bins and drinks. Fungus gnats are slender, black and long-legged, look like tiny mosquitoes, and stay near houseplant soil or windows. A vinegar trap catches fruit flies; potato chunks pressed into the soil or yellow sticky cards in the pots confirm fungus gnats.

Are small flying bugs at the window termites?

Sometimes. Many winged insects appearing at once, often in spring, are swarmers, either ants or termites. Termites have straight antennae, a thick waist and four equal wings; ants have elbowed antennae, a pinched waist and longer front wings. Kentucky extension states that winged termites indoors almost always indicate an infestation, so keep a specimen and arrange a professional inspection.

Sources

  • University of Kentucky Entomology, ENTFACT-657: Small Flies, Principato and DeVries, issued 2025, revised 2026.
  • Texas A&M AgriLife Extension, Indoor Flies and Their Control, Michael Merchant.
  • University of California Statewide IPM Program, Pest Notes: Fungus Gnats, Publication 7448.
  • University of California Statewide IPM Program, Pest Notes: Pantry Pests.
  • University of Maryland Extension, Phorid flies.
  • University of Minnesota Extension, What insect is this? Humpbacked (phorid) flies.
  • Iowa State University Extension and Outreach, Yard and Garden: Moth Fly.
  • University of Kentucky Entomology, ENTFACT-604: Termite Control: Answers for Homeowners, Michael F. Potter, revised 2026.
  • Penn State Extension, Cluster Flies, Steve Jacobs, revised 2014.
  • University of Arizona Cooperative Extension, Backyard Gardener #59: “No-See-Um” Biting Flies.
  • Ohio State University Extension, ENT-89: Northern House Mosquito, 2021.
  • The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026.
Got flies or pantry pests?Compare local quotes