How Cockroaches Get Into Your House and How to Stop Them

Cockroaches get into your house through surprisingly small openings, plumbing systems, and by hitchhiking on items you carry inside. A cockroach can compress its body by 40 to 60 percent, allowing it to squeeze through a gap as narrow as 3 millimeters, roughly the thickness of two stacked pennies. That means cracks in your foundation, gaps under doors, and spaces around pipes are all open invitations.

The Most Common Entry Points

The list of places cockroaches slip through is longer than most people expect. The biggest culprits are gaps around plumbing. Every pipe that enters your home, whether under a sink, behind a toilet, or through a basement wall, creates a small opening where the pipe meets the structure. These gaps are often hidden behind cabinets or drywall, and cockroaches follow the moisture and organic buildup along these pipes like a trail.

Other common entry points include:

  • Cracks in the foundation or slab, particularly where the foundation meets the exterior wall
  • Gaps under exterior doors, especially garage doors with worn or missing seals
  • Floor drains, basement drains, and utility sinks
  • Crawlspace vents or weep holes with missing or damaged screens
  • Sump pits with loose-fitting lids
  • Torn window and door screens

Once a cockroach gets into a wall void or mechanical chase, it can travel along pipes and wiring between floors. A single entry point in your basement can lead to cockroaches appearing in bathrooms, kitchens, and laundry rooms throughout the house.

How They Come Up Through Drains

Cockroaches living in sewer lines and storm drains can travel directly into your home through plumbing. The main thing stopping them is the P-trap, that curved section of pipe under every sink, tub, and floor drain. When it’s full of water, it creates a seal that blocks sewer gases and, conveniently, cockroaches. Roaches generally avoid swimming through standing water.

The problem starts when P-traps dry out. Any drain you don’t use regularly, a guest bathroom sink, a basement floor drain, a spare shower, will eventually lose its water seal to evaporation. Once that happens, there’s nothing between the sewer system and your living space. Clogged drain vents can also siphon water out of P-traps, creating the same open pathway. If you have drains that sit unused, pouring a small amount of mineral oil into them keeps the trap sealed since mineral oil doesn’t evaporate the way water does.

Hitchhiking on Everyday Items

Not all cockroaches crawl in through a crack. German cockroaches, the most common indoor species worldwide, typically enter homes by riding in on things you bring inside: grocery bags, cardboard boxes, used furniture, and secondhand appliances. Unlike species that wander in from outdoors, German cockroaches live and breed entirely indoors. They don’t migrate from a yard or sewer. If you have them, something carried them in.

Cardboard is a particular risk because cockroaches are attracted to the glue used in corrugated boxes, and the fluted layers provide perfect hiding spots. Used appliances and furniture from infested environments are another major source. Inspecting secondhand items before bringing them inside, and breaking down cardboard boxes promptly rather than storing them, reduces this risk significantly.

Different Species, Different Paths

Understanding which type of cockroach you’re seeing tells you a lot about how it got in. The four most common household species each have distinct entry habits.

German cockroaches prefer warm, humid areas near food and water, particularly kitchens and bathrooms. They favor temperatures around 70 to 75°F. Because they live exclusively indoors, they almost always arrive by hitchhiking on items rather than crawling in from outside. They’re especially common in multi-unit housing, where they spread between apartments through shared walls and plumbing.

American cockroaches are the large reddish-brown ones that startle people the most. They prefer temperatures above 82°F and thrive in sewers, storm drains, and steam tunnels. They forage into ground floors of buildings through damaged pipes, missing drain screens, and faulty water traps. If you’re finding big cockroaches in your basement or ground-floor bathroom, a sewer connection is the likely pathway.

Oriental cockroaches prefer cooler, damper conditions than other species. They congregate in water meter boxes, garages, basements, and areas near ground cover, ivy, or woodpiles. At night, they migrate into buildings searching for food or mates but typically stay on the ground floor. Single-family homes surrounded by vegetation are most at risk.

Brown-banded cockroaches account for only about 1 percent of indoor infestations. They prefer warmer conditions (around 80°F) and tend to hide in unusual spots: behind wall art, inside hollow furniture legs, near electrical appliances, and within clutter. Unlike German cockroaches, they aren’t tied to kitchens and bathrooms.

What Draws Them Inside

Cockroaches need three things: food, water, and shelter. Your house offers all three in concentrated form, and the specific attractants determine which rooms become hotspots.

Food sources include crumbs on counters and floors, uncovered food, dirty dishes left in the sink, unsealed pantry items, and garbage that isn’t tightly lidded. Cockroaches aren’t picky. Grease residue behind a stove or pet food left out overnight is enough to sustain them.

Moisture matters just as much as food. Leaky pipes, dripping faucets, condensation on cold-water pipes, and wet surfaces around tubs and sinks all provide the water cockroaches need. This is why kitchens, bathrooms, and basements are the most common infestation sites. Fixing even minor leaks removes a key resource.

Warmth and darkness complete the picture. Cockroaches are drawn to the heat generated by refrigerator motors, dishwashers, and other appliances. They hide in tight, dark spaces during the day, behind refrigerators, under stoves, inside cabinets, and inside the motors of major appliances.

How to Seal Them Out

Exclusion, physically blocking entry points, is the most effective long-term strategy. Start with doors. Lie on the floor and look for light coming under exterior doors. Even a gap of 1/16 inch is enough for insects to enter. Install door sweeps or thresholds on all exterior doors, and pay special attention to the bottom corners, where gaps tend to be largest. Garage doors need a rubber bottom seal (vinyl seals crack in cold weather). For sliding glass doors, line the bottom track with half-inch to three-quarter-inch foam weatherstripping.

Next, seal utility openings. Every spot where a pipe, wire, or vent passes through your foundation or siding is a potential entry point: outdoor faucets, electrical receptacles, gas meters, dryer vents, cable and phone lines. These can be plugged with silicone caulk, cement, expandable foam, steel wool, or copper mesh, depending on the size of the gap. Acrylic latex caulk is paintable and easy to clean up with water, though it’s slightly less flexible than pure silicone. Clear-drying caulk is more forgiving of imperfect application.

For vents, install quarter-inch wire mesh (hardware cloth) over attic, roof, and crawlspace openings. Repair any torn window or door screens. Caulk cracks around window frames, door frames, and fascia boards. Before applying new caulk, clean the surface and remove any old peeling caulk so the new material adheres properly.

For drains, keep P-traps filled by running water through infrequently used drains every few weeks, or fill them with mineral oil. Make sure sump pit lids fit tightly. If cockroaches are entering through the sewer system, a drain screen or mesh cover over floor drains adds a physical barrier.

Reducing What Attracts Them

Sealing entry points keeps cockroaches from getting in. Reducing attractants keeps them from wanting to try. Store food in sealed containers rather than open bags or boxes. Clean up crumbs and spills promptly, including behind and under appliances where grease and food particles accumulate. Take garbage out regularly and use bins with tight-fitting lids. Don’t leave pet food or water dishes out overnight.

Address moisture by fixing leaky faucets and pipes, even slow drips. Use a dehumidifier in damp basements. Wipe down wet surfaces in bathrooms and kitchens. Reduce clutter, particularly cardboard boxes and paper bags stored in basements, garages, or closets, since these provide both harborage and a food source for roaches. If your home is surrounded by dense ground cover, ivy, or woodpiles, moving that vegetation away from the foundation reduces the number of cockroaches staging near your exterior walls.