Companion planting is the practice of deliberately growing different plant species near each other to create mutual benefits — including natural pest suppression, nitrogen fixation, improved pollinator access, better use of space, and in some cases, measurable yield improvements. The most famous example is the Three Sisters (corn, beans, squash), a Native American polyculture with well-documented ecological logic. Knowing which plants help each other — and which actively harm each other — is one of the most practical skills in garden planning.
Why Companion Planting Works: The Science Behind It
Companion planting draws on real ecological mechanisms, though it is worth noting that the evidence varies considerably by specific pairing. Some combinations (like the Three Sisters, or beans fixing nitrogen for neighboring crops) have strong scientific backing. Others are rooted in traditional knowledge and gardening experience with limited formal study. A responsible gardener treats companion planting as a useful framework with real but variable benefits — not a guaranteed system.
The University of Illinois Extension and the Rodale Institute both note that polyculture (growing multiple species together) typically outperforms monoculture for pest resistance and biodiversity, even when specific companion pairs are not dramatically proven.
The Four Mechanisms of Companion Planting
1. Allelopathy (Chemical Interaction)
Some plants release chemical compounds through their roots or volatile emissions that inhibit the growth of nearby plants (negative allelopathy) or attract beneficial organisms (positive allelopathy). Marigolds release thiophene compounds through their roots that suppress certain soil nematodes. Basil's volatile oils may deter certain aphid species from landing on neighboring plants.
2. Pest Confusion
Many pests locate their host plants using volatile chemical signatures. When a pest's host is surrounded by a diversity of other plants with different volatiles, the pest's ability to locate and colonize its target crop is disrupted. This is particularly well-documented for brassica-white butterfly interactions when brassicas are intermixed with strongly-scented herbs.
3. Nitrogen Fixation
Legumes (beans, peas, clover) form root symbioses with Rhizobium bacteria that capture atmospheric nitrogen and convert it to plant-available forms. This benefits not just the legume itself but neighboring plants through root exudates and eventual decomposition. This is the most thoroughly documented mechanism in companion planting science.
4. Pollinator and Beneficial Insect Attraction
Flowering companion plants draw pollinators and beneficial insects (predatory wasps, hoverflies, lacewings) into the garden. Including herbs like dill, fennel (carefully — it's allelopathic to some crops), sweet alyssum, and phacelia near vegetable beds increases both pollination rates and natural pest control.
The Three Sisters: The Original Companion Polyculture
The Three Sisters — corn, beans, and squash — is a Native American companion planting system practiced across North America for thousands of years. It is the most thoroughly studied polyculture in traditional agriculture, and its ecological logic holds up well under scientific scrutiny.
How it works:
- Corn grows tall and provides a vertical structure for beans to climb, eliminating the need for separate trellising
- Beans (pole varieties) fix atmospheric nitrogen through root bacteria, feeding the corn and squash all season
- Squash spreads along the ground, shading it with large leaves that suppress weeds, retain soil moisture, and deter some pests with its prickly texture
The three plants also occupy different vertical layers, maximizing use of sunlight in a small area. Cornell University extension research confirms that the Three Sisters system produces more total food per square foot than the same crops grown in separate monoculture blocks.
How to plant the Three Sisters:
- Plant corn first in small clusters of 4–6 plants, spaced 18–24 inches apart in mounded hills
- After corn reaches 6–8 inches, plant 4–6 bean seeds around each mound, 6 inches from the corn
- One week later, plant squash seeds or transplants between the mounds, one plant per hill
Top Companion Planting Combinations
Tomatoes + Basil
One of the most commonly recommended pairings in gardening literature. Basil's volatile oils are reported to repel thrips, aphids, and tomato hornworm moths when planted at close range. It also attracts pollinators that benefit tomato fruit set. While the pest-repelling mechanism is largely anecdotal in controlled trials, the two plants share similar growing conditions (full sun, warm temperatures, consistent moisture), making them easy companions regardless.
Tomatoes + Carrots
Carrots planted near tomatoes may benefit from the shade of tomato foliage during hot periods, and the open, loose soil carrots require benefits from the reduced compaction that accompanies tomato mulching. Tomato root secretions are also reported to improve carrot growth in some literature.
Carrots + Onions
Carrot fly and onion fly — two major pests of their respective crops — are each reportedly confused and deterred by the volatile compounds of the other crop. The two have complementary root depths (carrots go deep, onions are shallow) and do not compete significantly for the same nutrients.
Brassicas + Dill
Dill attracts wasps that parasitize the imported cabbageworm, a major brassica pest. Let dill flower for maximum beneficial insect effect. Note: do not plant dill directly adjacent to carrots, as dill can inhibit carrot growth when in close proximity.
Beans + Squash (without corn)
Even without the Three Sisters' corn component, beans and squash work well together. Beans fix nitrogen that benefits the heavy-feeding squash, and squash ground cover helps retain moisture that beans appreciate.
Marigolds + Almost Everything
French marigolds (Tagetes patula) are the most broadly useful companion plant in the vegetable garden. Their root secretions suppress root-knot nematodes after a full season of growth, and their flowers attract beneficial insects and pollinators. Plant them as a border around vegetable beds rather than sporadically throughout.
Lettuce + Taller Vegetables
Lettuce benefits from light afternoon shade provided by taller crops (tomatoes, peppers, corn) in hot climates. This succession-planting strategy extends the lettuce season significantly and makes efficient use of garden space.
Companions to Avoid: What NOT to Plant Together
Some plant combinations actively harm each other or compete in ways that reduce the productivity of both:
Tomatoes + Fennel Fennel (Foeniculum vulgare) releases allelopathic compounds through its roots that inhibit the growth of most vegetables, including tomatoes, peppers, and beans. Keep fennel in a separate container or isolated garden area, or grow it as a hedge far from vegetable beds.
Onions + Beans (and most legumes) Onions and other alliums (garlic, leeks) produce compounds that suppress the growth of beans and peas and may inhibit root nodule formation in legumes — directly undermining the nitrogen-fixing benefit you want from beans.
Dill + Carrots Mature, flowering dill can cross-pollinate with carrots (they are in the same family, Apiaceae) and inhibit carrot growth when planted in close proximity. Both are useful garden plants — just keep them separated by at least 6–10 feet.
Broccoli + Tomatoes These two crops compete aggressively for similar nutrients and have incompatible light and water needs. Tomatoes can also harbor fungal diseases that spread to nearby brassicas.
Cucumbers + Aromatic Herbs Strong-smelling herbs like sage and rosemary can suppress cucumber growth — likely through allelopathic volatile compounds, though the mechanism is not fully studied.
Companion Planting Table: 15+ Crop Combinations
Tomatoes
Grows Well With
Basil, carrots, marigolds, parsley, asparagus, garlic
Avoid Planting Near
Fennel, brassicas, corn
Beans
Grows Well With
Carrots, cucumbers, squash, strawberries, corn
Avoid Planting Near
Onions, garlic, leeks, peppers
Peas
Grows Well With
Carrots, radishes, lettuce, spinach, turnips
Avoid Planting Near
Onions, garlic, leeks
Corn
Grows Well With
Beans, squash, cucumbers, melons
Avoid Planting Near
Tomatoes (disease), fennel
Squash/Zucchini
Grows Well With
Beans, corn, marigolds, nasturtiums, radishes
Avoid Planting Near
Potatoes, fennel
Carrots
Grows Well With
Onions, leeks, chives, lettuce, tomatoes, rosemary
Avoid Planting Near
Dill (mature), parsnips
Onions/Garlic
Grows Well With
Carrots, tomatoes, brassicas, beets
Avoid Planting Near
Beans, peas, asparagus
Brassicas (cabbage, broccoli, kale)
Grows Well With
Dill, marigolds, onions, celery, chamomile
Avoid Planting Near
Tomatoes, peppers, strawberries
Lettuce
Grows Well With
Radishes, carrots, strawberries, onions, tall crops for shade
Avoid Planting Near
Celery, parsley (can attract pests)
Peppers
Grows Well With
Basil, tomatoes, carrots, marigolds
Avoid Planting Near
Fennel, beans
Cucumbers
Grows Well With
Beans, peas, radishes, marigolds, sunflowers
Avoid Planting Near
Aromatic herbs (sage, rosemary), potatoes
Potatoes
Grows Well With
Beans, marigolds, horseradish, cabbage
Avoid Planting Near
Tomatoes, squash, cucumbers, sunflowers
Basil
Grows Well With
Tomatoes, peppers, marigolds, oregano
Avoid Planting Near
Sage, thyme (they may inhibit growth at very close range)
Marigolds
Grows Well With
Almost all vegetables (particularly brassicas and tomatoes)
Avoid Planting Near
None significant
Radishes
Grows Well With
Carrots, cucumbers, peas, lettuce, squash
Avoid Planting Near
None significant; useful trap crop for flea beetles
Strawberries
Grows Well With
Borage, lettuce, spinach, thyme
Avoid Planting Near
Brassicas, fennel
How to Integrate Compost into a Companion Planting System
Companion planting and compost work synergistically. The diverse plant root systems in a companion-planted bed create habitat and food for diverse soil microorganisms — and compost feeds those microorganisms, amplifying the biological benefits.
Specifically:
- Nitrogen fixation by legumes is enhanced when soil biology is active and phosphorus is available — both improved by compost application
- Allelopathic compounds released by companion plants (marigolds, onions) are part of a living soil system that compost supports
- Beneficial insects attracted by flowering companions need healthy plants that compost amendments provide
Before establishing any companion planting bed, work 2–4 inches of finished compost into the top 6 inches of soil. Apply a compost mulch layer on top at planting time. This single practice supports the entire companion planting system at its biological foundation.
Practical Takeaways
- Start with the most evidence-backed combinations: Three Sisters, tomato + basil, carrot + onion, marigolds as borders
- Avoid the clearly documented harmful pairings: tomato + fennel, onion + beans
- Use the companion planting table as a planning reference, not a guarantee — context, soil, climate, and specific variety all matter
- Integrate compost into the bed before planting to provide the biological foundation that makes companion relationships work
- Treat companion planting as one layer of a broader Integrated Pest Management strategy, not a standalone solution
FAQ
Q: Does companion planting actually work, or is it mostly folklore? A: It depends on the pairing. Some combinations — particularly legume nitrogen fixation, marigold nematode suppression, and the Three Sisters polyculture — have solid scientific backing. Others are traditional recommendations with limited controlled study. The conservative, evidence-based conclusion is that polyculture (diversity of species) generally outperforms monoculture for resilience and pest resistance, even where specific companion effects are not proven.
Q: How close do companion plants need to be to each other to work? A: For pest confusion via volatile compounds, plants need to be within 1–3 feet to have meaningful effect. For nitrogen fixation, roots need to intermingle, so planting legumes within 12–18 inches of target crops is ideal. Marigolds used as a border work at a distance of 6–12 inches from the bed edge.
Q: Can I do companion planting in containers? A: Absolutely. Large containers (15+ gallons) can accommodate tomato + basil, or a small Three Sisters setup. Even adding a single marigold or nasturtium to a container of vegetables adds value as a pollinator attractor and visual indicator of soil health.
Q: What are the best companion plants for beginners? A: Start with marigolds (plant as borders around any vegetable bed), basil near tomatoes and peppers, and a pole bean + squash combination. These are low-complexity, well-supported pairings that almost any gardener can implement in their first season.
Q: Do companion plants need the same care (watering, fertilizing) as the vegetables they accompany? A: Generally yes — choose companions with similar soil, sun, and water requirements to your main crop. A water-loving herb planted with a drought-tolerant vegetable creates management conflicts. The table above reflects compatibility in growing conditions as well as biological interactions.
References
- Cornell Composting and Small Farms Program. Polyculture Research. Retrieved from https://compost.css.cornell.edu/
- Rodale Institute. Companion Planting Guide. Retrieved from https://rodaleinstitute.org/
- Royal Horticultural Society (RHS). Companion Planting. Retrieved from https://www.rhs.org.uk/
- UC Cooperative Extension. Integrated Pest Management and Companion Plants. Retrieved from https://ucanr.edu/
- University of Illinois Extension. Vegetable Garden Companion Planting. Retrieved from https://extension.illinois.edu/
- USDA NRCS. Polyculture and Soil Health. Retrieved from https://www.nrcs.usda.gov/
- Brady, N.C., & Weil, R.R. (2008). The Nature and Properties of Soils (14th ed.). Pearson.
- Cooperband, L. (2002). The Art and Science of Composting. UW-Madison Extension.
Author bio: [Reencle Content Team — passionate about sustainable food systems, soil health, and making composting accessible for every household. Content reviewed by horticultural and environmental science advisors.]

