Herbs That Repel Insects Naturally: 15 Bug-Repellent Herbs
On this page
Herbs that repel bugs include basil, mint, lavender, rosemary, lemongrass, lemon balm, catnip, chives, garlic and sage. Their aromatic oils can deter some insects, especially when leaves are crushed, and flowering herbs attract beneficial insects that eat pests. Herbs help as part of a wider plan, but living plants alone won’t keep a patio or garden bug-free.
How herbs repel insects (and what they can’t do)
Many herbs produce strong-smelling oils to protect themselves from being eaten. These compounds, such as linalool in basil and lavender, menthol in mint and citronellal in lemon balm, can deter some insects. Researchers have extracted several of them and tested them as repellents, which is where most of the reputation comes from.
There is an important catch. A growing plant releases only a small amount of these oils, mostly when its leaves are brushed or crushed. A pot of lavender on a table won’t create a bug-free zone the way a repellent spray does. Herbs work best in three ways:
- Crushed or rubbed leaves release more scent for a short time.
- Interplanting among vegetables can mask the smell of crops that pests use to find them.
- Flowering herbs attract predators such as ladybugs, lacewings, hoverflies and tiny parasitic wasps, which eat aphids, caterpillars and other pests. This is often the biggest benefit.
For more herb growing guides, visit our herbs hub.
15 herbs that repel insects naturally
1. Basil
Basil’s scent is traditionally used to deter flies and mosquitoes, and it is a classic companion for tomatoes and peppers. Keep pots near doors and outdoor dining areas, and brush the leaves as you pass. Our guide to growing basil at home covers getting big, bushy plants.
2. Mint and peppermint
Mint’s menthol-rich scent is said to deter ants, flies and some beetles. It spreads aggressively, so grow it in containers; our guide to growing mint in pots explains how. Mint is toxic to cats and dogs.
3. Lavender
Lavender is a long-standing moth repellent in closets and drawers, and its flowers draw bees and other beneficial insects into the garden. It needs full sun and sharp drainage.
4. Rosemary
Rosemary’s woody, resinous scent is traditionally used to deter cabbage moths and carrot flies when planted near vegetables. Throwing a few sprigs onto barbecue coals releases a strong aroma that may briefly discourage insects. See our guide to growing rosemary.
5. Lemongrass
Lemongrass contains citral and is a close relative of citronella grass, the source of citronella oil. The living plant has only a modest effect, but it is a handsome, useful culinary herb for pots in sunny spots. It is tender, so bring it inside or treat it as an annual in cold climates.
6. Lemon balm
Lemon balm’s leaves contain citronellal and smell strongly of lemon when crushed. Rubbing a few leaves releases the scent. It spreads by seed and runners, so cut it back before it flowers.
7. Catnip
Catnip contains nepetalactone, which has repelled mosquitoes in laboratory studies. The effect from a growing plant is small, and cats will roll in it, so plant it where that doesn’t matter.
8. Chives
Chives and other alliums are traditionally planted near carrots, roses and tomatoes to deter aphids and carrot flies with their oniony smell. Their purple flowers are popular with bees. Chives are toxic to cats and dogs.
9. Garlic
Garlic is a traditional companion for roses and many vegetables, thought to deter aphids and some beetles. Plant cloves in fall for a crop the following summer.
10. Sage
Sage is often planted near cabbage-family crops and carrots to confuse pests that find plants by smell. Its flowers are excellent for bees.
11. Thyme
Low-growing thyme makes a fragrant edging for vegetable beds. When it flowers, it attracts hoverflies and other small beneficial insects.
12. Oregano
Oregano’s aromatic leaves and long-lasting summer flowers attract many beneficial insects. It also makes a good, tough ground cover between larger plants.
13. Dill
Dill doesn’t repel much on its own, but its umbrella-shaped flowers attract ladybugs, lacewings and parasitic wasps, which control aphids and caterpillars. It is also a host plant for swallowtail butterflies.
14. Fennel
Like dill, fennel’s flowers attract beneficial insects. Fennel can inhibit the growth of some nearby plants, so grow it on its own at the edge of a bed rather than among vegetables.
15. Bay laurel
Dried bay leaves are a traditional deterrent for weevils and moths in flour, rice and other pantry goods. Grow a bay tree in a pot and dry your own leaves. Bay laurel is toxic to pets.
What about “mosquito plants” and citronella?
Garden centres often sell a scented geranium labelled “mosquito plant” or “citronella plant”. It smells of citronella when its leaves are crushed, but it is not the plant that citronella oil comes from, and the growing plant offers little protection from mosquitoes. It is a pleasant, easy patio plant; just don’t rely on it.
True citronella oil comes from citronella grasses, close relatives of culinary lemongrass. Products made from the oil can repel mosquitoes for a short time, but registered repellents last longer. The same pattern applies to most herbs: concentrated, extracted oils have some effect; living plants have much less.
Making herb sachets for drawers and closets
Dried herbs are easy to use indoors. Fill small cotton or muslin bags with dried lavender, rosemary, mint or a mixture, tie them closed, and tuck them into drawers, closets and storage boxes. Squeeze them every few weeks to release the scent, and replace the herbs every few months as the smell fades. Our guide to drying fresh herbs explains how to dry your own.
Herbs and the pests they’re said to deter
The “evidence” column is a plain-English summary of how well-supported each use is.
| Herb | Traditionally used against | Evidence |
|---|---|---|
| Basil | Flies, mosquitoes | Oils show some repellency in tests; plant effect is small |
| Mint | Ants, flies, beetles | Mostly traditional |
| Lavender | Moths, flies | Traditional; dried flowers widely used for moths |
| Rosemary | Cabbage moths, carrot flies | Traditional; mixed results |
| Lemongrass | Mosquitoes | Related to citronella; plant effect is small |
| Lemon balm | Mosquitoes | Contains citronellal; plant effect is small |
| Catnip | Mosquitoes | Nepetalactone repels in lab studies; plant effect is small |
| Chives, garlic | Aphids, carrot flies | Traditional; some support for masking crop scent |
| Sage | Cabbage moths, carrot flies | Traditional; mixed results |
| Dill, fennel, thyme, oregano | Aphids, caterpillars (indirectly) | Well supported: flowers attract predators |
| Bay | Pantry moths, weevils | Traditional |
How to use herbs for pest control
- Plant near where you sit. Put pots of basil, lemon balm, mint and lavender around patios and doors, where you will brush against them.
- Crush a few leaves when you sit outside to release more scent.
- Interplant in vegetable beds. Edge beds with thyme and chives, and tuck basil between tomatoes and peppers. Our vegetable companion planting chart shows which combinations are traditionally recommended.
- Let some herbs flower. Flowering dill, fennel, thyme, oregano and chives feed beneficial insects that do much of the pest control for you.
- Use dried herbs indoors. Sachets of lavender or rosemary in drawers, and bay leaves in pantry containers, are traditional moth deterrents.
- Combine with good habits. Check plants often, remove pests by hand, keep pantry goods in airtight containers, and empty standing water where mosquitoes breed.
If pests do get established, our guide to homemade pest control for plants covers gentle sprays and remedies, including which ones work and which are mostly myth.
Safety notes
- Essential oils are concentrated. They can irritate skin and should be diluted according to product directions. Many essential oils are toxic to cats and dogs, so don’t use them on pets or diffuse them in rooms where pets spend time without checking with a vet.
- Pennyroyal is often listed as a flea repellent, but its oil is highly toxic to people and pets. Don’t use pennyroyal oil, and avoid growing it where children or pets might eat it.
- Pet toxicity. Mint, chives, garlic, oregano and bay are on the ASPCA’s list of plants toxic to cats or dogs. Basil and rosemary are listed as non-toxic.
- Repellents for disease prevention. Where mosquitoes or ticks carry disease, rely on registered repellents rather than herbs.
Planning a bug-repellent herb garden
Grow these herbs together in a sunny bed or a cluster of pots near your outdoor seating. Put the Mediterranean herbs (rosemary, lavender, sage, thyme, oregano) in gritty, free-draining soil, and the leafy herbs (basil, lemon balm, mint, chives) in richer, moister soil or their own pots. Our guide to herb companion planting explains which herbs grow well together.
Frequently asked questions
What herbs keep bugs away?
Herbs most often used to keep bugs away include basil, mint, lavender, rosemary, lemongrass, lemon balm, catnip, chives, garlic, sage and thyme. Their strong-smelling oils can deter some insects, especially when leaves are crushed. Growing plants alone rarely keeps an area bug-free, but herbs help as part of a wider approach that includes attracting beneficial insects and removing pests early.
Do herbs actually repel mosquitoes?
Living plants have only a small effect on mosquitoes. Some herb compounds, such as nepetalactone in catnip and citronellal in lemon balm and lemongrass, have repelled mosquitoes in laboratory tests, but a plant sitting in a pot releases little of them. Crushing leaves releases more, briefly. For reliable protection from biting insects, use a registered repellent and remove standing water.
Is sage a pest deterrent?
Sage is traditionally planted near cabbages, broccoli and carrots to deter cabbage moths and carrot flies, and its strong scent may help confuse pests that find plants by smell. The evidence is mixed, so treat it as a small extra benefit rather than a solution. Sage’s flowers are excellent for bees and other beneficial insects, which is a more reliable advantage.
What herbs deter pests in a vegetable garden?
Basil, chives, garlic, dill, sage, thyme and mint are the herbs most often planted among vegetables. Some may mask the scent of crops from pests, while dill, fennel, thyme and other flowering herbs attract predators such as ladybugs, hoverflies and parasitic wasps that eat aphids and caterpillars. Grow mint in pots so it doesn’t take over the beds.
Which herbs repel moths?
Lavender, rosemary, mint and bay leaves are traditional moth-repellent herbs. Sachets of dried lavender or rosemary are often tucked into drawers and closets, and bay leaves into pantry containers. They may help deter moths but won’t kill eggs or larvae already present. Regular cleaning, airtight storage and freezing infested items are far more effective.