What Is Companion Planting?

Companion planting is the practice of growing different plant species near each other to create mutually beneficial relationships. When done thoughtfully, it's one of the most effective and sustainable tools in the organic gardener's toolkit — reducing pest pressure, attracting pollinators and predatory insects, improving soil, and even enhancing the flavor and growth of neighboring plants.

The concept is rooted in ecology: in nature, plants rarely grow in monocultures. Diversity creates stability. Mimicking that diversity in your garden builds resilience against the pest outbreaks that plague single-crop plantings.

How Companion Planting Controls Pests

Companions fight pests through several mechanisms:

  • Masking scent — Strong-smelling plants like basil and marigolds confuse pest insects that locate host plants by smell
  • Trap cropping — Sacrificial plants lure pests away from main crops (e.g., nasturtiums attract aphids away from vegetables)
  • Attracting beneficial insects — Flowering herbs and wildflowers draw in predatory and parasitic insects that feed on pests
  • Physical barrier — Tall or dense plants can block pest flight paths or create unfavorable microclimates for pests
  • Chemical repellence — Some plants release root exudates or volatile oils that actively deter specific pests

Classic Companion Planting Combinations

The Three Sisters: Corn, Beans, and Squash

This ancient Native American planting system is a masterclass in companion planting. Corn provides a trellis for beans; beans fix atmospheric nitrogen, feeding the corn and squash; squash's large leaves shade the ground, suppressing weeds and retaining moisture. Together, they also create a habitat that deters many common pests through sheer complexity.

Tomatoes and Basil

One of the most famous companions. Basil is said to repel aphids, whiteflies, and tomato hornworm moths while also improving tomato flavor (the scientific evidence on flavor is debated, but the pest-repellent properties are well-documented by gardeners). Basil also attracts pollinators when allowed to flower.

Marigolds Everywhere

Tagetes marigolds are arguably the single most useful companion plant. Their roots release a compound called thiophene that suppresses nematodes in the soil. Their flowers repel whiteflies and aphids from neighboring plants. And they attract hoverflies, whose larvae are voracious aphid predators. Plant them as a border around vegetable beds or intersperse them throughout.

Dill and Fennel — Handle With Care

Dill attracts beneficial parasitic wasps that attack caterpillars and aphids — but keep it away from tomatoes (it can inhibit their growth when mature) and away from fennel (fennel is allelopathic to many plants and is generally better grown in its own spot).

Practical Companion Planting Pairings

Main CropGood CompanionsPest Deterred
TomatoesBasil, marigolds, borageAphids, hornworms, whiteflies
BrassicasDill, nasturtiums, sageCabbage moths, aphids
CucumbersNasturtiums, radishesCucumber beetles, aphids
BeansSummer savory, marigoldsBean beetles, aphids
SquashNasturtiums, borageSquash bugs, beetles
CarrotsRosemary, leeks, onionsCarrot fly

What to Avoid: Bad Companions

Not all plant relationships are beneficial. Some combinations can inhibit growth or attract shared pests:

  • Fennel + almost everything — Fennel is allelopathic and inhibits the growth of many vegetable crops
  • Onions + beans or peas — Onion family plants can stunt legume growth
  • Brassicas + brassicas — Dense monocultures of the same family invite the same pests and diseases

Build Diversity, Build Resilience

You don't need to implement every companion planting strategy at once. Start by adding a border of marigolds and a few basil plants among your tomatoes. Scatter nasturtiums near your squash. Plant dill near your brassicas. Each addition makes your garden a little more complex, a little more alive, and a little harder for pests to dominate. That's the quiet power of working with nature.