Plant Spacing & Layout

Companion Planting Checker

Pick a vegetable or herb to instantly see its best companion plants and the ones to keep away, each with a short reason why.

How to use the companion planting checker

Choose a vegetable or herb from the dropdown and press Check Companion Plants. The tool instantly shows two lists: a green box of good companions that help your plant thrive, and a red box of plants to keep away. Each entry comes with a short reason, so you can plan your beds with confidence and understand the thinking behind every pairing.

The benefits of planting good companions

Thoughtful pairings do a surprising amount of work in the garden. Nitrogen-fixing legumes like beans and peas pull nitrogen from the air and leave it in the soil for hungry neighbors such as corn and squash. Aromatic herbs like basil, dill, and rosemary confuse pests with their strong scent and draw in pollinators and predatory insects. Tall plants offer shade and wind protection for tender greens, while low, sprawling crops act as a living mulch that keeps the soil cool and moist. Used together, these effects can reduce pest pressure and improve yields without any extra chemicals.

Why some plants should be kept apart

Just as some plants help each other, others are better off in separate beds. Two heavy feeders planted side by side, such as tomatoes and cabbage, compete for the same nutrients and both end up weaker. Relatives like potatoes and tomatoes share the same diseases, so keeping them apart slows the spread of problems like blight. The onion family stunts the growth of beans and peas, and fennel produces compounds that inhibit a wide range of neighbors. Recognizing these conflicts helps you avoid disappointing harvests.

Putting a companion plan together

Start with your main crops, then surround each one with a few good companions and move its known antagonists to another bed. Tuck pest-repelling flowers like marigolds and nasturtiums throughout the garden, since they benefit almost everything. Remember that companion planting works alongside the basics, so keep proper spacing, rotate crops between seasons, and feed the soil. The pairings here are a strong starting point drawn from long-standing tradition.

Quick companion planting tips

  • Interplant strongly scented herbs among your vegetables to help mask them from pests.
  • Use the Three Sisters method — corn, beans, and squash — to let crops support each other.
  • Scatter marigolds and nasturtiums widely; they protect a broad range of neighbors.
  • Keep relatives that share diseases, like tomatoes and potatoes, in separate beds.
  • Rotate where each plant family grows each year to break pest and disease cycles.

Frequently Asked Questions

What is companion planting?

Companion planting is the practice of growing certain plants close together because they help one another. Good companions can repel pests, attract pollinators and predatory insects, improve the soil, provide shade or support, or simply use space efficiently. It is a low-cost, chemical-free way to build a healthier, more productive garden by working with natural relationships between plants.

Does companion planting actually work?

Some pairings have solid science behind them, such as legumes adding nitrogen for heavy feeders, tall crops shading tender greens, and strongly scented herbs masking the scent of a target crop from pests. Others come from generations of gardener observation and are more anecdotal. Treat the suggestions as helpful, time-tested guidelines rather than guarantees, and keep notes on what works in your own conditions.

Why are some plants listed as bad companions?

Plants are flagged to keep apart for a few reasons. Some compete for the same nutrients, water, or root space, like two heavy feeders planted together. Others attract or harbor the same pests and diseases, so growing them side by side concentrates the problem. A few, such as fennel, release natural compounds that slow the growth of nearby plants, a phenomenon called allelopathy.

What are the Three Sisters?

The Three Sisters is a classic Native American companion planting trio of corn, beans, and squash. The corn provides a tall stalk for the beans to climb, the beans fix nitrogen in the soil to feed the corn and squash, and the sprawling squash leaves shade the ground, conserve moisture, and deter pests. Grown together, the three support each other far better than any one alone.

Why do marigolds and nasturtiums show up so often?

Marigolds and nasturtiums are two of the most useful companion plants. Marigolds release compounds that repel root-knot nematodes and deter many insect pests, which is why they pair well with tomatoes, beans, squash, and more. Nasturtiums work as a trap crop, drawing aphids and squash bugs onto themselves and away from your vegetables, while also attracting beneficial predators.

How far apart should companion plants be?

Close enough to interact but not so close they crowd each other. Aphid-repelling herbs and trap crops work best within a foot or two of the plants they protect, while nitrogen-fixers benefit neighbors across a whole bed. Always respect each plant’s normal spacing so roots and leaves are not competing. Our Plant Spacing and Square Foot Garden tools can help you lay it all out.

Can I plant bad companions in the same garden?

Yes. Being poor companions only means they should not share the same bed or be planted right next to each other. You can still grow tomatoes and brassicas, or beans and onions, in the same garden as long as you give them separate beds or put a good amount of space between them. Crop rotation between seasons also helps keep antagonistic plants apart.

GardenCalc Editorial Team avatar

GardenCalc Editorial Team

Horticulture writers & master gardeners

Our calculators and growing guides are written and fact-checked by gardeners with hands-on experience in vegetable production, soil management, and home landscaping.