Vegetables
Companion Planting Chart for Vegetable Gardens That Works
A practical companion planting guide for vegetable gardens, separating pest-deterrent and spacing pairings with real evidence from folklore combos that don't hold up.
What Companion Planting Actually Does
Companion planting is the practice of grouping certain vegetables, herbs, and flowers together because of how they interact in the soil, in the air, and with insects. Some of it is well-documented garden science. Some of it is folklore that got repeated in enough books to feel like fact. The trick is knowing which pairings are doing real work and which ones are just tradition.
The legitimate mechanisms behind companion planting fall into a few categories: pest confusion through scent masking, physical barriers that slow pest movement, attracting predatory or pollinating insects, efficient use of space through different root depths and growth habits, and in a few cases, actual chemical interactions in the soil. When you build your garden layout around these mechanisms instead of vague folk pairings, you get a plan that earns its keep.
Pairings Backed by Real Mechanisms
A few combinations show up again and again because they rely on something observable, not just tradition.
Alliums with brassicas. Onions, garlic, and leeks release strong sulfur compounds that can mask the scent cabbage moths and root maggot flies use to locate cabbage, broccoli, and kale. Interplanting a row of alliums between brassica rows genuinely reduces the number of egg-laying visits from these pests.
Basil with tomatoes for pest confusion, not flavor. The old claim that basil makes tomatoes taste better has no basis, since plants do not exchange flavor compounds through soil contact. What basil does do is give off a strong scent that can disrupt thrips and some aphids from homing in on the foliage of your tomato plants, and it draws in pollinators that keep the whole bed active.
Marigolds for nematode suppression. French marigolds release a compound from their roots that suppresses root-knot nematodes in the soil around them. This effect is real but localized and cumulative. Planting a single marigold at the corner of a bed will not protect the whole row. You need a dense planting, and the benefit builds over a full season or two of the roots breaking down in place, not from one season of blooms overhead.
Nasturtiums as a trap crop. Aphids and squash bugs often prefer nasturtiums to your actual crop. Planting them a short distance from squash or beans can pull pest pressure away from the vegetables you want to protect. This only works if you are willing to let the nasturtiums take the hit and don’t treat them with the same pest controls you’d use elsewhere.
Beans with corn and squash. The classic three sisters planting works because of complementary structure and nutrient needs, not pest deterrence. Corn provides a stalk for beans to climb, beans fix nitrogen in the soil that corn uses heavily, and squash’s broad leaves shade the soil to suppress weeds and hold moisture. This is a spacing and nutrient strategy dressed up as a companion planting story, and it holds up because the physical logic is sound.
Folklore Pairings That Don’t Hold Up
Not every widely repeated pairing survives scrutiny.
Carrots and tomatoes as a magic pair. This one appears on nearly every companion planting chart, but there is no documented mechanism for it. Tomatoes do grow tall and can shade young carrots, which slows their growth rather than helping it. If you plant them near each other, do it for space efficiency, not because of any special bond.
Planting garlic next to roses or ornamentals for universal pest protection. Garlic’s sulfur compounds are effective against a narrow set of pests, mainly those that rely on scent for host-finding. It is not a general-purpose pest shield, and treating it like one will leave you unprotected against beetles, borers, and other pests that don’t navigate by smell.
Dill and tomatoes together long-term. Dill can attract beneficial predatory insects when young, which sounds like a good pairing. But mature dill competes aggressively for space and can attract tomato hornworms, since both plants are in overlapping insect ranges. Use dill near tomatoes only while it is young, then remove or relocate it before it flowers and matures.
Fennel with almost anything. Fennel releases compounds that can suppress the growth of many neighboring vegetables, including tomatoes and beans. Despite the many charts that pair it casually with other crops, fennel does best planted alone or in a bed of its own.
Building Your Own Companion Planting Chart
Instead of copying a chart wholesale, build one around your actual garden. Start by listing your crops and grouping them by root depth and canopy height, since that alone solves a lot of spacing problems that folklore pairings get credit for. Then layer in the pest-deterrent pairings that have a real mechanism, like alliums near brassicas or basil near tomatoes. Finally, note which of your crops are heavy feeders and pair them with nitrogen-fixing legumes where your rotation allows it.
Keep the chart simple: crop, height, root depth, pest issues, and one or two companions with a one-line reason attached. If you cannot state the reason a pairing works, treat it as unproven and place plants based on spacing and light needs instead.
Common Mistakes to Avoid
Density matters as much as pairing. Cramming pest-deterrent plants in too close together increases competition for water and nutrients enough to offset any pest benefit. Give companion plants their own root space even when you’re interplanting.
Don’t expect companion planting to replace pest management entirely. It reduces pressure and buys you time, but heavy infestations still need direct intervention like handpicking, barriers, or targeted treatments.
Finally, rotate your beds each season. Even a well-designed companion planting layout loses effectiveness if the same crop families sit in the same soil year after year, since pest and disease pressure builds up regardless of what’s planted next to it.
Quick recap
- Real companion planting benefits come from scent masking, trap cropping, root chemistry, and physical structure, not vague plant friendships.
- Alliums near brassicas, marigolds for nematode suppression, and the three sisters planting all rest on documented mechanisms.
- Carrots with tomatoes and fennel with most other crops are common pairings that don’t hold up under scrutiny.
- Build your own chart around root depth, canopy height, and pest pressure specific to your garden.
- Treat companion planting as one layer of pest management, not a replacement for direct intervention or crop rotation.
Sources
Related guides
Bare-Root vs. Potted Fruit Trees: Which to Buy
Compare cost, planting windows, and establishment success for bare-root and potted fruit trees so you can pick the right option for your yard.
July 9, 2026
Annuals vs. Perennials: How to Choose the Right Flowers
Confused about annuals vs perennials for your flower bed? Compare cost, bloom time, and effort so you know exactly where to spend your budget this season.
July 9, 2026
Best Cold-Hardy Fig Varieties for Northern Gardens
A grower's guide to choosing cold-hardy fig varieties by dieback tolerance, ripening speed, and growth habit so your fig survives winter and still fruits.
July 9, 2026