Ants show up in bathrooms because of moisture, not food. Unlike kitchen infestations driven by crumbs and spills, bathroom ants are drawn to the steady supply of water from leaky pipes, shower condensation, and humid air. Soap residue, toothpaste, and organic buildup in drains give them bonus reasons to stick around.
Why Bathrooms Attract Ants
Several ant species actively seek out damp environments, and bathrooms deliver exactly that. Condensation on pipes under the sink, puddles near the shower, and humidity that lingers after a hot bath all create conditions ants need to survive. Once scouts find a reliable water source, they lay chemical trails that guide the rest of the colony straight to it.
But water isn’t the only draw. Soaps, shampoos, lotions, and body washes contain oils and organic compounds that certain ant species can detect from several meters away. Hair, skin cells, and scum that accumulate inside drains are additional attractants. If you’re seeing ants emerge from a shower drain or sink, they’re feeding on organic buildup inside the pipe or using the drain line as a highway from a nest in a nearby wall or crawl space.
Which Ants You’re Probably Seeing
Three species account for most bathroom invasions, and identifying which one you have changes how you should respond.
Odorous House Ants
These are the most common culprit. They’re small (about 1/10 inch), brown to dark brown, and give off a distinctive rotten-coconut smell when crushed. They nest in wall voids and under floors, especially near moisture sources, and forage indoors for sweets. If you’re seeing a steady trail of tiny brown ants along your baseboards or countertop edge, this is likely the species.
Pharaoh Ants
Even smaller at roughly 1/16 inch, pharaoh ants are light yellow to reddish and almost translucent. They’re unusual because they nest exclusively indoors in northern climates and cannot survive outside. They eat an exceptionally wide range of things, including toothpaste, soap, grease, and dead insects. They nest in tiny cracks, behind countertops, and inside wall voids near warm, dark spots with moisture. Their nests are notoriously difficult to find.
Carpenter Ants
These are the ones that should concern you most. Carpenter ants are much larger, ranging from 3/16 to 1/2 inch, and are typically black or black-and-red. They don’t eat wood, but they tunnel through it to build nests, preferring damp or decaying wood. Bathrooms with any history of leaks or water damage are prime targets. Over time, their tunneling can weaken wooden beams, floors, and walls.
Signs of Carpenter Ant Damage
Because carpenter ants cause structural damage, it’s worth knowing what to look for. The clearest sign is frass: small piles of what looks like fine sawdust, sometimes mixed with bits of dead insects. You’ll find it near baseboards, under cabinets, or along walls where pipes run. Unlike termite damage, which is rough and packed with mud, carpenter ant tunnels are clean and polished inside. If you tap on wood near the suspected area and it sounds hollow, the infestation may already be well established.
Carpenter ants prefer wood that’s already damp or decaying, so the damage often starts in places you can’t easily see: behind bathroom tiles, around tubs and showers, or inside wall cavities near plumbing. By the time frass piles appear, the colony has usually been active for a while. If you spot these signs, professional treatment is the right call.
How to Get Rid of Them
The instinct to grab a spray can and kill every ant you see is understandable but counterproductive, especially with pharaoh ants. Spraying foragers with contact insecticide can cause pharaoh ant colonies to “bud,” splitting into multiple smaller colonies that scatter to new locations and make the problem worse. For any bathroom ant species, baiting is far more effective than spraying.
Baits work by exploiting the colony’s own food-sharing behavior. Worker ants carry the bait back to the nest and feed it to the queen. Once the queen dies, the colony collapses. You have a few options:
- Bait stations use a solid bait inside a plastic housing with small entry holes. Workers enter, eat, and carry the poison home undisturbed. Sugar-based formulas work best for pharaoh ants and other species that prefer sweets.
- Bait gels let you squeeze small amounts directly into cracks, crevices, and gaps where ants are traveling. They’re especially useful along grout lines, behind toilets, and where pipes meet the floor.
- Granular baits have the advantage of staying effective even when wet, which makes them well suited for the damp environment under sinks and around pipe entry points.
Place baits along the trails you see ants using and resist the urge to clean those trails away immediately. The chemical path is what guides more workers to your bait. Give it time. Colony reduction typically takes days to a couple of weeks depending on colony size.
DIY Boric Acid Bait
If you prefer a homemade option, a simple sugar and boric acid solution is effective. Mix 1 teaspoon of boric acid powder with 3 tablespoons of white sugar in warm distilled or bottled water (about 1 3/4 cups). Stir until fully dissolved. Soak cotton balls in the solution and place them near ant trails or entry points. The sugar draws ants in, and the boric acid kills them slowly enough that they carry it back to the colony first. Keep this solution away from children and pets.
Clean the Drains
If ants are coming from your shower drain or sink, the organic buildup inside the pipe is likely what’s feeding them. Flushing drains regularly with hot water helps break down the layer of hair, soap scum, and skin cells that accumulates over time. For heavier buildup, an enzymatic drain cleaner dissolves organic material without the harsh chemicals that can damage pipes. Make this a regular habit, not a one-time fix, since buildup returns quickly in a bathroom that gets daily use.
If ants keep reappearing from the drain after cleaning, the colony is probably nesting nearby in a wall void or crawl space and simply using the drain as an access route. At that point, baiting near the drain opening and sealing gaps around the pipe where it meets the floor will do more than repeated drain cleaning.
Long-Term Prevention
Getting rid of the current colony is only half the job. Without addressing the conditions that attracted ants in the first place, a new colony will eventually find the same entry points.
Start with moisture control. Fix any leaky pipes or faucets, even slow drips. Wipe down wet surfaces after showers. If your bathroom lacks ventilation, run an exhaust fan during and for 15 to 20 minutes after bathing to pull humidity out of the room. Persistent dampness in walls or under flooring is an open invitation, particularly for carpenter ants.
Next, seal entry points. Inspect the caulk around windows, where pipes pass through walls and floors, along baseboards, and around the edges of tiles. Any gap wide enough for a credit card edge is wide enough for ants. Use high-quality silicone caulk to close these gaps. Pay special attention to areas under the sink and behind the toilet, where pipes create natural openings in walls and flooring.
Finally, reduce attractants. Store toiletries in closed cabinets rather than leaving bottles on the shower floor where residue pools. Clean soap dishes regularly. Wipe down counters to remove toothpaste smears and lotion residue. These are minor habits, but they remove the scent signals that draw scouting ants inside in the first place.