What Herbs Keep Bugs Away? Natural Repellent Plants

Several herbs produce volatile compounds that repel insects, but how well they work depends entirely on how you use them. A potted basil plant on your porch won’t create a bug-free zone. Crushing the leaves, extracting the oils, or planting herbs strategically among vegetables gives you far more protection. Here’s what actually works, what doesn’t, and how to get the most out of each herb.

Why Herbs Repel Insects

Plants produce volatile chemicals when their leaves are damaged, a defense system meant to deter anything trying to eat them. Many of these compounds, including citronellal, linalool, and thujone, interfere with the same odor receptors that insects use to find food and hosts. Some of these plant chemicals target the exact receptor that DEET blocks, which is why certain herbs genuinely do repel mosquitoes, flies, and other pests. Others work by being directly toxic to insects at close range through their vapors.

The key detail is concentration. A living plant releases small amounts of these volatiles passively. Crushing the leaves or extracting the essential oil releases far more. Mississippi State University Extension notes that rubbing crushed plant material on your clothing is likely more helpful than the plant’s presence alone, and that a few scattered plants are unlikely to have a significant impact on the mosquito population around your home.

Best Herbs for Repelling Mosquitoes

Not all “mosquito-repelling herbs” perform equally. Some have real science behind them, while others are mostly folklore.

Catnip is one of the strongest performers. Research from Iowa State University found that catnip essential oil showed roughly 50 to 59% spatial repellency against yellow fever mosquitoes at concentrations where DEET showed only about 10%. The active compound, nepetalactone, repels mosquitoes at a distance rather than requiring skin contact. DEET needed a concentration roughly ten times higher to match catnip’s spatial effect. If you grow catnip, crushing fresh leaves and rubbing them on exposed skin or clothing is the simplest way to use it.

Lemon eucalyptus stands apart from every other plant-based option. Oil of lemon eucalyptus (OLE) is the only plant-derived ingredient registered by the EPA as an effective mosquito and tick repellent. It’s important to know that OLE is a refined extract, not the same thing as pure lemon eucalyptus essential oil you’d find at a health store. The refined version provides hours of protection. It’s considered safe for pregnant women and children over three years old.

Lavender, citronella, and lemongrass are the herbs most commonly associated with mosquito repelling, but their protection times are short. One study found that citronella oil provided complete protection from bites for only about 10 minutes, compared to six hours for DEET. Commercially available repellents containing citronella, lemongrass, geranium, peppermint, and cedar essential oils all provided less than 20 minutes of complete protection. These herbs still have value for brief outdoor use or in combination with other strategies, but they need frequent reapplication.

Herbs That Protect Garden Vegetables

In the garden, herbs work differently than on your skin. Instead of repelling bugs from you, they either mask the scent of nearby vegetables or attract beneficial predator insects that eat the pests. Penn State Extension has documented several proven pairings.

Basil planted among tomatoes masks the tomato scent from thrips and reduces egg-laying by tomato hornworm moths. This is one of the best-studied companion planting combinations.

Thyme planted under tomatoes forms a ground-covering carpet that deters yellow-striped armyworm moths from laying eggs. It also works near cabbage-family crops to discourage cabbageworms and cabbage loopers.

Dill, chamomile, hyssop, and sage all deter egg-laying by imported cabbageworms when planted near broccoli, cabbage, cauliflower, and other cole crops.

Cilantro and dill near eggplant help control Colorado potato beetles by attracting beneficial predator insects. Near lettuce and other greens, they attract insects that feed on aphids.

Calendula planted near collards both deters aphids directly and attracts predatory insects that eat them.

A broader group of herbs, including rosemary, oregano, marjoram, lemon balm, fennel, anise, and caraway, helps control caterpillar pests like tomato hornworms and fruitworms by attracting parasitic wasps. These tiny wasps lay eggs inside caterpillars, killing them before they can damage your crops. Planting a diverse mix of these herbs throughout a vegetable garden creates a more pest-resistant environment than any single herb alone.

Living Plants vs. Crushed Leaves vs. Essential Oils

There’s a spectrum of effectiveness. A potted citronella plant on your deck releases trace amounts of volatile compounds, enough to smell pleasant but not enough to create meaningful insect protection. Crushing fresh leaves and rubbing them on skin or clothing releases a burst of those compounds, providing short-term repellency measured in minutes. Essential oils extracted from herbs are the most concentrated form and last the longest, though still far shorter than synthetic repellents unless you’re using a refined product like oil of lemon eucalyptus.

For garden use, living plants work well because they’re releasing compounds continuously over the growing season and attracting beneficial insects. For personal protection outdoors, you need the oils on your skin or clothing. Simply sitting near an herb garden won’t keep mosquitoes off you.

Making a Simple Herbal Repellent

If you want to turn your herbs into a spray, the basic approach is diluting essential oils in a liquid base. A common ratio is 1 part essential oil to 10 parts witch hazel. Lavender and lemon eucalyptus oils are popular choices for this. Thyme essential oil can irritate skin and needs careful dilution. Any essential oil should be diluted before applying to skin, never used at full strength.

Keep expectations realistic. A homemade spray using lavender or citronella oil will need reapplication every 15 to 20 minutes for meaningful mosquito protection. For longer outdoor activities, especially in areas with disease-carrying mosquitoes, a product containing refined oil of lemon eucalyptus or a synthetic repellent will outperform anything you can make from garden herbs.

Safety Around Pets

Cats are especially sensitive to essential oils because they lack a liver enzyme that breaks down certain compounds. Eucalyptus, cedar, sage, pennyroyal, and tea tree oils can all cause seizures in pets. Pennyroyal, sometimes recommended as a “natural flea repellent,” is potentially toxic to the liver in both cats and dogs. Tea tree oil is the most commonly reported cause of essential oil poisoning in pets.

Growing these herbs in your garden is generally a different risk level than applying concentrated essential oils in your home. But if you’re diffusing essential oils indoors or applying herbal sprays to pet bedding, choose carefully. Lavender in small, diluted amounts is generally better tolerated than eucalyptus or tea tree, though individual animals vary.