Why are there fruit flies in my bathroom?

Stop Fruit Flies: Gone for good.

A bathroom has no fruit bowl, and you can still get tiny flies on the mirror, by the tub or around the toilet. They aren't always lost kitchen strays. Bathrooms stay warm and damp, and a thin film of soap, hair and other organic gunk is enough for some small flies to breed.

A bathroom sink with a strip of tape over the drain and the overflow hole labeled

Where bathroom flies actually come from

They need something consistently moist that is starting to break down. In a bathroom, that is usually one of these spots, not a banana in the next room.

Sink, tub and shower drains

A slow or little-used drain can hold a slimy film above the water line. The opening can look clean from above and still feed a new batch every week or so. A guest shower, a basement bathroom or a floor drain you almost never run is easy to miss. University extension guides often point to seldom-used sink, bathtub, shower and floor drains as a likely source when there is no fruit around.

The overflow hole

Many sinks, and some tubs, have a small overflow opening near the rim. That channel stays wet, almost never gets scrubbed, and connects into the same drain. If you cleaned the plughole and the flies kept coming, this is the next place to check.

The toilet

Flies can turn up around a toilet that is rarely used, in the tank, under the rim, or in moisture at the base from a slow leak. This is especially well documented for drain flies, which are often mistaken for fruit flies in bathrooms. Flush a guest bathroom regularly, look for dampness at the floor, and don't skip the tank if flies seem to gather there.

Damp mats, towels and mop heads

Fruit flies can finish their life cycle on a damp mop or towel if it stays wet and holds residue. A bath mat that never dries, a bunched-up towel or a mop head left in a bucket is worth washing and hanging so it actually dries.

The bathroom bin

A juice box, a sticky wrapper, used tissues or other damp trash can be enough. Empty the bin, wash it with hot soapy water, and let it dry.

Houseplants

A pot on the windowsill or the tank, especially if the soil stays wet, can support small flies. Look closely before you treat this as a drain problem: darker, slimmer flies with long legs may be fungus gnats, which breed in potting mix. Our identification guide covers that difference.

The flies you see on the mirror are the adults. The nursery is usually a wet film you have not cleaned yet. Find that film first, then trap what's left in the air.

Are they fruit flies, or drain flies?

Bathrooms attract more than one small fly, and the names get mixed up. A close look saves you from treating the wrong place.

Fruit flies are tiny and tan, often with noticeably red eyes, and they look fairly smooth. Some kinds have darker eyes and show up around drains and bathrooms more than a fruit bowl. Drain flies look fuzzier, usually grey or dark, with wings that remind you of a tiny moth. They often rest on the wall or the side of the basin and fly only a short hop. If a houseplant is the hotspot and the flies look like delicate mosquitoes, they may be fungus gnats instead.

If the tape test on a drain comes back positive, the cleaning steps below help with both fruit flies and drain flies, because you are removing the film. For a closer side-by-side look, including phorid flies, which can also show up around drains, see fruit flies vs drain flies vs gnats.

A step-by-step bathroom fix

Work through the wet spots first. Traps come after, so you are not catching a fresh hatch every few days.

  1. Tape-test every drain. Tonight, cover the sink, tub and shower openings with clear packing tape, sticky side down, and do the same on any floor drain or guest shower you barely use. In the morning, check the sticky side. Flies on the tape mean that pipe is involved. The full drain guide walks through the test in more detail.
  2. Scrub the film, not just the water. Take out the stopper, wash it, and use a long, thin brush on the throat of the drain and as far into the pipe as you can reach. Then clean the overflow hole with a smaller brush or a cloth on something narrow. Flush with hot tap water. Skip a kettle of boiling water if your pipes are plastic, which is common in modern homes.
  3. Treat the toilet area. Flush unused toilets. Wipe around the seat and under the rim. Check the floor at the base for moisture. If you can, look into the tank for standing grime. A persistent leak at the base is a plumbing job, not a trap problem.
  4. Dry the soft stuff. Wash or rinse bath mats, hang towels so they dry, and wring out any mop or cloth that has been sitting wet. Wash the bathroom bin and replace a damp liner.
  5. Check the plant. Let the top of the potting mix dry between waterings, pick off decaying leaves, and put a sticky card in the pot if the flies cluster there.
  6. Catch the adults already in the room. After the wet sources are cleaned, a trap mops up what is already flying. Leave it up for about a week. Eggs already in a film can still hatch, so one clean night is rarely the end of it.
  7. Repeat midweek, then test again. Scrub the drains that failed the tape test a second time. Tape-test once more at the end of the week. If that drain is clear and you are still seeing flies, look for a second source, including the kitchen. The hidden-source guide covers bins, recycling and other spots with no fruit in sight.

Pouring bleach down the drain is not a reliable fix. It tends to rush through the middle of the pipe and leave the film on the walls in place, and it is a harsh thing to add without a good reason. A brush and a hot-tap flush do the job better. If you want a product that is meant to sit on that film, use it after you have already scrubbed, and read the label for your pipes and any septic system.

Which traps and products fit a bathroom?

Traps catch adults. They do not replace cleaning the drain, the overflow or a wet mat. In a bathroom, a sticky card or a plug-in light trap is often easier than an open cup of vinegar, because you may not want liquid on a shelf. A drain gel or enzyme cleaner can help after a real scrub, especially overnight when the drain will not be used.

Disclosure: some links below are Amazon affiliate links. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you. We haven't finished our own side-by-side tests yet, so these are search links for each type of product, not a ranking of brands.

For how each type works, and for other options, see the full trap comparison.

Our quick pick for a bathroom: tape-test and scrub first, then put one sticky card or a light trap where you have been seeing them, and use a drain treatment only as a follow-up to the brush.

Quick questions

Will they go away on their own?

Sometimes a short wave of flies fades once the wet material they were using dries out or is thrown away, even if you never pinpointed it. That does not mean you should wait if they keep appearing. Persistent flies usually mean a nursery is still wet nearby, often a drain. Clean the likely spots, then give traps about a week to catch leftover adults.

Do fruit flies in the bathroom bite?

No. Fruit flies, drain flies and fungus gnats are nuisances, not biting insects. They can still be unpleasant, and drain flies in particular are associated with dirty, wet film, so it is worth removing the source.

Can they really come from the toilet?

Yes, especially if the toilet is rarely used, the tank or rim stays grimy, or there is moisture at the base. This is a common source for drain flies, which many people call fruit flies when they see them in a bathroom. Tape-test the nearby drains too, so you are not cleaning only the toilet if the tub is the real nursery.

Why do they gather on the mirror or around the light?

Small flies are often drawn to light and to moisture. A mirror light or a steamy mirror can be where they hang out, even when they are breeding in a drain a few feet away. Treat the source, and use the gathering spot as a place to put a sticky card or a light trap.

I cleaned the drain and they came back. Now what?

Eggs already in the film can hatch a few days later, or there is a second source: the overflow, an unused drain, the bin, a wet mat, a plant or a kitchen drain. Do the midweek scrub, tape-test again, and if the bathroom drains are clear, walk through the hidden-source checklist.

Should I keep the fan running?

Drier air helps, because these flies need moisture to breed. Run the fan during and after showers, hang mats and towels so they dry, and fix any slow leak you can see. A fan alone will not clean a dirty pipe.

Keep going