A long, skinny black bug in your bathroom is most likely one of four common insects: an earwig, a silverfish, a rove beetle, or a millipede. All of them are drawn to the damp, dark conditions bathrooms provide. Identifying which one you’re dealing with takes just a few seconds once you know what to look for.
Earwigs: The Most Common Match
Earwigs are the bug most people are describing when they search for a long, skinny, dark insect in the bathroom. They have elongated, flat bodies that are dark reddish-brown to black, ranging from about 5 to 25 mm long (roughly a quarter inch to an inch). The giveaway feature is a pair of pincer-like appendages at the tail end, which is why they’re sometimes called “pincher bugs.” Some have wings tucked flat against their backs, though they rarely fly.
Earwigs are nocturnal. During the day they hide in cracks and damp spots, then come out at night to feed. Bathrooms, kitchens, and laundry rooms are their favorite indoor hangouts because of the consistent moisture. If you flipped on a bathroom light at 2 a.m. and saw something dark scurry along the baseboard, an earwig is a strong bet. They look intimidating but are essentially harmless to people. Those pincers can give a weak pinch if you pick one up, but they don’t sting or transmit disease.
Rove Beetles: Shiny and Fast
Rove beetles are less well known but easy to mistake for some other, more alarming insect. They’re shiny black or dark brown, elongated, and range from a quarter inch to a full inch long. Their most distinctive trait is a pair of unusually short wing covers that leave most of the abdomen exposed, making them look more like a wasp or ant than a typical beetle. When disturbed, they curl the tip of their abdomen upward in a scorpion-like pose that looks threatening but is mostly bluff.
These beetles are nocturnal, secretive, and fast. They normally live outdoors under rocks, logs, and leaf litter, and they’re actually beneficial predators that eat smaller pest insects. When one shows up in your bathroom, it usually wandered in through a gap near the foundation. Larger rove beetles can bite if you handle them roughly, but they have no venom and aren’t interested in people. A single rove beetle indoors is a stray, not an infestation.
Millipedes: Slow With Many Tiny Legs
If the bug you found is dark, worm-like, and curls into a spiral when touched, it’s almost certainly a millipede. They’re brownish-black, cylindrical, and have two pairs of tiny legs on each body segment, giving them a rippling, wave-like motion when they walk. They move slowly, which sets them apart from the other bugs on this list.
Millipedes live outdoors in rotting leaves and damp soil. They wander indoors by accident, typically after heavy rain floods their usual habitat or during dry spells when they’re searching for moisture. The good news is they almost always die within a day or two indoors because the air is too dry and there’s nothing for them to eat. Finding one in the bathroom doesn’t mean you have a population living in your walls.
Centipedes: Long Legs, Lightning Fast
House centipedes look dramatically different from millipedes despite the similar name. They’re flattened, have one pair of legs per body segment, and those legs are long enough to make the whole animal look feathery or fringe-like. They move extremely fast, which is usually the first thing people notice. If the bug you saw sprinted across the tile and disappeared behind the toilet before you could get a good look, a house centipede is a likely candidate.
Like the others, centipedes favor damp, dark spaces: basements, closets, and bathrooms. They’re predators that eat spiders, cockroaches, and other small insects, so their presence sometimes signals a larger bug population in the home. They can deliver a mild bite if cornered, roughly comparable to a bee sting, but they generally avoid people entirely.
Drain Fly Larvae: The Worm-Like Option
If what you spotted looks less like an insect and more like a tiny dark worm near the drain or shower floor, you may be looking at drain fly larvae. Adult drain flies are small (2 to 4 mm), fuzzy, moth-like flies that hover near sinks and showers. Their larvae develop inside drains, feeding on the slimy buildup of soap scum, algae, and bacteria that coats pipe walls. The larvae go through four growth stages over roughly 18 days before becoming adults, and their entire lifespan is about 35 days.
You can test for drain fly larvae by placing a strip of clear tape over the drain opening overnight. If tiny flies or larvae stick to it by morning, the drain is the source. Cleaning the organic buildup inside the drain, not just pouring bleach down it, is what actually eliminates them. A stiff drain brush and an enzyme-based drain cleaner break up the sludge where larvae feed and breed.
Why Your Bathroom Attracts These Bugs
Every insect on this list needs moisture. Bathrooms provide it in abundance: condensation on pipes, standing water in drains, damp grout, and humid air after showers. The EPA recommends keeping indoor humidity between 30 and 50 percent, and no higher than 60 percent. Bathrooms regularly exceed that range, especially those without exhaust fans or windows.
Common moisture sources that pull bugs indoors include poor pipe connections, cracked pipes, improper seals around tubs and sinks, and unfinished basement or crawlspace areas with dirt floors beneath the bathroom. Even mulch piled against the home’s foundation or gutters that dump water near the walls can create damp conditions right at the entry points bugs use.
How to Keep Them Out
Run the bathroom exhaust fan during and for at least 15 minutes after every shower. If you don’t have a fan, open a window. A cheap hygrometer (under $15 at most hardware stores) lets you monitor humidity and confirm you’re staying below that 60 percent threshold. A small dehumidifier in a windowless bathroom can make a noticeable difference.
Seal gaps around pipes where they enter the wall, replace worn weatherstripping on exterior doors, and check window screens for tears. Move firewood, leaf piles, and mulch at least a foot away from the foundation. Indoors, fix any dripping faucets or slow leaks under the sink. These steps remove the moisture and entry points that bring bugs inside in the first place.
For drain-breeding insects specifically, clean drains monthly with a brush and enzyme cleaner. Standing water in shower pans, unused floor drains, or slow-draining sinks is a breeding invitation. Keeping drains flowing freely eliminates the stagnant film larvae depend on.