Best Tomato Companion Plants (and 5 to Avoid)
Basil, marigold, borage and more — tomato companions that cut pests in our beds, plus five plants that stunted growth. Layout tips for raised beds in 2026.
Our 2026 tomato bed plan has 11 tomato companion plants we’re keeping, plus 5 we’ve learned not to cram next to tomatoes unless we want sulky vines and a lot of muttering in July. We grow in raised beds in Zone 6b, with tomatoes on cattle panels and drip line under leaf mulch, and companion planting has made the biggest difference around aphids, hornworms, bare soil, and that weird midseason “why does this bed look tired?” slump.
Not magic. Not a force field.
But when basil, marigolds, borage, alyssum, and a few useful herbs are tucked into the right spots, the tomato bed stays busier with pollinators and beneficial insects. The soil stays cooler. And I swear the whole bed just behaves better.
If you’re still sorting out crop pairings beyond tomatoes, we keep a broader notes page here: companion planting for vegetable gardens. Tomatoes just happen to be the crop where the wins — and mistakes — show up fast.
Tomato companion plants we actually use in raised beds
A tomato plant takes up more room than the seedling tag admits. Every year I forget this for about three weeks, then the Sungolds start acting like they own the county.
So the trick isn’t just “plant good things near tomatoes.” It’s choosing tomato companion plants that fit under, beside, or at the ends of the bed without turning the whole thing into a wet, shady jungle.
Our main tomato beds are 4 feet wide by 8 feet long. Most years we run six indeterminate tomatoes per bed — two rows of three — on cattle panels or heavy stakes. The companions go along the edges, corners, and little gaps where bare soil would otherwise bake.
1. Basil — still our first pick
If I had to choose one companion for tomatoes, I’d pick basil. Not because it’s cute on Instagram. Because it earns the space.
We plant Genovese basil along the sunny front edge of tomato beds, usually 10 to 12 inches from the tomato stems. Closer than that and it gets swallowed by July. Farther away and it feels like I’m wasting prime drip-line space.
Basil gives us a steady harvest, fills bare soil, and seems to confuse some of the pest traffic. I won’t claim it single-handedly repels every insect with a villain laugh. It doesn’t. But the beds with basil have been less hammered by aphids than our bare-edged beds were back in 2021.
For seed, we usually buy plain Genovese because it germinates well for us and the flavor is what we actually use in the kitchen. These Genovese Basil Seeds are the type I’d look for if you want the classic big-leaf basil for tomato beds and pesto.
Advantage: Genovese basil is useful twice — companion plant and kitchen crop. It’s not just ornamental filler.
Disadvantage: it bolts when heat and drought gang up on it. If you don’t pinch it every week, you’ll get flowers fast, smaller leaves, and woody stems. Also, basil seedlings sulk in cold soil. Don’t plant them out with your tomatoes if your nights are still sitting around 45°F.
We transplant basil after the tomatoes are in and growing. Usually late May here. I’d rather wait one extra week than lose a flat of basil to one dumb cold night.
2. Marigolds — useful, cheap, and tougher than they look
Marigolds are one of those old garden pairings that made me suspicious for years because people oversell them. Then 2024 happened.
Aphids destroyed our zucchini that year — just coated the undersides of the leaves — but the tomato bed with marigolds, alyssum, and basil stayed cleaner than the bed we’d planted “efficiently” with tomatoes only. Same yard. Same weather. Same compost batch. Was it all the marigolds? Probably not. But they helped enough that they’re back every year.
I like French marigolds tucked at the corners and along the south edge where they don’t shade anything. We don’t plant giant marigolds inside tomato beds anymore. Tried that once. Beautiful, yes. Also annoying. They leaned into the paths and made harvesting cherry tomatoes feel like crawling through a clown wig.
A mixed seed packet works fine if you don’t care about exact color or height. This Marigold Seeds Pest-Deterrent Variety Pack is the kind of thing I’d buy when filling multiple beds and borders.
Advantage: marigolds are tough, bright, and cheap from seed. They handle heat better than a lot of daintier flowers.
Disadvantage: variety packs can be unpredictable. You may get plants that are taller or wider than you wanted. If your tomato bed is already crowded, that matters.
I direct-sow marigolds after the soil warms, then tuck in a few transplants if gaps show up. They don’t need babying. Water them until established, then let them get on with it.
3. Borage — bees love it, but give it elbow room
Borage is chaos with blue flowers.
The bees adore it. I do too, in moderation. We plant one borage per tomato bed, usually at the end, never in the middle. It gets big — 2 to 3 feet across if it’s happy — and it has the personality of a plant that has never once read a spacing chart.
Borage brings pollinators into the tomato area, and while tomatoes are mostly wind/self-pollinated, more insect traffic never hurts the rest of the bed. The flowers are edible, though honestly we mostly let the bees have them.
Downside? It self-seeds. Everywhere. If you let it drop seed in August, you’ll be pulling baby borage from paths next spring. Not the worst problem, but still a chore.
Cut it back hard if it flops. It’ll forgive you.
4. Sweet alyssum — tiny flowers, big insect traffic
Sweet alyssum surprised me. I originally planted it because I had a half packet of seed and a bare strip along the tomato bed. That little strip buzzed all summer.
Alyssum stays low, which is perfect around tomatoes. It draws hoverflies, tiny wasps, and other beneficial insects that patrol soft-bodied pests. When we have alyssum blooming early, aphids don’t seem to get the same head start.
I sow it along the bed edge, not under the tomato stems. Tomatoes need airflow. Don’t make a damp carpet right at the crown.
White alyssum seems to bloom hardest for us. Purple is pretty, but white has been more vigorous in our garden. Your mileage may vary.
5. Chives and garlic chives
Chives are underrated tomato companion plants because they don’t demand much. They wake up early, flower beautifully, feed bees, and don’t flop all over the bed.
We keep a clump of regular chives near the corner of one tomato bed and garlic chives near another. I don’t plant them between tomato plants because established clumps get dense, but they’re great near the ends or outside edge.
The flowers can get a little seedy if you never cut them. I snip most after bloom and leave a few for pollinators. Garlic chives bloom later, which helps keep flowers around when the summer annuals are getting tired.
6. Parsley — slow, useful, and good for beneficial insects
Parsley is not flashy. It takes forever to germinate. The seedlings look pathetic for too long.
Then suddenly you’ve got a sturdy little herb that handles part shade under tomato edges and feeds swallowtail caterpillars if they find it. We plant parsley near tomatoes but not packed under them. Six to eight inches from the edge of the canopy is plenty.
Flat-leaf parsley has done better for us than curly parsley, mostly because we use it more in the kitchen. If swallowtail caterpillars show up, I let them eat. One parsley plant is a small price for butterflies.
7. Calendula — sticky, cheerful pest management
Calendula has been better for us in spring and fall than in the hottest part of summer. In June, it’s fantastic around tomatoes. By late July, ours often looks tired unless I deadhead and water regularly.
Still, it pulls in pollinators and beneficial insects, and it’s easy to grow from seed. We plant calendula near the outside of the tomato bed, especially where the bed meets the path. It can get bushier than expected.
One warning: calendula petals and leaves can get sticky with aphids if your garden is under pressure. That’s not always bad. Sometimes it acts like a trap crop. Sometimes it’s just gross. I cut off badly infested stems and toss them in the trash, not the compost.
8. Nasturtiums — good trap crop, bad if you let them run wild
Nasturtiums are useful, but I don’t plant the trailing types inside tomato beds anymore. We did that in 2020 and by August they had wandered through the tomato stems, across the path, and into the peppers like they were late for a meeting.
Compact nasturtiums are better. Plant them at the bed corners or in a nearby pot.
They attract aphids, which sounds like a failure until you realize aphids on nasturtiums are not aphids on tomatoes. That said, if the nasturtium is completely loaded, pull it. Don’t let it become an aphid nursery right beside your slicers.
The flowers are edible and peppery. Nice in salads. Also weirdly satisfying to snack on while watering.
Tomato companion plants for better raised bed layout in 2026
The layout matters more than the plant list. A good companion in the wrong spot becomes a weed with branding.
For 2026, this is the tomato bed layout we’re using in our 4-by-8 raised beds:
- Six indeterminate tomatoes per bed, staked or trellised
- Basil along the south or path-facing edge, 10 to 12 inches from tomato stems
- Marigolds at the corners and open front edge
- One borage at the end of the bed, not the center
- Alyssum in a thin strip along the outer edge
- Chives or parsley near the ends, where they won’t interfere with pruning
And — important — we keep the first 6 inches around each tomato stem clear. No dense flowers right against the crown. No living mulch touching the stem. Tomatoes already deal with enough fungal nonsense without us building a humid little tent at soil level.
We mulch after the soil warms. Usually shredded leaves mixed with a little straw. In early spring, thick mulch keeps soil too cool here, and tomatoes hate that. By June, mulch is non-negotiable.
If you’re building out a whole crop map, I’d start with the bigger companion planting for vegetable gardens notes first, then plug tomatoes into the sunniest, best-drained bed you’ve got.
How close should companions be?
Closer isn’t always better.
Basil can sit fairly close because it stays manageable if you pinch it. Alyssum can edge the bed. Marigolds need more space than the tag suggests. Borage needs its own zip code.
Here’s our rough spacing:
- Basil: 10 to 12 inches from tomato stems
- Marigolds: 12 to 18 inches away, depending on type
- Alyssum: bed edge only, thinly sown
- Borage: one plant per bed end, 24 inches from nearest tomato if possible
- Chives: outside corners or bed ends
- Nasturtium: compact types only, corners or pots
If your tomato plants are determinate and smaller, you can get away with tighter spacing. If you’re growing indeterminate cherries, be honest. They’re going to become monsters.
What about containers?
In containers, I’m more careful. A tomato in a 10-gallon pot does not want to share heavily with a bunch of thirsty companions.
One basil plant in a large tomato container can work if you keep both fed and watered. A marigold in its own pot nearby is even better. I wouldn’t put borage in a tomato container unless the container is enormous. Even then, why make life harder?
Container tomatoes dry out fast. Companion planting doesn’t fix that. Drip irrigation or consistent hand watering does.
Five plants we don’t grow next to tomatoes anymore
Some of these are classic “avoid” plants. Some are just things we tried and regretted.
1. Potatoes
Tomatoes and potatoes are cousins, and that’s the problem. They share disease issues, including blight. I don’t want them side by side, and I don’t want potatoes in last year’s tomato bed either.
We once tucked potatoes into the far end of a tomato row because we had extra seed potatoes and no open bed. Bad idea. The potato foliage crowded the lower tomato leaves, watering got awkward, and when disease spots started showing up, I had no idea which crop had started the mess.
Never again.
Keep potatoes in a separate rotation block if you can.
2. Corn
Corn isn’t poisonous to tomatoes or anything dramatic like that. It’s just a terrible neighbor in our setup.
It casts shade, drinks hard, and competes more than you think. We tried a short corn block near tomatoes in 2019, and the edge tomatoes leaned, stretched, and produced less. Not zero. Just less. Enough to notice.
Corn also brings its own pest circus. I’d rather keep it away from tomatoes and use that space for beans or squash in a different bed.
3. Fennel
Fennel gets its own space in our garden, far from most vegetables. It can inhibit nearby plants, and I’ve seen enough sulking around fennel to stop testing it near crops I care about.
We grew bronze fennel near a tomato bed once because it looked gorgeous. It did look gorgeous. The closest tomatoes looked annoyed all season — smaller plants, weaker growth, less fruit. Was fennel the only reason? I can’t prove it. But I’m not repeating the experiment.
Put fennel in a pollinator border or herb area where it won’t crowd vegetables.
4. Brassicas — cabbage, broccoli, kale, cauliflower
I love brassicas. Just not right beside tomatoes.
They’re heavy feeders, and they want space, water, and steady nutrition. Tomatoes want the same. When we tried kale along the tomato edge, the kale got huge early, shaded the young tomatoes, and then became a flea beetle hotel.
Broccoli was worse. Too bulky. Too greedy. Too much leaf mass in a bed that needed airflow.
If you’ve got a huge in-ground garden, maybe you can separate them by several feet and be fine. In a 4-foot raised bed? I wouldn’t.
5. Mature dill
Young dill is fine near tomatoes for a short window. Mature dill is where I’ve had problems.
We let dill grow to full size near tomatoes one year because the beneficial insects loved the flowers. They did. But the dill got tall, shaded seedlings nearby, and the tomato closest to it stayed stunted compared with the others in the same bed.
Now I plant dill near the garden, not inside the tomato bed. Once it starts getting tall, it can have its own patch.
What didn’t work in our tomato companion planting trials
Year one, we overplanted. Of course we did.
We had basil, marigolds, nasturtiums, calendula, carrots, lettuce, and a few volunteer sunflowers all in one tomato bed. It looked charming in June. By August it was a damp mess with no airflow and mosquitoes hiding under the leaves when I harvested.
That bed taught me the rule we still use: companions should solve a problem, not create three new ones.
We also tried planting lettuce under tomatoes as a summer shade crop. It works for about five minutes. Then slugs find it, the lettuce gets bitter, and the tomato foliage makes it hard to harvest without snapping leaves. Maybe someone with drier summers has better luck. Here, no thanks.
Carrots under tomatoes were another “meh.” They grew, but harvesting them disturbed tomato roots, and the carrots were smaller than carrots from their own bed. I’d rather plant alyssum or basil there.
Beans near tomatoes? Fine nearby, not mixed in. Pole beans and tomatoes on the same trellis turned into a tangled disaster. Bush beans along the outside can work if you leave room, but I don’t consider them one of our top tomato companion plants.
And sunflowers. I love them. I don’t plant them next to tomatoes anymore. Too much shade, too many roots, too much “where did the path go?”
The pest side: what changed after we added companions
We still get pests. Anyone promising a pest-free tomato bed is selling a dream with holes in it.
Hornworms still show up. I handpick them in the morning, usually after noticing the little black droppings on a leaf below. Whiteflies appear some years. Aphids come and go. Flea beetles chew eggplants more than tomatoes here, but they’re around.
What changed with better tomato companion plants is balance. We see more hoverflies. More tiny parasitic wasps. More lady beetle larvae. More bees working the borage and basil flowers when I let a few stems bloom.
The garden feels less like a buffet table with one crop on it.
Marigolds and basil are the easiest starting point. If you’re buying just two seed packets, that’s where I’d spend the money: Genovese Basil Seeds for the edge and a Marigold Seeds Pest-Deterrent Variety Pack for corners and borders.
That combo is cheap, useful, and forgiving. Basil needs pinching. Marigolds need room. Neither one requires fancy timing or special gear.
Feeding and watering tomato companion plants without overdoing it
Tomatoes are heavy feeders, but too much nitrogen makes big leafy plants with less fruit. Ask me how I know. Actually, don’t — I’m still irritated about the 2022 Cherokee Purple jungle.
We amend tomato beds with compost before planting, then use a balanced organic fertilizer in the planting hole according to the bag directions. I don’t add extra fertilizer just for basil or marigolds. They can share what’s there.
Drip irrigation helps a lot. We use 1/2-inch mainline with 1/4-inch drip to some beds and inline drip tubing in others. The main thing is keeping water off tomato leaves when possible. Companion plants can make overhead watering even messier because they thicken the bed.
Basil will tell you when it’s thirsty. Marigolds are tougher. Alyssum wilts dramatically, then usually recovers if you catch it in time. Borage has deep opinions about drought and will flop like it’s dying, then perk up after rain.
Mulch keeps everyone calmer. Just don’t bury the tomato stem crown in wet mulch.
My 2026 tomato companion planting recommendation
Plant tomatoes with basil, marigolds, and sweet alyssum as your base. Add one borage if you have room. Use chives, parsley, calendula, or compact nasturtiums where they fit.
Skip potatoes, corn, fennel, brassicas, and mature dill right beside tomatoes.
That’s the plan I’d hand to a friend who wants fewer pest problems without turning the tomato bed into a science project. It’s simple enough to maintain in July, which is when garden plans either prove themselves or become compost.
For a standard 4-by-8 raised bed, I’d do six tomatoes, six to eight basil plants along the front, four to six marigolds at corners and gaps, a thin edge of alyssum, and one borage at the end. Keep the tomato stems clear. Prune lower leaves. Mulch. Water consistently.
Not fancy. Works here.
If you want to build the rest of the garden around that same idea, our broader vegetable companion planting guide is where I’d go next.