Cockroaches enter bathrooms by crawling up through drains, finding gaps in baseboards, squeezing through leaky pipes, sliding under doors, and through small holes in walls or ceilings. Sometimes, cockroaches enter through other parts of the house and travel to the bathroom, attracted by the water and humidity.