โ† Back to blog

By Community Steward ยท 7/2/2026

Companion Planting for the Home Garden: Which Vegetables Help Each Other

A practical guide to companion planting for beginner home gardeners. Covers five well-tested plant pairings, three combos to avoid, a simple garden layout, and a quick-reference chart.

Companion Planting for the Home Garden: Which Vegetables Help Each Other

If you want a healthier garden without buying new tools, the simplest tool you have is already in your seed packet.

Companion planting is the practice of growing certain plants together so they help each other. Some combinations repel pests. Others improve the soil. A few shade the ground and hold in moisture. You do not need a fancy system or expensive inputs to take advantage of how plants naturally work together.

That does not mean every gardening myth is true. Some old pairings have solid research behind them. Others are just stories that got repeated for generations. This article covers the ones worth trying.

How Companion Planting Works

Companion planting works through a few straightforward mechanisms. It works the same way in a small raised bed or a large backyard plot. You do not need a biology degree to apply them, just a bit of attention to what plants are doing next to each other.

Pest confusion and repellence. Some plants release scents that mask the smell of nearby vegetables, making it harder for pests to find their hosts. Others produce compounds that actively repel insects. When you plant these between rows, they act as a living barrier.

Beneficial insect attraction. Certain plants draw in predatory insects that eat garden pests. Hoverflies, parasitic wasps, and lacewings are your allies. They reduce aphid populations, eat caterpillars, and break down pest cycles. You can encourage them by planting flowering companions alongside your vegetables.

Soil improvement. Some plants, particularly legumes like beans and peas, pull nitrogen from the air and store it in the soil through root nodules. When you grow them next to heavy feeders like corn or cabbage, those neighbors get free fertilizer. This is one of the most well-documented benefits of companion planting and it has real science behind it.

Physical benefits. Tall plants provide shade for heat-sensitive crops. Wide-leaf plants like squash shade the ground and reduce moisture loss. Climbing plants use sturdy stalks as living trellises. These effects are practical and immediate.

None of this replaces good soil, consistent water, or pest management. But when you layer companion planting on top of good fundamentals, you get a stronger garden with less effort.

Companion Pairings That Actually Work

Here are the pairings with the strongest practical support. For each one, I include what to plant, why it helps, and how to do it in your garden.

Corn, Beans, and Squash (The Three Sisters)

This is the most famous companion planting combination for a reason. Native American growers developed it centuries ago, and modern research confirms why it works.

  • Corn provides a tall stalk for climbing beans to use as a natural trellis. The USDA has documented that corn and beans intercropped this way produce higher yields than either crop grown alone.
  • Beans (pole beans work best) fix nitrogen in the soil. The corn uses this extra nitrogen to grow bigger ears.
  • Squash or zucchini spreads wide leaves across the ground, shading the soil and suppressing weeds. The broad canopy also retains moisture and keeps roots cool.

How to plant it: Plant a cluster of three holes: one corn seed, two bean seeds, and one squash seed. Space clusters about four feet apart. The corn will grow first and the beans will climb it as it matures.

Carrots and Onions

Carrot fly is one of the most frustrating pests for home gardeners. The adult beetle lays eggs near carrot plants, and the larvae bore into the developing roots, ruining the crop.

Onions and other alliums release sulfur compounds that mask the scent of carrots from carrot flies. A published study in the Journal of Applied Entomology confirmed that interplanting onions with carrots significantly reduces carrot fly damage.

How to plant it: Alternate rows of carrots and onions, or interleave them in the same row. A ratio of about one onion plant for every three to four carrot rows works well. You can also plant onions around the edges of a carrot bed as a border.

Tomatoes and French Marigolds

French marigolds (Tagetes patula) are not just pretty. They produce a compound called alpha-terthienyl that suppresses root-knot nematodes in the soil. Nematodes are microscopic roundworms that attack tomato roots, causing stunted growth and yellowing leaves.

Peer-reviewed research from the University of California and other institutions has confirmed that French marigolds reduce nematode populations when planted alongside or rotated with tomatoes.

Important: Use French marigolds or African marigolds (Tagetes erecta). French marigolds have the strongest documented effect. Common garden marigolds also work but may need longer to show results.

How to plant it: Plant French marigolds around the edges of your tomato bed, or space two or three marigold plants between each tomato plant. Start the marigolds at the same time as your tomatoes or plant them a week or two earlier so they are established before the tomatoes are set out.

Beans and Corn

Even if you are not growing the full Three Sisters combination, planting beans near corn is a solid move on its own.

Bush beans and pole beans both benefit from proximity to corn. The beans receive partial shade during the hottest part of the day, and the corn benefits from the nitrogen the beans fix in the soil. Research from the USDA Agricultural Research Service has confirmed yield improvements when corn and beans are intercropped.

How to plant it: Plant beans on the south side of corn rows so they do not shade the corn. Bush beans work well in alternating rows. Pole beans work well planted at the base of corn stalks once the corn is tall enough to support climbing.

Brassicas and Aromatic Herbs

Cabbage, broccoli, and other brassicas are attacked by a predictable set of pests: cabbage worms, cabbage loopers, diamondback moths, and root flies. Aromatic herbs disrupt these pests in two ways.

Thyme and other low-growing herbs disrupt cabbage worm egg-laying, according to published research in Entomologia Experimentalis et Applicata. Dill attracts predatory wasps that eat caterpillar larvae. Sage reduces pest egg-laying on brassica leaves.

How to plant it: Interplant thyme, dill, or sage between brassica plants. A ring of thyme around individual cabbage plants is especially effective. Dill should be spaced about a foot from brassicas so it does not crowd them.

Pairings to Avoid or Keep Separate

Not every combination helps. Some pairings compete for resources, share diseases, or have no documented benefit at all.

Tomatoes and potatoes. Both plants belong to the nightshade family (Solanaceae) and share the same diseases. Early blight and late blight affect both crops equally. If you have blight in one, it will spread to the other. Plant them far apart.

Heavy feeders near heavy feeders. Brassicas, corn, and tomatoes all draw heavily on soil nitrogen. If you plant them all together in a small space, they compete for the same nutrients and none of them perform well. Spread heavy feeders across different sections of your garden.

Beans and alliums (onions, garlic, chives). This is one of the most commonly repeated gardening myths. Many sources claim alliums stunt bean growth. The evidence is thin and conflicting. Some older studies suggested mild suppression, but more recent research has not confirmed it. It is fine to plant them near each other, but do not expect a major benefit either way.

A Simple Companion Planting Layout

Here is a practical example for a standard 4-foot by 8-foot raised bed. You can adapt this layout to any bed or plot size by scaling the proportions.

Divide the bed into four sections:

Section 1 (1 foot wide by 8 feet long): Carrots alternating with onions along the length of the bed.

Section 2 (2 feet wide by 4 feet long): Four tomato plants spaced one foot apart. Place a French marigold plant at each corner of this section and one between each tomato plant.

Section 3 (2 feet wide by 4 feet long): Three cabbage plants spaced evenly across the width. Plant thyme between each cabbage plant and a few dill plants around the edges.

Section 4 (1 foot wide by 8 feet long): Alternating rows of bush beans and snap peas, with marigolds scattered along the borders.

This layout uses companion pairings in every section without making the garden too crowded. Each pairing addresses a specific problem: carrot fly, nematodes, cabbage worms, and soil nitrogen. You can rotate these sections each year to keep the soil healthy.

What to Skip

Companion planting is full of claims that sound plausible but lack evidence. Skip these:

Carrots and dill are bad neighbors. You will see this warning in many sources. Dill and carrots are in the same family, and the claim is that they attract the same pests. There is no solid research backing this up. If you like dill and want it in your garden, planting it near carrots is fine.

Every plant has a perfect companion. Not every vegetable has a documented partner. Some plants simply grow well on their own, and that is fine. Focus your attention on the pairings with real support.

Companion planting replaces everything else. Good soil, proper watering, and monitoring for pests are still essential. Companion planting is a helpful layer on top of those fundamentals, not a substitute.

Quick Reference

Here is a fast lookup for common vegetables:

  • Beans: Plant near corn, squash, carrots, cucumbers.
  • Carrots: Plant near onions, leeks, peas, radishes, rosemary, sage.
  • Corn: Plant with beans, squash, peas, cucumbers, sunflowers.
  • Cucumbers: Plant with beans, corn, peas, radishes, sunflowers.
  • Tomatoes: Plant near basil, marigolds, carrots, parsley. Keep away from potatoes and brassicas.
  • Cabbage / Broccoli: Plant near dill, thyme, sage, rosemary, chamomile.
  • Beets: Plant near bush beans, onions, lettuce.
  • Squash: Plant near corn, beans, nasturtiums, radishes.

โ€” C. Steward ๐Ÿฅ•

Found this useful?

See what's available in your community right now โ€” fresh eggs, garden surplus, tools, and more from neighbors near you.

Browse the local board โ†’

More on this topic