In this guide
- Why apartments get cockroaches
- Step 1: Cut off food and water
- Step 2: Seal entry points between units
- Step 3: Reduce clutter and check what comes in
- Step 4: Monitor with sticky traps
- What to use if you see roaches (and what to avoid)
- Work with your landlord and neighbors
- When to call a professional
- Frequently asked questions
- The Bottom Line
Finding cockroaches in an apartment is frustrating because you share walls, pipes and trash rooms with dozens of neighbors. A spotless kitchen helps, but it cannot stop roaches that travel in from the unit next door. The good news is that prevention in a multi-unit building follows a clear plan: take away food and water, close the gaps roaches use to move between units, watch for early signs, and get management involved quickly. This guide walks you through each step.
Quick answer
To prevent cockroaches in an apartment, remove food, water and clutter (sealed containers, dishes washed nightly, trash out daily, leaks fixed), seal the gaps around pipes, outlets, cabinets and baseboards, check bags and boxes before bringing them in, and monitor with sticky traps under the sink and behind the fridge. Skip bug bombs, which scatter roaches into walls and neighboring units. If you see roaches, report them to your landlord right away, because the most effective control is building-wide.
Table of Contents
Why apartments get cockroaches
The cockroach behind most apartment problems is the German cockroach. University of California IPM experts describe it as the most common indoor species, especially in multi-unit housing. It is small (about 1/2 to 5/8 inch long as an adult, with two dark stripes behind the head), it lives almost entirely indoors, and it prefers kitchens and bathrooms where food, warmth and moisture are close together.
Three things make apartments especially vulnerable:
- Shared walls, pipes and wiring. Purdue Extension notes that cockroaches can travel from neighboring apartments through holes and cracks. Plumbing and electrical openings connect units like hallways in the walls.
- Tiny hiding spaces. According to UC IPM, a German cockroach can hide in a crack only 1/16 inch wide, so gaps behind cabinets, baseboards and appliances are ideal shelter.
- Fast breeding. UC IPM reports that a single female German cockroach and her offspring can produce over 30,000 roaches in a year. A few roaches carried in a grocery bag or moving box can become a serious problem within months.
Larger roaches, such as American and Oriental cockroaches, are usually tied to sewers, drains, basements and damp utility areas. In apartments they tend to show up near floor drains, in ground-floor units or after plumbing problems.
Step 1: Cut off food and water

UC IPM puts it plainly: good sanitation and exclusion are essential, and pesticides alone will not solve cockroach problems. Even tiny amounts of crumbs or liquid trapped in cracks can feed roaches. Build these habits into your routine:
- Wash dishes the same day. Do not leave dirty dishes in the sink or dishwasher overnight. Rinse food residue before loading.
- Store food in sealed containers. Move cereal, flour, rice, snacks and sugar from paper and cardboard into hard plastic or glass containers with tight lids.
- Handle pet food carefully. Put pet bowls away at night or wash them after the last meal, and keep dry pet food in a sealed bin.
- Take trash out daily. Use a can with a tight lid, tie bags before carrying them out, and rinse recycling bottles and cans.
- Clean the hidden spots. Wipe stovetops, vacuum crumbs from cabinet edges and the gap beside the stove, and pull out the toaster and microwave regularly. A vacuum with a HEPA filter also helps limit roach allergens.
- Fix water sources. Roaches need water more than food. Dry the sink and tub before bed, and report dripping faucets, leaking pipes under sinks and condensation from the fridge to maintenance. If you suspect a hidden leak, our guide to signs of a water leak in a wall explains what to look for.
Step 2: Seal entry points between units

Sealing is the step that protects you from your neighbors’ roaches. Focus on the places where your unit connects to walls, floors and plumbing:
- Pipe openings under sinks. Gaps where water and drain lines enter the wall are roach highways. Fill them with caulk, or stuff larger openings with copper mesh and seal over it.
- Behind the stove, fridge and dishwasher. Check where gas lines, water lines and cords pass through the wall.
- Cabinet edges. Purdue Extension specifically recommends sealing cracks where kitchen cabinets meet walls and floors.
- Baseboards and countertop seams. Run a bead of caulk along gaps between baseboards and the floor and along the backsplash.
- Electrical outlets and switch plates on shared walls. Inexpensive foam outlet gaskets close the gap behind the cover plate.
- Your front door. A door sweep and weather stripping reduce roaches walking in from the hallway.
Renters should ask before making permanent changes. Small caulk jobs and outlet gaskets are usually fine, but your landlord may prefer to do larger repairs, and in many buildings sealing common walls is management’s job.
Step 3: Reduce clutter and check what comes in
Clutter gives roaches shelter close to food. UC IPM recommends removing piles of paper and cardboard boxes, and Purdue’s multi-family guide suggests reducing clutter in closets, drawers and cabinets.
- Recycle paper bags, newspapers and cardboard boxes promptly rather than storing them under the sink or beside the fridge.
- Store items in plastic bins with lids instead of cardboard.
- Inspect grocery and delivery bags, boxes and secondhand furniture or appliances before you bring them inside. UC IPM advises checking deliveries and looking for egg cases on furniture and appliance motors.
- When you move into a new apartment, inspect the kitchen and bathroom with a flashlight before unpacking, and clean cabinets before you fill them.
Step 4: Monitor with sticky traps
Roaches are active at night, so a light infestation can go unnoticed for weeks. In a Rutgers study presented through the Northeastern IPM Center, many residents of infested apartments were unaware of their roaches: 54% at six months and 88% at twelve months. Sticky traps help you catch a problem early.
UC IPM calls sticky traps the best way to detect and monitor cockroaches. Place a few where roaches forage: under the kitchen sink, beside or behind the stove and refrigerator, near the toilet and along wall-floor edges. Number them and check them every few days. A trap that keeps catching roaches points to the area that needs cleaning, sealing or treatment. Sticky traps are for monitoring, not control.
Also watch for droppings that look like black pepper or coffee grounds, dark smear marks in corners, shed skins and a musty odor. Our German cockroach removal guide shows what these signs look like.
What to use if you see roaches (and what to avoid)
If roaches appear despite good prevention, choose low-exposure products that roaches carry back to their hiding places.
| Option | How it works | Apartment notes |
|---|---|---|
| Gel bait | Roaches eat small dots placed in cracks near hiding spots | Usually the first choice; UC IPM notes results may take a week or more |
| Bait stations | Insecticide inside a closed plastic station | Safer around children and pets but slower, per Purdue |
| Boric acid dust | A thin film in dry voids; roaches swallow it while grooming | Lasts a long time if kept dry; never in open areas |
| Bug bombs (foggers) | Release a cloud of insecticide into the room | Avoid: they miss hiding spots and can scatter roaches |
For product choices, see our comparison of the best roach gel baits. If you want to use dust, follow our step-by-step guide to boric acid for roaches, which covers safe placement and the mistakes that make it fail.
Skip the bug bomb
UC IPM warns that foggers often miss the cracks where roaches hide, can be hazardous because of flammability and exposure, and may drive roaches into other areas. In the Rutgers multifamily study, total-release foggers failed to reduce cockroach numbers and left insecticide residue in kitchens. In an apartment, scattered roaches can also end up in your neighbors’ units. Sprays give only temporary knockdown and can repel roaches away from baits.
Always read and follow the product label, keep baits and dusts out of reach of children and pets, and never apply insecticides on counters, dishes or food-prep surfaces.
Work with your landlord and neighbors
Purdue Extension is clear that good control in multi-family housing cannot be achieved without cooperation among residents, management and the pest control company. The Rutgers research found that building-wide monitoring and treatment, including common areas such as trash and compactor rooms, laundry rooms and boiler rooms, was what eliminated infestations. Low-cost, quick monthly visits were not enough.
- Report roaches in writing as soon as you see them, with dates, rooms and photos.
- Ask about the building’s pest plan, including whether neighboring units and common areas are inspected.
- Prepare your unit for treatment by clearing under the sink and cabinets so the technician can reach hiding spots.
- Report leaks and gaps for repair, since moisture and openings undo treatment.
Landlord duties for pest control vary by state and city, so check your lease and local housing rules if a problem is not addressed.
When to call a professional
Prevention and baits can handle a few roaches, but get professional help (through your landlord or a licensed pest control company) if:
- You see roaches during the day or in several rooms, a sign of a large infestation.
- Sticky traps keep catching roaches after a few weeks of baiting and cleaning.
- Neighbors report roaches too, which points to a building-wide problem.
- Someone in your home has asthma or allergies. UC IPM notes that indoor cockroach infestations are a risk factor for asthma in children, especially in multi-unit housing. Learn more in Can Cockroaches Cause Asthma and Allergies?
For an overview of other household pests and treatment options, see our pest control guide.
Frequently asked questions
Can cockroaches come from a neighbor’s apartment?
Does a clean apartment guarantee no cockroaches?
Will one cockroach mean an infestation?
Do bug bombs work for roaches in apartments?
Who pays for cockroach treatment in an apartment?
The Bottom Line
Preventing cockroaches in an apartment comes down to four habits: keep food, water and clutter under control, seal the gaps that connect your unit to the rest of the building, check what you bring in, and monitor with sticky traps so you catch roaches early. Avoid foggers, use baits if roaches appear, and bring your landlord in quickly, because roaches in a shared building are best handled building-wide.
Sources
- UC Statewide IPM Program — Cockroaches (Pest Notes)
- Purdue University Extension (Bennett & Wang) — A Practical Guide to Cockroach Control in Multi-Family Housing Units (E-241)
- Northeastern IPM Center / Rutgers University (Wang & Sked) — Reducing Pest Infestations in Multifamily Housing: Research Updates on Mice and Cockroaches
