The Wild

Bathroom Flying Insects: What to Do

· 5 min read · Insects and Spiders

In this article
  1. Know Your Bathroom Fly
  2. Why They Keep Coming Back
  3. How to Eliminate Drain Flies
  4. Prevention and Long-Term Control
  5. Common Mistakes and Misconceptions
  6. When to Call a Professional
  7. Frequently Asked Questions

To get rid of small flying insects in your bathroom, first identify the type (most likely drain flies, fruit flies, or fungus gnats), then eliminate their breeding source—usually a moist organic film in drains, trash, or potted plant soil—and clean thoroughly. Without removing that food and moisture source, sprays alone will only give temporary relief.

Know Your Bathroom Fly

Different tiny flies require slightly different responses. The three most common bathroom invaders are:

  • Drain flies (moth flies): Tiny, fuzzy, moth-like flies that hover near drains. They breed in the gelatinous film inside pipes.
  • Fruit flies: Red-eyed, tan or brown flies that breed in overripe produce, but also in damp organic matter like a forgotten sponge or trash bin.
  • Fungus gnats: Small, dark, delicate flies that come from overwatered houseplants and their moist soil.

Look at their behavior: drain flies are sluggish and stay near sinks or shower drains; fruit flies dart around trash or fruit bowls; fungus gnats hover near plant pots. Identifying correctly saves time because treatments differ.

Why They Keep Coming Back

The key to permanent control is removing the breeding habitat. Adult flies you see are only the tip of the iceberg—each female can lay dozens to hundreds of eggs. The larvae develop in the moist organic layer inside drains, in damp soil, or in decaying matter. If you only kill adults with a spray, new adults emerge within days.

Common hidden breeding spots in a bathroom:

  • Drain pipes under sinks, showers, and tubs (especially if rarely used)
  • Damp mop heads or cleaning rags
  • Trash cans with food residue or wet wipes
  • Soap scum and hair buildup in drain traps
  • Overwatered houseplants with soggy soil
  • Leaky pipes or standing water under the sink

If you have a guest bathroom that’s rarely used, the water in the P-trap can evaporate, allowing sewer gases and flies to come up. Run water weekly to keep the trap filled.

How to Eliminate Drain Flies

Drain flies are the most common bathroom pest. Here’s a step-by-step approach:

  1. Clean the drain mechanically: Use a stiff brush (like a bottle brush) to scrub the inside of the drain pipe as far as you can reach. This removes the biofilm film where larvae feed.
  2. Flush with boiling water: Pour a kettle of boiling water down the drain once a week for two weeks. This kills larvae and eggs. Be careful with PVC pipes—boiling water is generally safe for modern plumbing but can soften old metal pipes; use hot tap water if you’re concerned.
  3. Use a biological drain cleaner: Products containing bacteria or enzymes (often labeled “drain maintenance”) break down the organic film. Follow the label directions; they work over a few days.
  4. Cover drains overnight: Use a drain cover or tape to block the opening. This prevents adults from emerging and breeding.
  5. Repeat for 2–3 weeks: The life cycle is about 1–3 weeks. Persistence is key.

For fruit flies, remove the food source: take out trash, wash recycling, and store produce. For fungus gnats, let the top inch of soil dry out between waterings and consider using sticky traps.

Prevention and Long-Term Control

Once you’ve cleared the infestation, prevent recurrence with simple habits:

  • Run bathroom fans during and after showers to reduce humidity.
  • Fix leaky faucets and pipes—dampness attracts flies.
  • Clean drains weekly with a brush or a baking soda and vinegar flush.
  • Keep trash cans covered and empty them regularly.
  • Don’t leave wet towels or clothes on the floor.
  • Water plants only when the soil is dry, and remove any standing water from saucers.

If you have a floor drain that’s rarely used, pour water down it every few weeks to keep the trap sealed.

Common Mistakes and Misconceptions

Many people reach for insecticide sprays first, but that’s usually ineffective. Sprays kill adults on contact but don’t touch larvae in the drain or soil. You’ll see a temporary drop, then the flies return.

Another misconception is that bleach will solve the problem. While bleach can kill some larvae, it doesn’t remove the organic film—and it may actually make the problem worse by leaving a residue that flies can feed on. It can also be harsh on pipes and is dangerous to mix with other cleaners.

Some people think the flies come from the toilet. That’s rare—drain flies breed in the water film in the toilet bowl or tank only if there’s organic buildup. Cleaning the toilet and flushing regularly usually eliminates that source.

When to Call a Professional

If you’ve cleaned drains, removed food sources, and dried out plants, but flies persist for more than three weeks, you may have a hidden source—like a cracked pipe, a blocked vent, or a buildup in a wall cavity. A pest control professional can inspect and treat inaccessible areas. Also call a plumber if you suspect a leak or a dry P-trap that’s letting sewer gas in.

Frequently Asked Questions

Are bathroom flies harmful?

Most bathroom flies are not directly harmful to humans—they don’t bite or transmit diseases. However, they can carry bacteria from drains and may contaminate surfaces. Their presence is more a nuisance and a sign of poor sanitation or moisture.

How long do drain flies live?

Adult drain flies live about 1–2 weeks, but the entire life cycle from egg to adult takes about 1–3 weeks depending on temperature and food. That’s why you need to treat for at least two weeks to break the cycle.

Can I use vinegar to get rid of drain flies?

Vinegar can help clean drains and may kill some larvae, but it’s not a complete solution. A mixture of baking soda and vinegar followed by hot water can help break down organic film, but mechanical scrubbing is more effective. For fruit flies, a vinegar trap (a bowl with apple cider vinegar and a drop of dish soap) catches adults but doesn’t solve the breeding source.

Why do I see flies only in the bathroom and not other rooms?

Because the bathroom provides the moist, organic conditions they need—drains, humidity, and sometimes plants. Other rooms may lack those breeding sites. If you see them elsewhere, check for other sources like a compost bin or overwatered houseplant.

Will a drain cover stop them?

Yes, covering drains overnight prevents adults from emerging and laying eggs, but it doesn’t kill larvae already inside. Use it as part of a broader treatment plan, not as a standalone fix.

Do I need to worry about sewer flies coming from the toilet?

It’s uncommon, but if the toilet is rarely used and the water in the bowl evaporates, sewer gases and flies can enter. Flushing regularly and keeping the bowl clean prevents this. If you see flies coming from the toilet base, check for a leak or a broken wax ring.