Thyme repay a little planning around what grows beside them. Thyme are a low, creeping Mediterranean herb that fills gaps between plants, grown for cooking and as a fragrant ground cover. They need full sun, soil with a pH of 6.0–8.0, 9–12 inches of space and 70–90 days to reach maturity, so their neighbours need to suit the same bed and the same season. This guide lists the companions for thyme from our crop data, how each one is thought to help, and which close relatives to keep apart.

There are 4 companions listed for thyme here: Tomatoes, Peppers, Marigolds and Cabbage. Companion planting is traditional garden practice rather than proven science, so benefits below are described in those terms — what gardeners have long said and done. Thyme are in the Lamiaceae family, need low water, and are started indoors or sown direct; they are hardy and tolerate cold, so they can go out early in the season. Check any pairing first with the companion-planting finder.

Best companion plants for thyme

Companion Why it is grown with thyme
Tomatoes A tall, sun-loving neighbour for the same warm bed; plant the herb at the sunny edge so it is not shaded out, and keep spacing generous for airflow.
Peppers Another heat-lover for the same sunny bed; its upright habit leaves room at its feet for low herbs.
Marigolds Grown as a border or dotted through the bed; its roots are traditionally said to discourage some soil pests, and its flowers attract beneficial insects.
Cabbage Thyme planted at the cabbage bed edge is traditionally said to confuse pests with its scent.

Tomatoes are the first companion to reach for with thyme, and it is as much a ground cover as a herb, tucking into the gaps other plants leave bare. It is the tall neighbour that sets the shape of the bed: stake it well, keep the lower leaves clear, and plant the herb at its sunny base where it gets light without being shaded out.

How companion planting works

Companion planting works through four overlapping mechanisms.

Pest confusion. Many pests find their host plant by scent. Strong-smelling companions such as aromatic herbs are traditionally said to mask that scent, so the pest passes by. It is a delaying effect, not a barrier.

Pollinator and beneficial-insect attraction. Several companions here flower — Marigolds — drawing pollinators and beneficial insects in. Let a few flower.

Nitrogen fixing. Nitrogen fixing does not apply here — none of the listed companions is a legume.

Ground cover and root layers. No companion here is a ground-cover plant, so mulch does that job instead. Deep roots beside shallow ones also compete less for water and nutrients.

None of this replaces the basics. Spacing, watering, rotation and weekly inspection matter more than any pairing.

Plants to avoid near thyme

The plants to keep away from thyme are its own relatives. Thyme belong to the Lamiaceae family, and plants in the same family share the same pests and diseases — here, aphids, spider mites, whiteflies — so problems pass easily between them and build up in the soil.

Plant to avoid Why
Basil Same Lamiaceae family; shares pests such as aphids, spider mites, whiteflies.
Mint Same Lamiaceae family; shares pests such as aphids, spider mites, whiteflies.
Rosemary Same Lamiaceae family; shares pests such as aphids, spider mites, whiteflies.
Oregano Same Lamiaceae family; shares pests such as aphids, spider mites, whiteflies.
Sage Same Lamiaceae family; shares pests such as aphids, spider mites, whiteflies.

Keep these relatives in a different bed and rotate the Lamiaceae family to fresh ground each year. Others in the same family in our crop data include Lavender, Marjoram, Catnip.

Planting layout and spacing

Space plants 9–12 inches apart in poor, well-drained soil — thyme is happier hungry than fed, and tolerates pH up to 8.0.

Give thyme their full spacing of 9–12 inches between plants. Crowded thyme mean poor airflow, more disease and smaller harvests, and no companion plant compensates for it. Work out how many plants fit your bed with the plant-spacing calculator or the square-foot garden planner.

Plant companions in the spaces the spacing leaves, not instead of it. Low companions go in the gaps and along the bed edges; taller ones go at the north side so they do not shade the thyme; scented herbs go closest to the crop, dotted through the row.

Thyme are started indoors or sown direct: sow under cover where needed, expect germination in 14–21 days, and set plants out once the weather is right. Work backwards from your last frost date with the seed-starting calculator. Thyme need full sun and soil with a pH of 6.0–8.0. Water needs are low, so water sparingly once established and never let the soil stay wet — most failures come from too much water, not too little. The watering calculator gives a starting point for your bed size. Expect 70–90 days from sowing to maturity.

Common problems and fixes

The pests most often reported on thyme are aphids, spider mites, whiteflies. Companions may reduce pressure, but they do not prevent them — inspect leaf undersides and new growth weekly and act while numbers are low.

Problem What you see First fix
Aphids Sap-sucking insects on new growth; leaves curl. Wash off with water; encourage ladybirds.
Spider Mites Fine webbing and speckled, bronzed leaves in hot, dry weather. Spray leaf undersides with water; raise humidity.
Whiteflies Tiny white insects that rise in a cloud when disturbed. Yellow sticky traps; wash leaf undersides.

Aphids

Wash them off with a strong jet of water and leave ladybirds and lacewings alone to eat them. Check the undersides of young leaves, where colonies start.

Spider Mites

Spider mites thrive in hot, dry conditions. Spray leaf undersides with water regularly and avoid dusty, drought-stressed plants, which are hit hardest.

Whiteflies

Put out yellow sticky traps to monitor numbers and wash leaf undersides with water. They breed fastest in warm, still air, so keep airflow good.

Unsure what you are seeing? Try the pest-identifier helper or the plant-disease checker. Remove badly affected leaves and rotate the Lamiaceae family next year.

Frequently asked questions

What is the best companion plant for thyme?

The most widely recommended companions are tomatoes. A tall, sun-loving neighbour for the same warm bed; plant the herb at the sunny edge so it is not shaded out, and keep spacing generous for airflow.

What should not be planted near thyme?

Avoid other members of the Lamiaceae family, including Basil, Mint, Rosemary, Oregano. They share the same pests and diseases as thyme, so problems move easily between them. Rotate the family to a fresh bed each season.

Can I plant thyme with peppers?

Yes. Peppers are on the companion list for thyme. Another heat-lover for the same sunny bed; its upright habit leaves room at its feet for low herbs.

How far apart should thyme and their companions be planted?

Space thyme plants 9–12 inches apart, and put companions in the gaps, along the edges and at the ends of rows. The plant-spacing calculator works out how many plants fit your bed.

Does companion planting replace pest control?

No. It may reduce pest pressure, but it does not replace inspection, spacing, watering, rotation and good airflow. Check plants weekly and act early.

Related guides