Companion Planting Onions: What to Plant With Them
Published
What grows well with onions and what to keep away, including the carrot fly evidence, beans and peas, which pairings are folklore, and a simple bed layout.
Onions grow well with carrots, beetroot, lettuce, parsnips, Swiss chard, the cabbage family, tomatoes, peppers and strawberries. The classic pairing is onions with carrots, where the onion smell is said to confuse carrot fly, and that one has some research behind it. Keep onions away from beans and peas (a long tradition, with thin evidence), and never let tall or sprawling crops shade them, because onions need full sun and can't compete with crowding.
This post goes deeper on the onion row of our companion planting chart. Everything here also applies to shallots, and mostly to leeks and garlic.
What grows well with onions?
Onions are slim, shallow-rooted plants that take up little space and need full sun and weed-free soil. That makes them easy to tuck between other crops, especially along bed edges and between rows of root crops.
| Companion | Why it helps | How to place it | How well supported |
|---|---|---|---|
| Carrots | Onion scent may mask carrots from carrot fly. Carrots also sometimes reduce onion thrips | Alternate rows of onions and carrots | Some research support, with limits (see below) |
| Beetroot and parsnips | Different root depth, similar spacing and timing | Rows alongside onions | Practical |
| Lettuce and spinach | Shallow, quick crops that fill gaps and shade soil | Between onion rows | Practical |
| Cabbage family | Onion scent is said to deter cabbage moths and aphids | Onions around the edge of a brassica bed | Mostly traditional. Results in trials are mixed |
| Tomatoes and peppers | Onions take little space at their base | A ring of onions or chives around each plant | Traditional, few conflicts |
| Strawberries | Low, don't shade the berries | A row along the edge of the strawberry bed | Practical |
| Swiss chard | Tolerates the same conditions, fills space | Neighboring row | Practical |
| Chamomile and summer savory | Traditionally said to improve onion flavor and growth | A plant or two nearby | Folklore, but harmless and good for beneficial insects |
Does planting onions with carrots really stop carrot fly?
Partly. A 1980s study by Uvah and Coaker found that mixing carrots with onions reduced carrot fly damage compared with carrots grown alone, and reduced onion thrips too. But the effect was strongest with young, leafy onions and faded to almost nothing once the onions began to form bulbs. It also depended on how many onions were planted relative to carrots. The same study found French marigolds didn't help.
In practice, onions alongside carrots is worth doing because it costs nothing, but don't rely on it. For real protection, sow carrots thinly (thinning releases the smell that attracts the fly) and cover them with fine insect mesh.
What should you not plant with onions?
| Avoid | Why | How strong the reason is |
|---|---|---|
| Beans (bush and pole) | Tradition says alliums stunt legume growth | Long-standing, but thin evidence. Easy to follow anyway |
| Peas | Same tradition as beans | Thin evidence |
| Asparagus | Traditional bad pair. Onions in an asparagus bed also compete with its shallow crowns | Mostly traditional |
| Sage | Some charts list it as bad, others as good | Charts disagree, low risk either way |
| Tall or sprawling crops on the sun side | Onions have thin, upright leaves that can't compete for light. Zucchini and squash leaves smother them | Well supported. Onions are weak competitors with weeds too |
| Onions after onions | Onion maggot and white rot build up where alliums grow year after year | Well supported. Rotate the whole onion family |
The sun and competition point is the one most gardeners miss. Onion yields drop sharply when they're shaded or crowded by weeds, so keep them at the sunny edge of a bed and weed often while they're small.
How to lay out an onion companion bed
- Put onions on the sunniest edge of the bed, or in rows that tall crops won't shade.
- Space onions about 4 inches (10 cm) apart. In a square foot garden, that's about 9 to 16 per square, depending on how big you want the bulbs.
- Alternate rows of onions with carrots, beetroot or lettuce.
- Ring tomatoes, peppers or cabbages with onions or chives where you have spare space.
- Keep beans and peas on the far side of the bed, or in a separate bed.
- Rotate so onions, garlic and leeks don't return to the same spot for about three years.
Here's an example 4 ft x 4 ft (1.2 m x 1.2 m) bed, with the top row on the side away from the sun:
| Square 1 | Square 2 | Square 3 | Square 4 |
|---|---|---|---|
| Cabbage | Cabbage | Cabbage | Cabbage |
| Carrots | Onions | Carrots | Onions |
| Beetroot | Lettuce | Beetroot | Lettuce |
| Onions | Onions | Onions | Onions |
Onions also do well in containers and along the edges of raised beds. For when to plant sets or seedlings in your area, see the garden calendar.
Companion planting for other crops in the series
- Companion planting for tomatoes
- Companion planting for peppers
- Companion planting for strawberries
- Companion planting for potatoes
- Companion planting for cucumbers and zucchini
FAQ
Can you plant onions and garlic together?
Yes. They like the same conditions, but they also share pests and diseases such as onion maggot and white rot, so rotate them together as one family.
Can onions and tomatoes be planted together?
Yes. Onions take little space and fit around the base of tomato plants. Just make sure the tomatoes don't shade them.
Why can't you plant onions near beans?
Gardening tradition says onions and garlic stunt beans and peas. There's little solid research on it, but most growers keep them apart because it's easy to do.
Can onions and potatoes grow together?
Yes, they don't share major problems. Keep onions at the edge of the potato bed so hilling doesn't bury them.
What is the best companion for onions?
Carrots are the classic choice, followed by beetroot, lettuce and the cabbage family. Any low crop that doesn't shade the onions is a good neighbor.