Companion planting

What to plant with onions

The best companions for onions are carrots. Keep them away from peas, bush beans, pole beans, edamame and southern peas.

Only pairings with a known reason behind them · Updated October 2026

Good companions for onions

  • Carrots

    Onion scent can mask carrots from carrot fly; it works best with plenty of onions.

What not to plant with onions

  • Peas

    Alliums are widely reported to stunt peas and beans; grow them in separate beds.

  • Bush beans

    Alliums are widely reported to stunt peas and beans; grow them in separate beds.

  • Pole beans

    Alliums are widely reported to stunt peas and beans; grow them in separate beds.

  • Edamame

    Alliums are widely reported to stunt peas and beans; grow them in separate beds.

  • Southern peas

    Alliums are widely reported to stunt peas and beans; grow them in separate beds.

Growing onions

For spacing, sun, planting dates and rotation, see the onion (sets) growing guide. Onions also feature in the salsa garden, 4×8 in our raised bed layouts.

Questions and answers

What is the best companion plant for onions?

Carrots. Onion scent can mask carrots from carrot fly; it works best with plenty of onions.

What should not be planted with onions?

Peas: Alliums are widely reported to stunt peas and beans; grow them in separate beds. Bush beans: Alliums are widely reported to stunt peas and beans; grow them in separate beds. Pole beans: Alliums are widely reported to stunt peas and beans; grow them in separate beds. Edamame: Alliums are widely reported to stunt peas and beans; grow them in separate beds. Southern peas: Alliums are widely reported to stunt peas and beans; grow them in separate beds.

Can you plant onions and carrots together?

Yes. Onion scent can mask carrots from carrot fly; it works best with plenty of onions.

Can you plant onions and peas together?

Better not. Alliums are widely reported to stunt peas and beans; grow them in separate beds.

Can you plant onions and bush beans together?

Better not. Alliums are widely reported to stunt peas and beans; grow them in separate beds.

Can you plant onions and pole beans together?

Better not. Alliums are widely reported to stunt peas and beans; grow them in separate beds.

Plan your onions with the right neighbours

Gardentasia flags good and bad companions the moment you place a crop, explains why, and keeps tall plants from shading the sun-lovers.

Open the free planner

Free, in your browser. No account, no download.