Getting rid of German cockroaches in an apartment requires a combination of gel baits, dust insecticides, sealing entry points, and aggressive sanitation. Unlike outdoor roach species that wander in occasionally, German cockroaches live exclusively indoors, breed fast, and spread between apartment units through shared walls and plumbing. A single female produces about 40 eggs per egg case, and the cycle from egg to reproducing adult takes as little as 70 days. That means a small problem becomes a serious infestation within a few months if you don’t act decisively.
Why Apartments Are Especially Vulnerable
German cockroaches spend most of their time hidden in cracks and crevices, but they’re surprisingly mobile. They travel between adjoining apartments through shared walls, ceilings, pipes, wires, and other openings. Common hiding spots include floor drains, pipe chases, the hollow voids under kitchen and bathroom cabinets, and the gaps where plumbing enters walls. Even if you eliminate every roach in your unit, new ones can migrate from a neighboring apartment within days.
This is why apartment infestations are harder to solve than house infestations. Your success depends partly on what’s happening on the other side of your walls. That said, sealing your unit and using the right products can protect your space even if neighbors aren’t cooperating.
Start With Sanitation
Cockroaches need water more than they need food. German cockroaches die in roughly 12 days without water, even when food is available. With water but no food, they can survive about 35 days. So your first priority is eliminating moisture sources: fix leaky faucets, dry out sinks and tubs before bed, empty pet water bowls overnight, and don’t leave standing water anywhere.
For food, the standard matters more than you’d think. Crumbs in a toaster tray, grease splatter behind a stove, or residue inside a microwave are enough to sustain a colony. Clean behind and under all kitchen appliances. Store food in sealed containers. Take garbage out nightly. Wipe down counters and stovetops before bed, since cockroaches are most active at night. Sanitation alone won’t eliminate an established infestation, but it forces roaches to eat your bait instead of competing food sources.
Gel Bait Is Your Primary Weapon
Gel bait is the most effective tool available for German cockroaches. It works because roaches eat the bait, return to their hiding spots, and die. Other roaches then feed on the dead roach’s body and feces, spreading the poison through the colony. This secondary kill effect is what makes gel bait so much more effective than sprays.
The active ingredients in commercial gel baits work in different ways. Some disrupt the insect’s nervous system, while others shut down energy production at the cellular level. The key feature they share is that they’re slow-acting, which gives poisoned roaches time to return to the nest and contaminate others before dying.
Place small pea-sized dots of gel bait in the spots where roaches live and travel:
- Kitchen cabinets: along the edges, corners, and hinges, especially upper cabinets where heat rises
- Behind appliances: the wall-floor junction behind the refrigerator, stove, and dishwasher
- Under sinks: where plumbing pipes enter the wall
- Bathroom cabinets: inside the hollow void beneath the cabinet box
- Electrical outlets and switch plates: roaches use these wall openings as highways between rooms
Use many small placements rather than a few large globs. Roaches prefer to feed close to their harborage, so you want bait within inches of where they hide. Replace bait every two to four weeks or when it dries out and hardens.
One important note: some German cockroach populations have developed an aversion to glucose, which is used as an attractant in many baits. These roaches taste glucose as bitter instead of sweet and refuse to eat the bait. If you’re applying gel bait correctly and not seeing results after two weeks, try switching to a different brand with a different bait matrix. Rotating products is good practice regardless.
Use Dust in Wall Voids and Crevices
Boric acid is a highly effective complement to gel bait. Applied as a fine dust into cracks, crevices, and wall voids, it clings to cockroaches as they walk through it. They ingest it while grooming and die. The key is applying it correctly: you want a barely visible film, not visible piles. Heavy application causes roaches to walk around it.
The best locations for boric acid dust include crevices along cabinet edges, the wall-floor junction behind major appliances, openings where plumbing enters walls, and inside electrical outlet boxes (with the power off). A small squeeze-bulb duster gives you the control to puff tiny amounts into tight spaces.
Diatomaceous earth works similarly by damaging the roach’s waxy outer coating, causing dehydration. It’s less toxic to humans and pets but generally slower-acting than boric acid. Either product lasts indefinitely in dry, undisturbed voids, providing long-term protection.
Seal Entry Points Between Units
In an apartment, sealing gaps is just as important as killing the roaches already inside. Use caulk to close gaps where plumbing pipes or wires pass through walls and floors. Copper mesh stuffed into larger openings (like around pipe chases) works well because roaches can’t chew through it. Foam sealant can fill bigger voids under cabinets.
Pay special attention to shared walls with neighboring units. Check behind outlet covers on those walls for gaps. Look under sinks where drain pipes disappear into the wall. Inspect the edges of kitchen and bathroom cabinets where they meet the wall. These are the routes cockroaches use to move between apartments, and blocking them can make the difference between a one-time fix and a recurring problem.
Avoid Sprays and Foggers
Aerosol sprays and bug bombs are counterproductive for German cockroach infestations. Sprays repel roaches away from treated surfaces, which pushes them deeper into walls and away from your bait. Foggers are even worse: they scatter roaches into new areas of your apartment (and potentially into neighboring units) without reaching the cracks and voids where roaches actually live. They also contaminate surfaces and bait placements. If you’ve been spraying, stop, and let the residue dissipate before placing gel bait.
Consider Insect Growth Regulators
Insect growth regulators, or IGRs, are a useful addition to your baiting strategy. These products mimic hormones found in insects (but not in humans or pets) and prevent young cockroaches from developing into reproducing adults. Exposed nymphs may stay stuck in their juvenile stage until they die. IGRs rarely kill adult roaches, but they stop the population from replacing itself. Combined with gel bait that kills the adults, IGRs can collapse a colony faster than baiting alone. They’re available as point-source stations or sprays designed for crack-and-crevice application.
Timeline and Expectations
With proper baiting and sanitation, you should see a noticeable reduction in roach activity within the first one to two weeks. A moderate infestation typically takes four to six weeks to bring under control. Heavy infestations, or apartments with ongoing migration from neighboring units, can take two to three months of consistent effort.
Don’t stop treatment when you stop seeing roaches. Egg cases that were deposited before treatment will continue hatching for several weeks. Keep fresh bait in place for at least a month after your last sighting. If roaches return after a period of absence, migration from a neighboring unit is the most likely cause, and you’ll need to revisit your sealing work.
Your Landlord’s Responsibility
In most jurisdictions, landlords are legally required to keep rental properties free from pest infestations under what’s called the “warranty of habitability.” This means that if you report a cockroach problem, your landlord must address it, typically by hiring a licensed pest control company. Document the infestation with photos and submit your complaint in writing. If your landlord fails to act, you may have legal remedies depending on your state or local tenant protection laws.
Professional pest control is especially valuable in multi-unit buildings because the company can treat multiple apartments simultaneously, addressing the building-wide migration problem that no single tenant can solve alone.
Why This Matters Beyond Nuisance
German cockroaches aren’t just unpleasant. Their saliva, feces, shed skins, and decomposing bodies release allergens that become airborne in your home. Inhaling these particles can trigger allergic reactions and worsen asthma, particularly in children. The allergens lodge in nasal and oral cavities and can provoke inflammation in the lungs. Eliminating the infestation and thoroughly cleaning affected areas (vacuuming crevices, wiping down surfaces, laundering items stored near harborage sites) reduces allergen levels over time.