Companion planting is the practice of growing certain plants near each other because the combination helps one or both — through pest control, pollination, shade, structural support, or simply more efficient use of space. It is one of the oldest gardening ideas and also one of the most cluttered with folklore, so this guide separates the pairings with a real, explainable mechanism from the charts repeated on the internet that have no evidence behind them. Used sensibly, companion planting lets you pack more into a bed, attract the insects that handle your pests, and reduce disease pressure. Used as a rigid set of magic do’s and don’ts, it just creates anxiety. Here is what actually works, what is myth, and how to lay out a bed.
In this guide
Key Takeaways
- The strongest benefits are flowers that attract pollinators and pest predators, plus space-efficient pairings.
- The Three Sisters (corn, beans, squash) is the classic working example of plants supporting each other.
- Strongly-scented herbs and flowers can mask or repel some pests, but effects are modest, not magic.
- Many famous “enemy” pairings are myths with no evidence — do not let charts paralyze you.
- Real, proven negatives exist: avoid crowding heavy feeders together and keep allelopathic plants like fennel apart.
Why Companion Planting Works (When It Does)
There are a handful of genuine mechanisms behind successful companions, and understanding them lets you reason about any pairing instead of memorizing charts:
- Attracting beneficial insects: flowers and herbs that bloom near your vegetables draw in pollinators and pest predators. This is the most reliable and best-documented benefit.
- Trap cropping: a sacrificial plant lures pests away from the crop you care about — nasturtiums pulling aphids off beans, for example.
- Physical support and shade: tall plants support climbers or shade cool-season crops from summer sun.
- Pest confusion and masking: strong scents from aromatic herbs can make it harder for pests to find their host by smell, though the effect is partial.
- Efficient space and root use: pairing deep-rooted and shallow-rooted, or fast and slow crops, gets more from the same bed.
Pairings That Actually Work
The Three Sisters
The textbook example: corn provides a living pole for pole beans to climb, beans fix nitrogen that feeds the heavy-feeding corn, and sprawling squash shades the soil to suppress weeds and retain moisture. Three crops, one footprint, each helping the others — a genuine, time-tested system.
Flowers and herbs among vegetables
- Sweet alyssum and dill near brassicas and lettuce draw hoverflies and parasitic wasps that attack aphids and caterpillars.
- Marigolds are best known for the French marigold’s documented ability to suppress root-knot nematodes when grown densely and tilled in — a real soil effect, separate from the dubious claim that they repel all flying pests.
- Borage near tomatoes and squash brings in bees and is said to deter tomato hornworm.
- Nasturtiums work as a trap crop, drawing aphids and cabbage caterpillars off your main crop.
- Basil interplanted with tomatoes is a kitchen-friendly pairing; the masking scent may modestly deter some pests, and it uses space well.
The common thread is that these companions mostly work by supporting the beneficial-insect ecosystem — exactly the strategy covered in our guide to attracting beneficial insects to your garden.
Space and light pairings
- Lettuce or spinach under tomatoes uses the shade of the tall crop to keep cool-season greens from bolting in summer heat.
- Radishes with carrots — fast radishes mark the row and are pulled before slow carrots need the space.
- Carrots and onions are traditionally interplanted; the strong onion scent is thought to help mask carrots from carrot rust fly.
Myths to Ignore
A great deal of companion-planting lore is repeated without evidence. You do not need to fear most “incompatible” pairings, and worrying about them can stop you from planting a perfectly good bed. Common myths:
- “Marigolds repel all pests.” Their proven effect is on soil nematodes from dense planting and tilling in; they do not form an invisible bug shield over the garden.
- Elaborate “enemy” charts. Most claims that crop A “hates” crop B (beans next to onions, for instance) have no controlled evidence. A few have real basis; most are folklore copied from chart to chart.
- “Plant X improves the flavor of plant Y.” Claims that basil makes tomatoes taste better, and similar, are charming but unproven.
The healthy mindset: treat companion charts as loose suggestions, lean on the pairings with a clear mechanism, and do not let the folklore stop you from planting what you want to eat.
Real Negatives Worth Respecting
A few cautions do have substance. Fennel is allelopathic — it releases compounds that inhibit the growth of many neighbors — so give it its own corner. Black walnut trees release juglone, which is toxic to tomatoes, peppers, and many other plants within the root zone. Avoid crowding two heavy feeders (like corn and tomatoes) so tightly that they compete for the same nutrients and water. And do not plant members of the same family together year after year in the same spot, since shared pests and diseases build up — that is where crop rotation matters more than companions.
A Quick Plant-by-Plant Reference
Here are sensible, mechanism-based pairings for some of the most common vegetables — use them as a starting point, not gospel:
- Tomatoes: basil and borage nearby for pollinators and possible pest masking; lettuce or spinach beneath for shade. Keep away from heavy-feeding corn and from fennel.
- Carrots: interplant with onions or leeks (scent may mask carrot rust fly) and quick radishes to mark rows. Avoid dill near mature carrots, as it can attract pests once flowering.
- Brassicas (cabbage, broccoli, kale): edge with sweet alyssum and dill to draw aphid predators; nasturtiums as a trap crop; aromatic herbs like thyme and sage to confuse cabbage pests.
- Beans: the Three Sisters partner with corn and squash; they fix nitrogen, so they pair well with leafy greens that want it.
- Squash and cucumbers: borage and flowering herbs to pull in the bees they depend on for fruit set; nasturtiums to lure squash bugs and aphids away.
- Lettuce and greens: grow in the shade of taller crops in summer to slow bolting; quick to harvest, so tuck between slower crops.
How Companion Planting Fits With Crop Rotation
Companion planting answers the question of what to grow next to what in a single season; crop rotation answers what to grow where across seasons. They work together. Even a perfectly companioned bed will build up soil-borne pests and diseases if you plant the same family in the same spot year after year, so move your nightshades, brassicas, and legumes around the garden on a multi-year cycle. Legumes like beans leave nitrogen behind, making a good lead-in for hungry leafy crops the following year — a rotation benefit that complements the in-season nitrogen sharing of the Three Sisters. Think of companions as the horizontal dimension and rotation as the vertical one through time; relying on either alone leaves gaps that pests and depleted soil will exploit.
How to Lay Out a Companion Bed
Put it together with a few simple rules rather than a rigid grid:
- Border with flowers. Edge the bed with sweet alyssum, marigolds, and a few dill or cosmos plants to pull in pollinators and predators.
- Stack heights. Tall crops (corn, trellised tomatoes) on the north side so they do not shade shorter crops; climbers on supports; low greens beneath.
- Mix fast and slow. Tuck quick radishes and lettuce between slower brassicas and carrots to use the space before the big crops fill in.
- Spread out families. Avoid clustering all your brassicas or all your nightshades in one block, which concentrates pests.
- Keep a trap crop. A few nasturtiums at the edge give aphids somewhere else to go.
Companion planting shines in intensive, small-space setups where every square foot counts — see our urban and container gardening guides for layouts that combine it with raised beds and vertical growing. Combined with healthy soil and a habitat that welcomes predators, it is a low-effort way to get more from your garden.
Frequently Asked Questions
Does companion planting actually work?
Some of it does, with clear mechanisms — attracting pollinators and pest predators, trap cropping, shade, and efficient space use. The Three Sisters is a proven system. But many “enemy” charts and flavor claims are folklore with no evidence, so lean on pairings that have a real explanation.
What are the best companion plants for a vegetable garden?
Flowers and herbs that draw beneficial insects — sweet alyssum, dill, marigolds, borage, and nasturtiums (as a trap crop) — plus space pairings like lettuce under tomatoes and radishes with carrots. These give reliable, explainable benefits.
Do marigolds repel pests?
Partly. French marigolds genuinely suppress root-knot nematodes in the soil when planted densely and tilled in. The popular claim that any marigold repels all flying and crawling pests across the garden is not supported by evidence.
What plants should not be grown together?
Real cautions include keeping allelopathic fennel apart from other crops, avoiding the juglone zone under black walnut trees, and not crowding two heavy feeders or the same plant family together repeatedly. Most other “do not plant together” rules are myths.
Is companion planting good for beginners?
Yes, if you treat it as flexible guidance rather than strict rules. Border beds with pollinator flowers, stack plant heights, mix fast and slow crops, and spread out plant families. Do not let complicated charts intimidate you out of planting what you want to grow.