Can you plant carrots and rosemary together?

Fine together

Folklore

Yes, they can be neighbors; rosemary repelling carrot fly is folklore.

Why

Charts claim strong-smelling herbs confuse carrot fly. Evidence for onion is better than for herbs like rosemary. Rosemary wants drier soil than carrots.

Timing

Carrot goes out 3 weeks before to 2 weeks after last frost; rosemary 1–3 weeks after last frost. The windows overlap, so both can go in on the same day.

Spacing

Carrot
2 in (5.1 cm) between plants, rows 12 in (30 cm) apart
Rosemary
24 in (61 cm) between plants, rows 36 in (91 cm) apart

Sources

No study is cited for this pairing. We found no evidence either way, so treat it as folklore.

More carrot pairings

  • OnionGood companionsBacked by research

    Yes, onions can reduce carrot fly attacks, though the effect fades once onions start to bulb and varies between studies.

  • RadishGood companionsPractical reason

    Yes: radishes sprout fast, mark the carrot row, and are harvested before carrots need the space.

  • DillFine togetherPractical reason

    Fine in practice, but both are in the carrot family and share pests; do not let dill go to seed over the carrots.

All carrot companion plants

More rosemary pairings

  • CabbageFine togetherFolklore

    Yes, they can be neighbors; rosemary repelling cabbage moths is unproven.

Planting dates

When to plant carrots and when to plant rosemary.

How we grade companion advice