Planting something fragrant beside a vegetable bed sounds like an ideal way to deal with earwigs. Put in lavender, mint, basil or another strongly scented plant, and the earwigs supposedly decide to live somewhere else. Unfortunately, that tidy solution gives the plants far more credit than the evidence supports.
There are no well-established plants that reliably repel earwigs simply by growing in your garden. Popular recommendations such as lavender, mint, basil, rosemary and garlic are frequently described as earwig-repellent plants, but they should not be treated as proven barriers. Earwig management is much more reliably based on reducing favorable shelter and moisture, trapping, and protecting vulnerable plants.
That does not mean planting choices are irrelevant. The more useful question is not which plant smells offensive to an earwig, but whether the way a garden is planted creates the cool, moist hiding places earwigs use during the day.
The Problem With Lists of “Earwig-Repellent Plants”
Most lists of plants that repel earwigs sound remarkably confident. Lavender is said to repel them because of its fragrance. Mint gets the same treatment. Rosemary, basil, garlic, thyme and other aromatic plants frequently appear alongside them.
The missing piece is reliable evidence that growing these plants actually keeps earwigs away.
That distinction matters. A plant can contain aromatic compounds without functioning as an effective pest barrier in a garden. Likewise, a substance extracted from a plant is not equivalent to the living plant. Even when a particular plant-derived oil affects an insect under experimental conditions, that does not establish that planting the source species beside your tomatoes will reproduce the same effect.
For earwigs specifically, established garden-management guidance focuses instead on their behavior. European earwigs are active at night and hide in protected places during daylight. Their preferred refuges are dark, tight and moist. Those preferences give gardeners something much more dependable to work with than an unsupported list of supposedly repellent herbs.
We would not choose companion plants specifically for earwig control. Grow lavender because you want lavender. Grow basil because you will use it. Neither should occupy valuable garden space solely because you expect it to form an invisible earwig barrier.
Some Plants Can Actually Give Earwigs More Places to Hide
There is an irony in using plants to repel earwigs. Dense planting can create exactly the kind of protected environment they use for shelter.
Earwigs hide during the day in places such as vegetation, weeds and mulch. Dense groundcover can retain shade and moisture close to the soil while providing numerous protected spaces between stems, leaves and debris. Therefore, adding more vegetation is not automatically an improvement just because that vegetation happens to be aromatic.
This does not make dense plants an “earwig attractant” in the sense of a lure. The important issue is habitat. An earwig needs somewhere protected to spend the daylight hours before emerging to feed at night. A garden that supplies abundant refuge can support that behavior regardless of whether some of those plants smell strong to us.
That is also why what attracts earwigs cannot be reduced to one scent or one plant. Moisture, shelter and available food all matter. Thinking in terms of habitat gives you much more control over the garden than trying to surround susceptible crops with plants from a repellent list.
Plant Placement Matters More Than Plant Fragrance
A better planting strategy starts with the plants earwigs might damage rather than the plants supposedly capable of frightening them away.
Earwigs can feed on buds, leaves, flowers and fruits across a broad range of vegetables and ornamentals. Seedlings are particularly vulnerable because severe feeding can remove a large proportion of a small plant. Mature plants can often tolerate considerably more damage.
Around those vulnerable plants, avoid creating unnecessary refuge. Weeds, fallen plant material and excessive debris give earwigs additional daytime cover. Heavy groundcover immediately beside a susceptible vegetable bed can do the same. Established management guidance specifically recommends removing dense undergrowth and weeds around vegetable and flower gardens.
Spacing plants appropriately for the crop also helps you see what is happening. A dense tangle of foliage can conceal earwigs and their damage, while accessible plants are easier to inspect after dark. Our guide to keeping earwigs off seedlings and vegetable plants goes deeper into protecting young plants during their most vulnerable stage.
The goal is not to create a bare garden. It is to avoid giving earwigs unnecessary shelter immediately beside plants you are actively trying to protect.
Use Earwig Behavior as Your Repellent
There is no plant you need to buy for this strategy. Instead, make the places around vulnerable plants less suitable for earwigs and concentrate the insects somewhere you can remove them.
Earwigs seek protected daytime refuges, which makes shelter traps unusually well matched to their behavior. Rolled corrugated cardboard or newspaper can provide an artificial hiding place. Earwigs enter the material after their nighttime activity, and the trap can then be collected. Cardboard and newspaper traps can reduce earwig numbers when they are checked and emptied regularly.
Moisture deserves similar attention. Irrigated gardens can provide the damp conditions earwigs favor, so reducing unnecessary surface moisture can make shelter less favorable. Where appropriate for the plants being grown, drip irrigation can reduce surface moisture. That is a much more defensible garden adjustment than expecting a border of rosemary or lavender to keep earwigs on the other side.
There is another advantage to this approach. You do not need to eliminate every earwig. European earwigs are omnivores and can also prey on aphids, mites, caterpillars and other small invertebrates. As a result, low earwig populations can be tolerated when they are not causing unacceptable plant damage.
That makes earwig control a balancing problem rather than a repelling problem. Our broader look at whether earwigs are good or bad for a garden explains why automatically removing every one of them can be unnecessary.
Be Careful With the Jump From Plants to Essential Oils
Another source of confusion is the assumption that a fragrant plant and its concentrated essential oil are interchangeable.
They are not. Growing peppermint in a garden, placing peppermint leaves beside a plant and applying peppermint essential oil are three different situations. The concentration and exposure are completely different, so evidence concerning one cannot simply be transferred to the others.
This matters especially because essential oils are often presented online as natural pest repellents. “Natural” describes their origin, not whether a particular concentration has been shown to repel earwigs or whether applying it directly to a particular plant is appropriate.
For that reason, we would keep the questions separate. Whether peppermint oil repels earwigs deserves its own evaluation. It should not be used as proof that a peppermint plant growing nearby will do the same thing. The same rule applies when assessing smells that earwigs supposedly hate.
This is one of the easiest pest-control claims to accidentally exaggerate. A plant smells strong to a human nose, so the next step feels intuitive. Unfortunately, intuition is not enough to turn a garden herb into a dependable insect repellent.
Build the Garden Around the Plants You Want, Not the Earwigs You Do Not
There is no reason to redesign a garden around a speculative earwig-repellent planting scheme. Choose companion plants because they suit the site, benefit the garden in a documented way or are plants you actually want to grow.
When earwigs are damaging something valuable, respond directly to the conditions supporting them. Remove unnecessary hiding material, manage excess moisture and use traps where activity is concentrated. Checking affected plants with a flashlight at night can also confirm whether earwigs are responsible for the damage before you change anything.
For larger garden problems, those measures can form part of a broader earwig-control strategy. They are less exciting than planting a magical border of herbs, but they target behaviors earwigs actually depend on.
Other Questions About Plants and Earwigs
Are there plants that earwigs will not eat?
Earwigs feed on a broad range of plant material, but damage varies considerably between plants and circumstances. It is more useful to identify the plants currently suffering damage than to assume an entire species will always be ignored. Earwigs are omnivorous and their available food changes from one garden to another.
Can I grow mint around pots to stop earwigs climbing into them?
A border of living mint should not be treated as a dependable physical barrier. Earwigs primarily disperse by crawling and can move into vegetation while foraging. Where earwigs are repeatedly entering containers, managing the hiding places and moisture around the pots is more useful. Our guide to earwigs in potted plants covers that situation separately.
Should I remove plants because earwigs are hiding underneath them?
Not automatically. A wanted, healthy plant does not need to be sacrificed merely because an earwig uses the area for cover. Start with removable refuge such as weeds, excess debris, boards and unnecessary objects. The aim is to reduce favorable shelter without dismantling the garden.
Can companion planting replace earwig traps?
There is no established earwig-repellent companion plant that provides a dependable substitute for trapping. When damaging numbers are present, traps directly exploit the earwig’s tendency to seek sheltered places during the day. Our DIY earwig trap guide explains how that approach works.