Your guide to household and yard pests Urgent? When to call a pro
What bug is this?

Bugs in the Bathroom: Identify Them by What You See

Tiny flies, silver wigglers, jumping specks, long-legged runners or roaches in the bathroom? How to tell which bug it is and the moisture fix that stops each.

updated October 14, 2026
Hygrometer in a bathroom showing high humidity, with condensation on the mirror

Most bugs in a bathroom are there for one reason: moisture. Drain flies breed in drain slime, springtails and silverfish need humid air, and house centipedes move in to eat them, so identifying the bug tells you which water source to fix, and fixing it usually ends the problem without pesticides.

Use what you actually see, where and when, to narrow it down, then jump to the section for that bug.

Quick ID: what you see and what it probably is

What you seeWhereLikely bugMain fix
Tiny fuzzy flies, wings held like a roof, hop-fly short distancesOn walls and mirror near sink, tub, showerDrain fliesScrub drains and overflows mechanically
Tiny dark flies, mosquito-like, long legsNear houseplants, windowsill potsFungus gnatsLet soil dry; fix overwatering
Silvery, carrot-shaped, 1/2 inch, three tail bristles, darts awayTub, under sink, behind toilet, at nightSilverfishLower humidity, re-caulk, remove paper clutter
Specks 1–2 mm, white, gray or dark, jump when touchedShower, tub edge, windowsill, groutSpringtailsDehumidify, remove mold, fix leaks
Very fast, 1–1.5 in body with very long banded legsWalls, tub, floor at nightHouse centipedeFix moisture and the bugs it eats
Gray, oval, many legs, rolls into a ball or notFloor near tub or exterior wallPill bugs / sow bugsSeal door threshold, fix leaks
Brown or black roach 1+ inch, at nightFloor drain, under sink, around toiletAmerican or oriental cockroachSeal pipes, cover floor drains, keep traps full
Small tan roach, under 5/8 inchUnder sink, behind toilet tank, cabinetsGerman cockroachGel bait, sanitation; see a pro if heavy
Line of tiny antsAlong tub, sink edge, toothpasteAntsBait, seal entry, wipe trail

Drain flies

Drain flies are 1/16 to 1/4 inch long, fuzzy and pale gray to black, University of Maryland Extension says, and their larvae live in the gelatinous film inside drains and traps, feeding on the algae, bacteria and fungi there. They also breed in sewer leaks, dirty trash cans and condensate pans under refrigerators and AC units. A full cycle takes 7 to 28 days, so a few flies can turn into a cloud in a couple of weeks.

Confirm the source: tape a piece of clear packing tape over each drain overnight, sticky side down. The drain with flies on the tape is the one breeding them. Don't forget the overflow hole on the sink and tub.

Fix: scrub the inside of the pipe with a long stiff brush, then flush with hot water; UMD also suggests a drain cleaner followed by hot water. Pouring bleach rarely works because it runs past the film. Full steps in how to get rid of drain flies.

Fungus gnats

If the tiny dark flies hover around a potted plant on the bathroom windowsill instead of the drain, they're probably fungus gnats. UC IPM describes them as delicate, mosquito-like flies with antennae longer than the head; larvae live in moist potting soil and eat fungi and root hairs. At 75°F the cycle from egg to adult takes about 17 days.

Fix: let the top of the soil dry between waterings, empty saucers, and use yellow sticky cards to catch adults. Bathrooms are humid, so plants there may need much less water. See fungus gnats.

Silverfish

UC IPM describes the common silverfish as shiny, silver or pearl gray, about 1/2 inch long, with a body tapering to three long bristles. They're active at night, dart away when disturbed, and eat starch: flour and cereal, paper with glue or paste, wallpaper sizing, book bindings and starched fabric.

Because they need humidity, they cluster around tubs, sinks and damp closets. Development is slow when it's cool: UC IPM notes silverfish may take up to 500 days to mature below 50°F, but only about 60 days above 75°F, which is why warm, steamy bathrooms support them.

Fix: keep the bathroom and closets dry, re-caulk tub and sink edges, repair cracked grout, and get stored paper, cardboard and old magazines out of the bathroom and basement. More in silverfish and what causes silverfish.

Springtails

Springtails are tiny, usually 1 to 2 mm, and the easy giveaway is that they jump when you touch them. Penn State Extension says they need very humid environments and feed on molds, mildew and fungi; they can maintain indoor populations in bathrooms and basements with high humidity and mold, and sometimes in the walls of newly built homes that got soaked during construction.

Fix: Penn State's advice is to lower humidity with air conditioning or a dehumidifier, especially in bathrooms and showers, and to remove mold and mildew. A persistent springtail problem in one spot often points to a hidden leak, such as a slow drip behind the vanity, a failed shower pan or wet subfloor. See springtails.

House centipedes

The long-legged runner that shoots across the bathroom floor at night is a house centipede. Penn State Extension says adults have 15 pairs of banded legs and a body 1 to 1.5 inches long, about 3 to 4 inches overall. They're harmless and they hunt silverfish, firebrats, carpet beetle larvae, cockroaches and spiders.

Penn State's point is worth remembering: if you see house centipedes frequently, some prey insect is abundant. Sticky monitor traps around the room will show what that is. Then reduce hiding spots: seal cracks in slab and block walls, and screen basement floor drains. See house centipedes.

Cockroaches

Two very different roach problems show up in bathrooms:

  • Big roaches (American, oriental) usually come from outside, sewers or crawl spaces. They show up around floor drains, under the sink and near the toilet base. Make sure every drain trap holds water, cover floor drains with a fine metal screen, and seal gaps around pipes. See oriental cockroaches.
  • Small German cockroaches live and breed indoors. UC IPM says adults hide in cracks just 1/16 inch wide and favor warm, humid areas close to food and water, including kitchens and bathrooms. One German roach in daylight usually means many more. UC IPM recommends gel baits and bait stations over sprays and warns against foggers, which can scatter roaches without killing them.

The moisture fixes that stop most bathroom bugs

FixWhy it worksHelps against
Run the exhaust fan 20–30 min after showersLowers humidity springtails and silverfish needSpringtails, silverfish, centipedes
Fix drips under sinks and around the toilet baseRemoves standing water and wet woodSpringtails, roaches, centipedes, pill bugs
Re-caulk tub, shower and sink; repair groutRemoves damp hiding cracksSilverfish, springtails, roaches
Brush-clean drains and overflows monthlyRemoves the film larvae live inDrain flies
Run water in unused drains weeklyKeeps traps full so sewer insects can't come upRoaches, drain flies
Keep a dehumidifier near 50% in damp basementsDries walls and storage areasSpringtails, silverfish, centipedes
Remove cardboard, paper and damp towels from floorsRemoves food and hiding placesSilverfish, roaches

What people who dealt with it say

People posting about bathroom bugs on Reddit and pest forums tell a similar story:

  • Bleach and drain cleaner are the first thing everyone tries, and often the first thing that fails. Drain fly threads repeatedly end with someone finally scrubbing inside the pipe with a brush, or discovering the source was a sink overflow, a rarely used tub or a leaking pipe under the floor.
  • Springtails are a moisture detective story. Persistent springtails in one corner of a shower often turned out to be a slow leak or a failed seal behind the tile. Pros tell people spraying is pointless until that's fixed.
  • Centipedes are tolerated more than you'd expect. Many people say they leave them alone once they learn they eat roaches and silverfish, and pros point out that lots of centipedes means there's something for them to eat.
  • Exhaust fans matter more than products. Fixing a fan that didn't vent outside, or simply running it longer, was a common "what finally worked."

Bottom line

Most bathroom bugs are a humidity and drain problem in disguise. Identify the bug with the table above, then fix the water source behind it. Call a pro if you find German cockroaches spreading, roaches coming up from a floor drain you can't seal, or springtails that suggest a leak inside the wall.

FAQ

Why do I have bugs in my bathroom but nowhere else?
Because the bathroom is the wettest room in the house. Drain flies breed in drain slime, springtails and silverfish need high humidity, and centipedes follow the small insects that live there. Fix the moisture and most of them disappear without any pesticide.
What are the tiny black flies around my bathroom sink?
Usually drain flies (fuzzy, moth-like, wings held flat like a roof) breeding in the gunk inside the drain or overflow. Cover the drain overnight with clear tape, sticky side down; flies stuck on it in the morning confirm the drain. Scrub the pipe with a stiff brush; bleach poured down the drain won't remove the film.
What are the tiny white or gray bugs that jump in my shower?
Almost certainly springtails, 1 to 2 mm long, which feed on mold and mildew. They're harmless. Penn State Extension says the fix is lowering humidity with the exhaust fan or a dehumidifier and removing mold.
Are silverfish in the bathroom a sign of a bigger problem?
They're a sign of humidity and hiding spots: failed caulk, cracked grout, damp cardboard or paper. They don't bite or spread disease, but they eat paper, glue and starch, so they can damage books and wallpaper in nearby rooms.
Should I kill house centipedes?
They're harmless to people and eat silverfish, cockroaches and other small pests. Penn State Extension notes that a lot of centipedes means a lot of prey, so treat that as a clue to find and fix the other bug problem.
Do bugs come up through the toilet or shower drain?
Drain flies breed in drains. American and oriental cockroaches can come up from sewer lines through floor drains with dry traps or broken drain covers. A healthy water-filled trap usually stops insects, so run water in rarely used drains weekly.
What's the fastest way to get rid of bathroom bugs?
Run the exhaust fan for 20 to 30 minutes after every shower, fix leaks, re-caulk the tub and sink, clean drains mechanically, and remove damp cardboard and stored paper. Sprays rarely help while the room stays humid.

Sources and real-world experience

Built from the expert sources and real discussions below — we read each one. How we research.

  1. University of Maryland Extension: Drain Flies
  2. UC IPM: Silverfish and Firebrats
  3. Penn State Extension: Springtails
  4. Penn State Extension: House Centipedes
  5. UC IPM: Fungus Gnats
  6. UC IPM: Cockroaches
Nothing working? When it is time to call an exterminator