Plants That Stunt Tomato Growth or Attract Pests
Some plants actively harm tomatoes when grown nearby. Brassicas — cabbage, broccoli, and kale — compete with tomatoes for the same nutrients and can stunt both crops. Fennel releases a chemical into the soil that inhibits tomato root growth; keep it at least 3 feet away or in a separate bed entirely. Potatoes share the same diseases as tomatoes, especially early blight and late blight, so planting them in the same bed or adjacent rows spreads infection between crops.
Corn draws the same pests that damage tomatoes — particularly hornworms and cutworms — and creates competition for water and nitrogen. If you grow corn, plant it on the opposite side of your garden or in a different area altogether. Walnut trees produce a toxin called juglone that poisons tomato plants; if you have a walnut on your property, keep tomatoes at least 50 feet away from the drip line.
Key Takeaways
- Brassicas like cabbage and broccoli compete with tomatoes for nutrients and should be planted in separate beds.
- Fennel, potatoes, and corn all reduce tomato yield or spread disease and should be kept at least 3 feet away or farther.
- Walnut trees release a toxin that kills tomatoes; maintain at least 50 feet of distance if you have one on your property.
- Aromatic herbs like basil and parsley actually benefit tomatoes, so plant them nearby instead of avoiding them.
- Spacing matters as much as plant choice — even compatible plants can shade or crowd tomatoes if placed too close.
Herbs and Flowers That Compete for Space
Not all bad companions are toxic or disease-prone. Some straightforward take up space and resources that tomatoes need. Dill grows tall and shades tomato foliage, reducing sun exposure and slowing ripening. Fennel (mentioned above for its chemical toxicity) also grows large and crowds the root zone. If you want dill in your garden, plant it where it will not shade your tomato bed — typically on the north side of other crops.
Mint spreads aggressively through underground runners and will overtake a tomato bed if not contained. If you want mint, grow it in a pot or a raised bed with solid barriers on all sides. Sage and rosemary are woody perennials that compete for water in dry conditions; they work better in a separate herb section than mixed into a vegetable bed.
Nightshade Family Plants to Avoid
Tomatoes belong to the nightshade family, which means they share diseases with other nightshades. Peppers, eggplants, and potatoes all carry the same fungal and bacterial infections. If one plant gets early blight or fusarium wilt, the others catch it quickly. Crop rotation — moving nightshades to a different bed each year — is the standard way to manage this, but in a small garden, spacing them far apart (at least 4 feet) reduces the spread.
If you have had disease problems in past seasons, do not plant any nightshade in the same spot for at least three years. This includes volunteer tomatoes that sprout from last year's compost or fallen fruit. Remove them as soon as you spot them.
Tall Plants That Shade Tomato Foliage
Tomatoes need six to eight hours of direct sun daily to ripen fruit and prevent fungal disease. Any plant taller than your tomato variety will cast shade as the sun moves across the garden. Sunflowers, corn, and pole beans all grow tall enough to block light. If you want to grow these crops, plant them on the east or north side of your tomatoes so they do not shade the afternoon sun.
Even shorter plants can be a problem if they are planted too close. A tomato plant needs at least 24 to 36 inches of space around it (depending on the variety) to allow air circulation and light penetration to the lower leaves. Crowding invites fungal disease and makes it harder to spot pests early.
Plants That Attract Tomato Pests
Cabbage and other brassicas draw cabbage moths and loopers, which also feed on tomato foliage. Corn attracts hornworms — the same pest that devastates tomatoes. Beans (especially bush beans planted close by) can harbor spider mites that move to tomatoes in hot, dry weather. If you grow beans, space them at least 3 feet away and water regularly to keep mites from migrating.
Some plants attract beneficial insects that eat tomato pests, so the relationship is not always one-way. But if you have had hornworm or spider mite problems in the past, avoid planting their preferred host plants nearby.
What to Plant Instead: Good Tomato Companions
Basil, parsley, and marigolds are the classic tomato companions. Basil repels some insects and improves tomato flavor. Marigolds deter nematodes in the soil and some flying pests. Carrots, onions, and garlic do not compete with tomatoes and may help repel certain pests. Borage attracts pollinators and beneficial wasps. Nasturtiums act as a trap crop — pests prefer them to tomatoes, so they draw insects away.
The key is to choose plants that occupy different soil depths, have different nutrient needs, or actively repel pests. A tomato bed with basil at the base, marigolds around the edges, and carrots in the gaps will produce more tomatoes with fewer problems than a bed crowded with competing plants.
Spacing and Timing to Prevent Problems
Even plants that are not toxic or disease-prone can harm tomatoes if planted too close or at the wrong time. A general rule: keep any plant that grows taller than 18 inches at least 3 feet away from tomato stems. If you are planting a spring crop of brassicas before tomatoes go in, remove them by early summer so they do not shade the tomato bed as it matures.
If you are using a small space, consider succession planting: grow cool-season crops (lettuce, spinach, peas) in spring, remove them by late May, then plant tomatoes. This avoids the competition problem entirely. In fall, plant brassicas after tomatoes are done for the season.
Frequently Asked Questions
Can I plant peppers next to tomatoes?
Peppers and tomatoes share the same diseases, so they should not be in the same bed or adjacent rows. If you have limited space, plant them at least 4 feet apart and watch for early blight or wilt symptoms on either plant. Remove any infected leaves when ready to prevent spread.
Is it okay to plant basil with tomatoes?
Yes. Basil is one of the best tomato companions. It does not compete for nutrients, may repel some pests, and is straightforward to harvest alongside tomatoes. Plant it at the base of the tomato plant or in the spaces between plants.
What should I do if I already planted something too close to my tomatoes?
If the plant is not yet large, remove it and replant it elsewhere. If it is established, monitor your tomatoes closely for signs of shade stress (slow growth, pale leaves) or disease. You can also prune the competing plant to reduce its size, though this works better for herbs than for large vegetables.
Can I plant tomatoes where I grew potatoes last year?
Not in the same spot. Wait at least three years before planting tomatoes in a bed where potatoes grew, because soil-borne diseases can persist. If you must reuse the space sooner, remove the top 6 inches of soil and replace it with fresh compost.
Do I need to keep corn completely away from tomatoes?
Corn does not have to be in a different part of the garden, but it should be far enough away that it does not shade tomatoes or allow pests to move easily between plants. A distance of at least 6 feet, or a physical barrier like a fence or tall trellis, is usually enough.