Can you plant sweet peppers and onions together?

Fine together

Folklore

Yes, they can share a bed; onion repelling pepper pests is unproven.

Why

Onions are compact and shallow rooted, and do not shade peppers. The claim that onions deter pests is folklore. They like similar fertile, well-drained soil.

Timing

Sweet pepper goes out 2–3 weeks after last frost; onions 2–4 weeks before last frost. The windows do not overlap: onions can go in first.

Spacing

Sweet pepper
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 sweet pepper pairings

  • EggplantFine togetherPractical reason

    Yes, plant them together, but they share family pests and diseases, so rotate them together.

  • TomatoFine togetherPractical reason

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

  • BasilFine togetherFolklore

    Yes, plant them together; basil protecting peppers is unproven.

All sweet pepper 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 sweet peppers and when to plant onions.

How we grade companion advice