Companion planting deters garden pests through three distinct mechanisms: it confuses insects with mixed chemical signals, it disrupts their landing and egg-laying behavior, and it attracts beneficial insects that prey on the pests themselves. University extension research now backs strategies that were once dismissed as folklore. As UF/IFAS Extension Duval County puts it, "thanks to recent University Extension research all over the country, we now have some strategies for companion planting that are proven to be effective." Understanding which mechanism a pairing uses lets you design a garden that works with insect biology rather than against it.

Mechanism 1: Confusing Pests with Chemical Signals

Insects are not wandering randomly through your garden—they are following chemical cues. The UF/IFAS Extension explanation is direct: "Insects often rely on chemical cues to find the plants they want to eat." A pest like the cabbage moth locates its host plant largely by scent, homing in on the volatile compounds that a row of brassicas releases into the air. When everything smells like cabbage, the moth has an easy target.

Intercropping breaks that signal. By mixing aromatic companions throughout the bed instead of growing vegetables in tidy, single-crop sections, you flood the air with competing scents. As the extension describes it, having the plants and their chemical smells all mixed up makes it harder for a pest to find its preferred meal. Strong-scented alliums such as onions and chives are classic examples, masking the scent of neighboring carrots and brassicas. The Almanac's companion planting guide likewise notes that mixing crops can confuse pests and reduce damage, citing USDA research showing intercropping helps limit pest outbreaks.

The practical takeaway is structural, not just botanical: a monoculture row is a beacon, while a mixed bed is static. Scattering a single "good neighbor" plant here and there does far less than interleaving companions throughout the planting.

Mechanism 2: Disrupting Pest Landing and Egg-Laying

The second mechanism, which UF/IFAS Extension calls the "landings theory," is more physical and, in some ways, more surprising. Insects do not commit to a plant on first contact. They land and "taste" the plant with receptors in their feet, and they need to land on the right host plant several times in a row before they will lay an egg. Each successful landing confirms the location; each landing on the wrong plant resets the search.

This is where planting density matters enormously. If your cabbage plants are surrounded by other species, a cabbage moth must land on non-host plants between attempts, and the sequence of confirming landings keeps getting interrupted. The research result the extension cites is striking: in one study, 36% of the insects laid eggs on host plants grown in bare soil, but only 7% laid eggs on host plants surrounded by companion plants. That fivefold difference came purely from what surrounded the crop—no sprays, no traps.

The implication for gardeners is that companions do not need to be repellent to work. Any non-host plant that physically breaks up a planting can interfere with this landing-and-tasting sequence, which is why dense, diverse beds outperform isolated, widely spaced vegetables.

Mechanism 3: Attracting Beneficial Insects

The third mechanism turns the garden's ecology in your favor. Some companions do not deter pests at all—they feed the predators and parasitoids that eat them. The Almanac's guide notes that flowers like alyssum and dill attract predators that naturally control pests, and that lovage draws parasitoid wasps that prey on aphids and beetles.

UF/IFAS Extension describes a more deliberate version called banker plants: plants grown specifically to provide a food source for beneficial insects. Their example is milkweed, which hosts a nearly constant supply of orange milkweed aphids. Plant it near your vegetables and you keep ladybugs in the garden longer—with the added bonus of supporting monarch butterflies. The pests on the banker plant are not a failure; they are the payroll that keeps your pest-eating workforce on site between outbreaks.

Nasturtiums work a related angle as a trap crop, drawing pests away from beans and, in the Iowa State trials, showing strong resistance alongside thyme and onion against cabbage worm, weevil, and cabbage looper damage on cole crops. The pest comes to the sacrifice plant instead of your harvest.

Companion Planting Mechanisms and Pairings

The table below classifies proven and widely recommended pairings by the primary mechanism they use, so you can match the strategy to the pest problem you actually have.

Common pairings, their target pests, and the primary pest-control mechanism each employs
PairingTarget PestPrimary MechanismEvidence and Notes
Thyme with cabbage, broccoli, lettuceCabbage worm, cabbage looper, weevilChemical confusionAn Iowa State University farm study found thyme among the best deterrents for these pests on cole crops; all companion plots outperformed bare control plots.
Onion family with carrots and brassicasAphids, carrot flyChemical confusionStrong allium scents mask host-plant odor; onion also showed strong resistance in the Iowa State trials.
Marigolds with tomatoes, peppers, zucchiniSoil nematodes, cucumber beetles, whitefliesChemical confusion (root compounds)French marigold roots release compounds that repel soil nematodes; plant as a solid border, since numbers matter.
Any diverse intercropped bed (e.g., Three Sisters: corn, beans, squash)Generalist pests seeking host plantsLanding disruptionMixed plantings interrupt the repeated landings insects need before egg-laying; the traditional Three Sisters combination layers corn, beans, and squash in one system.
Nasturtium with beans and squashAphids, squash bugs, bean pestsTrap crop / landing disruptionDraws pests away from crops; showed equal resistance to squash bug damage with marigold in the Iowa State study.
Catnip, mint, rosemary, tansy with cabbage familyCabbage moths and cabbagewormsChemical confusionInterspersing these herbs among kale, broccoli, and cauliflower is recommended as a line of defense.
Milkweed, alyssum, dill, lovage near vegetablesAphids, beetles (via predators)Beneficial insect supportBanker plants and nectar flowers keep ladybugs and parasitoid wasps resident in the garden.

Two cautions apply. Effectiveness varies with plant varieties, local pest populations, and conditions, and companion planting can significantly reduce damage without eliminating every pest—so keep monitoring. These are illustrative pairings, not an exhaustive catalog.

Design Your Garden with Purposeful Pairings

Home gardeners should strategically implement companion planting by understanding and applying the three primary pest control mechanisms: chemical confusion, landing disruption, and beneficial insect support. Choose companions the way the table suggests: aromatic herbs and flowers interleaved with susceptible crops, mixed beds rather than single-species rows, and a few banker or nectar plants to hold predators in place. The measurable indicators of success are reduced pest damage on susceptible plants and an increase in beneficial insect activity in the garden—watch for fewer holes in your cabbage leaves and more ladybugs, wasps, and pollinators working the beds as the season progresses.

Sources