Articles · Pests and problems
Do houseplants repel mosquitoes, flies, spiders, and roaches?
Published 2026-11-15
No. A houseplant sitting in a pot does not repel mosquitoes, flies, spiders, or roaches in any way you would notice. Some plants hold oils that insects avoid, but those oils stay inside the leaf until it is crushed. Window screens, dry saucers, clean counters, and sealed gaps keep pests out. Plants do not.
Lists of “bug repelling plants” are all over the internet. Here is where the idea comes from, what each plant does in real life, and what works instead.
I earn a commission when you buy through links to Amazon. It costs you nothing extra.
Why the claim sounds true
Plants such as citronella grass, lavender, mint, basil, and lemon balm make strong-smelling oils. Some of those oils, once extracted and concentrated, are used in insect repellents. That part is real.
The jump from “the oil repels insects” to “the plant repels insects” is the problem.
- The oil is locked in the leaf. An intact plant gives off little scent.
- A repellent works at a high dose on your skin. A plant across the room is a tiny dose spread through a whole room of air.
- Even crushed leaves rubbed on skin give short, weak protection next to a product made for the job.
Pest by pest
Mosquitoes
The “mosquito plant” sold at garden centers is a lemon-scented geranium (Pelargonium). It smells like citronella when you rub a leaf. Sitting on a table, it does not keep mosquitoes away. The same goes for potted lavender, basil, marigold, and catnip.
Scented geraniums and lavender are also toxic to cats and dogs and can cause vomiting.
What works:
- Keep window and door screens in good repair.
- Dump standing water outdoors every few days. Mosquitoes lay eggs in it.
- Empty plant saucers after you water.
- Run a fan on the porch or patio. Mosquitoes are weak fliers.
- Use a skin repellent registered for mosquitoes, and follow its label.
House flies and fruit flies
Basil, mint, and bay are often said to repel flies. A pot of basil on the counter will not clear a kitchen. Flies come for food, garbage, and drains.
What works:
- Keep ripe fruit in the fridge.
- Take out trash and compost often.
- Rinse recycling.
- Clean sink drains.
- Fix screens.
The small flies around houseplants are usually not fruit flies. They are fungus gnats, and they breed in wet potting soil. So in this case the plant is the source. See how to get rid of fungus gnats in houseplants.
Spiders
Peppermint, eucalyptus, and lavender plants are claimed to repel spiders. There is no good evidence that a potted plant does this. Spiders go where their food is. A house with fewer insects has fewer spiders.
House spiders also eat gnats and other small pests. One in a corner near your plants is helping.
What works if you want fewer:
- Vacuum webs and egg sacs.
- Seal gaps around windows, doors, and pipes.
- Cut down on the insects they eat.
Roaches
No houseplant repels cockroaches. Bay leaves, catnip, and mint will not solve a roach problem. Roaches need food, water, and a hiding place.
What works:
- Clean up crumbs and grease, and store food in sealed containers.
- Fix leaky taps and pipes.
- Seal cracks along baseboards and around pipes.
- Call a licensed pest control company for a real infestation. Roaches are hard to clear without help.
Roaches do not usually live in houseplant pots. They may drink from a full saucer, so keep saucers empty.
What about carnivorous plants?
A Venus flytrap catches a few insects a month. Each trap takes a week or more to digest one bug. It cannot keep up with a gnat problem or with house flies.
Sundews and butterworts have sticky leaves and do catch fungus gnats. Growers sometimes keep them among other plants for this. They trap some adults, and that can help a little. They will not clear an infestation by themselves, and they need special care with mineral-free water. A pitcher plant is the same story: fun to grow, not pest control.
If you want to try one, read can you grow a Venus flytrap indoors first.
Plants can bring bugs in
Houseplants are more likely to host pests than to repel them.
- Fungus gnats breed in soil that stays wet.
- Spider mites, mealybugs, scale, and aphids arrive on new plants and spread to others.
- Ants follow the sticky honeydew that sap-sucking pests leave on leaves.
None of these bite people or infest the house itself. They are plant problems. But a room full of plants will not have fewer bugs than a room without them. For the full picture, see do indoor plants attract bugs.
What works for bugs on and around plants
These tools are proven and low risk indoors. Follow every label.
- Yellow sticky traps. Flying gnats, whiteflies, and winged aphids land on them and stick. Yellow sticky traps for houseplants also show you how bad a problem is.
- Bti for fungus gnats. Bti is a soil bacterium that kills gnat larvae in the soil. It is sold as Mosquito Bits or dunks. Soak it in your watering can as the label directs.
- Letting the soil dry. Gnat larvae need damp soil. Let the top 5 cm (2 in) dry between waterings.
- Insecticidal soap. It kills soft-bodied pests on contact. Test one leaf first.
- Quarantine. Keep new plants apart for 2 to 4 weeks.
Is there any reason to grow the “repellent” plants?
Yes, just not for pest control. Basil, mint, and rosemary are useful in the kitchen. Lavender and scented geraniums smell good when you brush past them. All of them need direct sun, so in a cold-winter climate they do best in a south window or under a grow light from fall to spring.
Grow them because you like them. Use screens, clean habits, and the tools above for the bugs.
Quick answers
| Claim | Honest answer | What works |
|---|---|---|
| Citronella plants repel mosquitoes | No | Screens, no standing water, a fan |
| Basil and mint repel flies | No | Clean drains, sealed trash, fruit in the fridge |
| Peppermint plants repel spiders | No | Vacuuming, sealing gaps |
| Bay or catnip repel roaches | No | Cleaning, fixing leaks, pest control |
| A Venus flytrap controls gnats | No | Sticky traps, Bti, drier soil |