A diverse garden bed with vegetables and flowers growing together
Growing

Companion Planting Guide

Discover which plants grow best together and how companion planting can improve yields, deter pests, and build healthy soil.

By Arborpedia Team·August 10, 2025

The Science Behind Companion Planting

Companion planting is the practice of growing certain plants together so that they benefit one another through pest suppression, nutrient exchange, pollination support, or physical structure. While some companion planting advice is rooted in garden folklore, a growing body of agricultural research validates several of the core mechanisms at work. Understanding these mechanisms lets you move beyond memorised pairing lists and design combinations tailored to your own garden's conditions.

The best-documented mechanism is pest confusion. Many insect pests locate their host plants by scent, homing in on the specific volatile compounds released by leaves. When you interplant strongly aromatic species such as basil, dill, or marigolds among your crops, the mixed scent profile makes it harder for specialist pests to find their target. Research on brassica crops has shown that interplanting with non-host species can reduce cabbage aphid and diamondback moth populations by 30-60% compared to monoculture plantings — one of the simplest forms of integrated pest management. The effect is strongest when the companion species is aromatic and physically interspersed among the crop rows, not simply planted along the border.

Allelopathy, the release of biochemical compounds that inhibit the growth of neighbouring plants, is the flip side of companionship. Black walnut trees, for example, exude juglone from their roots and fallen leaves, which stunts or kills tomatoes, peppers, and many other garden plants within the root zone. Fennel produces similar inhibitory compounds that suppress the growth of most vegetables. Understanding allelopathic relationships is just as important as knowing beneficial pairings, because a single antagonistic plant in the wrong spot can undermine an entire bed. Nutrient sharing, particularly nitrogen transfer from legumes to neighbouring plants via mycorrhizal fungal networks, is another well-supported mechanism. Beans and peas fix atmospheric nitrogen in their root nodules, and a portion of this nitrogen becomes available to adjacent plants both during the growing season and after the legume residues decompose.

Classic Companion Pairs

The Three Sisters combination of corn, climbing beans, and squash is perhaps the most elegant companion planting system ever devised — and a foundational example of food forest guild design. Developed by Indigenous peoples of the Americas over centuries of observation, it exploits structural support, nitrogen fixation, and ground cover in a single planting. The corn provides a tall stalk for the beans to climb, eliminating the need for trellises. The beans fix nitrogen that feeds the heavy demands of the corn. The squash spreads broad leaves across the ground, shading out weeds and retaining soil moisture while its prickly stems discourage raccoons and other foragers. To plant a Three Sisters mound, sow corn first and allow it to reach about 15 cm tall before adding beans and squash, so the corn has enough of a head start to serve as a sturdy support.

Tomatoes and basil are the most popular companion pair in kitchen gardens, and the pairing has both culinary and ecological logic. Basil releases volatile oils, primarily linalool and estragole, that repel aphids, whiteflies, and thrips, all of which are common tomato pests. Some gardeners also report that basil improves the flavour of nearby tomatoes, though this is difficult to verify in controlled studies. What is well established is that interplanting basil among tomato rows increases the overall productivity of the bed by making use of the lower canopy space that tomatoes leave open. Carrots and onions provide mutual pest protection through scent masking: the carrot fly is repelled by the scent of onion foliage, and the onion fly is confused by carrot foliage. Alternating rows of each creates a highly effective barrier against both pests without any chemical intervention.

Marigolds deserve special mention as the single most broadly useful companion flower. French marigolds (Tagetes patula) release alpha-terthienyl from their roots, a compound toxic to root-knot nematodes, a devastating soil pest that attacks tomatoes, peppers, carrots, and many other vegetables. The effect is strongest when marigolds are grown as a cover crop and tilled into the soil at the end of the season, but even interplanting them among vegetable rows provides measurable nematode suppression. Above ground, marigold flowers attract hoverflies and parasitic wasps, both of which prey on aphids and caterpillars. Plant them liberally throughout the garden rather than confining them to borders for the best effect.

Plants to Keep Apart

Not all plant neighbours get along, and certain combinations actively reduce yields or invite pest problems. Fennel is the most notorious antagonist in the vegetable garden. It produces compounds that inhibit the growth of beans, tomatoes, and most brassicas, and it should be planted well away from the main garden, ideally in its own isolated bed or container. The one exception is dill, a close relative that tolerates fennel's presence, though even dill should not be planted near fennel once either goes to seed, as the two will cross-pollinate and produce off-flavoured offspring.

Black walnut trees cast a wide shadow of allelopathic influence. Juglone, the compound responsible, persists in the soil for years after a walnut tree is removed, and it affects a remarkably broad range of garden plants. Tomatoes, peppers, eggplants, potatoes, blueberries, and azaleas are all highly sensitive. If you garden near a walnut tree, test your soil for juglone and limit those beds to tolerant species such as beans, beets, carrots, corn, and squash. The affected zone typically extends to the drip line of the tree and often beyond, since juglone travels through root networks that may reach far past the visible canopy.

Brassicas, including cabbage, broccoli, cauliflower, and kale, are poor neighbours for strawberries. Brassicas are heavy feeders that deplete soil nutrients rapidly, and they attract pests such as cabbage white butterflies whose larvae may also damage nearby strawberry plants. Brassicas also do poorly next to pole beans, as both compete for the same nutrients and the beans' nitrogen fixation does not compensate quickly enough to offset the brassicas' heavy draw. Keep alliums (onions, garlic, leeks) away from beans and peas as well. Alliums release sulfur compounds that inhibit the nitrogen-fixing bacteria in legume root nodules, directly undermining one of the legumes' greatest contributions to the garden ecosystem.

Planning a Companion-Planted Garden

The most effective way to apply companion planting principles is to think in terms of guilds: groups of three to five species that fulfill complementary roles when planted together. A guild typically includes a primary crop (the vegetable or fruit you are growing for harvest), a pest-repellent companion (an aromatic herb or flower), a nitrogen fixer (a legume), a ground cover (a low-spreading plant that suppresses weeds and retains moisture), and an attractor (a flowering plant that draws pollinators and beneficial predatory insects). Not every guild needs all five roles, but the framework ensures you are building functional diversity rather than just following pairing lists.

Design your garden layout as a polyculture rather than a collection of monoculture rows. Instead of dedicating an entire bed to tomatoes and another to peppers, intermix them with their companions in a pattern that maximises the scent-confusion and nutrient-sharing benefits. A practical approach is to establish permanent polyculture beds that rotate as a unit: this year's tomato-basil-marigold-bean guild gives way next year to a brassica-dill-nasturtium-clover guild, maintaining diversity while still following crop rotation principles. Keep a simple garden journal recording what you planted where, how each combination performed, and which pest or disease issues arose. Over several seasons, this record becomes far more valuable than any generic companion planting chart, because it reflects your specific soil, climate, and pest pressures.

Succession planting amplifies the benefits of companion planting by ensuring that beneficial companions are present throughout the growing season, not just during a single planting window. For example, sow a quick-maturing crop of radishes or lettuce between newly transplanted tomato seedlings. The fast crop will be harvested before the tomatoes need the space, and in the meantime it shades the soil and suppresses weeds during the vulnerable establishment period. Follow the tomato harvest with a fall planting of nitrogen-fixing cover crops such as crimson clover or field peas, which will replenish the soil for next year's guild. This kind of continuous, layered planting mimics the diversity and ground coverage of natural ecosystems, and it is the surest path to a productive, resilient garden that improves with each passing year.

See Also

companion plantinggardeningpermaculturepest control