Companion Planting Layout: 3 Raised Bed Plans and the Evidence Behind Each Pair

By Luigi · 8 min read · Published October 19, 2026

A good companion planting layout puts each pair where it can actually help, at spacing that doesn’t starve either plant. Below are three raised bed plans drawn to scale (two 4×8 ft and one 3×6 ft): tomatoes with basil, French marigolds and early lettuce; broccoli with thyme and trap crops; and carrots in rows between onions. Every pair in them has a study or an extension recommendation behind it, and each one is labeled with how strong that evidence is. Most companion pairs in popular charts have no study behind them: Washington State University Extension notes that most companion planting resources “lack any credible, supporting science” (WSU Extension).

A 4x8 raised bed seen from above with three tomatoes, a row of basil, French marigolds at one end and lettuce along the south edge

Vegetable spacing comes from Virginia Cooperative Extension’s intensive spacing guide; the herbs and flowers come from other extension guides (listed under Sources). Where two crops meet we use VCE’s rule: add the two spacings and divide by 2 (VCE 426-335). Our drawing tool checks that distance for every pair of neighbors in each plan. Switch to Space needed to see the room each plant gets.

How strong is the evidence?

We sort each pair into one of five groups:

  • Tested: at least one published study found an effect, under the conditions we describe.
  • Extension advice: a university extension recommends it with a reason, but we didn’t find the study, or the studies disagree.
  • Tradition: repeated in charts and books, no study found.
  • Keep apart: evidence or extension advice says to separate them.
  • Tested, no effect: a study looked for an effect and found none.

“Tested” doesn’t mean “works everywhere”. Many of these studies were in greenhouses or on farms, not in home raised beds. We note it each time.

Plan 1: tomatoes with basil, French marigolds and early lettuce

Tomato bed: basil, French marigolds and early lettuce, 8 by 4 feet: 3 tomatoes, 8 french marigolds, 6 basil, 32 leaf lettuce.3 tomatoes8 french marigolds6 basil32 leaf lettuce8 ft4 ftN

Tomato bed: basil, French marigolds and early lettuce. 1 square = 1 ft. North is at the top. The lettuce goes in first and comes out before the tomatoes shade it. Each plant is drawn as wide as its spacing: the room it gets, not a forecast of its size.

  • 3 Tomatoes24 in apart
  • 8 French marigolds9 in apart
  • 6 Basil12 in apart
  • 32 Leaf lettuce6 in apart

Open or save this plan

Spacing from Virginia Cooperative Extension 426-335, Iowa State Extension and University of Kentucky Extension NEP-237.

Pair Evidence What it does, and the catch
Tomato + lettuce Tested In a Brazilian greenhouse study, tomato yield and fruit grade didn’t change with lettuce grown alongside, while lettuce yield dropped the later it went in. Land use efficiency was 1.63 to 2.22 (1.63 means the two crops together gave as much as 1.63 beds planted with one crop each) when lettuce was transplanted from 30 days before to 20 days after the tomatoes (SciELO). So: plant lettuce first, harvest it before the tomato canopy closes. Minnesota Extension suggests the same idea: early lettuce, then tomatoes into the same bed (UMN Extension)
Tomato + basil Tested, mixed results In West Virginia garden trials, basil competed little with tomatoes for water and light. A 2003 conference paper found no overall yield advantage and no effect on tomato pests (Bomford and Butler, 2003). The same author’s 2004 thesis reports a mean 20% advantage in relative yield indices for tomato or Brussels sprouts grown with basil, largest at high densities (Bomford, 2004). Plant it for the basil. A tomato bonus is possible, not proven
Tomato + French marigold Tested, in greenhouses In large-scale UK glasshouse trials, marigolds grown next to tomatoes from the start “significantly” slowed whitefly populations. Added once whiteflies were already established, they did little. Tomato yield didn’t change in the from-the-start trial; in the second, tomatoes next to marigolds carried slightly less fruit weight (not significant), and the authors suspect the bushy marigolds shaded the lower leaves (Conboy et al., PLOS ONE, 2019). Keep them at the bed’s edge, as in this plan. WSU adds a catch: marigolds “do not distinguish between pest and beneficial insect species” (WSU Extension)
Tomato + basil + marigold, thrips Extension advice Minnesota Extension reports that “a few studies” show basil and marigolds reducing thrips on tomatoes in field and greenhouse (UMN Extension). We didn’t read the studies themselves

Timing: lettuce transplants go in 3 to 4 weeks before your last frost; tomatoes 1 to 2 weeks after (UNH Extension). That puts the lettuce in 4 to 6 weeks ahead of the tomatoes. The Brazilian study tested up to 30 days ahead, so for the closest match set the lettuce out about 4 weeks before the tomatoes, or tuck a later sowing in alongside them.

Marigolds don’t fix nematodes this way. Against root-knot nematodes, marigolds work as a cover crop grown for at least two months before the vegetables. For marigolds planted between tomatoes, UF/IFAS finds the method doesn’t appear to be effective and calls it “very risky” (UF/IFAS NG045).

Plan 2: broccoli with thyme, nasturtiums and radish traps

Broccoli bed: thyme, a nasturtium edge and radish traps, 8 by 4 feet: 8 broccoli, 6 thyme, 6 nasturtiums, 32 radishes.8 broccoli6 thyme6 nasturtiums32 radishes8 ft4 ftN

Broccoli bed: thyme, a nasturtium edge and radish traps. 1 square = 1 ft. Radish traps go in before the broccoli; nasturtiums wait until after the last frost. Pull traps when they fill with pests. Each plant is drawn as wide as its spacing: the room it gets, not a forecast of its size.

  • 8 Broccoli18 in apart
  • 6 Thyme12 in apart
  • 6 Nasturtiums12 in apart
  • 32 Radishes3 in apart

Open or save this plan

Spacing from Virginia Cooperative Extension 426-335, Virginia Cooperative Extension 426-420 and UW-Madison Extension.

Pair Evidence What it does, and the catch
Broccoli + thyme Extension advice (cites studies) Minnesota Extension cites an Iowa study where thyme, onion and nasturtium reduced cabbage looper and imported cabbageworm damage on broccoli, and a greenhouse study where sage and thyme reduced diamondback moth on Brussels sprouts (UMN Extension). We didn’t read the studies themselves
Broccoli + nasturtium Extension advice WSU lists nasturtiums as a trap crop for aphids and flea beetles (WSU Trap Cropping). A trap crop pulls pests onto itself: plant it before the main crop, check it often and remove the infested parts. In spring that works for radishes, not nasturtiums: they can’t go out until after your last frost (UW-Madison Extension), so they protect a fall broccoli planting or follow the radishes
Broccoli + radish Extension advice WSU lists radishes “intercropped to trap flea beetles, root maggots and cabbage maggots” away from cabbage-family plants (WSU Trap Cropping). We didn’t find the study behind it
Broccoli + dill Tested, no effect Small-flowered plants like dill attract tiny parasitic wasps and flies (Clemson HGIC). But in a SARE-funded trial, dill, marigold, onion and potato companions never changed flea beetle numbers on broccoli or its growth (SARE GW11-005). That’s why dill isn’t in this plan

How much protection to expect: a SARE guide notes that many studies found intercropping has no effect on imported cabbageworm numbers (SARE). Trap crops give partial protection at best: in the SARE trial, they “partially” protected broccoli from flea beetles. Keep row cover handy.

Plan 3: carrots and onions in alternating rows

Carrots and onions in alternating rows, 6 by 3 feet: 144 carrots, 54 onions.48 carrots18 onions48 carrots18 onions48 carrots18 onions6 ft3 ftN

Carrots and onions in alternating rows. 1 square = 1 ft. Each carrot band sits next to a row of onions; the effect fades once the onions start to bulb. Each plant is drawn as wide as its spacing: the room it gets, not a forecast of its size.

  • 144 Carrots3 in apart
  • 54 Onions4 in apart

Open or save this plan

Spacing from Virginia Cooperative Extension 426-335.

Pair Evidence What it does, and the catch
Carrot + onion Tested, mixed results Growing carrots with onions reduced carrot fly attacks on the carrots and thrips on the onions. The effect “was greatest when the carrots were intercropped with young onions and virtually ineffective once the onions began to bulb” (Uvah and Coaker, 1984, AGRIS record). A 7-year Finnish trial found damage only “slightly less” in carrot rows next to onions, with very little carrot fly around (Agricultural and Food Science)
Carrot + French marigold Tested, no effect In the same study, mixed cropping with French marigolds “was ineffective” against carrot fly (AGRIS record)

The rows alternate a band of carrots at 3 in with a row of onions at 4 in. The two roots also reach different depths. One of WSU’s evidence-based rules: “Intersperse large taproot vegetables like carrots and radishes with those whose root systems are shallow and widespread” (WSU Extension).

Pairs to keep apart

Pair Why
Tomatoes and potatoes Both get late blight. In 1998 Alan Gotlieb of the University of Vermont tied that year’s severe tomato blight directly to “planting tomato adjacent to potato” (UVM)
Tomatoes, peppers, eggplant and corn When corn silks turn brown, tomato fruitworm moths move to nearby hosts to lay eggs: avoid planting these “near post-silking corn” (Utah State Extension)
Vegetables near a black walnut Douglas County Master Gardeners call the tree’s juglone “very toxic” to the nightshade family (Douglas County Master Gardeners). The sources disagree: WSU’s Linda Chalker-Scott finds the evidence for juglone harming garden plants weak (WSU)
Marigolds against Colorado potato beetle Minnesota Extension: “multiple studies have shown this to be untrue” (UMN Extension)
  • Beans and onions kept apart. Repeated even on extension pages (WVU Extension). One small greenhouse study (a 2015 Brock University master’s thesis) found wax beans grew less next to onions, while the onions grew more, and together the two made about 30% more growth for the space than when grown apart (relative yield total 1.3; plant weight, not harvest) (Lin, 2015). Not enough to forbid it; give beans their own row if you can.
  • “Carrots love tomatoes.” No study found.
  • Fennel harms everything. The tests we found are mostly on weeds: lab and pot trials (Ravlić et al., 2016) and one field survey in a fennel planting, where weeds near fennel grew less (Isfahan University of Technology thesis). We found none on vegetables grown next to fennel in a garden.
  • Sunflowers poison the soil. Douglas County Master Gardeners say they don’t; some germination slowdown is possible where sunflowers grew the year before.
  • Three Sisters. A nutrition analysis found more energy and protein per hectare than any single crop, but bean and squash yields “were greatly reduced” next to corn (Mt. Pleasant, Ethnobiology Letters), and WSU finds “no compelling, published evidence” of better productivity or soil (WSU Extension). The corn does hold up the beans.

More tested pairs that don’t fit these plans

  • Strawberries with borage: 35% more fruit on average in a University of Sussex study in gardens and allotments (Griffiths-Lee et al.).
  • Lettuce with sweet alyssum: in the last 2 years of a 9-year USDA-ARS organic lettuce study, one alyssum every 3, then every 5, lettuces in one row of the bed still gave “excellent aphid control” (eOrganic).

For a quick look at what grows with what, see our companion planting chart.

FAQ

What is the best companion plant for tomatoes?

Lettuce, planted first and picked before the tomatoes shade it, has the clearest study behind it: no loss in tomato yield and two crops from the same space. Basil and French marigolds have some evidence, mostly from trials and greenhouses.

Do marigolds keep pests away from vegetables?

Sometimes. In UK greenhouse trials they slowed whiteflies on tomatoes when planted from the start. Against root-knot nematodes UF/IFAS recommends them as a cover crop grown before the vegetables; interplanted, it says they don’t appear to be effective and calls it “very risky”. Against Colorado potato beetles studies found no effect.

How far apart should companion plants be?

Use each crop’s raised bed spacing and, where two crops meet, the average of the two (VCE’s rule). Basil (12 in, Kentucky Extension) next to tomatoes (24 in) goes 18 in away. That’s the spacing in our companion planting raised bed layouts above.

Should companion plants alternate one by one, or go in blocks and rows?

Our plans use small blocks and rows, which are easier to plant, harvest and space, at some cost: WSU’s advice for mixed plantings is to “intercrop different species so that individuals of the same species are as far apart as possible” (WSU Extension), to make it harder for pests to find a whole crop. Alternating rows, as in the carrot and onion plan, is a simple middle ground.

Which marigold is best for companion planting?

French marigolds (Tagetes patula). They’re the ones used in the UK greenhouse trials on whitefly, the SARE broccoli trial and the carrot fly study; in the last two they made no difference. Against root-knot nematodes, UF/IFAS finds French marigolds effective against the widest range and lists ‘Single Gold’ and ‘Tangerine’ as resistant; signet marigolds such as ‘Golden Gem’ are susceptible (UF/IFAS NG045).

Sources

Plans and tools