🌱 Free USDA zone, frost dates & planting calendar, by ZIP About & data sources
My Planting Zone know your zone

Companion Planting Chart for the Vegetable Garden (24 Crops, With Timing by Zone)

Last updated: September 5, 2026

Companion planting reliably does five things, and all five are ordinary, observable horticulture rather than folklore. A tall crop like corn or trellised tomatoes casts shade a shorter, shade-tolerant crop like lettuce can use instead of wasting. A sturdy stalk like corn gives a climbing crop like pole beans something to grow on, which saves the cost and the footprint of a trellis. A legume like beans or peas pulls nitrogen from the air and leaves some of it in the soil for a heavy feeder planted nearby. A fast, sacrificial crop like radishes can pull flea beetles or cucumber beetles off a slower neighbor before it establishes. And flowering herbs like cilantro, parsley or dill, along with true flowers, draw in the hoverflies and parasitic wasps that keep aphids and cabbage worms in check later in the season.

What companion planting does not reliably do is repel specific pests by scent, improve the flavor of a neighboring crop, or protect one plant from a specific disease just by proximity, unless the mechanism is one of the handful above. Most of the “tomatoes hate potatoes,” “basil improves tomato flavor,” or “never plant X near Y” rules that circulate online trace back to a mix of old almanacs, biodynamic gardening traditions from the early twentieth century, and simple repetition, not controlled trials. Some of that folklore turns out to be true for a real, separate reason, like the tomato and potato pairing, which is actually about shared disease rather than any mutual dislike. This guide says plainly which pairings below have a mechanism behind them and which ones are tradition worth trying but not worth building a garden plan around.

Enter your US ZIP code for your USDA zone, frost dates & planting calendar.

The vegetable companion planting chart: 24 crops

This is a full vegetable companion planting chart for every crop covered on this site. “Why” gives the one mechanism behind each pairing, whether that is a shared pest, a nutrient interaction, a physical relationship like shade or trellising, or simply a widely held tradition, which is labeled as such rather than presented as proven.

CropPlant withKeep apartWhy
TomatoesBasil, carrots, onions, parsleyPotatoes, corn, eggplantShares early and late blight with potatoes and eggplant, and corn draws the same fruitworm moth.
PeppersBasil, onions, carrotsNone majorA nightshade like tomatoes, so it shares their companions; no strong keep-apart pairing beyond general soil rotation.
CucumbersCorn, beans, radishes, sunflowersPotatoesBoth sprawl and compete hard for ground space; gardeners have long linked the pairing to more blight, though that part is folklore.
LettuceCarrots, radishes, corn, tomatoesNone majorShallow-rooted and shade-tolerant, so it uses light and space a taller crop would otherwise waste.
ZucchiniCorn, beans, radishesPotatoesA sprawling cucurbit that crowds out anything else competing for the same ground.
CarrotsOnions, garlic, radishes, lettuceNone majorOnion scent is believed to mask carrot root fly, and carrot scent returns the favor against onion fly, a widely practiced pairing.
BeansCorn, winter squash, carrotsOnions, garlic, sunflowersAlliums measurably suppress the rhizobia bacteria beans need to fix nitrogen at the root.
PeasCarrots, radishes, cornOnions, garlicSame allium effect as beans: alliums suppress the nodulation legumes rely on.
BroccoliOnions, beets, cilantroNone majorCilantro left to flower draws the parasitic wasps and hoverflies that prey on cabbage worms.
SpinachRadishes, peas, kaleNone majorTolerates the cooler, partly shaded microclimate at the foot of taller crops better than most greens.
KaleOnions, beets, cilantroNone majorSame beneficial-insect draw from flowering cilantro as broccoli.
OnionsCarrots, beets, tomatoes, kaleBeans, peasThe sulfur compounds that repel many pests also suppress the rhizobia legumes need to fix nitrogen.
GarlicCarrots, beets, tomatoesBeans, peasSame allium-legume conflict as onions.
PotatoesBeans, cornTomatoes, cucumbers, sunflowers, winter squash, eggplantShares blight with tomatoes and eggplant, and sunflower roots release compounds documented to stunt potato growth.
Winter squashCorn, beans, radishesPotatoesA sprawling cucurbit, same space competition as zucchini.
CornBeans, winter squash, cucumbers, sunflowersTomatoesCorn earworm and tomato fruitworm are the same insect, so growing both concentrates one pest instead of spreading the risk.
RadishesCarrots, cucumbers, winter squash, spinachNone majorGerminates in days rather than weeks, marking a slow row and pulling flea beetles and cucumber beetles off slower neighbors.
BeetsOnions, kale, broccoliBeansOld garden lore holds pole beans stunt beet growth; evidence is thin, but it is repeated widely enough to flag.
EggplantBeansTomatoes, potatoesA third nightshade, carrying the same verticillium wilt risk as tomatoes and potatoes.
BasilTomatoes, peppersNone majorLong credited with confusing tomato hornworm moths by scent; controlled trials do not support that, but the pairing is harmless and convenient at harvest.
CilantroKale, broccoli, tomatoesNone majorIts flowers, once it bolts, are one of the better documented draws for wasps and hoverflies that control cabbage worms and aphids.
ParsleyTomatoes, carrotsNone majorFlowering parsley draws the same predatory insects as cilantro.
PumpkinsCorn, radishesPotatoesSame cucurbit space competition as zucchini and winter squash.
SunflowersCorn, cucumbersPotatoes, beansRoots release compounds documented to suppress growth in potatoes and beans planted too close.

The five pairings that actually work

Corn, beans and squash, the three sisters. This is the pairing with the most mechanism behind it, and it comes from Indigenous agricultural traditions in the Americas that predate the European term “companion planting” by centuries. Corn provides a living trellis for pole beans, which saves you building one. The beans, like all legumes, host rhizobia bacteria in root nodules that convert atmospheric nitrogen into a form the heavy-feeding corn and squash can use. The squash’s broad leaves spread across the ground between the corn stalks, shading out weeds and slowing moisture loss, which functions as a living mulch. None of that is folklore. All three effects are standard, well-understood plant physiology.

Tomatoes and basil. The popular version of this pairing claims basil repels tomato hornworms and improves tomato flavor by proximity. Neither claim has real research behind it, and it is worth saying so plainly. What does hold up is more mundane and just as useful: tomatoes and basil want the same soil warmth, the same amount of sun, and roughly the same watering schedule, and they transplant into the garden on the same timing. Planting them together is efficient bed use with two crops that will not fight each other for resources, which is reason enough even without the mythology.

Carrots and onions. This is one of the few “scent masking” pairings with genuine support from extension research. Carrot rust fly and onion fly both find their host plants largely by smell, flying low and homing in on the specific compounds each crop releases. Interplanting the two crops muddies that signal for both pests, and the effect has shown up in field trials comparing mixed and monoculture rows. It works best in a genuinely interplanted bed, alternating short rows or blocks, not a single onion at the end of a long carrot row.

Lettuce grown under a taller crop. Lettuce bolts and turns bitter in full, hot sun, which is exactly the condition a young tomato or corn planting does not yet provide but will by midsummer. Sow lettuce early, in the same bed as tomatoes, corn or trellised beans, and you get a full harvest out of it in the weeks before the taller crop fills in and shades it out. The lettuce is not fighting for the same light the tomato needs later, because by the time the tomato needs full sun, the lettuce is already finished and out of the ground.

Radishes as a trap and marker crop. Radishes germinate in five to seven days, faster than almost anything else in the garden, which makes them useful for two unrelated reasons. Sown in the same row as a slow-germinating crop like carrots, they mark the row visibly before the carrots show themselves, which is the difference between weeding accurately and hoeing out your own carrot seedlings by accident. Sown near cucumbers, squash or brassicas, radishes are fast and tender enough that flea beetles and cucumber beetles often find them first, functioning as a sacrificial trap crop that buys the slower main crop time to establish.

Pairings to avoid and why

Nightshades sharing blight. Tomatoes, potatoes and eggplant are all nightshades, and all three are susceptible to the same early blight and late blight fungi, plus verticillium wilt in the soil. Planting them side by side this season does not itself spread disease faster than planting them ten feet apart, but if one comes down with blight, the others in the same bed are the most exposed. The bigger issue is rotation: do not plant any of the three in soil where another nightshade grew in the last two to three years, since the fungal spores and verticillium persist in soil.

Legumes next to alliums. Onions and garlic release sulfur compounds from their roots that measurably suppress rhizobia, the bacteria beans and peas depend on to fix nitrogen. This is one of companion planting’s better documented negative interactions, not folklore. Keep beans and peas in a separate bed or at least a few feet from an onion or garlic row, and save the alliums for pairing with carrots, beets and brassicas instead, where they earn their keep.

Sunflowers crowding potatoes or beans. Sunflower roots release allelopathic compounds, chemicals that suppress the growth of certain neighboring plants, and potatoes and beans are two of the crops most affected. Sunflowers are worth growing as a trellis for cucumbers or a windbreak for corn, but keep them out of the potato and bean beds specifically.

Corn and tomatoes sharing a pest. Corn earworm and tomato fruitworm are the same insect, Helicoverpa zea, using two different host plants. Growing corn and tomatoes in the same bed does not cause the pest, but it does concentrate it, giving one generation of moths two crops to lay eggs on in the same square feet. Separating them by even a modest distance spreads the risk instead of stacking it.

Cucurbits crowded together. Cucumbers, zucchini, winter squash and pumpkins are all cucurbits that grow fast, spread wide and pull hard on water and nutrients. Planting several of them touching does not cause a specific disease, but the dense, humid canopy that results is exactly the condition powdery mildew and squash bugs prefer, and the plants will out-compete each other for root space regardless. Give each one the spacing its own crop page recommends rather than treating “squash family” as one bed.

Timing: companions only work if they are in the ground together

Every pairing above depends on something the folklore version of companion planting never mentions: the two crops actually overlapping in the garden at the same time. A companion planting chart that only tells you what to plant together and skips when is only half a plan, because the three sisters, tomatoes and basil, and lettuce under a taller crop all depend on specific timing relative to your last frost date, and that timing moves by weeks across zones.

For the three sisters, corn and beans are both direct sown about one week after your last frost, once the soil has warmed enough for both to germinate reliably. Squash transplants go in about two weeks after last frost, timed so the squash is a few weeks behind the corn and beans rather than competing with them from day one. Here is that timing for every USDA zone.

ZoneLast frostCorn & beans sowSquash transplant
3aMay 15May 22May 29
3bMay 13May 20May 27
4aMay 10May 17May 24
4bMay 5May 12May 19
5aApr 30May 7May 14
5bApr 25May 2May 9
6aApr 20Apr 27May 4
6bApr 15Apr 22Apr 29
7aApr 10Apr 17Apr 24
7bApr 3Apr 10Apr 17
8aMar 25Apr 1Apr 8
8bMar 15Mar 22Mar 29
9aMar 1Mar 8Mar 15
9bFeb 15Feb 22Mar 1
10aJan 31Feb 7Feb 14
10bJan 15Jan 22Jan 29
11aNo frostYear-round, avoid peak summer heatYear-round, avoid peak summer heat
11bNo frostYear-round, avoid peak summer heatYear-round, avoid peak summer heat
12aNo frostYear-round, avoid peak summer heatYear-round, avoid peak summer heat
12bNo frostYear-round, avoid peak summer heatYear-round, avoid peak summer heat
13aNo frostYear-round, avoid peak summer heatYear-round, avoid peak summer heat
13bNo frostYear-round, avoid peak summer heatYear-round, avoid peak summer heat

Tomatoes and basil share the same transplant rule, about two weeks after last frost, which is exactly why they pair so cleanly in a shared bed. A zone 6b gardener transplants both tomatoes and basil around April 29, a zone 8a gardener around April 8, and neither crop sits waiting on the other. Lettuce under tomatoes runs on the opposite clock: lettuce goes in about four weeks before last frost, which is March 18 in zone 6b or February 25 in zone 8a, well ahead of the tomato transplant date. By the time the tomato is filling out and starting to shade the bed, the lettuce planted six to eight weeks earlier has already been cut, and the ground it used is free for the tomato’s roots to spread into. That sequence, not any scent or chemistry, is the actual reason the pairing works.

Spacing and layout in a raised bed

A standard 4 by 8 foot raised bed handles a three sisters planting and a tomato and basil guild in the same season if you lay it out with the mature size of each crop in mind rather than the seed packet spacing alone. Put the three sisters at one end: corn in a block of at least four rows rather than one long row, since corn is wind-pollinated and pollinates poorly in a thin line, spaced roughly 12 inches apart in each direction. Beans go in around the base of the corn once it is 4 to 6 inches tall, two or three seeds per stalk. Squash goes along the outer edge of the block, where its vines can run off the side of the bed onto open ground or a path rather than smothering the corn and beans.

At the other end, a tomato and basil guild works well with tomatoes on 24 to 36 inch centers depending on the variety, basil tucked in the gaps between them, and a row of carrots or onions along the front edge where they get full sun and do not compete with the tomato’s root zone for long. Raised beds make this kind of guild planting easier than an in-ground row garden, because the contained soil warms faster in spring and the defined edges make it simple to keep a sprawling squash from swallowing a neighboring bed.

Where to go next

Frequently asked questions

Which vegetables grow well together?

The most reliable pairings are the ones with a real mechanism behind them: corn, beans and squash (the three sisters, where beans feed the soil and squash shades it), tomatoes with basil, carrots with onions or garlic, and lettuce grown in the shade of a taller crop. Beyond those, most pairings are about shared spacing and timing rather than any special chemistry.

What vegetables should never be planted next to each other?

The pairings with a documented reason to avoid are tomatoes, potatoes and eggplant together (they share blight and verticillium wilt), beans or peas next to onions or garlic (alliums suppress the nitrogen-fixing bacteria legumes need), and sunflowers next to potatoes or beans (sunflower roots release compounds that stunt both). Corn and tomatoes are also worth separating, since they draw the same fruitworm moth.

What three plants grow well together?

Corn, pole beans and winter squash, known as the three sisters. Corn gives the beans something to climb, the beans pull nitrogen from the air into the soil for the heavy-feeding corn and squash, and the squash's broad leaves shade the ground to hold moisture and crowd out weeds. It only works if all three are sown on the timing each one needs, which is usually corn first, beans a week later, and squash as transplants about two weeks after that.

Does companion planting actually work?

Some of it, yes. Interplanting for shade, trellising, space and pollinator draw is basic, observable horticulture, and a handful of pairings like alliums suppressing legume nodulation are backed by real research. Most of the specific 'plant X next to Y for better flavor or to repel pests' claims that circulate in garden folklore have never been tested in controlled trials, and some, like basil improving tomato flavor, are almost certainly just good stories.

Can you plant tomatoes and peppers next to each other?

Yes. They are both nightshades with the same sun, water and heat needs, and neither one is documented to harm the other. The caution with nightshades is about disease buildup in the soil over multiple seasons, which is a rotation issue, not a same-season spacing issue, so planting them in adjacent rows this year is fine.

Do marigolds really keep pests away?

Partially. French marigolds release a compound from their roots that suppresses root-knot nematodes in the soil around them, which is one of the few companion planting claims with real research behind it, though the effect is local to the root zone rather than garden-wide. The claim that marigolds repel above-ground pests like aphids or beetles by scent is much weaker evidence, closer to tradition than proof.