A companion planting chart shows which plants grow well side by side and which to keep apart. The best-supported pairings are tomatoes with basil, corn with beans and squash, and onions with carrots and lettuce, while onions and garlic are the ones to keep away from beans. West Virginia University Extension calls companion planting not an exact science, so treat any chart as a starting point. Planning a bed from scratch? Start with our guide to starting a vegetable garden.
| Pairing | What the extension sources say | Source |
|---|---|---|
| Tomatoes with basil | Basil and marigolds reduced thrips on tomatoes in some field and greenhouse studies, and basil may help tomato growth | University of Minnesota Extension |
| Broccoli and cabbage with thyme, onion or nasturtium | Reduced cabbage looper and imported cabbageworm damage in Iowa studies | University of Minnesota Extension |
| Squash with nasturtium or marigolds | Reduced squash bug and cucumber beetle damage in an Iowa study | University of Minnesota Extension |
| Corn, beans and squash | Corn holds up the beans, beans add nitrogen, squash shades the soil and suppresses weeds | WVU and University of Maryland Extension |
| Onions or garlic near beans | Keep apart: onions stunt the growth of beans | WVU Extension |
| Marigolds with potatoes | Often recommended against Colorado potato beetle, but multiple studies found no benefit | University of Minnesota Extension |
What Is Companion Planting?
Companion planting is the practice of growing certain plants near each other because one gives the other a practical benefit: better pest control, improved growth, or more efficient use of space. It is not one mechanism but a handful. Some pairings work through scent, where aromatic herbs make a crop harder for pests to find or draw in the insects that eat them. Others work through nutrients: legumes such as peas and beans fix nitrogen, which can reduce fertilizer needs, according to University of Minnesota Extension. And some are simply about space and shade, such as planting short-season lettuce or spinach among tomatoes and peppers that fill the bed later. For how to arrange pairings in a bed, see our companion planting garden layout guide.
The honest caveat is that popular charts run ahead of the research. University of Minnesota Extension says charts online often list repellent plants that are not always accurate or backed by research, so the chart below only includes pairings that a university extension source actually states.
Companion Planting Chart for Vegetables and Herbs
Use the companion planting chart below to check any of 22 plants: 14 vegetables, six herbs and two flowers. Select a plant to highlight which others make good companions and which to keep apart. Pairings come from West Virginia University, University of Minnesota, University of Maryland and Oregon State extension guidance, listed in the sources at the end. Where sources disagree, such as dill with tomatoes, the pairing is left out.
| Plant | Grows Well With | Avoid Planting With |
|---|---|---|
| Tomatoes | Basil, Parsley, Chives, Onions, Marigolds, Lettuce | Cabbage family, Potatoes |
| Peppers | Basil, Parsley | None |
| Cucumbers | Beans, Corn, Peas, Radishes, Lettuce | Potatoes |
| Potatoes | Beans, Corn, Peas | Tomatoes, Cucumbers, Squash |
| Onions | Tomatoes, Carrots, Lettuce, Cabbage family | Beans, Peas |
| Garlic | Dill | Beans |
| Beans | Cucumbers, Potatoes, Corn, Squash | Onions, Garlic |
| Peas | Cucumbers, Potatoes | Onions |
| Corn | Cucumbers, Potatoes, Beans, Squash | None |
| Squash | Beans, Corn, Nasturtium, Marigolds | Potatoes |
| Lettuce | Tomatoes, Cucumbers, Onions, Carrots, Radishes | None |
| Carrots | Onions, Lettuce, Radishes, Chives | None |
| Radishes | Cucumbers, Carrots, Lettuce | None |
| Cabbage family | Onions, Dill, Thyme, Nasturtium, Chives, Marigolds | Tomatoes |
| Basil | Tomatoes, Peppers | Mint |
| Dill | Cabbage family, Garlic | Mint |
| Chives | Tomatoes, Carrots, Cabbage family | Mint |
| Parsley | Tomatoes, Peppers | None |
| Thyme | Cabbage family | None |
| Mint | None | Basil, Dill, Chives |
| Marigolds | Tomatoes, Squash, Cabbage family | None |
| Nasturtium | Squash, Cabbage family | None |
Does Companion Planting Actually Work?
Partly. The best-tested claims are about pests. University of Minnesota Extension reports that thyme, onion and nasturtium reduced cabbage looper and imported cabbageworm damage in broccoli in an Iowa study, and that planting three or more trap crop species together worked better than a single one against flea beetles. It also says marigolds are often recommended against Colorado potato beetles, but multiple studies found that untrue.
University of Illinois Extension is blunter about the rest: most recommended companions have not been tested in a research study and often rest on one grower’s experience. Its one cited study, from Iowa State, found that any herb companion helped pest management compared with a plain control, though you may need many more of the companion plant for a lasting effect. The practical takeaway from Illinois is that it is low risk to try, because a basil plant you grew for pest control is still basil if the pest control fails.
What to Plant With Tomatoes
Tomatoes are the plant most people look up, and the extension sources agree on more here than anywhere else. These are the pairings that appear in at least one source:
- Basil. University of Minnesota Extension says basil and marigolds reduced thrips on tomatoes in some studies and that basil may help tomato growth. WVU Extension and Oregon State list basil as a tomato companion too.
- Parsley and chives. WVU Extension lists parsley as a tomato companion, and Oregon State says both parsley and chives help tomatoes.
- Onions. WVU Extension says onions pair well with tomatoes. Our guide to planting onion sets covers timing and spacing.
- Lettuce and spinach. University of Maryland Extension suggests planting low, shade-tolerant greens on the north side of tomatoes, and Minnesota suggests sowing early lettuce, spinach and basil among crops such as tomatoes that fill the bed later.
- Peas. Maryland describes peas planted at the base of tomato cages in early spring, where the vines act as a windbreak once the tomatoes go in.
- Marigolds. Maryland shows marigolds at the ends of tomato rows as a source of nectar and pollen for beneficial insects.
Advice on dill is mixed, so we left it out of the chart: WVU Extension lists dill as a tomato companion, while other advice says to avoid it. If you grow tomatoes in beds, our guide to growing tomatoes in raised beds shows how to lay them out, and growing tomatoes from seed covers starting them.
What Not to Plant Together
Fewer sources agree on pairs to avoid, so the list is short and each item names its source:
- Onions and garlic with beans. WVU Extension says onions stunt the growth of beans, and that beans should not be planted near onion, garlic or gladiolus. It also lists onions and English peas as a poor pair.
- Tomatoes with potatoes, fennel and the cabbage family. WVU Extension lists all three as poor neighbors for tomatoes. It also lists tomatoes, squash and cucumbers as poor neighbors for potatoes.
- Tomatoes, peppers, eggplant and potatoes in the same bed year after year. Penn State Extension groups tomatoes, peppers, potatoes and eggplant in one plant family and advises against planting the same family in succession so that shared pests do not build up.
- Anything near a black walnut. University of New Hampshire Extension names tomatoes, eggplant, peppers and potatoes as sensitive to juglone, the compound black walnut roots release, and says to put gardens far away from the tree. Penn State Extension adds that juglone can persist for years after a tree is removed.
- Mint in open ground. Oregon State calls mints very aggressive, so keep mint in a buried pot rather than loose in a bed.
Herb and Flower Companion Planting
Oregon State Extension’s list of herbs and flowers for the vegetable garden is the most complete we found. Dill is said to help lettuce, onion, garlic, cabbage-family crops and cucumbers, and to attract hoverflies and predatory wasps. Chives help tomatoes, cabbage-family crops and carrots, and parsley helps corn, tomatoes, potatoes and peppers. It also warns that rosemary has a large root system and can compete with its neighbors. Our guide to companion planting flowers with vegetables goes further on the flower side.
For flowers, University of New Hampshire research found that alyssum, buckwheat, cilantro and dill drew more hoverflies through the season than calendula, phacelia and fennel, and that alyssum bloomed continuously and attracted hoverflies from July until frost. The same report cautions that flea beetles turned up on alyssum and imported cabbageworm on calendula, and that more work is needed to show whether the hoverflies actually control pests. University of Illinois Extension recommends a sweet alyssum border, noting an Iowa State figure that some adult ladybugs can eat as many as 50 aphids a day. Once cilantro is growing, how to snip cilantro covers harvesting it.
Marigolds are the best-known flower companion. University of Maryland Extension says African and French marigolds deter soil nematodes, while Minnesota notes the often-repeated flea beetle and potato beetle claims are not well supported. Our guide to planting marigold seeds covers growing them. Nasturtium reduced squash bug damage in studies Minnesota cites, though Illinois describes it mainly as a plant for pollinators, so expect a modest pest effect.
Companion Planting Layouts: Three Sisters and More
The classic layout is the Three Sisters of corn, pole beans and squash. WVU Extension says to wait until soil has warmed to 60°F and choose a site with 6 to 8 hours of sun. Plant 4 to 7 corn seeds about 6 inches apart in the center of a mound first. When the corn is 4 to 6 inches tall, plant 3 to 4 pole bean seeds in a circle about 6 inches from the corn and thin to the 3 or 4 healthiest. Then plant 4 squash seeds around the outer ring of the mound, 3 to 4 feet apart. Our squash growing guide and guide to growing beans from seed cover each crop in more detail.
University of Maryland Extension gives other layouts. You can alternate plants within a row, alternate rows within a bed, or scatter-mix. Sow carrots and radishes together and pull the radishes before they crowd the carrots. Plant leaf lettuce among spring cabbage a week after the cabbage transplants go in. Sow a cover crop around the base of vegetables in late summer or early fall so it establishes while you are still harvesting. For staggering harvests in the same space, see our guide to succession planting.
Companion Planting for Pest Control
Pest control is where companion planting has the most research behind it. Beyond the cabbageworm and squash bug results above, University of Minnesota Extension says arugula, mustard, rapeseed and napa cabbage can work as trap crops that draw flea beetles away from the main crop. In sweet corn, buckwheat, cowpea and sunn hemp increased the predators and parasitoids of corn earworm. In squash, a Florida study found African marigolds and sweet alyssum raised aphid natural enemies, with a slight positive effect on yield.
If holes keep appearing in leaves despite good pairings, our guide to diagnosing holes in plant leaves helps identify what is feeding.
Using This in a Raised Bed or Small Garden
A chart tells you what to plant together, not how far apart, and in a raised bed the second question matters just as much. Good pairings still need real spacing: cramming basil too tightly around tomatoes creates the same airflow and disease problems as any overcrowded bed. Browse our plant spacing guides by crop for exact figures, and use the planning tools below before you buy plants.
Want a printable companion planting chart for the potting shed? Sign up below and we’ll email you the free one-page PDF version of the chart above, formatted to print and pin up wherever you plan your beds.
Free book · 23 pages, PDF
Companion Planting Chart FAQ
What is companion planting, and how does it work?
Companion planting means growing certain plants near each other for a mutual benefit, usually pest control, better growth or more efficient use of space. University of Minnesota Extension describes several mechanisms: legumes fixing nitrogen, deep and shallow roots sharing the soil, trap crops pulling pests away, and flowers that attract predators and parasitoids.
What vegetables grow well together?
West Virginia University Extension lists onions with beets, carrots, lettuce and tomatoes, and lettuce with carrots, radishes and cucumbers. Corn, pole beans and squash are the classic trio, called the Three Sisters. Tomatoes are commonly paired with basil, parsley, chives and onions.
What should you not plant next to tomatoes?
West Virginia University Extension lists Irish potatoes, fennel and the cabbage family as poor neighbors for tomatoes. University of New Hampshire Extension adds that black walnut roots release juglone, which is toxic to tomatoes, eggplant, peppers and potatoes, so keep tomato beds far from the tree.
Does companion planting really work?
Some of it does. University of Minnesota Extension cites Iowa studies where thyme, onion and nasturtium reduced cabbageworm damage in broccoli and where nasturtium and marigolds reduced squash bug damage. University of Illinois Extension says most other popular pairings have not been tested and often rest on one grower's experience.
Can you plant flowers and herbs with vegetables?
Yes. Oregon State Extension lists dozens of herbs and flowers for the vegetable garden, including dill, chives, parsley, marigold and nasturtium. University of New Hampshire research found alyssum, buckwheat, cilantro and dill drew more hoverflies than calendula, phacelia or fennel.
What herbs should not be planted together?
Mint is the one to keep apart. Oregon State Extension calls mints very aggressive, so they can crowd out basil, dill and chives in open ground. Grow mint in a buried pot with the rim above the soil instead.
How close should companion plants be?
There is no single distance. West Virginia University Extension gives 6 inches between corn seeds and the surrounding beans in a Three Sisters mound, with squash 3 to 4 feet away. For other pairs, University of Maryland Extension describes alternating plants within a row, alternating rows, or scatter-mixing; give each plant its normal spacing.
Sources & further reading
Pairings and claims in this guide come from these university extension sources:
- West Virginia University Extension: Companion Planting
- West Virginia University Extension: Three Sisters Gardening Method
- University of Minnesota Extension: Companion planting in home gardens
- University of Maryland Extension: Vegetable Succession and Companion Planting
- Oregon State University Extension: Herbs and Flowers in the Vegetable Garden
- University of Illinois Extension: Companion Planting, Anecdotal or Tried and Tested?
- University of Illinois Extension: Marigolds, sweet alyssum and nasturtiums in the vegetable garden
- University of New Hampshire Extension: Using insectary plants to attract hoverflies
- University of New Hampshire Extension: Are black walnut trees bad for gardens?
- Penn State Extension: Gardening around walnuts and other juglone producing plants
- Penn State Extension: Plant Rotation in the Garden Based on Plant Families
For more on how we source and review the facts behind every calculator and guide on this site, see our methodology page. And for the complete picture on spacing, timing and planting layout, see our complete guide to spacing and planting.
Free book · 23 pages, PDF
The Companion Planting Chart
Sent