Ants in the Bathroom: Why They Are There and How to Stop Them

By the Pest Control Brief editorial team Updated October 12, 2026 11 min read
Bathroom vanity and sink in daylight
Quick answer

Ants usually come into a bathroom for water, not food, and they are usually nesting close by, in a wall void, under the floor or around a leak. Extension entomologists list bathtubs, toilets, sinks and showers among the favourite indoor nest sites of odorous house ants, and say indoor nests are often tied to plumbing leaks. Large black ants in a bathroom can mean carpenter ants in damp wood, which needs fixing. Slow-acting bait, not spray, is the usual answer for tiny ants.

A bathroom offers what a small ant colony needs most: constant moisture, warmth from hot water pipes, and hollow spaces behind tiles, tubs and cabinets. That is why ants turn up there even in a spotless house. The steps below work out which ant you have, what its presence says about the room, and how to get rid of it without making it worse. For the other things that live around bathroom drains and damp floors, see our guide to bugs in the bathroom.

Which ant, what it means, what to do

Ant What you see What it usually means Fix
Odorous house ant Small, uniformly brown to blackish brown, about 2.4 to 3.3 mm; rotten smell when crushed A nest in a wall void, under flooring or near a leak Sweet bait on the trail, fix leaks, no sprays near bait
Pharaoh ant Tiny, yellowish or light brown to red, about 1.5 to 2 mm, two nodes at the waist Nests in warm, humid wall voids; often spread through a building Non-repellent bait only; never spray. Apartments need whole-building treatment
Ghost ant Tiny, 1.3 to 1.5 mm, dark brown head and thorax, milky white abdomen and legs Common in central and south Florida; further north mostly in heated buildings; nests in voids, cabinets and pot plants Bait on the trail, check within a day or two that ants are feeding
Argentine ant Small light brown to brown ants, about a tenth of an inch, in busy trails Nests moved indoors after drought, heavy rain or cool weather Bait indoors, perimeter treatment outside if reinvasion continues
Carpenter ant Large, often black, usually a quarter inch or more; may see coarse sawdust Damp or rotting wood in the floor, wall or window frame Find and fix the wet wood, treat the nest

If you are not sure which ant you have, our ant identification guide walks through the waist, size and colour features in more detail.

Bathroom ants by worker sizeFour of the five common bathroom ants are 3.3 mm or smaller. A large ant, a quarter inch or more, points to carpenter ants and damp wood. Argentine ant shown at the one tenth of an inch given by Mississippi State.Ghost ant1.3 to 1.5 mmPharaoh ant1.5 to 2 mmOdorous house ant2.4 to 3.3 mmArgentine ant2.5 mmCarpenter ant (black)6.4 to 15.9 mm02.557.51012.515mm
Bathroom ants by worker size Four of the five common bathroom ants are 3.3 mm or smaller. A large ant, a quarter inch or more, points to carpenter ants and damp wood. Argentine ant shown at the one tenth of an inch given by Mississippi State. Source: UF/IFAS Featured Creatures, Penn State Extension, Mississippi State University Extension, University of Nebraska Extension.
Base of a toilet and caulked tile floor in a bathroom
Ants in a bathroom are usually following moisture, not food. Illustration for The Pest Control Brief.

Why are there ants in my bathroom?

Three reasons come up again and again in the extension literature.

Water and warmth

Utah State University Extension says that indoors, moisture and heat are the key components of odorous house ant nesting habitat, and that moisture from leaks or condensation and wall voids containing heated pipes are the preferred sites. Its table of typical nest sites lists bathtubs, toilets, sinks, and attics above showers. Mississippi State University Extension says indoor nests are usually in moist areas like bathrooms and kitchens and are often associated with plumbing or structural leaks. For Pharaoh ants, UF/IFAS gives the preferred nest conditions as warm, 80 to 86°F, and humid, around 80 per cent, near food or water, such as in wall voids.

Nests already in the walls

The ants you see are foragers. The nest is usually hidden: in a wall void behind the tub, under flooring, behind a cabinet or under the slab. Utah State notes indoor trails run under baseboards and carpet edges, along pipes, near sinks, drains and baths, and through wall voids where warm pipes run. UF/IFAS says Pharaoh ants often use wiring or hot water pipes to travel through walls and between floors.

A trail from outside

Many bathroom ants live outdoors and come in for water. Mississippi State notes that drought, excessive rainfall or the onset of cool weather can trigger Argentine ants to move some nests indoors. Utah State says odorous house ant trails often run 33 to 157 feet, so a nest in the flower bed can supply ants to an upstairs bathroom.

Why are there ants in my bathroom if there is no food?

Because water is enough. A small leak under the sink, condensation on a cold pipe, a damp bath mat or a wet shower tray gives a colony what it needs. Pest control companies often blame toothpaste, soap and lotion residue; we found no extension research testing that, so treat it as a possible extra, not the main cause. Pharaoh ants, UF/IFAS notes, infest many areas where food is not commonly found.

Tiny ants in the bathroom sink

Tiny ants in or around a sink are usually following pipes: Utah State notes indoor trails run along pipes and near sinks and drains, and UF/IFAS says Pharaoh ants travel through walls along hot water pipes. Look under the sink for a damp cabinet floor, a slow drip at a joint or a gap where the pipe enters the wall, and bait where the trail comes out.

Why are there ants in my bathroom at night?

Carpenter ants forage mostly at night. Nebraska Extension says workers leave the colony in late afternoon or early evening, forage during the night and return early in the morning. Odorous house ants forage day or night but avoid hot conditions, according to Utah State. A bathroom that is quiet, dark and still damp from evening showers suits both.

Carpenter ants in the bathroom are a different problem

Large ants in a bathroom deserve more attention than tiny ones. Carpenter ants prefer moist wood, and Nebraska Extension notes that in early spring, workers from an indoor colony may forage before food is available outdoors and are attracted to water in kitchens and bathrooms. Penn State lists leaking bathtubs and showers among the damp spots to check for nests, and Illinois guidance names bathtubs among common satellite nest sites. A carpenter ant nest under a tub or behind a shower usually means wet wood: a failed seal, a slow leak or condensation. Our guide to wood damage identification shows what their galleries and sawdust look like, and our guide on how to get rid of carpenter ants covers finding and treating the nest.

When carpenter ants show up in US recordsCarpenter ant records climb from 37 in January to 137 in April and peak at 165 in June. Large ants in a bathroom in February or March, before they are about outdoors, point to a nest indoors. 100 is the yearly average share of all research-grade records.JFMAMJJASONDCarpenter antspeaks in June
When carpenter ants show up in US records Carpenter ant records climb from 37 in January to 137 in April and peak at 165 in June. Large ants in a bathroom in February or March, before they are about outdoors, point to a nest indoors. 100 is the yearly average share of all research-grade records. Source: The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026.

Our analysis of US iNaturalist research-grade records shows carpenter ant records rising from an index of 37 in January to 99 in March and 137 in April, on the way to a June peak of 165. That spring climb lines up with Nebraska’s description of early-season foraging indoors. If big ants appear in a bathroom in February or March, before they are about outside, an indoor nest is the likelier source.

Why spraying makes bathroom ants worse

Odorous house ants, Pharaoh ants and ghost ants all live in colonies with many queens spread over several nests, and all can split, a process called budding. UF/IFAS explains that Pharaoh ant colonies produce daughter colonies when a queen and a few workers break off, and that workers can even raise a new queen from brood. It warns that repellent products can worsen the situation by causing the colony to fracture and bud: activity drops briefly, then returns from more nests.

A 2005 Purdue study in the Journal of Economic Entomology tested this on laboratory Pharaoh ant colonies and found that cypermethrin, a repellent pyrethroid, caused colony budding, though the response was delayed. Clemson’s Home and Garden Information Center warns against overusing sprays on odorous house ants for the same reason, and Utah State notes that incomplete treatment of a nest with a repellent insecticide may cause it to split. Spraying a bathroom trail also leaves residue on surfaces you touch every day.

How to get rid of ants in the bathroom, step by step

  1. Watch before you wipe. Follow the trail for a few minutes to see where ants enter: a gap behind the toilet, the edge of the tub, a hole for a pipe. Utah State suggests putting jelly on note cards along walls to find active trails.
  2. Find and fix the water. Check under the sink, around the toilet base and along the tub and shower seals. Dry the room after showers and run the extractor fan.
  3. Use slow-acting bait on the trail. Penn State says odorous house ant baits containing hydramethylnon, fipronil or boric acid, designed for sweet-loving ants, may need two weeks or longer. Mississippi State says baits usually take several weeks and must be kept fresh.
  4. Check that ants are feeding. UF/IFAS advises checking ghost ant baits within one or two days and moving them if ants are not feeding. Mississippi State suggests switching baits and locations if ants stop taking one.
  5. Do not spray near the bait. Mississippi State warns that sprays repel ants and stop them taking bait, and Clemson advises that outdoor sprays should not disturb bait stations.
  6. Bait every room where you see them. Mississippi State’s example: if ants are in the kitchen, den and a bathroom, bait all three.
  7. Seal entry points once the colony declines. Caulk gaps around pipes, tub edges and baseboards.
  8. Treat outside if they keep coming back. Mississippi State describes a residual insecticide band 3 to 10 feet wide around the house for heavy outdoor populations; follow the product label.

Follow every product label and keep baits away from children and pets. Pharaoh ants in an apartment or condo are a building problem: UF/IFAS says an infestation in a multifamily building requires treatment of the entire building, so tell the landlord or manager. Our guide to apartment and condo pest control explains how that usually works, and our ant control cost guide covers typical professional prices if the ants persist after a few weeks of baiting.

Ants in the bedroom too?

The same reasoning applies one room over. A bedroom next to a bathroom shares walls and pipes, and trails often run along baseboards between them. UF/IFAS notes Pharaoh ants nest in odd places, including between layers of bed linen and clothes, so tiny pale ants in a bedroom of a multi-unit building are worth taking seriously. Crumbs, drinks and houseplants with aphids or scale give ants a reason to stop.

Which ants people record, by state

Our state data shows a bias worth knowing about. Large, obvious carpenter ants are far more often photographed and identified than the tiny ants that cause most bathroom complaints. In Pennsylvania, for example, there are 65.9 carpenter ant records per 10,000 insect records against 9.5 for odorous house ants. These are records of sightings, mostly outdoors, not indoor infestation rates, so they show which ants people notice, not which ones are in their bathrooms.

Ant records per 10,000 insect records in Florida, Texas and PennsylvaniaBig carpenter ants dominate the records while the tiny ants behind most bathroom complaints barely register, because people photograph what they notice. These are sightings, mostly outdoors, not indoor infestation rates.Carpenter ants, FL127.5Carpenter ants, TX28.1Carpenter ants, PA65.9Odorous house ant, FL0.3Odorous house ant, TX0.8Odorous house ant, PA9.5Argentine ant, FL1.2Argentine ant, TX1
Ant records per 10,000 insect records in Florida, Texas and Pennsylvania Big carpenter ants dominate the records while the tiny ants behind most bathroom complaints barely register, because people photograph what they notice. These are sightings, mostly outdoors, not indoor infestation rates. Source: The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026.

Frequently asked questions

Why am I suddenly getting ants in my bathroom?

Usually because something changed outdoors or in the plumbing. Mississippi State Extension notes drought, heavy rain and cool weather can push Argentine ants indoors, and odorous house ant nests are often tied to leaks. In spring, carpenter ants from an indoor nest may forage early and head for water. A new drip, failed seal or damp cabinet is worth checking first.

Why shouldn’t you kill ants?

Squashing or spraying the ants you see rarely helps, because they are a small share of the colony and the queens stay in the nest. For multi-queen species such as Pharaoh and odorous house ants, repellent sprays can make colonies split into more nests, which UF/IFAS, Clemson and a 2005 Purdue study all describe. Slow-acting bait that foragers carry home reaches the queens instead.

Do ants in the bathroom mean diabetes?

Almost always no. Ants in bathrooms are explained by moisture, warmth and nearby nests. Historically, ancient Indian physicians named diabetes madhumeha, or honey urine, because sweet urine attracted ants, but ants are not a diagnostic test. The CDC lists symptoms such as frequent urination, increased thirst and unexplained weight loss; if you have these, talk to a doctor and get tested.

What gets rid of ants in the bathroom?

Slow-acting ant bait placed on the trail, combined with fixing leaks and drying the room. Penn State says baits for sweet-loving ants may take two weeks or longer, and Mississippi State says to keep baits fresh and avoid spraying nearby. Seal gaps around pipes and tubs once activity drops. Large ants in damp wood need the wood repaired and the nest treated.

Sources

  • Utah State University Extension, Odorous House Ants, Davis and Taylor, 2019.
  • Mississippi State University Extension, Publication 2407, Control of Argentine Ants and Odorous House Ants in the Home, Layton and MacGown.
  • Penn State Extension, Odorous House Ant.
  • Clemson Cooperative Extension Home and Garden Information Center, Tiny Ants Around Your Home.
  • UF/IFAS Featured Creatures, EENY-290, Pharaoh Ant, Monomorium pharaonis.
  • UF/IFAS Featured Creatures, EENY-310, Ghost Ant, Tapinoma melanocephalum, Nickerson, Bloomcamp and Pereira.
  • Buczkowski, Scharf, Ratliff and Bennett, Efficacy of Simulated Barrier Treatments Against Laboratory Colonies of Pharaoh Ant, Journal of Economic Entomology 98(2), 2005.
  • University of Nebraska Extension, NebGuide G1738, Carpenter Ant Management, revised 2019.
  • Penn State Extension, Carpenter Ants; Illinois Department of Public Health with University of Illinois Extension, Carpenter Ants.
  • Lakhtakia R, The History of Diabetes Mellitus, Sultan Qaboos University Medical Journal, 2013.
  • Centers for Disease Control and Prevention, Diabetes Symptoms.
  • The Pest Control Brief analysis of iNaturalist research-grade records, pulled October 2026.
Got ants?Compare local quotes