Companion planting means growing plants near each other for a reason, such as sharing space, attracting beneficial insects, or helping to keep certain pests away. Tomatoes have a long list of recommended companions, but the evidence behind each one varies a lot. This guide covers the companions that are most often recommended, the plants to keep away from tomatoes, and what the evidence does and doesn’t support. It also has notes for growing tomatoes in New Zealand, where the seasons and sun direction differ from the Northern Hemisphere sources most gardening advice comes from.
What companion planting can and cannot do
Companion planting can help in a few clear ways. Taller plants like tomatoes can shade lower companions in hot weather, low-growing plants can cover bare soil and keep weeds down, and flowers can draw in insects, including pollinators and some predators of common pests. Some of these benefits are well documented. Others rest mainly on gardeners’ experience.
Companions don’t replace the basics. Tomatoes still need full sun, steady watering, good airflow between plants, and fertile soil. Pest and disease problems are usually best handled by choosing resistant varieties, spacing plants for airflow, rotating crops, and checking plants regularly. A companion can support this work, but it rarely replaces it.
Best companions for tomatoes
Basil
Basil is the companion most often recommended for tomatoes. The two plants like similar conditions: warm weather, full sun, and steady moisture in well-drained soil. Basil is also easy to harvest from the same bed. The claim that it improves the flavour of nearby tomatoes is common, but it rests mostly on anecdote. Basil is frost-tender, so plant it out with your tomatoes, after the last frost.
Marigolds
Marigolds are the other companion that appears on nearly every list. French marigolds (Tagetes patula) are the type most often recommended for tomato beds. Some research suggests certain marigold varieties can reduce root-knot nematodes, soil pests that damage tomato roots, although results vary. The claims that marigolds deter whiteflies and aphids are weaker, and some gardeners report spider mites on marigolds. For a closer look at the evidence, see why grow marigolds with tomatoes.
Other herbs
Many herbs grow well near tomatoes. Chives, parsley, oregano, thyme, and marjoram are often grown in the same beds. Most of them are low-growing or compact, and their flowers attract beneficial insects if you let some of them bloom. Dill and fennel are the exceptions. Young dill is fine, but mature dill and fennel are widely reported to hold back tomato growth, so keep them at the edges of the garden or in separate beds. For more detail, see growing herbs and tomatoes together.
Beans and peas
Beans and peas are legumes. Bacteria on their roots take nitrogen from the air and make it available in the soil. This doesn’t feed tomatoes directly in the same season, but it can build soil fertility over time, especially when legumes are rotated into beds that have carried heavy feeders. Plant bush beans on the sunny side of the tomatoes so they aren’t shaded. In New Zealand that is the north side, and in the Northern Hemisphere it is the south side. Pole beans need their own support and should be kept away from the tomato stems.
Onions, chives and garlic
Onions, chives, and garlic are often grown near tomatoes because they’re compact and can share space while the tomatoes are small. Claims that alliums deter tomato pests or diseases are mostly anecdotal. Treat any benefit as a bonus, not the reason to plant them.
Lettuce and leafy greens
Looseleaf lettuce, spinach, and rocket can grow in the partial shade under tomatoes, especially in hot weather, when greens in full sun tend to bolt. Choose cut-and-come-again types. Avoid heading lettuce, which needs a lot of steady water and nutrients and competes with tomatoes for them.
Flowers that draw beneficial insects
Sweet alyssum, calendula, zinnias, and borage are often planted at the edges of tomato beds to attract hoverflies, parasitic wasps, and other insects that feed on or parasitise pests. Nasturtiums are commonly used as a trap crop for aphids, drawing them away from the tomatoes. Most of this is based on experience rather than trials. Insects drawn to flowers aren’t always helpful, so check your plants regularly.
Plants to keep away from tomatoes
A few plants are widely advised against near tomatoes. Some share diseases, some compete hard for nutrients, and some release compounds that slow growth. The two strongest cases are potatoes, which share diseases with tomatoes, and black walnut, which releases a compound that harms tomatoes. Corn, fennel, brassicas, blueberries, and mature dill are also commonly listed. What not to plant near tomatoes covers each one and how strong the case is. Cucumbers are a conditional case: they can share a bed with tomatoes if you plan the space. See cucumbers and tomatoes.
Companion planting tomatoes in New Zealand
Most companion planting advice comes from the Northern Hemisphere, so a few adjustments help in New Zealand.
- Timing. Tomatoes, basil, and marigolds are usually planted out in spring, once the risk of frost has passed. That date varies from the far north to cooler southern areas, so check local advice before planting.
- Sun direction. The sun is to the north. Put shorter companions such as beans, lettuce, and basil on the north side of the tomatoes so they aren’t shaded, and keep the tallest plants on the south side.
- Hardy and tender herbs. Basil is frost-tender. Perennial herbs such as thyme, oregano, and chives come back year after year in many regions.
- Local varieties. Ask a local garden centre or seed supplier which tomato, cucumber, and marigold varieties do well in your area. Their advice is often more reliable than general guides.
Tips with thin evidence
Some popular tomato tips come up often, and the evidence for them is weak:
- Eggshells in the planting hole. Eggshells break down slowly and add only small amounts of calcium. Blossom-end rot is usually linked to uneven watering rather than a lack of calcium in the soil.
- Baking soda around the plants. There is little reliable evidence that sprinkling baking soda around tomatoes helps. Sodium can harm plants if it builds up in the soil.
- Epsom salt. Epsom salt is magnesium sulphate. It only helps if a soil test shows low magnesium. Otherwise it doesn’t improve yields.
- Coffee grounds. Used coffee grounds add small amounts of nutrients. A thick layer can form a crust that sheds water, so add them thinly or mix them into compost.
Planning the bed
Spacing matters more than any single companion. Check the spacing on each seed packet or label, and leave room for air to move between plants. Crowded plants stay wetter, which encourages fungal disease. Keep watering steady, and water at the base of the plants rather than overhead. Varieties with different growth habits can shade each other, so read can you plant different tomatoes together? before mixing them.
Keep tomatoes and potatoes out of the same bed. Rotate nightshade crops (tomatoes, potatoes, peppers, and eggplant) to a different bed each season, so they don’t return to the same soil every year.
Start with two or three companions that suit your garden and climate, such as basil and a few flowers, and watch how they perform before you add more. For more on individual plants, see the guides on marigolds, herbs, and cucumbers.