Can you plant carrots and onions together?

Good companions

Backed by research

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

Why

In a study of mixed cropping, intercropping carrots with onions reduced carrot fly attacks compared with carrots alone, probably because onion odor interferes with the fly finding its host. The effect was strongest with young onions and virtually gone once onions began to bulb. Other studies found a smaller effect. Use it as one layer of protection alongside row covers.

Timing

Carrot goes out 3 weeks before to 2 weeks after last frost; onions 2–4 weeks before 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
Onion
4 in (10 cm) between plants, rows 15 in (38 cm) apart

Sources

More carrot pairings

  • 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.

  • LettuceFine togetherPractical reason

    Yes, they pair well: lettuce is shallow rooted and shades the soil while carrots germinate slowly.

All carrot companion plants

More onion pairings

  • BeetFine togetherPractical reason

    Yes, they pair well: different root depths and little shared pest pressure.

  • LettuceFine togetherPractical reason

    Yes, they fit together; both are shallow, compact and cool-season friendly.

  • Bush beanFine togetherFolklore

    Charts often say avoid, but we found no solid evidence of harm.

All onion companion plants

Planting dates

When to plant carrots and when to plant onions.

How we grade companion advice