Companion Plants for Rosemary: What to Plant With (and Avoid)

The best companion plants for rosemary are sage, thyme, lavender and oregano. Avoid planting rosemary near blueberries and basil.

Rosemary is a woody Mediterranean shrub that wants full sun, sharp drainage and little water — conditions few vegetables share. It pairs naturally with thyme, sage, oregano and lavender in a dry herb bed, and traditionally near cabbage, broccoli and carrots, where its scent is said to confuse cabbage moths and carrot rust flies.

Keep rosemary out of blueberry beds, where acidic, moist soil suits the berries but not the herb, and apart from basil, which needs richer soil and more water. Most rosemary is hardy only to about zone 7 or 8, so gardeners in colder regions grow it in a pot and bring it indoors for winter.

Good companions
7
Plants to avoid
2
Research-supported
0

Salvia rosmarinus · mint family (Lamiaceae)

Yes — rosemary and sage are good companions

Space & timingPractical

Rosemary and sage both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water. Both belong to the mint family (Lamiaceae), so rotate them together and don't follow one with the other in the same bed.

What Are the Best Companion Plants for Rosemary?

Rosemary grows best with sage, thyme, lavender, oregano and cabbage. 7 plants in our chart pair well with rosemary, mostly by using space and time efficiently and deterring or trapping pests; none of those pairings are research-supported.

Good companion plants for rosemary, strongest evidence first.
SageSpace & timingRosemary and sage both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water.Practical
ThymeSpace & timingRosemary and thyme both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water.Practical
LavenderSpace & timingRosemary and lavender both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water.Practical
OreganoSpace & timingRosemary and oregano both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water.Practical
CabbagePest controlRosemary scent is said to confuse cabbage moths looking for cabbage to lay eggs on; some trials found fewer eggs, others no difference.Traditional
BroccoliPest controlRosemary scent is said to confuse cabbage moths looking for broccoli to lay eggs on; some trials found fewer eggs, others no difference.Traditional
CarrotsPest controlRosemary's scent is said to mask carrots from carrot rust flies; the evidence is anecdotal.Traditional

Good companion plants for rosemary, strongest evidence first.

What Should You Not Plant With Rosemary?

Don't plant rosemary near blueberries and basil. The conflicts come mainly from conflicting soil or water needs; none of the 2 are research-supported and the rest are practical or traditional rules.

Plants to keep away from rosemary.
BlueberriesConflicting needsRosemary wants dry, neutral soil and suffers in the acidic, moist conditions blueberries need.Practical
BasilConflicting needsBasil wants moist, rich soil; rosemary wants lean, dry soil. Grow them in separate pots.Practical

Plants to keep away from rosemary.

Which Rosemary Companion Claims Are Backed by Research?

None of the 9 rosemary pairings in our data has direct research support: 6 rest on practical horticulture and 3 are traditional claims passed down in gardening books.

Research-supported pairings rest on documented biology: shared pathogens, pollination, nematode suppression or insects that feed on specific flowers. Practical pairings are plain logic about space, shade and timing. Traditional companions such as cabbage, broccoli and carrots are harmless to grow with rosemary, but don't rely on them for pest control — row covers, crop rotation and regular checks do more.

How Should You Plant Rosemary With Companions?

Plant rosemary at the sunniest, driest edge of the garden with thyme, sage and lavender, or in a terracotta pot beside brassica beds.

Companions still need room of their own, so work out how many rosemary and partner plants fit in a bed with the plant spacing calculator. Rosemary is perennial, so check winter survival in your USDA hardiness zone by ZIP code before choosing a permanent spot for it and its companions.

Watering, feeding, light and harvest timing for rosemary are covered in the rosemary plant care guide.

Which Crops Share Companions With Rosemary?

Thyme, sage and lavender share companion plants or growing conditions with rosemary, so their companion guides help plan the same bed or rotation.

  • The guide to companion plants for thyme overlaps with this one: both crops grow well with sage, lavender and oregano, and thyme is a good companion for rosemary too.
  • The guide to companion plants for sage overlaps with this one: both crops grow well with thyme, lavender and oregano, and sage is a good companion for rosemary too.
  • The guide to companion plants for lavender overlaps with this one: both crops grow well with sage, thyme and oregano, and lavender is a good companion for rosemary too.

To check rosemary against every other plant at once, or test a whole bed plan, use the companion planting chart and garden checker.

Frequently Asked Questions

What is the best companion plant for rosemary?
Sage is one of the best-supported companions for rosemary. Rosemary and sage both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water.
What should you not plant with rosemary?
Avoid planting rosemary near blueberries and basil. The most important conflict is with blueberries: Rosemary wants dry, neutral soil and suffers in the acidic, moist conditions blueberries need.
Can you plant rosemary and thyme together?
Yes, rosemary and thyme are good companions. Rosemary and thyme both want full sun, lean soil and sharp drainage, so they share a dry herb bed without competing for water.
Does companion planting really work for rosemary?
Partly. None of the 9 rosemary pairings in our data are backed by research, 6 are practical space or timing rules, and 3 are traditional. Flowers that feed beneficial insects and separating crops that share diseases have the strongest evidence.

Companion data: PlantoScan's own editorial compilation, written from general horticultural knowledge, plant pathology and published intercropping research. Evidence labels are our editorial judgment; results vary with climate, soil, variety and pest pressure.