Cockroaches invade homes looking for food, water, and shelter, but certain scents, substances, and conditions drive them away. Understanding what repels these resilient pests helps you create an unwelcoming environment without relying solely on chemical treatments.
This guide explains the smells, ingredients, environmental conditions, and household practices that cockroaches avoid, giving you practical tools to protect your home.
What Do Cockroaches Hate Most?
Cockroaches hate strong scents like peppermint, bay leaves, and citrus, as well as essential oils including eucalyptus and tea tree. They also avoid clean, dry environments with no food debris, bright light, and certain natural substances like diatomaceous earth and boric acid that damage their bodies.
Scents and Smells That Repel Cockroaches
Cockroaches rely heavily on their antennae to navigate and locate food sources. Strong odors disrupt their ability to detect the chemical trails they follow, making scented areas unappealing.
Peppermint Oil
Peppermint oil contains menthol, which cockroaches find overwhelming and unpleasant. Mix 10 to 15 drops of pure peppermint essential oil with one cup of water in a spray bottle, then apply it to baseboards, under sinks, and around entry points.
Reapply this mixture every few days, as the scent fades quickly. Peppermint oil works best as a preventive barrier rather than a solution for active infestations.
Bay Leaves
The eucalyptol in bay leaves naturally repels cockroaches. Place whole dried bay leaves in cupboards, pantry corners, behind appliances, and inside drawers where you store food.
Replace the leaves every one to two months as their scent diminishes. Crushing the leaves slightly before placement releases more of the active compounds.
Citrus Peels and Oils
Lemon, orange, and grapefruit peels contain limonene, a compound toxic to many insects. You can rub fresh citrus peels along cabinet edges and windowsills, or add citrus essential oil to your cleaning solutions.
While the scent may smell pleasant to you, cockroaches will avoid treated areas. Do not use citrus oil on all surfaces, as it can damage certain finishes and wood types.
Eucalyptus and Tea Tree Oil
Both eucalyptus and tea tree oil work as effective cockroach deterrents. Mix 10 drops of either oil with water and a small amount of dish soap to help the mixture adhere to surfaces.
Spray this solution in cracks, crevices, and areas where you have seen cockroach activity. Keep these oils away from pets, especially cats, as they can be toxic when ingested or absorbed through skin.
Environmental Conditions Cockroaches Avoid
Beyond scents, cockroaches prefer specific environmental conditions. Altering these conditions makes your home far less attractive to them.
Dry Spaces
Cockroaches need water to survive and will die within a week without it. Fix leaky pipes, repair dripping faucets, and wipe down sinks and tubs before bed each night.
Use a dehumidifier in damp basements and crawl spaces to keep humidity below 50 percent. Eliminate standing water in plant saucers, pet bowls, and drain trays under refrigerators.
Bright Light
Most cockroach species are nocturnal and scatter when exposed to light. While light alone will not eliminate an infestation, keeping areas well-lit discourages activity and makes cockroaches easier to spot.
Consider using motion-activated lights in basements, garages, and storage areas. Cockroaches may still hide in dark crevices during the day, but they will be less likely to forage openly at night.
Cold Temperatures
Cockroaches are cold-blooded and become sluggish in temperatures below 60 degrees Fahrenheit. They cannot survive prolonged exposure to freezing temperatures.
While you cannot realistically keep your entire home cold, this knowledge helps if you are treating stored items or furniture. Placing infested belongings in a freezer for several days can kill cockroaches and their eggs.
Natural Substances That Harm or Deter Cockroaches
Several household substances create inhospitable conditions for cockroaches by damaging their exoskeletons or disrupting their digestive systems.
Diatomaceous Earth
Food-grade diatomaceous earth consists of fossilized algae with microscopic sharp edges that cut through cockroach exoskeletons, causing dehydration. Lightly dust this powder in areas where cockroaches travel, such as behind appliances, along baseboards, and in cabinets.
Wear a dust mask when applying diatomaceous earth to avoid inhaling the fine particles. The powder remains effective as long as it stays dry, but you will need to reapply after cleaning or if it gets wet.
Boric Acid
Boric acid disrupts cockroach digestive and nervous systems when ingested. Apply a thin layer in cracks, under appliances, and in other hidden areas where children and pets cannot reach.
Cockroaches walk through the powder, then ingest it while grooming themselves. Use boric acid cautiously and never apply thick piles, as cockroaches will simply walk around them.
Baking Soda
When cockroaches ingest baking soda, it creates gas in their digestive systems that they cannot expel. Mix equal parts baking soda and sugar, then place small amounts in shallow lids near areas of activity.
The sugar attracts cockroaches while the baking soda works as the active ingredient. This method works slowly and is less effective than other options, but it uses ingredients most households already have.
Cleaning and Sanitation Practices Cockroaches Hate
Cockroaches thrive in homes with accessible food and clutter that provides hiding spots. Consistent cleaning eliminates the resources they need to survive.
Remove Food Sources
Cockroaches eat crumbs, grease, pet food, garbage, and even non-food items like cardboard and glue. Wipe down counters and sweep floors daily, especially after cooking and meals.
Store all food in airtight containers, including dry goods, pet food, and pantry staples. Empty kitchen trash bins nightly and keep outdoor garbage cans sealed and away from the house.
Eliminate Grease Buildup
Grease splatters and residue on stovetops, range hoods, and behind appliances attract cockroaches. Clean these areas regularly with a degreasing cleaner or a mixture of dish soap and hot water.
Pull out your refrigerator and stove every few months to clean underneath and behind them. These hidden spaces often accumulate grease, crumbs, and moisture that cockroaches find ideal.
Reduce Clutter
Stacks of newspapers, cardboard boxes, and piles of clothing give cockroaches places to hide during the day. Store items in sealed plastic bins rather than cardboard boxes, especially in basements, garages, and storage areas.
Keep floors and surfaces as clear as possible to reduce harborage areas. The fewer hiding spots available, the more exposed and vulnerable cockroaches become.
Physical Barriers and Exclusion Methods
Preventing cockroaches from entering your home in the first place is more effective than trying to eliminate them after they arrive.
Seal Cracks and Gaps
Cockroaches can squeeze through openings as small as one-sixteenth of an inch. Inspect your home’s exterior and interior for cracks around pipes, gaps under doors, holes around utility lines, and openings in baseboards.
Use caulk for small cracks and expanding foam for larger gaps. Install door sweeps on exterior doors and repair damaged window screens.
Cover Drains and Vents
Cockroaches often enter homes through drain pipes and ventilation openings. Place fine mesh screens over floor drains, especially in basements and utility rooms.
Keep sink and tub drains plugged when not in use, particularly overnight. Check that exterior vent covers are intact and properly screened.
Inspect Incoming Items
Cockroaches hitchhike into homes via grocery bags, cardboard boxes, secondhand furniture, and deliveries. Inspect all incoming items before bringing them inside, paying special attention to crevices and folds.
Unpack groceries immediately and discard boxes outside rather than storing them indoors. If you purchase used furniture or appliances, thoroughly inspect them outdoors and clean them before bringing them into your home.
Plants That Naturally Repel Cockroaches
Certain plants produce scents and compounds that cockroaches dislike. Growing these near entry points or keeping them as houseplants adds another layer of natural defense.
Catnip
Catnip contains nepetalactone, which research suggests repels cockroaches effectively. You can grow catnip in pots near doorways or make a spray by steeping dried catnip in boiling water, then straining and cooling the liquid.
If you have cats, they will be attracted to this plant, so place it where pets cannot access it. Catnip grows easily in most climates and requires minimal maintenance.
Lavender
Lavender’s strong fragrance deters cockroaches while providing a pleasant scent for your home. Place small sachets of dried lavender in closets, drawers, and cabinets.
You can also plant lavender near windows and entryways. Lavender prefers full sun and well-drained soil, and it thrives in USDA zones 5 through 9.
Chrysanthemums
Chrysanthemums contain pyrethrin, a natural insecticide used in many commercial pest control products. While the living plant offers mild repellent properties, dried and crushed chrysanthemum flowers create a more potent powder.
Handle chrysanthemums carefully if you have allergies, as some people react to the plant’s compounds. Keep this plant away from pets, as pyrethrin can be toxic to cats and dogs in concentrated amounts.
What Does Not Effectively Repel Cockroaches
Several commonly repeated methods provide minimal or temporary results and should not be your primary defense against cockroaches.
Ultrasonic Devices
Electronic devices that emit high-frequency sounds claim to repel cockroaches and other pests. Independent testing shows these devices have little to no effect on cockroach behavior, and cockroaches quickly become accustomed to the sound.
Save your money and focus on proven methods like sanitation, exclusion, and targeted treatments. Ultrasonic devices may work temporarily if at all, but they will not solve an existing infestation.
Mothballs
While mothballs contain chemicals that are toxic to insects, they are designed specifically for clothes moths in enclosed spaces. They produce harmful fumes that are dangerous to humans and pets, and their effectiveness against cockroaches is limited.
Using mothballs for cockroach control is not recommended and may violate product label instructions. Safer, more effective options exist for cockroach prevention and control.
Fabric Softener Sprays
Some sources suggest spraying cockroaches with diluted fabric softener to kill them on contact. While this may suffocate individual insects, it does nothing to prevent new cockroaches from entering or to address an existing population.
This method also leaves sticky residue on surfaces and does not target hidden cockroaches or egg cases. Use proper insecticides or natural alternatives designed for pest control instead.
When to Call a Professional
If you see cockroaches during the day, find egg cases in multiple locations, or continue seeing activity after several weeks of consistent prevention efforts, you likely have a significant infestation. Professional pest control becomes necessary when populations are large or when cockroaches have established themselves in wall voids, appliances, or other inaccessible areas.
Licensed exterminators have access to stronger treatments and can identify the specific cockroach species, which determines the most effective control strategy. Some cockroach species respond better to baits, while others require different approaches.
Maintaining a Cockroach-Free Home
Prevention requires ongoing effort rather than one-time treatments. Create a routine that includes nightly kitchen cleanup, weekly deep cleaning of high-risk areas, and monthly inspections of potential entry points.
Combine multiple strategies rather than relying on a single method. Use scent deterrents alongside rigorous sanitation, seal entry points while maintaining dry conditions, and remain vigilant about bringing items into your home.
Start by identifying the areas in your home most vulnerable to cockroach activity, then apply the repellent methods and environmental changes that make the most sense for your situation. Consistency and thoroughness matter more than any single product or technique.
Continue learning practical ways to maintain and protect your home with more helpful Home and Garden articles.