Small bugs that fly in house almost always come from one damp, rotting spot that you can find and clean: a drain, a bowl of ripe fruit, a waterlogged houseplant, or the trash can. The fix takes four steps. Identify the insect by its size, color, and hangout. Track down the breeding spot. Remove it and trap the adults. Then keep the area dry and clean so nothing moves back in.
You have probably tried swatting or spraying already. It feels like it should work, and then a fresh batch shows up the next morning. That happens because the adults you see are only a small part of the population. The eggs and larvae hide in a film of gunk inside a pipe, in wet potting soil, or under the fridge, and they keep producing new flies.
This guide shows you how to tell fruit flies, drain flies, fungus gnats, and phorid flies apart, including what to do about tiny flyers in the bedroom. Then it walks through each step with the tools, timing, and checks you need. Most infestations clear up within one to four weeks, with no pest control visit.
Why small flying bugs end up in your house
Small flying bugs end up in your house because it offers moisture and decaying organic matter, which is exactly what their larvae feed on. Nearly every small house bug that flies belongs to one of four groups, and each group has a favorite breeding spot.
Where they come from
Adults get in on grocery produce, through gaps in screens and door sweeps, or by hatching from the soil of a plant you brought indoors. Once inside, they lay eggs in anything wet and rotting. A ripe banana, a slimy drain, or a soggy plant saucer is all they need.
They also multiply fast. Fruit flies can go from egg to adult in roughly a week to ten days in a warm kitchen, and the adults live for a few weeks. So a few flies on Monday can become dozens by the following weekend.
Why spraying alone fails
An aerosol only kills the adults that are flying at that moment. It does nothing to the larvae in the drain or the soil, and new adults emerge within days. University extension services also advise against indoor pesticides when you can avoid them, because indoors the chemicals do not break down the way they do outside. That is why the order of the steps below matters: you find the source first, and you use traps for the leftovers.
What to gather before you start
You do not need much. Most of it is already in your kitchen.
- A flashlight
- Clear plastic wrap and tape, for the drain test
- A stiff bottle brush or old toothbrush
- An enzyme or bio-based drain cleaner
- Yellow sticky cards, the kind sold for houseplants
- A small jar, apple cider vinegar, and dish soap
- Rubber gloves and a trash bag
Kill the breeding site and the flies disappear; kill only the flies and the site keeps making more.
Step 1. Identify the bug you have
Look at the bug’s size, color, and the room where you see it most, and you can usually name it in a minute. The right name tells you where the larvae live, which is the whole point of the next step.
Match the fly to the suspect
Catch one on a piece of clear tape or a sticky card and compare it with this table. A magnifying glass or your phone camera zoomed in helps with very small flying bugs that look like specks.

| Bug | What it looks like | Where you see it | Telltale behavior |
|---|---|---|---|
| Fruit fly | About 1/8 inch, tan, red eyes | Kitchen, fruit bowl, trash, recycling bin | Hovers around ripe produce and drinks |
| Drain fly (moth fly) | About 2 mm, gray, fuzzy, moth-like wings | Bathrooms, near sinks and showers | Short hops, rests on walls near drains |
| Fungus gnat | Small, black, delicate, mosquito-like | Houseplants, windowsills | Weak flier, drifts up when you water a plant |
| Phorid fly | Tiny, light brown to black, humpbacked | Near drains, trash, any room | Runs in jerky zigzags instead of flying |
The zigzag run is the quickest way to separate a phorid fly from a fruit fly, since the two are similar in size. Phorid flies are sometimes called sewer flies, and that nickname tells you where to look.
Check for look-alikes first
Some small winged bugs in the house are not flies at all, and they need a different plan.
- Termite swarmers: dark, about 1/4 inch, with four wings of equal length. If you find these indoors, call a licensed pest professional.
- Flying ants: a pinched waist and two pairs of wings. Find where they enter and use bait stations.
- Midges: pale or greenish, and drawn to lights at night. Turn off outdoor lights and fix screens.
- Carpet beetles: oval, 1/4 inch or less, and they fly to windows. Vacuum thoroughly and check for dead insects in vents and wall voids.
- Booklice and springtails: both are tiny, and some booklice have wings. Springtails jump rather than fly. Both signal excess humidity, so run a dehumidifier.
Bedroom flyers with no food in sight
A clean bedroom with no food still gets visitors. The usual causes are fungus gnats from a potted plant, drain flies drifting in from an attached bathroom, or midges drawn to a lit window. Check the plant saucers first, then the en suite drain, then the window screen.
Night lights and lamps attract many of them, so you will often spot them on the screen or around the bedside lamp. If they gather on a white wall or ceiling, check for plants within a few feet of that spot.
Name the fly first, because its name tells you where its larvae are growing.
Step 2. Track down the breeding source
Search the places that stay wet or hold rotting material, starting with the room where you see the most flies. Adults rarely stray far from where they hatched, so the densest cluster points to the source.
Inspect room by room
Work through this table with a flashlight and gloves.
| Area | What to check |
|---|---|
| Kitchen | Fruit bowl, onions and potatoes, trash can and its bottom ring, recycling bin, sink drain and garbage disposal, fridge drip pan, mop and sponge |
| Bathroom | Shower and tub drains, sink overflow holes, floor drain, damp grout and leaks under the vanity |
| Plants and bedroom | Soil surface, saucers with standing water, plant trays, dead leaves |
| Basement and laundry | Floor drains, utility sink, sump pit, wet insulation or cabinet leaks |
Look for dark slime, a sour smell, or standing moisture. A bottle of rinsed-out juice or a forgotten potato in the back of a cabinet can host a surprising number of larvae.
Run the overnight drain test
If you suspect drains, confirm it before you treat anything.

- Dry the area around the drain.
- Cover the opening with clear plastic wrap and tape down all edges.
- Leave it overnight.
- In the morning, check the underside of the wrap and the surface above it. Flies trapped there came out of that drain.
Use the same approach with yellow sticky cards. Put one beside each plant and a few near drains, then see which fills up after 24 hours. If phorid flies keep appearing with no source in sight, especially near floor drains, a cracked or leaking sewer line may be feeding them. That job belongs to a plumber with a camera inspection.
The card or tape that fills fastest points straight at the breeding site.
Step 3. Remove the source and trap the adults
Clean or dry out the breeding site according to the fly type, then use traps to catch the survivors. Do both in the same week, so no new generation replaces the one you trap.
Fix the site by fly type
- Fruit flies: Throw out overripe produce, take the trash out, and rinse cans and bottles before recycling. Wipe the counters and fridge drip pan. Move fruit to the refrigerator.
- Drain flies: Scrub the inside of the drain and the overflow with a stiff brush to break up the slime. Then apply an enzyme or bio-based drain cleaner according to the label, usually nightly for one to two weeks. Bleach and hot water do not remove the organic film where the larvae live.
- Fungus gnats: Stop watering until the top inch or two of soil is dry, and empty the saucers. Add a layer of coarse sand on top of the dry soil to discourage egg laying. For a heavy problem, repot with fresh mix, or treat the soil with a product containing Bacillus thuringiensis israelensis (Bti), following label directions.
- Phorid flies: Remove whatever is rotting: a leaking trash bag, wet debris under an appliance, or food stuck in a crack. Dry the area afterward. If a drain or sewer line is the cause, get it inspected.
Trap the adults while you wait
Use a vinegar trap for fruit flies and gnats near the kitchen.

- Pour about an inch of apple cider vinegar into a small jar.
- Add a drop of dish soap and stir gently. The soap breaks the surface tension so flies sink.
- Cover the jar with plastic wrap and poke several small holes in it, or roll paper into a cone with a tiny opening.
- Set it near the fruit bowl or drain, and replace the liquid every few days.
Yellow sticky cards work well around plants and windows, and a vacuum with a hose attachment clears flies off walls and screens quickly. Keep these running until you see no new flies on the cards for a full week. Skip foggers and room sprays unless a pest professional recommends them.
Cleaning the source ends the infestation; traps only catch the adults that already hatched.
Step 4. Keep small flying bugs from coming back
Keeping them out comes down to staying dry and clean in the same spots you just treated. A few small habits stop small bugs that fly in the house from starting again.
Build a weekly routine
- Take out kitchen trash often, and wash the can monthly.
- Run water down seldom-used drains, and brush them out regularly.
- Rinse recyclables before they go in the bin.
- Water plants only when the top of the soil is dry, and never leave water in a saucer.
- Store ripe produce in the fridge, or keep it covered.
- Repair leaks, dry damp cabinets, and clean the fridge drip pan.
- Check that window screens, vents, and door sweeps have no gaps.
What to expect and when to call a pro
Fruit flies usually fade within one to two weeks of removing the source. Fungus gnats take longer, about a month, because their larvae develop slowly in soil. Drain flies clear in a few weeks once the slime is gone.
If flies persist after four weeks of consistent work, or you suspect termites, phorid flies from a sewer problem, or a hidden moisture issue in a wall, call a licensed professional. Many also offer a free estimate, so compare a few before you commit.
Consistency beats intensity: a dry, clean house gives them nothing to breed in.
Keep the flies gone for good
Tiny flying bugs in your house are a moisture and decay problem, not a spray problem. Identify the fly, find its breeding spot with a flashlight and the overnight tape test, clean or dry it out, and catch the leftovers with traps. Then a few steady habits keep them away.
If you want more help with everyday home problems, from leaks to pests to cleaning, browse the practical guides at Home The Spruce.





















