Growli

Companion planting · Onions + Peppers

Can you plant onions with peppers?

Compatible· moderate evidence

The verdict — and the evidence behind it

Multiple sources point to onions and peppers working well together. The mechanism: same allium-aphid-thrip mechanism as tomatoes. onion tops stay short enough to share a bed with peppers without shading them.

Evidence level: Moderate evidence — single study or extension consensus.

What onions brings to the pairing

Cool-to-warm-season allium. Sulfur volatiles (allicin) deter many soft-bodied pests but disrupt legume root bacteria. Shallow-rooted, low water demand.

In the context of peppers: Same allium-aphid-thrip mechanism as tomatoes. Onion tops stay short enough to share a bed with peppers without shading them.

What peppers brings to the pairing

Warm-season nightshade, medium feeder. Attracts aphids, thrips, and pepper weevils. Self-pollinating, but pollinator visits improve fruit set in dense beds.

In the context of onions: Allium sulfur volatiles deter aphids and thrips, two of the worst pepper pests. Onion tops also stay short enough that they don't shade peppers as they bulb up.

How to plant onions and peppers together

  1. Spacing. Plant the two crops 12-18 inches apart so volatile compounds and microclimate effects overlap. For trellised crops (peas, cucumbers, pole beans), allow extra clearance for vine spread.
  2. Timing. Sow at roughly the same time wherever your zone allows. For warm-season + cool-season pairings, plant the cool-season crop first and slot the warm-season crop in 2-3 weeks later so they overlap rather than fully coincide. Cross-check your USDA zone and the monthly planting calendar.
  3. Soil prep. Both crops do best in well-drained soil enriched with 2-4 inches of compost. Avoid over-fertilizing with high-nitrogen blends — heavy nitrogen can over-stimulate leafy growth at the expense of fruit set in fruiting crops.
  4. Watering. Deep, infrequent watering (1-2 inches per week, depending on rainfall) suits most pairings. Avoid overhead watering on dense plantings to limit fungal disease.
  5. Pest watch.Inspect both crops weekly. The beneficial effect of companion planting reduces pest pressure but doesn't eliminate it — established pests still need physical removal, neem, or row covers.

Common mistakes

Frequently asked questions

Can you plant onions and peppers together?
Yes. Same allium-aphid-thrip mechanism as tomatoes. Onion tops stay short enough to share a bed with peppers without shading them.
What is the science behind the onions-peppers pairing?
Same allium-aphid-thrip mechanism as tomatoes. Onion tops stay short enough to share a bed with peppers without shading them. Evidence level: moderate evidence — single study or extension consensus.
How far apart should onions and peppers be planted?
For the beneficial effect, 12-18 inches between species is enough — close enough for volatile compounds and microclimate to overlap. Adjust based on the mature spread of each crop.
Should onions and peppers be planted at the same time?
Same time wherever the seasons allow, so the beneficial effect (volatile priming, scent confusion, or nitrogen sharing) is in place before pest pressure builds. Where one crop is cool-season and the other warm-season, stagger by 2-3 weeks so they overlap rather than fully coincide.
Does this pairing work in raised beds and containers?
Yes. The volatile and scent-based effects actually work better in dense raised-bed plantings because the volatile cloud stays concentrated. Container pairings work for any non-allelopathic combination — keep root depth in mind and use a container at least 12 inches deep for two-crop plantings.

Sources

Pairing claims sourced from peer-reviewed horticultural literature, US Cooperative Extension publications (Cornell, UMN, WVU, UF/IFAS, UVM), the Royal Horticultural Society's vegetable companion guidance, and the evidence reviews maintained at garden-myths.com. Pairings labelled traditional represent gardener consensus without controlled-trial confirmation. Curated by the Growli editorial team, last reviewed May 2026.

Keep going

Build the bed in Growli

Tell Growli your bed size, your zone, and the crops you want to grow — including onions and peppers — and the app lays out the spacing, neighbours, and rotation for you.

Get Growli