Herbs
Rosemary Companion Plants
By the editorial team · Updated 2026-11-19 · Every pairing linked to its source
Quick answer. The best rosemary companion plants are sage and lavender, which share its need for dry, sunny, well-drained soil. Cabbage-family crops, beans, peas and carrots are traditional partners at the bed edge. No chart lists a foe, but keep rosemary away from wet soil and small crops its big roots would crowd.

- Spacing
- 24 in · 60 cm
- Season
- Perennial
- Sun
- Full
- Rotate with
- Lamiaceae
Rosemary companion plants should be judged first by soil. Rosemary is a woody shrub that wants sun, sharp drainage and lean ground, while most vegetables want rich, moist soil. Oregon State also warns that its large root system can compete with small crops.
That is why the strongest pairings are other Mediterranean herbs, and why vegetable pairings work best at the dry, sunny end of a bed rather than in the middle of it. All rosemary pairings come from charts, with no controlled trials behind them.
Rosemary companion chart
Good companions
| Plant | Why | Evidence | |
|---|---|---|---|
| Sage | Rosemary and sage share the same dry, sunny, well-drained needs. | Practical | source |
| Lavender | Rosemary and lavender both need dry, lean soil, so they thrive together. | Practical | source |
| Cabbage | Rosemary's scent is said to mask cabbage from moths; untested. | Traditional | source |
| Broccoli | Broccoli is traditionally said to do better near rosemary; no trial yet. | Traditional | source |
| Beans (bush & pole) | Rosemary is planted near beans to deter bean beetles; a traditional idea, untested. | Traditional | source |
| Carrot | A traditional pairing; rosemary is said to deter carrot fly, but that's unproven. | Traditional | source |
| Peas | Peas are traditionally said to do better near rosemary; untested — try it and see. | Traditional | source |
Keep apart
No well-documented conflicts. See the notes below for general cautions.
Proven Backed by a field trial or published study. Practical Recommended by a university extension or the RHS, with a clear reason. Traditional Gardener lore; no trial found yet.
What to Plant With Rosemary
Herbs with the same needs
- Sage — Practical. The UF herb chart pairs them, and both need dry, sunny, well-drained soil.
- Lavender — Practical. Also paired in the UF herb chart; both prefer lean soil.
Vegetables at the bed edge
- Cabbage — Traditional. UF and NDSU list rosemary to deter cabbage moth; the scent-masking claim is untested.
- Broccoli — Traditional. Oregon State lists rosemary as enhancing cole crops.
- Beans — Traditional. Listed by UF and NDSU to deter bean beetles.
- Carrot — Traditional. UC lists rosemary with carrots; the UF herb chart says it deters carrot fly.
- Peas — Traditional. Listed by Oregon State.
Rosemary's spring flowers also attract bees and other pollinators, which gives a herb corner a second job beyond the kitchen. The botanical name is now Salvia rosmarinus, which reflects how close it is to sage; the two make natural neighbors in more ways than one.
What Not to Plant With Rosemary
No chart we used names a plant to keep away from rosemary. The cautions are practical:
- Wet, rich beds. Rosemary hates wet soil. Planting it among thirsty crops means one of them is watered wrongly.
- Small crops right beside it. Oregon State notes the root system can compete with small plants, so do not crowd lettuce or carrots against its base.
- Cold winters. Rosemary is not hardy in cold-winter areas. There, grow it in a pot you can move indoors.
In the UK, the RHS also flags rosemary beetle as a pest of the plant itself.
Rosemary Companion Planting Chart
| Plant | With rosemary? | Reason | Evidence |
|---|---|---|---|
| Sage | Yes, side by side | Dry, sunny, well-drained | Practical |
| Lavender | Yes, side by side | Lean, dry soil | Practical |
| Cabbage | At the bed edge | Cabbage moth claim, untested | Traditional |
| Broccoli | At the bed edge | Chart listing | Traditional |
| Beans | At the bed edge | Bean beetle claim | Traditional |
| Carrot | At the bed edge | Carrot fly claim | Traditional |
| Peas | At the bed edge | Chart listing | Traditional |
Space rosemary about 24 in (60 cm) from other plants, as Texas A&M advises. That gap protects small neighbors from its roots and gives the shrub air.

Free printable PDF
Get the complete companion planting chart
The PDF's herb corner plan shows rosemary, sage and lavender laid out at a bed end with spacing marked, ready to print before you plant.
- 1-page fridge chart + full 50 × 50 matrix
- 50 plant cards with spacing and reasons
- 6 bed plans drawn to scale
- US Letter and A4
A Dry End for the Bed
The top tip from our sources is to plant rosemary at the sunny, dry end of a bed beside cabbage-family crops or carrots, not in their midst. In practice:
- Put rosemary, sage and lavender together in a corner with the sharpest drainage.
- Run the brassica or carrot row so its end meets that corner.
- Water the vegetables at their roots and leave the herb corner drier.
This gives you whatever scent benefit rosemary may offer the vegetables without forcing it into soil it dislikes. In cold areas, sink a potted rosemary at that end of the bed for summer and bring it in for winter.
The same corner suits thyme as well, since it also needs sharp drainage. Three or four woody herbs together make a compact block that is easy to leave unwatered while the vegetables beside it get their regular soak.
Does It Really Work?
No controlled trial has tested rosemary as a companion, so every pest claim here is unproven. The sage and lavender pairings are sound for a practical reason: they want the same conditions. Use rosemary as a herb corner that borders the vegetable bed, and judge any pest effect by what you see in your own garden.
Frequently asked questions
What plants are not compatible with rosemary?
No chart we checked names a specific foe for rosemary. In practice, avoid planting it among moisture-loving crops, because rosemary hates wet soil, and do not crowd small crops against its base, since Oregon State notes its roots compete. Keep 24 in (60 cm) around it.
Does rosemary need full sun?
Yes. Rosemary is a full-sun plant that also needs well-drained soil. That is why sage and lavender, which want the same sunny, dry conditions, are its best companions. Put rosemary at the sunniest, driest end of a bed rather than among thirsty vegetables.
Does rosemary do better in pots or ground?
Where winters are mild, rosemary grows well in the ground with good drainage. It is not hardy in cold-winter areas, so there it is better in a pot you can bring indoors. A pot also keeps its large roots from competing with small vegetable crops.
Should rosemary be watered every day?
No. Rosemary hates wet soil and prefers lean, well-drained ground. Daily watering would suit thirsty vegetables, not rosemary, which is why our sources suggest keeping it at the dry end of a bed with sage and lavender rather than in the middle of a vegetable row.
What vegetables grow well with rosemary?
Cabbage, broccoli, beans, peas and carrots are listed as rosemary companions in UF, NDSU, Oregon State and UC charts. These are traditional pairings. Plant them so their row ends near the rosemary, not around it, so the herb stays dry and the vegetables stay watered.







