By Community Steward ยท 4/28/2026
Companion Planting for the Home Garden: What Actually Works
Companion planting is everywhere in gardening. But how much of it is science and how much is folklore? Here is a practical guide to the pairings that actually work in the home vegetable garden, based on research from university extension programs.
Companion Planting for the Home Garden: What Actually Works
If you have ever read a gardening book or scrolled through a seed catalog, you have probably seen a companion planting chart. These are the tables that say plant tomatoes with basil and avoid planting them near cabbage. They show up in hundreds of books, websites, and Pinterest boards.
The problem is that most of them are not backed by any real research.
Washington State University Extension put it plainly in a 2015 publication on the topic: "Pseudoscientific claims abound in recent, popular literature regarding the benefits of companion planting, creating confusion for home gardeners."
That does not mean companion planting is useless. It means you need to separate the science from the folklore. This guide focuses on what university research and field trials actually show works in the home vegetable garden, and what you can safely ignore.
What Companion Planting Really Is
Scientists usually do not use the term "companion planting." They use other words that describe the same idea more precisely.
Intercropping means growing two or more crops together in alternating rows or patterns. Polyculture means a more complex mix of species. A nurse plant is one that helps young plants survive by providing shade or wind protection. Plant association describes species that thrive together in nature.
All of these are just different ways of describing one simple principle: diversity makes gardens more resilient.
A single species growing in neat rows is easy for pests to find. A diverse garden with vegetables, flowers, and herbs is much harder for any single pest to locate and exploit.
The Three Science-Backed Strategies That Actually Work
University research groups companion planting benefits into three categories. Every proven pairing falls into one of these.
1. Improving the Soil
Legumes, which include beans and peas, form a partnership with bacteria in the soil. These bacteria take nitrogen from the air and convert it into a form the plant can use. When the legume dies or is cut back, some of that nitrogen becomes available to nearby plants.
This is not theoretical. It is basic plant biology, and it is the reason beans and peas are consistently recommended as good partners for heavy feeders like corn, squash, and brassicas.
Cover crops are another soil-building strategy closely related to companion planting. Winter rye, winter wheat, and crimson clover planted in fall protect bare soil, prevent erosion, and add organic matter. You can terminate them in spring and use the biomass as mulch for your vegetable beds.
2. Managing Pests
Pests find their host plants using scent, color, and taste. Diversifying your garden disrupts those signals. Research from multiple extension programs confirms that intercropping reduces pest damage compared to monoculture plantings.
There are three evidence-based ways to use this:
Masking and repelling. Alliums such as garlic, onions, and chives release strong sulfur compounds that mask the scent of nearby crops and deter many insect pests. Research published in the European Journal of Plant Science shows that planting onions significantly reduces carrot fly attacks. Iowa State University Extension has documented that alliums reduce pest pressure on lettuce and brassicas.
Trap cropping. A trap crop is a sacrificial plant that pests prefer over your main crop. Nasturtiums are one of the best-documented trap crops. They attract aphids away from beans and brassicas. Blue Hubbard squash is highly attractive to squash bugs and vine borers, making it useful as a trap crop for other pumpkin and squash varieties.
Attracting beneficial insects. Many pests are kept in check not by repelling them but by attracting their natural predators. Hoverflies, parasitoid wasps, and predatory beetles all need nectar and pollen to survive. Flowers planted among vegetables provide exactly that.
3. Physical Modification
Plants change their environment in real, measurable ways. A taller plant shades the ground, which reduces evaporation and keeps soil moisture consistent. A dense ground cover suppresses weeds. A living trellis supports climbing plants without wooden stakes.
The Three Sisters planting system, used by Indigenous peoples of the Americas for thousands of years, is the most famous example. Corn provides a structure for beans to climb. Beans add nitrogen to the soil. Squash spreads across the ground, shading out weeds and conserving moisture.
Washington State University Extension notes that "there is no compelling, published evidence that it benefits plant productivity or soil quality" at a scientific level. But the system works in practice, and the physical benefits of shade, nitrogen fixation, and ground cover are all real, even if they have not been quantified in controlled studies.
Pairs Worth Trying (With Evidence)
These pairings appear consistently across university extension research, field trials, or both.
Beans and corn. Beans fix nitrogen that corn needs. Corn provides a trellis for climbing beans. This pairing is documented in USDA research on intercropping systems.
Carrots and alliums. Planting onions or chives alongside carrots significantly reduces carrot fly damage. The sulfur compounds mask the carrot scent from the flies.
Broccoli and flowering herbs. Alyssum, dill, thyme, and nasturtium planted near broccoli attract hoverflies and other predators that control aphid and cabbage worm populations. Iowa State University has published data on thyme and nasturtium reducing cabbage worm damage.
Tomatoes and basil. This is one of the most debated pairings. The flavor improvement claim is mostly anecdotal. But the pest-deterrence effect has some support: basil's strong scent masks tomato plants from certain pests, and research on common herbs shows antifeedant effects on Colorado potato beetles.
Cucumbers and corn. Intercropping cucumbers with maize has been shown to reduce insect pest density in peer-reviewed research published in the International Journal of Tropical Insect Science.
Peppers and rosemary. Rosemary's aromatic compounds repel common garden pests including cabbage moths and carrot flies. Georgia Extension has documented rosemary's insect-repelling properties in garden settings.
Potatoes and beans. Beans improve potato yields by adding nitrogen. Basil planted near potatoes deters Colorado potato beetles.
Cucumbers and radishes. Radishes help repel cucumber beetles, according to research published in HortTechnology.
What to Ignore
Not every popular pairing has evidence behind it. Here are some common claims that do not hold up under scrutiny.
Zodiac planting. Some charts say plant tomatoes when the moon is in a certain sign. This has no basis in plant science.
Sensitive crystallization. Some biodynamic guides claim you can determine compatible plants by examining how plant extracts crystallize as they dry. This is pseudoscience.
Marigolds repel all nematodes. This is probably the most persistent myth in companion planting. Certain marigold varieties (specifically Tagetes erecta, African marigolds) do release compounds that suppress some soil nematodes. But the effect depends on the variety, soil conditions, and nematode species. Most home garden marigolds are Tagetes patula (French marigolds), and the research on their nematode-suppressing ability is mixed at best. If nematodes are a problem in your soil, treat it with solarization or soil amendments, not a row of pot marigolds.
Garlic repels deer and rabbits. Garlic planted in the garden does not create a protective barrier around your vegetables. Deer and rabbits will eat right past garlic plants. Garlic oil or garlic spray applied directly to plants can work as a repellent, but that is different from growing garlic nearby.
Mint repels everything. Mint is a great herb to cook with. As a garden companion, it is better left in its own container. It spreads aggressively and crowds out other plants. There is no reliable evidence that mint planted in the ground meaningfully repels garden pests.
A Simple Companion Planting Plan
You do not need a complex chart. Here is a practical approach that covers most home gardens in Zone 7a.
Start with nitrogen. Plant a row or block of beans or peas alongside your heaviest feeders. This costs nothing extra and improves soil for whatever follows.
Add flowers for beneficial insects. Devote ten to fifteen percent of your garden space to flowering plants. Alyssum, nasturtium, marigold, dill, and zinnia all attract beneficial insects. Scatter them around the edges of beds and between rows.
Protect what you value most. Pick your two or three most pest-prone crops and give them the strongest protection. Plant alliums near carrots. Put nasturtiums near beans. Add dill near brassicas. Focus your effort where it matters.
Use ground cover strategically. If you grow squash, pumpkins, or melons, let the vines do the weeding for you. If you grow crops that do not sprawl, consider white clover or winter rye as living mulch in pathways and empty beds.
Keep it simple. Do not try to optimize every square foot. A garden with three or four deliberate pairings will outperform a garden where someone followed a complicated chart blindly.
When Companion Planting Is Not Enough
Companion planting is a tool, not a silver bullet. It will not solve severe pest infestations on its own. It will not replace proper crop rotation, soil health practices, or good sanitation.
But it is one of the easiest things you can do to make your garden more resilient. It costs nothing, it adds biodiversity, and it makes your garden harder for pests to exploit. That is worth doing even if only half the pairings work.
The point is not to memorize a chart. It is to understand the principles: diversify your plantings, build soil with legumes, attract beneficial insects with flowers, and protect your most valuable crops with scent and trap plants.
Do that and your garden will do better. The rest is just decoration.
โ C. Steward ๐ฅ