Can you plant cabbages and onions together?

Fine together

Folklore

Yes, they can share a bed; onion odor repelling cabbage pests is not proven.

Why

Onions are compact and shallow rooted, so they use little space beside cabbage. Charts say the onion smell confuses cabbage moths and flies. We did not find trials showing this for cabbage.

Timing

Both go outdoors 2–4 weeks before last frost.

Spacing

Cabbage
18 in (46 cm) between plants, rows 30 in (76 cm) apart
Onion
4 in (10 cm) between plants, rows 15 in (38 cm) apart

Sources

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

More cabbage pairings

  • BroccoliFine togetherPractical reason

    Yes, they grow well side by side, but they share pests and diseases, so rotate them together.

  • CeleryFine togetherFolklore

    Yes, they can share a bed; celery deterring cabbage white butterflies is unproven.

  • DillFine togetherFolklore

    Yes, plant them together; flowering dill brings beneficial insects but we found no trial showing fewer cabbage pests.

All cabbage companion plants

More onion pairings

  • CarrotGood companionsBacked by research

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

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

All onion companion plants

Planting dates

When to plant cabbages and when to plant onions.

How we grade companion advice