Cabbage moths land on your broccoli, lay eggs, and three weeks later the leaves are lace. The fix is not a spray. It is a low mat of thyme planted between the brassicas. The volatile oils that thyme leaves release (mostly thymol and carvacrol) confuse the moths' chemical sense and stretch out the time it takes them to find a cabbage leaf to land on. Researchers at Royal Holloway and Cornell call this "associational resistance." Backyard gardeners just call it the thyme trick. This guide gives you the best companion pairings, the spacing, the soil setup, and the herbs to keep well away.
Quick takeaway
Plant common thyme (Thymus vulgaris) at 12 to 18 inches (30 to 45 cm) spacing between cabbage, broccoli, kale, and cauliflower to confuse cabbage moths and feed pollinators. Use creeping thyme (Thymus serpyllum) as a living mulch under strawberries, around roses, in fruit-tree guilds, and between stepping stones. Cluster thyme with other dry-soil Mediterranean herbs (rosemary, lavender, oregano, sage). Keep it well away from basil, parsley, cilantro, and mint because thyme wants dry, lean, alkaline soil and the others do not.
Thyme is a low woody perennial in the mint family (Lamiaceae) but unlike mint it stays put and tops out at about 12 inches (30 cm) for upright varieties and 2 to 4 inches (5 to 10 cm) for creeping types. The leaves are loaded with thymol and carvacrol, two phenolic essential oils with measurable antimicrobial and insect-repellent activity. Crush a sprig between your fingers and you can smell both compounds at work. Cabbage moths, whitefly, aphids, and tomato hornworm respond to the same chemicals by avoiding the area around the plant.
Penn State Extension, Cornell Cooperative Extension, and the Royal Horticultural Society all list thyme among the top three companion herbs for backyard vegetable beds. Beyond pest disruption, the plant supplies a dense mat of ground cover that holds soil moisture, shades out weeds, and feeds an enormous range of pollinators when the small purple-pink flowers open in early summer.
Cabbage, broccoli, kale, cauliflower (Brassicaceae)
The headline pairing. Thymol disrupts the chemical cues that cabbage white butterflies (Pieris rapae) and cabbage loopers use to find brassica leaves. Royal Holloway field trials documented 30 to 50 percent fewer eggs laid on brassicas with interplanted thyme borders.
Tomatoes
Thyme planted at the base of tomato cages deters whitefly and tomato hornworm. UMass IPM and folk tradition agree on this one. Bonus: the flowering thyme draws bumblebees that improve tomato fruit set through buzz pollination.
Strawberries
Creeping thyme (Thymus serpyllum) as a living mulch between strawberry crowns. Holds soil moisture, suppresses weeds, blooms before the strawberries and feeds bees that pollinate the berry flowers. Reduces fruit rot by lifting berries off bare soil.
Roses
Thyme planted at the rose's drip line repels aphids and rose beetles via thymol. The arrangement is a classic English cottage garden pattern recommended by the Royal Horticultural Society.
Eggplant and peppers
Whitefly and flea beetle pressure drops measurably when thyme is planted in the same bed. Both crops also share thyme's preference for full sun and moderate water.
Lavender, rosemary, oregano, sage
The Mediterranean herb cluster. All share the same hot, dry, alkaline soil preference. Plant them together in a herb spiral or south-facing bed. Pollinators love the mixed bloom calendar (lavender early summer, thyme mid summer, oregano late summer).
Marjoram, salvia, hyssop
Same family (Lamiaceae) and same growing requirements. All are pollinator magnets when in flower.
Blueberries
Creeping thyme between blueberry shrubs as a low ground cover. Suppresses weeds, supplies pollinators, and tolerates the partial shade.
Fruit trees in guilds
Creeping thyme as the ground-cover layer in an apple, plum, peach, or cherry guild. The mat shades the root zone, blooms in pollinator season, and competes minimally with the tree.
Pathway and stepping-stone underplanting
Creeping thyme releases its scent when crushed underfoot. Plant between stepping stones, along garden paths, and in dry-rocky areas. Deer-resistant, drought-tolerant, and walkable.
Why this works (the permaculture angle)
Thyme is a perfect example of "stacked function": pest deterrent, pollinator food, culinary harvest, drought-tolerant ground cover, low-maintenance perennial, and aesthetic stone-path softener all in one plant. The permaculture pattern called "associational resistance" describes how aromatic herbs interfere with the pest's ability to locate its host crop chemically. Every cabbage thyme guards is a cabbage you do not need to spray.
Avoid these neighbors
Basil (prefers consistently moist soil, will rot in thyme's dry-leaning conditions). Cilantro and coriander (moisture-loving, will bolt fast in the dry sunny spots thyme prefers). Parsley (moisture mismatch). Mint and aggressive lemon balm (their underground runners overrun and choke out thyme). Cucumbers, melons, squash if heavily irrigated (water requirements clash). Hostas, ferns, and other shade-loving moisture-needy plants.
The mismatch is almost always about water. Thyme is a Mediterranean dry-soil herb. Anything that needs frequent watering, fertile soil, or full shade is the wrong neighbor regardless of any pest benefits.
| Trait | Common (T. vulgaris) | Creeping (T. serpyllum) |
| Height | 8 to 12 in (20 to 30 cm) | 2 to 4 in (5 to 10 cm) |
| Spread | 12 to 18 in (30 to 45 cm) | 12 to 24 in (30 to 60 cm) wide |
| Best use | Culinary, border, intercropping with brassicas | Living mulch, paths, ground cover, fruit-tree guilds |
| Bloom | White to pale pink | Purple-pink, intense |
| Walkable | No (woody) | Yes (light foot traffic) |
| Hardiness | USDA zones 4 to 9 | USDA zones 4 to 9 |
Sources: Cornell Cooperative Extension, Penn State Extension home herb guide, Royal Horticultural Society.
Use common thyme for kitchen harvest and intercropping with vegetables. Use creeping thyme for ground cover, pathways, and the lowest layer of food forests. Many backyards run both.
Thyme is one of the few herbs that actively prefers poor soil. Rich, moist garden soil produces lush leafy growth that drops the essential-oil concentration and weakens the plant. Lean, well-drained, alkaline-leaning soil (pH 6.0 to 8.0) is ideal. Penn State Extension specifically recommends amending heavy clay with sand and gravel rather than compost before planting thyme.
Full sun, 6+ hours daily
Shade weakens thyme and increases its susceptibility to root rot. South-facing or west-facing beds are best.
Lean, gritty, alkaline soil
Skip compost in thyme beds. Add a handful of crushed limestone if your soil is acidic. Sand or pea gravel amendments improve drainage. Heavy mulch suffocates the crown.
Water sparingly
Established thyme tolerates drought. Water deeply once a week during the first season, then only during extended drought. Daily watering kills more thyme than any pest.
12 to 18 inch spacing between plants
For common thyme. Creeping thyme can be planted at 8 to 12 inch (20 to 30 cm) spacing because it spreads horizontally to fill in.
Building a full companion plan?
Pair this thyme guide with our broader herb and vegetable companion system for a complete year-round design.
Read the Free GuideThe single most reliable layout for thyme is the Mediterranean cluster: thyme, rosemary, lavender, oregano, and sage planted together in a south-facing bed with sharp drainage. All five share the same water, light, and soil requirements. The herb spiral popularized by Sepp Holzer is a compact way to fit all of them in a 6 to 8 ft (1.8 to 2.4 m) diameter space, with thyme at the dry sunny side and creeping thyme at the lower edge.
Bloom calendar runs from May (lavender) through August (oregano), which keeps bees on the bed for nearly four months. Plant a few extra rosemary for evergreen winter structure.
Creeping thyme between strawberry crowns does three jobs at once: keeps berries off the soil (reducing rot), holds moisture, and supplies early-season pollinators that improve berry set. RHS Wisley trials documented a 15 to 25 percent improvement in fruit set on strawberries undersown with creeping thyme compared to bare-soil beds.
The trick is to plant thyme between strawberry plants in early spring, well before the strawberries put on runners. By the time strawberries spread, the thyme is already established and competes evenly rather than getting overrun.
Thyme is one of the easiest perennial herbs to integrate across a backyard system. The Mediterranean herb cluster handles the dry-sunny corner. Creeping thyme handles the living-mulch layer in fruit tree guilds and strawberry beds. Common thyme bordering brassica beds handles cabbage moth pressure naturally. Read our broader guides on companion planting herbs and 12 permaculture principles explained with garden examples for the wider framework.
Build a year-round herb and vegetable plan
Thyme is one perennial in a larger design. Our free guide walks through the full pattern from herbs to vegetables to fruit, with USDA zone templates.
Start with the Free GuideCabbage and other brassicas (broccoli, kale, cauliflower, Brussels sprouts). Thyme planted between brassica rows interferes with cabbage moth host-finding behavior. Royal Holloway field trials documented 30 to 50 percent fewer eggs laid on brassicas with thyme borders. The second best pairing is rosemary and lavender in a Mediterranean herb cluster.
Basil, cilantro, parsley, mint, lemon balm, cucumbers and squash that need heavy watering, and shade-loving moisture-needy plants like hostas and ferns. Thyme prefers dry lean alkaline soil. Anything that needs frequent watering or rich soil will fight thyme for the wrong conditions.
Yes. Oregano and thyme are both Mediterranean herbs that share full-sun and dry well-drained soil preferences. They are excellent companions in a herb spiral, raised bed, or south-facing border. Bloom times also stagger: thyme blooms mid-summer, oregano blooms late summer, so pollinators visit both.
Yes, especially creeping thyme (Thymus serpyllum) which grows 2 to 4 inches (5 to 10 cm) tall and spreads to a dense mat. Walkable, drought-tolerant, deer-resistant, and blooms with masses of small purple flowers that feed 40+ bee species per RHS Wisley research. Excellent between stepping stones, along paths, under fruit trees, and around roses.
Yes. The essential oils thymol and carvacrol disrupt host-finding by cabbage moths, cabbage loopers, tomato hornworm, whitefly, and rose beetles. Effect is partial rather than absolute. Plant thyme to reduce pressure, not eliminate it. Pair with other deterrents (row cover, beneficial-insect plantings) for severe pressure.
Yes. Thyme planted at the base of tomato cages deters whitefly and tomato hornworm. Both share full-sun preferences. The thyme also acts as living mulch holding soil moisture in the tomato root zone. Use common thyme planted at 18 inch spacing rather than creeping thyme to allow tomato airflow.
Plant common thyme in a sunny spot with well-drained, lean, alkaline soil (pH 6.0 to 8.0) at 12 to 18 inch (30 to 45 cm) spacing between plants. Water sparingly. Skip compost and bark mulch. Trim back by one-third after the first flowering to keep plants compact. The plant is hardy in USDA zones 4 to 9 and lives 3 to 5 years before needing replacement.
Yes, prolifically. Royal Horticultural Society Wisley trials counted 40+ bee species visiting flowering thyme including honey bees, bumblebees, mason bees, mining bees, and small carpenter bees. Hoverflies and small parasitic wasps also visit. Flowering thyme is one of the highest-value pollinator plants for backyard ecosystems by square foot.