How to Prevent Cockroaches and Which Natural Repellents Work
Updated
A roach needs four things from a house: water, food, a tight warm place to hide, and a way in. Peppermint oil changes none of those. Take them away and there is little left for a repellent to do. Leave them in place and no repellent will hold roaches off for long.
First, know which roach you're keeping out
Your prevention plan depends on the species, because the two main groups reach a house in different ways. Size, color and where you first spot them usually separate the common house cockroach species.

| Roach | Size and look | Where it comes from | What prevention means |
|---|---|---|---|
| German cockroach | About ½ inch, tan, two dark stripes behind the head | Carried in on cardboard boxes, grocery bags, used appliances, secondhand furniture, luggage. In apartments it also travels through shared walls and plumbing. | Inspect what comes in and remove indoor food, water and hiding spots. Sealing exterior doors does little against this species. |
| American cockroach ("palmetto bug," "water bug") | 1½ to 2 inches, reddish-brown | Sewers, drains, crawlspaces, mulch beds, palm trees | Seal entry points, close off drains, manage moisture and the yard |
| Smokybrown cockroach | About 1¼ inches, dark mahogany | Gutters, tree holes, woodpiles, attics | Exterior work: gutters, firewood, vegetation touching the house |
| Oriental cockroach | About 1 inch, shiny black | Damp crawlspaces, leaf litter, floor drains | Moisture control, door sweeps, sealing at ground level |
A large roach in the garage after a rainstorm is an outdoor roach that wandered in. That's a sealing problem. Small tan roaches in the kitchen at night are German cockroaches, which means a population is already breeding indoors. That's a treatment problem, and the rest of this page works best after the infestation has been knocked down. A bait-first elimination plan built on gel bait and a growth regulator usually clears an indoor German cockroach colony within weeks.
The four things that actually prevent roaches
1. Cut off water
Roaches can go weeks without food but only days without water, so water is the most important thing to control.
- Fix dripping faucets, sweating pipes under sinks, and leaking dishwasher and ice maker lines.
- Don't leave water in the sink or a wet sponge on the counter overnight.
- Empty pet water bowls at night, or put them somewhere roaches don't travel.
- Check under the refrigerator. The drip pan and the warm motor compartment above it are a favorite roach spot.
- Run a dehumidifier in damp basements, and make sure crawlspaces have a vapor barrier and working vents.
2. Cut off food
Many tidy homes still feed roaches. They live on crumbs, grease film and residue you won't notice.
- Wipe down the stovetop and the counter beside it every night, and pull the stove out a few times a year to clean the sides and floor.
- Clean the toaster crumb tray and the space under the microwave.
- Store cereal, flour, sugar, rice and pet food in hard plastic or glass containers with sealing lids. Cardboard and paper bags don't stop roaches.
- Don't leave pet food out overnight.
- Use a kitchen trash can with a tight lid, and take garbage out at night instead of in the morning.
- Rinse recyclables before they go in the bin.
3. Remove hiding places
Roaches like tight spaces where their backs and bellies both touch a surface. A crack about as thick as a credit card is plenty.
- Get cardboard out of the house. Roaches live in the corrugation and lay egg cases in it, and it's the most common way German cockroaches arrive. Unpack deliveries and grocery boxes outside or in the garage, then recycle the boxes. Store things in plastic bins with lids.
- Clear out stacks of paper bags, newspapers and clutter under sinks.
- Caulk cracks along backsplashes, behind cabinets, and where countertops meet walls.
- Seal the gaps where pipes and wires pass through walls under sinks and behind appliances. Use copper mesh or stainless steel wool plus caulk or low-expansion foam for larger gaps.
4. Close the entry points
This step matters most for the larger outdoor species.
- Door sweeps on every exterior door, including the door from the garage to the house. If you can see daylight under a closed door, a roach can get through. At Home Depot, basic 36-inch aluminum and vinyl sweeps cost about $9 to $16, self-stick versions about $17 to $19, and heavier bug-rated sweeps about $33.
- Weatherstrip the sides and tops of doors.
- Caulk around window frames, dryer vents, hose bibs, and where utility lines enter the house.
- Screen attic, foundation and crawlspace vents with fine mesh.
- In older homes, or homes near sewer roaches, put covers or one-way drain traps on floor drains and refill unused drains with water so the trap doesn't dry out.
- Outside, pull mulch back 12 to 18 inches from the foundation, keep firewood off the ground and away from the house, clean gutters, and trim shrubs and branches so they don't touch the walls or roof.
- Switch exterior lights near doors to yellow "bug" bulbs or warm LEDs. Lights draw insects to the doorway, and roaches follow.
Natural roach repellents: what works and what doesn't
Here is how the popular natural options hold up.
| Remedy | Does it prevent roaches? | The details |
|---|---|---|
| Peppermint, tea tree, or eucalyptus oil | Not in any lasting way | Strong oils can make roaches avoid a spot for a short time in lab tests. Sprayed around a house, the scent fades within hours and the roaches come back once it does. |
| Bay leaves | No | Harmless to use, but roaches have been found living in pantries that had bay leaves in them. |
| Cucumber peels, citrus peels, garlic | No | Old folk remedies. Peels left sitting out actually give roaches food. |
| Catnip | Weakly | Nepetalactone, the active compound, repels roaches in lab tests. In a real kitchen the effect is small and short-lived. |
| Ultrasonic plug-in repellers | No | Independent testing has never shown they keep roaches out. |
| Diatomaceous earth (food grade) | Kills, doesn't repel | Abrades the insect's waxy coating so it dries out. It only works dry, and slowly. A good choice in voids and behind appliances. |
| Boric acid | Kills, doesn't repel | A mineral-based dust that remains the best low-toxicity roach tool. Roaches walk through it, groom it off, and die. |
| Sealing, sanitation, moisture control | Yes | This is what prevention really is. |
So the reliable "natural" approach doesn't rely on scents. It's a clean, dry, sealed house, plus mineral dusts placed where roaches travel.
Using boric acid and diatomaceous earth correctly
Most people use these dusts wrong. Roaches walk around a visible pile of powder. They walk through a film so thin it's hard to see.
- Apply a barely visible dusting. If you can see clear white powder, there's too much. A bulb duster or a squeeze bottle with a narrow tip makes this easy.
- Put it where roaches go, not where people go: under the refrigerator and stove, behind the dishwasher kick plate, inside wall voids through outlet and switch plate openings (turn the breaker off first), under sink cabinets along the back edge, behind the washer and dryer, and in cracks along baseboards.
- Never put it on counters, food-prep surfaces, open shelving, or anywhere kids or pets can reach. Boric acid is low in toxicity, but it is still a pesticide. Follow the label. The label is the law.
- Keep diatomaceous earth dry. Once it gets wet it stops working until it dries out, so it's a poor choice right under a leaky sink.
- Leave it in place. A dust tucked into a wall void or under an appliance stays effective for months, even years, as long as it stays dry and undisturbed. That makes it a good long-term preventive barrier.
Typical big-box prices in late 2026:
- Boric acid roach powder, 1 lb: about $4 to $7
- Food-grade diatomaceous earth: about $7 for a 4 lb bag, about $18 to $25 for 10 lb, about $60 to $70 for 25 to 50 lb sacks. A 4 lb bag lasts most homes for years.
- Bulb duster: usually under $10
When prevention needs backup: baits and growth regulators
If you're already seeing German cockroaches, prevention alone won't clear them out, because the colony is already breeding inside the walls. Two products do more than anything else sold to homeowners:
- Gel bait. Advion Cockroach Gel Bait in a 4-tube pack (30 g per tube) runs about $27 to $32. Put pea-sized dots in cracks and corners near where roaches hide: cabinet hinges, the edges of drawers, behind appliances, under sinks. Many small spots work better than a few big ones. Roaches eat it, go back to hiding, and spread it to others.
- Insect growth regulator (IGR). Gentrol Point Source comes 20 stations to a box for about $40 to $45. It's a hormone mimic that stops young roaches from maturing into adults that can breed. It doesn't kill quickly, but it breaks the breeding cycle, which baits alone can't always do. Place stations under sinks, behind the fridge, and in cabinet corners. Replace them about every three months.
Don't spray anything near bait. Over-the-counter sprays, essential oil sprays and household cleaners all contaminate bait so roaches won't eat it. That's the most common reason homeowners' bait jobs fail. Wipe cabinets with plain water near bait placements, not cleaner.
Skip total-release foggers ("bug bombs"). They don't get into the cracks where German cockroaches live, they scatter roaches deeper into walls and into neighboring units, and they leave residue on every surface in the room. They're also a fire hazard near pilot lights.
Catch problems early with monitor traps
Glue traps are a cheap early-warning system. A multi-pack costs a few dollars. Set them flat against the wall:
- Under the kitchen sink
- Behind or beside the refrigerator
- Beside the stove
- Under the bathroom sink
- Near the water heater and the washer
Check them every couple of weeks. One big roach after a storm is an outdoor stray. Several small roaches, or any nymphs (tiny, wingless, often dark with a light band), mean German cockroaches are breeding indoors, and it's time to bait right away rather than wait.
Other early signs:
- Droppings like coarse black pepper or coffee grounds in drawer corners and cabinet hinges
- Brown, capsule-shaped egg cases about ¼ inch long
- A musty, oily smell in heavy infestations
A simple prevention routine
Nightly - Wipe the stove and counters, and leave the sink empty and dry - Put pet food away - Take kitchen trash out
Every time something comes into the house - Unpack boxes outside and get rid of cardboard - Look over secondhand furniture and appliances, especially the motor areas of microwaves, toasters and coffee makers, before bringing them inside - After travel, unpack luggage in the garage or bathroom, not the bedroom
Every few months - Pull out the stove and fridge and clean behind them - Check traps, and refresh dust in any spots that got wet - Check door sweeps and caulk lines for gaps
Once a year - Walk around the outside: mulch line, gutters, firewood, branches touching the house, vent screens, utility penetrations
When to call a professional
Call a licensed pest control operator if:
- You're seeing roaches in daylight, which usually means the hiding spots are full
- Monitor traps keep catching nymphs after a month of baiting
- You live in a multi-unit building and the problem keeps coming back from next door. That takes coordinated treatment across units, not just yours.
- Roaches are showing up somewhere you can't reach or treat safely, such as inside electronics, in a wall shared with a child's room, or in a commercial kitchen
A good technician will spend most of the visit inspecting, placing bait and sealing, and very little time spraying. If someone shows up and just sprays the baseboards, that's an old method that doesn't work well on German cockroaches.