Growing

Companion Planting Chart: What to Plant Together (and What to Keep Apart)

Some plants are best friends. Others are sworn enemies. Here's how to use companion planting to boost your harvest naturally.

Christopher Steen
January 26, 20269 min read

Companion planting is the practice of growing certain plants together for mutual benefit. It's not new-age gardening folklore—there's real science behind much of it. Some plants repel specific pests. Others fix nitrogen in the soil that neighboring plants can use. Some provide physical support or shade. And a few release chemicals that actively inhibit the growth of nearby plants.

The trick is knowing which combinations work and which to avoid. Here's a comprehensive guide based on both traditional knowledge and modern research.

How Companion Planting Works

There are several mechanisms at play. Pest confusion works because many pests find their target plants by smell. Interplanting aromatic herbs like basil, dill, and cilantro among vegetables disrupts the scent trails pests use to locate their host plants. A monoculture of cabbage is easy for cabbage moths to find; cabbage interplanted with strong-smelling thyme is much harder.

Trap cropping is the opposite approach—planting something pests prefer even more than your main crop. Nasturtiums attract aphids away from beans and squash. Dill attracts tomato hornworm moths to lay eggs there instead of on your tomatoes. Beneficial insect attraction is another powerful tool. Flowers like alyssum, yarrow, and dill attract predatory wasps, ladybugs, and lacewings that eat garden pests. A garden without flowers is a garden without its defense force.

The Best Companion Planting Combinations

Tomatoes and basil are the classic combination. Basil repels aphids, whiteflies, and mosquitoes, and many gardeners swear it improves tomato flavor. Plant basil at the feet of your tomato plants. Carrots and onions protect each other—carrot fly is repelled by the scent of onions, and onion fly is repelled by carrots. Interplant rows of each.

Corn, beans, and squash (the Three Sisters) is the most famous companion group. Corn provides a living trellis for beans. Beans fix nitrogen that feeds the heavy-feeding corn. Squash shades the ground, suppressing weeds and retaining moisture. Lettuce and tall plants like tomatoes or corn benefit from partial shade in hot weather. Plant lettuce on the east side of taller crops so it gets morning sun but afternoon shade.

Marigolds are the universal companion. Their roots release a chemical that kills root-knot nematodes, and their strong scent deters many above-ground pests. Plant French marigolds throughout your garden, especially near tomatoes, peppers, and squash. Radishes make excellent companion plants because they're harvested so quickly. Plant them among slow-growing carrots or parsnips—the radishes will be harvested before the main crop needs the space, effectively doubling your yield per square foot.

Plants to Keep Apart

Some combinations actively harm each other. Fennel is the garden loner—it inhibits the growth of almost every vegetable. Give it its own container or a distant corner. Dill and carrots are in the same family and will cross-pollinate, ruining seed saving. Keep them well separated. Potatoes and tomatoes are both nightshades susceptible to the same diseases (late blight especially). Growing them together increases disease pressure on both.

Onions and garlic inhibit the growth of beans and peas by releasing compounds that interfere with nitrogen-fixing bacteria on legume roots. Keep alliums and legumes on opposite sides of the garden. Brassicas (cabbage, broccoli, cauliflower) and strawberries compete badly and seem to inhibit each other's growth. Walnut trees release juglone, a chemical toxic to many garden plants, especially tomatoes, peppers, and potatoes. Don't garden within 50 feet of a black walnut tree.

Companion Planting by Crop

Here's a quick reference for the most common garden vegetables. For tomatoes, plant with basil, carrots, marigolds, and parsley. Avoid cabbage, fennel, and potatoes. For peppers, plant with basil, carrots, onions, and spinach. Avoid fennel and kohlrabi. For beans, plant with corn, squash, carrots, and cucumbers. Avoid onions, garlic, and fennel. For cucumbers, plant with beans, corn, peas, and radishes. Avoid potatoes and aromatic herbs. For lettuce, plant with carrots, radishes, strawberries, and chives. Avoid celery and parsley in large quantities.

Flowers Every Vegetable Garden Needs

Even if you don't care about aesthetics, your vegetable garden needs flowers. Marigolds should be everywhere—they're the hardest-working companion plant in any garden. Nasturtiums serve as trap crops for aphids and their leaves and flowers are edible. Alyssum planted along bed edges attracts hoverflies whose larvae devour aphids. Sunflowers provide support for climbing beans and attract pollinators. Calendula has mild pest-repellent properties and the petals are edible.

GardenGrid shows companion planting suggestions for every plant. Click any vegetable to see what grows well with it and what to avoid—then drag companions right onto your garden plan.

Companion planting isn't an exact science, and results vary by region, soil, and microclimate. But the basics are well-established and the downside is essentially zero—you're just being thoughtful about what goes where. At worst, you'll have a more diverse, more beautiful garden. At best, you'll see noticeably fewer pests and healthier plants.