As an Amazon Associate I earn from qualifying purchases. This page may contain affiliate links.
Companion planting with tomatoes means placing tomatoes near plants that support their growth, attract helpful insects, or deter pests, while keeping apart plants that compete for the same nutrients or share the same diseases. Done well, it can reduce pest pressure, improve pollination and make better use of limited bed space. This guide covers the partners that work, the ones to avoid, and how to lay out your tomato bed so the benefits actually show up at harvest.
What Companion Planting with Tomatoes Can and Cannot Do
Companion planting is not a substitute for good soil, consistent watering, or disease-resistant varieties. The evidence for many popular pairings is mixed, and university extension programs generally describe the benefits as modest and situational. The most reliable gains come from three sources: attracting beneficial insects, using plants as a physical barrier or trap crop, and avoiding plants that share tomato diseases or compete heavily for water and nitrogen. Think of companion planting as one tool in a larger system rather than a guarantee.
Best Companion Plants for Tomatoes
Herbs that repel pests and attract pollinators
Basil is the classic tomato companion. Gardeners widely plant it nearby and report that it can help discourage some pests, although the strongest case is simply that it attracts pollinators and grows well in the same warm, sunny conditions. Plant basil 8 to 12 inches from tomato stems so it does not crowd the root zone. Other herbs that pair well include:
- Parsley (flat-leaf or curly): attracts hoverflies and parasitic wasps whose larvae eat aphids and caterpillars.
- Dill and fennel: draw predatory wasps, but fennel can inhibit many plants, so keep it at the edge of the bed or in a separate container.
- Chives and garlic: the strong odor is thought to confuse some pests, and these alliums are compact enough to fit at the bed edge.
- Oregano and thyme: low-growing and drought-tolerant, they attract beneficial insects without competing much for water.
Flowers that bring in beneficial insects
Flowers are often the most effective companions because they provide nectar and pollen for predators and pollinators through the whole season. Good choices include:
- Marigolds (Tagetes): French marigolds are commonly planted among tomatoes. Their roots may suppress some root-knot nematodes, though results vary by variety and soil. Use them as a supporting measure, not a cure.
- Nasturtiums: they act as a trap crop for aphids, drawing them away from tomatoes. Check them regularly and remove heavily infested leaves.
- Alyssum (sweet alyssum): a low-growing annual that attracts hoverflies and lacewings.
- Calendula: attracts hoverflies and bees and is easy to direct-sow.
Vegetables that pair well
- Carrots and onions: they occupy different root zones and do not compete directly with tomatoes. Onions may help deter some pests.
- Lettuce and spinach: cool-season greens grow in the shade of tomatoes early in the season and finish before the tomato canopy closes in.
- Peppers and eggplant: they share similar culture needs (warmth, regular feeding, even moisture), but they also share some pests and diseases, so pair them with care and rotate plantings yearly.
Plants to Keep Away from Tomatoes
Some plants are poor neighbors for tomatoes because they share diseases, attract shared pests, or compete heavily for resources. Avoid these in the same bed or within a few feet:
- Potatoes: both are in the nightshade family (Solanaceae) and share early blight, late blight and Colorado potato beetle pressure. Keep them apart and rotate the beds.
- Cabbage, broccoli and other brassicas: they are heavy feeders that compete with tomatoes for nitrogen and can attract cabbage worms and aphids that move to nearby plants.
- Fennel: its growth chemicals can inhibit tomato growth, as well as many other vegetables.
- Corn: corn is a frequent host for tomato fruitworm (corn earworm), and tall stalks can shade out young tomatoes.
- Walnut trees: the roots release juglone, which is toxic to tomatoes. Keep tomatoes well away from black walnut trees.
How to Lay Out a Tomato Companion Bed
Step 1: Set tomato spacing first
Determinate (bush) varieties need about 2 to 3 feet between plants. Indeterminate (vining) varieties grown on stakes or cages need 2 to 3 feet as well, and 3 to 4 feet if you let them sprawl. Plan your companions around these distances rather than squeezing them in afterward. In a 4-foot by 8-foot raised bed, two rows of tomatoes spaced 24 inches apart, with companions along the edges, is a practical layout.
Step 2: Place tall companions on the north or west side
In the Northern Hemisphere, put taller companions where they will not shade tomatoes. Tomatoes need at least 6 to 8 hours of direct sun. Keep corn, sunflowers and similar tall crops on the north or west edge of the garden, away from the bed.
Step 3: Interplant low-growing flowers and herbs
Fill the gaps at the bed edges and between tomato plants with basil, marigolds, alyssum or nasturtiums. Leave at least 8 inches of clearance around each tomato stem so you can prune, check for pests, and allow air to move through the canopy.
Step 4: Time the planting
Set out tomato transplants after nighttime temperatures stay above 50°F, which is usually two to three weeks after your last spring frost. Sow basil and marigold seed at the same time or after the tomatoes are established. Calendula and alyssum can go in earlier, since they tolerate cooler soil. Sow lettuce and spinach in early spring and harvest them before tomatoes get large.
Step 5: Mulch and water consistently
Apply 2 to 3 inches of straw or shredded leaves around the entire bed, keeping mulch a few inches from tomato stems. Companion plants share this mulch and benefit from the same deep, consistent watering. Water at the base in the morning rather than overhead to reduce early blight.
Common Mistakes with Companion Planting for Tomatoes
- Overcrowding: Companions that grow too big cause shading, poor airflow and higher disease risk. Measure before you plant.
- Expecting miracles: Marigolds and basil help but will not stop a severe blight outbreak or a heavy hornworm infestation. Check plants weekly and hand-pick pests.
- Ignoring rotation: Planting tomatoes in the same spot year after year builds up soil-borne diseases regardless of companions. Rotate tomato beds on a three- to four-year cycle.
- Planting fennel near tomatoes: This is one of the most cited incompatibilities. Keep fennel in a separate bed.
- Forgetting to deadhead flowers: Spent marigold and calendula blooms can become a problem. Remove them to encourage continued flowering.
Tips for Success
- Start with three to four companions per 4-foot bed rather than filling every gap.
- Keep a simple garden log noting which pairings you tried and how pest and disease pressure looked by midsummer.
- Scout the undersides of leaves weekly for aphids, whiteflies and early blight spots.
- Choose disease-resistant tomato varieties (look for VFN or similar codes on seed packets) to reduce the disease burden companions have to handle.
- For a broader plan on bed preparation, see Preparing Garden Soil for Planting: A Practical Guide and Vegetable Gardening Basics: Planting to Harvest.
- Soil moisture meter: helps you confirm that companions and tomatoes are getting even moisture at root depth rather than guessing from the surface. View on Amazon
- Drip irrigation kit for raised beds: delivers water to the base of each plant, reducing the wet foliage that spreads early blight. View on Amazon
- Tomato cage or stake set: keeps plants upright and opens airflow, which matters more when companions fill the bed. View on Amazon
- Hand pruning shears: for removing suckers, diseased leaves and spent flowers without damaging stems. View on Amazon
Recommended gear
These tools support the practices above, especially regular scouting and consistent watering.
FAQ
Does basil really help tomatoes grow better?
Basil is widely planted with tomatoes, and it attracts pollinators and some beneficial insects. Evidence that it repels specific pests is mostly anecdotal, so treat it as a useful companion rather than a proven pest control.
Can I plant marigolds with tomatoes?
Yes. French marigolds are a common and low-risk choice. Their root effects on nematodes are real for some varieties but inconsistent, so keep up with scouting and crop rotation.
How far should companion plants be from tomatoes?
Keep herbs and flowers at least 8 to 12 inches from tomato stems. Taller companions should be placed on the north or west side so they do not shade the tomatoes.
Is it safe to plant peppers near tomatoes?
Peppers and tomatoes can share space, since both need warmth and regular feeding. They do share some pests and diseases, so give each plant adequate spacing and rotate the bed yearly.
Why should I keep potatoes away from tomatoes?
Potatoes and tomatoes are both nightshades and share early blight, late blight and some insect pests. Planting them near each other can speed the spread of disease through the bed.
Do companion plants replace pest control?
No. Companion planting supports pest management but does not replace regular inspection, hand-picking, and disease-resistant varieties. Combine them for the best results.
When should I plant companions with tomatoes?
Plant tomatoes once nights stay above 50°F. Sow basil and marigolds at the same time or shortly after. Calendula and alyssum can be planted a little earlier, and lettuce or spinach should go in before the tomatoes are set out.
Conclusion
Companion planting with tomatoes works best when you pair plants with clear purposes: herbs and flowers to attract beneficial insects, taller companions placed where they will not shade the crop, and a firm rule to keep potatoes, brassicas, fennel and corn away from the bed. Set your tomato spacing first, plan your companions around it, and keep notes each season. Small, observed changes add up to healthier plants and a more productive garden.