Plants to Avoid With Tomatoes in the Garden

Avoid planting tomatoes near crops that share their major diseases or pests, especially other members of the nightshade family, such as potatoes, peppers, and eggplants. Fennel and walnut trees are also poor neighbors, while plants such as corn can create particular pest or competition problems depending on the garden.

Why neighboring plants matter

Companion planting is the practice of growing different crops near one another. It can make efficient use of space, attract beneficial insects, or provide ground cover, but it is not a guarantee that one plant will improve another’s growth. The most useful reason to plan tomato neighbors is often to reduce avoidable risks: shared pests and pathogens, competition for light and water, or substances released from nearby plants that can interfere with growth.

Distance is only one part of the picture. A tomato plant’s health also depends on crop rotation, airflow, sunlight, soil conditions, watering, and whether infected plant material remains in the garden. A troublesome neighbor does not make tomato growing impossible, and a plant described as a good companion cannot prevent disease on its own.

Nightshade crops: potatoes, peppers, and eggplants

Tomatoes belong to the nightshade family, as do potatoes, peppers, and eggplants. These crops can be affected by some of the same pests and diseases. Growing them together, or in succession in the same bed, can give a shared problem more nearby host plants and make it harder to interrupt its spread.

Potatoes are a particularly important neighbor to consider. They can be affected by late blight, a disease that can also infect tomatoes. The risk depends on local conditions and the presence of the pathogen; simply planting the crops apart does not guarantee protection. Still, keeping them in separate areas when possible, removing diseased material promptly, and avoiding repeated nightshade crops in one bed are sensible precautions.

Peppers and eggplants are not automatically harmful to tomatoes. The concern is that they share a family and may share certain pests or diseases, while also competing for room, light, and water when crowded. If space is limited, give each crop enough room for air to move around its leaves and follow local guidance on rotation and disease management.

Fennel and walnut trees

Fennel is often discouraged as a tomato companion because it can interfere with the growth of nearby garden plants. Its effect may vary with the plant, distance, and growing conditions, so the practical choice is to place fennel away from the vegetable bed rather than rely on a precise separation that works in every garden. Fennel can also spread readily in some settings, making its placement worth considering for reasons beyond tomatoes.

Black walnut trees are a different case. They produce juglone, a naturally occurring compound associated with reduced growth or injury in some sensitive plants. Tomatoes are commonly listed among plants that may be affected. The concern is strongest close to a living walnut tree and around roots or plant material in the surrounding soil; the extent varies with site conditions. If tomatoes repeatedly struggle near a walnut, choose another location rather than assuming fertilizer or extra watering will solve the problem.

Not every tree called a walnut has the same relevance, and sensitivity can vary among plants. If the tree’s identity is uncertain, a local horticulture service can help identify it and advise on planting choices. Avoid moving soil or plant debris from a walnut area into a tomato bed without understanding the potential effect.

Corn and other plants that may cause trouble

Corn is not a universal tomato enemy, but it can be an inconvenient neighbor. Both crops need substantial resources as they grow, and tall corn can shade tomatoes if the layout or sun exposure is poor. Corn earworm is also known by the name tomato fruitworm because the caterpillar can feed on both corn and tomatoes. Where that pest is present, planting the two crops close together may provide it with more host plants.

Brassicas, such as cabbage and broccoli, are sometimes named as plants to avoid with tomatoes. They are not in the same family and are not inherently toxic to tomatoes. The more practical issue is that large, closely planted crops can compete for space, light, water, and nutrients. Treat this as a spacing and garden-management concern, not a strict prohibition.

Likewise, a plant’s reputation as a “bad companion” may come from a specific pest, a particular growing arrangement, or anecdotal tradition rather than a guaranteed effect. Consider what is actually happening in your bed: shade, crowding, recurring disease, or a clearly identified pest. That is more useful than relying on a rigid list detached from local conditions.

How to choose a tomato bed

When choosing a site, start with the tomato’s basic needs. Tomatoes grow best in a sunny position with suitable soil and enough room for the plants to develop. Good airflow helps leaves dry, while a crowded bed can make it harder to inspect plants and manage disease. Follow the spacing guidance for the variety you are growing, since growth habit differs.

  • Keep tomatoes away from potatoes and, where practical, separate them from peppers and eggplants.
  • Avoid placing tomato beds close to black walnut trees if tomatoes have shown poor growth there.
  • Site fennel outside the main vegetable bed rather than beside tomatoes.
  • Position tall crops so they do not block the tomatoes’ sunlight.
  • Rotate crop families when possible, and do not leave diseased leaves or fruit in the bed.
  • Check local pest and disease guidance, since pressure varies by region and season.

Rotation means changing what grows in a particular area over time, especially avoiding planting a crop family in the same spot year after year. A small garden may not allow a perfect rotation. In that case, use the space you have thoughtfully, keep plants healthy, remove affected material, and seek local advice if a recurring disease becomes a problem.

What to plant nearby instead

There is no single set of companion plants that reliably boosts every tomato crop. Herbs and flowers can add diversity, provide useful blooms for insects, or fit into the spaces between larger plants, but results depend on the species and layout. Marigolds are often suggested as companions, yet planting them does not guarantee control of tomato pests. Basil is also commonly grown near tomatoes; that pairing may be convenient, but it should not be treated as a substitute for sound growing practices.

Choose neighbors according to practical needs. A low-growing plant may use space without shading a tomato, while a flower that attracts pollinators or beneficial insects can contribute to a varied garden. Check that the chosen plant will not crowd the tomato, compete heavily for water, or become difficult to manage. Leave room to reach the tomato stems and inspect the undersides of leaves.

Common mistakes and misconceptions

A frequent mistake is treating every companion-planting chart as a list of proven rules. Some pairings have a clear reason to avoid them, such as shared disease hosts or a walnut’s effect on sensitive plants. Others are recommendations that may depend on climate, spacing, or gardening tradition. “Bad companion” does not always mean a plant releases a harmful substance or will kill a tomato.

Another mistake is expecting plant choice alone to prevent disease. Tomatoes can become infected even when grown away from other nightshades, because pathogens may arrive through wind, water, tools, seedlings, or contaminated plant material. Use healthy plants, avoid working among wet foliage when possible, maintain airflow, and follow reliable local advice when identifying a disease.

Finally, do not confuse ordinary competition with a special incompatibility. A large crop planted too close can deprive tomatoes of light or water regardless of plant family. Adjusting spacing and layout may be enough; replacing a neighbor is not always necessary.

Frequently Asked Questions

Can I plant tomatoes next to peppers?
Yes, but both are nightshades and can share some pests and diseases. Give them adequate space, avoid crowding, and rotate them when your garden layout allows.

Can tomatoes grow near potatoes?
They can, but it is generally better to separate them because both can be affected by late blight and other shared problems. Keep diseased plants out of the garden and follow local disease guidance.

Why should tomatoes not be planted near walnuts?
Black walnut trees produce juglone, which can harm sensitive plants, and tomatoes may be affected. If tomatoes perform poorly close to a walnut, try growing them elsewhere.

Is fennel really bad for tomatoes?
Fennel is commonly kept away from vegetable crops because it may interfere with nearby growth. The effect is not a guaranteed outcome in every garden, so placing fennel outside the tomato bed is a cautious option.

Are marigolds good tomato companions?
They can be planted near tomatoes if there is room, but they are not a guaranteed pest-control method. Keep tomato spacing, watering, and disease prevention in mind regardless.

What is the main rule for choosing tomato neighbors?
Prioritize avoiding shared disease and pest problems, especially with other nightshades, and prevent shade and crowding. Treat companion-planting claims as context-dependent rather than universal rules.

Bottom line

The strongest reasons to avoid certain tomato neighbors are shared pests and diseases among nightshades, possible interference from fennel, and the risk posed by black walnut trees. Corn and large neighboring crops can create pest, shade, or competition issues, but they are not automatically incompatible. A sunny, well-spaced bed, sensible rotation, and attention to local conditions matter more than following a rigid companion-planting chart.