How to Get Rid of Cockroaches: Complete Guide for Homeowners
Last updated: March 3, 2026
Learning how to get rid of cockroaches starts with understanding which species you are dealing with and how severe the infestation is. Cockroaches are among the most resilient household pests, and the wrong approach can scatter them into new areas of your home or drive resistance to common pesticides. A targeted plan based on species identification, proper product selection, and prevention is the most effective path to elimination.
This guide covers how to identify the cockroach species in your home, which DIY methods work (and which make things worse), when professional treatment is necessary, and how to prevent cockroaches from coming back. For pricing details, see our cockroach exterminator cost guide.
Identifying Cockroach Species
The species of cockroach in your home determines the best treatment approach. Indoor species like German cockroaches require different methods than outdoor species that wander inside. Misidentifying the species often leads to wasted time and money on the wrong products.
German cockroaches
German cockroaches are the most common indoor cockroach species and the hardest to eliminate. They are small (1/2 to 5/8 inch), light brown, and have two dark parallel stripes running down the back of their head. German cockroaches live almost exclusively indoors, preferring warm, humid areas near food and water. Kitchens and bathrooms are their primary habitats.
A single German cockroach egg case (ootheca) produces 30 to 40 nymphs, and a female can produce four to eight cases in her lifetime. This rapid reproduction means a small problem can become a severe infestation within weeks. German cockroaches are also the species most likely to develop resistance to common pesticides.
American cockroaches
American cockroaches are the largest common species, reaching 1.5 to 2 inches long. They are reddish-brown with a yellowish figure-eight pattern on the back of the head. Often called "palmetto bugs" or "water bugs," they prefer dark, damp environments like basements, sewers, and crawl spaces.
Unlike German cockroaches, American cockroaches typically live outdoors and enter homes through sewer connections, foundation cracks, and gaps around pipes. Seeing one or two American cockroaches does not necessarily mean you have an indoor infestation. It may indicate entry points that need sealing.
Oriental cockroaches
Oriental cockroaches are about 1 inch long, dark brown to black, and have a shiny appearance. They are sometimes called "water bugs" because of their preference for cool, damp locations. Basements, floor drains, crawl spaces, and areas under sinks are common harborage sites.
Oriental cockroaches are slower-moving than other species and less likely to climb walls or fly. They often enter homes through gaps around pipes, under doors, and through floor drains. Reducing moisture is especially important for controlling this species.
Smoky brown cockroaches
Smoky brown cockroaches are about 1.25 inches long, uniformly dark brown to mahogany, and strong fliers. They are primarily an outdoor species common in the southeastern United States. They are attracted to lights at night and often enter homes through gaps around doors, windows, and roof eaves.
Because smoky brown cockroaches need high humidity, they typically stay near moisture sources. Reducing outdoor lighting near entry points and sealing gaps are the most effective prevention measures for this species.
Why species identification matters
Treatment approaches differ significantly by species. German cockroaches require indoor baiting and often multiple professional treatments. American and oriental cockroaches respond best to perimeter treatment and exclusion (sealing entry points). Using the wrong method wastes time and allows the population to grow.
Signs of a Cockroach Infestation
Cockroaches are nocturnal, so most activity happens while you sleep. By the time you see a cockroach during the day, the population is usually large enough that overcrowding is pushing individuals out of hiding. Recognizing the early signs helps you act before the problem becomes severe.
Droppings
Small cockroach species (German) leave droppings that look like black pepper or coffee grounds, often concentrated in kitchen drawers, under sinks, and behind appliances. Larger species (American, oriental) produce cylindrical droppings with ridges along the sides. Finding droppings in multiple locations indicates an established population.
Musty odor
A heavy cockroach infestation produces a distinct musty, oily smell. The odor comes from pheromones cockroaches use to communicate with each other. If you notice a persistent musty smell in your kitchen, bathroom, or basement that cleaning does not eliminate, cockroaches may be the source.
Egg cases (oothecae)
Cockroach egg cases are small, dark brown, capsule-shaped casings about 1/4 to 1/2 inch long. German cockroaches carry their egg cases until just before hatching, so you may find empty cases in hidden areas. American and oriental cockroaches deposit their cases in sheltered spots near food sources. Each case contains 14 to 40 eggs depending on the species.
Shed skins
Cockroaches molt several times as they grow from nymph to adult. Finding translucent, light-brown shed skins near food sources, in drawers, or behind appliances confirms an active, growing population.
Live roaches at night
Turn on a light in your kitchen or bathroom late at night and watch for movement. Cockroaches scatter when exposed to light. If you see roaches running for cover, you likely have more hiding out of sight. For every cockroach you spot, there are an estimated 10 to 20 more hidden in walls, cracks, and appliances.
DIY Methods to Get Rid of Cockroaches
Effective DIY cockroach control focuses on targeted baiting, eliminating food and water sources, and sealing entry points. The methods below work best for mild to moderate infestations. Severe infestations, especially of German cockroaches, usually require professional treatment.
Gel bait stations
Gel bait is the single most effective DIY method for cockroaches, especially German cockroaches. Apply small pea-sized dots of gel bait in cracks, crevices, under sinks, behind the refrigerator, under the stove, inside cabinet hinges, and near plumbing penetrations. Cockroaches eat the bait, return to their harborage, and die. Other roaches that contact or consume the dead roach are also poisoned through secondary transfer.
Look for gel baits containing indoxacarb, fipronil, or hydramethylnon at hardware stores. Replace bait every two to four weeks or when it dries out. Do not apply gel bait and spray pesticides in the same area, as the spray repels cockroaches away from the bait.
Boric acid powder
Boric acid is a time-tested cockroach killer that remains effective because cockroaches have not developed significant resistance to it. Apply a very thin layer (barely visible) in cracks behind appliances, inside wall voids through outlet covers, under sinks, and along baseboards where cockroaches travel.
Cockroaches walk through the powder, ingest it during grooming, and die within one to three days. Thick piles are less effective because roaches avoid them. Keep boric acid away from areas accessible to children and pets.
Diatomaceous earth
Food-grade diatomaceous earth (DE) is a fine powder made from fossilized algae. It damages the waxy coating on cockroach exoskeletons, causing them to dehydrate over several days. Apply a thin layer in dry areas where cockroaches travel, such as behind appliances, inside cabinets, and along baseboards. DE loses effectiveness when wet, so it is best for dry locations.
Sticky traps for monitoring
Sticky traps (glue boards) placed along walls, under sinks, and behind appliances help you gauge the severity of the problem and track whether your treatment is working. They are a monitoring tool, not a primary treatment method. Check traps weekly and note which areas show the most activity to focus your baiting efforts.
Deep cleaning
Cockroaches need food, water, and shelter. Removing food sources forces them to eat bait instead. Clean behind and under the stove, refrigerator, and dishwasher. Wipe down counters and stovetops every night. Store all food in sealed containers or the refrigerator. Fix leaky faucets and pipes. Empty pet food bowls at night. Take out the trash before bed.
Sealing cracks and gaps
Use caulk to seal cracks along baseboards, around pipes under sinks, around electrical outlets, and where cabinets meet walls. Use steel wool or copper mesh to fill larger gaps around plumbing penetrations. In apartments, seal gaps around shared walls, plumbing chases, and electrical conduits. This reduces harborage sites and, for outdoor species, blocks entry points.
Why over-the-counter sprays often make things worse
Aerosol sprays and "roach bombs" (total release foggers) are among the least effective methods for cockroach control. Spray pesticides are repellent, meaning they drive cockroaches away from treated surfaces and scatter them into new hiding spots, often spreading the infestation to other rooms. Foggers cannot penetrate the cracks and crevices where cockroaches actually hide.
Many cockroach populations, particularly German cockroaches, have developed resistance to the pyrethroid chemicals found in most consumer sprays. Repeated use of ineffective sprays accelerates this resistance. Gel baits and boric acid are more effective because cockroaches cannot detect or avoid them.
Why Cockroaches Are Hard to Eliminate
Cockroaches are one of the most difficult household pests to control completely. Several biological and behavioral factors make them remarkably persistent.
Rapid reproduction
A single German cockroach female produces 30 to 40 eggs per case and can generate four to eight cases in her 100-day adult lifespan. Under ideal conditions, one female can be responsible for over 300 offspring. A population can grow from a handful of cockroaches to thousands in just a few months.
Pesticide resistance
German cockroaches in particular have developed resistance to many common pesticides, including pyrethroids, organophosphates, and some newer chemicals. Research from Purdue University found that some German cockroach populations were resistant to all classes of insecticides tested. This is why rotating between different active ingredients and using baits instead of sprays is critical.
Nocturnal habits
Cockroaches are most active between midnight and dawn when your home is dark and quiet. By the time you see a cockroach during daylight, the infestation is typically significant. The cockroaches you see represent an estimated 1% of the total population. The rest are hidden in wall voids, behind appliances, inside electrical outlets, and in other inaccessible spots.
Multi-unit building challenges
In apartments, condos, and townhomes, cockroaches travel between units through shared walls, plumbing, and electrical chases. Treating one unit pushes cockroaches into neighboring units, and they return once the treatment wears off. Effective control in multi-unit buildings requires coordinated treatment of all affected and adjacent units simultaneously.
Professional Cockroach Treatment
Professional pest control operators have access to commercial-grade products, specialized equipment, and the training to target cockroaches where they actually live. For moderate to severe infestations, professional treatment is significantly more effective than DIY methods.
What professionals use
Professional cockroach treatment typically includes a combination of several methods. Commercial gel baits with higher concentrations of active ingredients are applied in harborage areas. Insecticidal dust (such as boric acid or diatomaceous earth formulations) is injected into wall voids, behind outlets, and into other hidden spaces using specialized applicators. Insect growth regulators (IGRs) disrupt cockroach development and reproduction, preventing nymphs from maturing and reducing population growth over time.
For perimeter defense against outdoor species (American, oriental, smoky brown), professionals apply residual sprays along the exterior foundation, around entry points, and in crawl spaces. These long-lasting products create a barrier that kills cockroaches as they attempt to enter.
Treatment timeline
German cockroach infestations typically require two to three professional visits spaced two weeks apart. The initial treatment targets the existing population. Follow-up visits address newly hatched nymphs that emerged from egg cases that survived the first treatment and verify that the infestation is declining. Most reputable companies include follow-up visits in their pricing.
Multi-unit building treatment
Effective cockroach control in apartments and condos requires treating all infested units and adjacent units at the same time. If only one unit is treated, cockroaches in neighboring units will reinfest the treated space within weeks. Property managers and landlords should coordinate building-wide treatment for lasting results.
Cost of professional treatment
Professional cockroach treatment costs $100 to $600 depending on the severity of the infestation, the size of the home, and the number of treatments needed. A single treatment for a mild infestation may cost $100 to $200, while severe German cockroach infestations requiring multiple visits can reach $300 to $600. For a detailed breakdown of pricing by treatment type and severity, see our cockroach exterminator cost guide.
Preventing Cockroaches
Prevention is the most cost-effective approach to cockroach control. Even after successful treatment, cockroaches will return if the conditions that attracted them remain. These steps address the food, water, and shelter that cockroaches need to survive.
- Eliminate moisture. Fix leaky faucets, pipes, and drains promptly. Cockroaches can survive a month without food but only about a week without water. Reducing moisture is one of the most impactful prevention steps.
- Fix leaky pipes. Check under all sinks, around water heaters, and near washing machine connections. Even small drips provide enough water for a cockroach colony.
- Store food in sealed containers. Transfer cereal, flour, sugar, pet food, and other dry goods into airtight containers. Do not leave fruit on the counter overnight.
- Take out trash regularly. Use trash cans with tight-fitting lids and take garbage out every evening. Rinse recyclable cans and bottles before storing them.
- Seal gaps around pipes and utility penetrations. Use caulk for small gaps and steel wool or copper mesh for larger openings around plumbing, electrical conduits, and HVAC lines.
- Clean behind and under appliances. Pull out the stove, refrigerator, and dishwasher periodically to clean grease, crumbs, and moisture that accumulate underneath and behind them.
- Reduce clutter. Cardboard boxes, paper bags, and stacked newspapers provide ideal harborage for cockroaches. Store items in plastic bins with lids instead of cardboard.
For more guidance on deciding between DIY and professional pest control, see our guide on when to call an exterminator. For a complete overview of pest control pricing, visit our pest control cost guide.
Frequently Asked Questions
Get Pest Control Pricing Estimates
Connect with top-rated local pros. Compare prices and save.
No-obligation pricing estimates. Your information is secure.