Growli

Companion planting · Onions + Peas

Onions and peas — avoid this pairing

Avoid pairing· moderate evidence

The verdict — and the evidence behind it

Onions and peas are best kept apart. The reason: onions release sulfur compounds (allicin) that disrupt the rhizobium bacteria peas rely on for nitrogen fixation. multiple extension sources recommend 2-3 rows of separation.

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.

What peas brings to the pairing

Cool-season legume. Nitrogen-fixing via Rhizobium leguminosarum root nodules — can deliver 30-50 lb of nitrogen per acre to following crops. Susceptible to powdery mildew and pea moth.

How to plant onions and peas together

  1. Use separate beds. The simplest fix is to grow onions and peas in different beds, ideally with a non-host crop in between.
  2. If same bed is unavoidable. Keep at least 3 feet of root separation, and place a non-host buffer (carrots, lettuce, or radishes) in the gap. For shared-disease pairings (e.g. nightshade family), 10+ feet or separate raised beds entirely.
  3. Rotation. If you have grown the antagonistic pair in the same bed before, rotate the bed to a non-host family (alliums or legumes are often the right next step) for 2-3 seasons before replanting either crop.
  4. Watch for residual effects. Some allelopathic compounds (anethole from fennel, juglone from walnut) linger in soil. If you suspect a residual issue, sow a green-manure cover crop (clover, vetch, mustard) for a season to reset.

Common mistakes

Frequently asked questions

Can you plant onions and peas together?
Not recommended. Onions release sulfur compounds (allicin) that disrupt the Rhizobium bacteria peas rely on for nitrogen fixation. Multiple extension sources recommend 2-3 rows of separation.
What is the science behind the onions-peas pairing?
Onions release sulfur compounds (allicin) that disrupt the Rhizobium bacteria peas rely on for nitrogen fixation. Multiple extension sources recommend 2-3 rows of separation. Evidence level: moderate evidence — single study or extension consensus.
How far apart should onions and peas be planted?
At least 3 feet of separation, ideally a different raised bed. For shared-disease pairings (e.g. nightshade family) 10+ feet or separate beds entirely.
Should onions and peas be planted at the same time?
Different beds is the simpler solution — but if you must use the same bed, separate by season (cool-season crop first, warm-season after) rather than risking the overlap.
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 peas — and the app lays out the spacing, neighbours, and rotation for you.

Get Growli