Plant tomatoes next to basil and gardening folklore promises better flavor and fewer pests. Plant onions near beans, and the same folklore warns the beans will struggle. Some of these old pairings hold up reasonably well under closer scrutiny. Others are closer to garden mythology than anything with real evidence behind it.
What Companion Planting Actually Means
At its core, companion planting is simply growing different plants near each other specifically because of some beneficial interaction between them, whether that’s pest deterrence, improved pollination, efficient use of space, or one plant providing structural support for another. Some of these interactions are well documented; others are passed down through gardening tradition with much less rigorous backing.
The Pairings With Real Mechanisms Behind Them
The “Three Sisters” method of growing corn, beans, and squash together, used by Indigenous agricultural traditions across the Americas for centuries, has a clear mechanical logic. Corn provides a tall structure for beans to climb, beans fix nitrogen in the soil that benefits the heavy-feeding corn and squash, and squash’s broad leaves shade the soil, suppressing weeds and reducing moisture evaporation. This combination genuinely works on multiple independent levels at once.
Planting flowers like alyssum, cosmos, and dill among vegetables attracts beneficial predatory insects, including hoverflies and parasitic wasps, that feed on common garden pests like aphids. This isn’t folklore; it’s a documented form of biological pest control that functions by improving habitat for the predators rather than directly repelling the pests themselves.
Planting fast-maturing, shallow-rooted crops like radishes or lettuce between slower-growing, deeper-rooted plants like tomatoes or peppers makes efficient use of space and light during the period before the slower plant fills in, and the radishes or lettuce are typically harvested before they’d compete meaningfully for resources.
Pairings That Are More Folklore Than Proven Science
The often-repeated claim that marigolds repel pests broadly throughout a garden has a kernel of truth specific to certain nematodes in soil, where some marigold varieties do have a documented suppressive effect, but the much broader claim that marigolds generally repel insects above ground has considerably weaker supporting evidence than the gardening tradition around it suggests.
The tomato-and-basil pairing, one of the most commonly repeated companion planting claims, has surprisingly little rigorous research behind the specific claim that basil improves tomato flavor through some chemical interaction. They do grow well together practically, sharing similar water, sun, and soil needs, which likely explains much of the pairing’s popularity even without strong evidence for the more specific flavor-enhancement claim.
Genuine Incompatibilities Worth Knowing
Some plant combinations do create real problems, separate from the more folkloric repelling-and-attracting claims. Fennel releases compounds into the soil that can inhibit the growth of many other garden plants nearby, making it one of the few vegetables genuinely worth isolating rather than integrating into a mixed bed.
Black walnut trees release a compound called juglone that’s toxic to a range of common garden plants, including tomatoes, within their root zone, which is a real allelopathic effect with solid scientific backing rather than tradition alone.
Beyond specific chemical interactions, simple competition for the same resources explains a lot of poor pairings. Two heavy-feeding, deep-rooted plants with identical water needs planted too closely will compete directly regardless of any specific “incompatibility” between their species.
A More Useful Framework Than Memorizing Pairing Charts
Rather than trying to memorize long lists of specific good and bad pairings, many of which have inconsistent or contradictory advice depending on the source, focusing on a few practical principles tends to produce better results. Match plants with similar water and light requirements so neither is being over or under-served by a compromise watering schedule. Stagger plants with different root depths and growth speeds to make efficient use of vertical and horizontal space. Include some flowering plants throughout vegetable beds specifically to support pollinators and beneficial predatory insects.
Practical Layout Considerations Beyond Plant Pairing
Taller plants should generally go on the north side of a bed in northern hemisphere gardens, or the side that won’t cast shade onto shorter plants that need full sun. Climbing plants need a structure planned in advance rather than added as an afterthought once they’re already sprawling across their shorter neighbors.
Crop rotation, moving plant families to different parts of a garden each year rather than growing the same crop in the same spot continuously, addresses soil nutrient depletion and pest or disease buildup in ways that companion planting within a single season can’t fully replace on its own.
Applying This in a Small Bed or Container
The same underlying principles scale down reasonably well to a single raised bed or even a large container, though the limited space means a few of the spacing-based benefits, like efficient use of varied root depths, matter proportionally more than they would in a sprawling backyard plot. A single large container pairing a tomato with a couple of nasturtium plants trailing over the edge takes advantage of both pest-deterrent flowering and efficient use of vertical versus horizontal space in a footprint many balconies and patios can accommodate.
In very limited space, prioritizing the pairings with the clearest documented benefit, rather than trying to incorporate every traditional combination at once, tends to produce better results than cramming in as many “companion” plants as a chart suggests without regard for whether each one actually has solid support behind it.
Testing Claims in Your Own Garden
For gardeners curious whether a specific traditional pairing actually does anything in their particular conditions, a simple side-by-side comparison within the same bed, planting one section with the claimed pairing and an otherwise identical section without it, provides far more useful personal information than any general chart can offer. Soil, climate, and local pest populations vary enormously from one garden to the next, and a pairing well-documented in one region’s research doesn’t necessarily translate identically everywhere else.
A Reasonable Way to Approach the Whole Topic
Treating this entire body of advice as a spectrum, rather than a single block of equally reliable information, tends to lead to better decisions than either dismissing it all as folklore or accepting every claim uncritically. Some pairings have real, independently verifiable mechanisms behind them. Others are genuinely useful for completely separate reasons, like simply growing well together, even when the original claimed benefit doesn’t hold up under scrutiny. Knowing which category a given piece of advice falls into makes it far easier to decide what’s actually worth building a garden layout around.
The most reliable approach combines a handful of the well-supported pairings, like attracting beneficial insects with flowers and using nitrogen-fixing legumes near heavy feeders, with sound basic spacing and resource-matching, rather than treating every traditional pairing claim as equally trustworthy.
→ Read Next: How to Grow Tomatoes at Home

I killed my first six plants before anything grew. Now I can’t stop. What started as a single raised bed in a too-small backyard turned into a full vegetable garden, a composting obsession, and a habit of reading university extension publications for fun. GardenWise is my attempt to share what actually worked — and what the gardening content online gets wrong. I write for people who want to grow real food in real conditions, not ideal ones. Somewhere in my garden right now there is almost certainly something being eaten by something else.