Companion Plants That Grow Well With Tomatoes
Tomatoes grow best alongside plants that don't compete for the same nutrients, don't shade them out, and ideally repel pests that damage tomato leaves and fruit. The strongest companions are basil, carrots, marigolds, and parsley—each solves a different problem. Basil repels spider mites and whiteflies while improving tomato flavor. Carrots grow shallow and won't crowd tomato roots. Marigolds deter nematodes in the soil and aphids above it. Parsley attracts beneficial insects that prey on tomato pests.
Other reliable choices include lettuce, spinach, onions, garlic, and borage. Lettuce and spinach stay low and harvest before tomatoes need the space. Onions and garlic repel spider mites and some beetles. Borage attracts pollinators and deters hornworms. All of these can share a raised bed without reducing your tomato yield if you space them correctly.
Key Takeaways
- Plant basil, carrots, marigolds, and parsley as your first choices—they actively protect tomatoes or use different soil layers.
- Keep companion plants at least 12 inches away from the tomato stem to avoid competing for water and nutrients.
- Avoid planting brassicas (cabbage, broccoli, kale), fennel, and potatoes in the same bed, as they stunt tomato growth or attract the same pests.
- Harvest quick-growing companions like lettuce and spinach by mid-summer so tomato vines have room to spread as they mature.
How to Space Companions in a Raised Bed
Tomatoes need 18 to 24 inches between plants, measured from stem to stem. This gives their root systems room to spread and their leaves air circulation to dry after rain. When you add companions, place them in the gaps between tomatoes, not directly next to the stem.
Shallow-rooted plants like lettuce, spinach, and basil can sit 6 to 8 inches from the tomato stem. Deeper-rooted plants like carrots and onions should be 12 inches away. This spacing prevents the companion from stealing water meant for the tomato while still using the same bed efficiently. In a 4-by-8-foot raised bed, you can fit two or three tomato plants with room for four to six companion plants around them.
Tall companions like borage (which grows 2 to 3 feet high) should go on the north side of the bed so they don't shade the tomatoes as the sun moves through the day. Low growers like lettuce and marigolds can go anywhere.
Plants to Avoid Near Tomatoes
Brassicas—cabbage, broccoli, kale, and Brussels sprouts—release compounds that inhibit tomato growth. Tomatoes planted near them produce less fruit and are slower to mature. Fennel secretes a substance that stunts most plants around it, including tomatoes. Potatoes attract the same pests as tomatoes (Colorado potato beetles, early blight fungus) and will increase your pest pressure if planted together.
Avoid corn in a small raised bed—it grows tall, shades the tomatoes, and competes aggressively for nitrogen. Peppers are sometimes listed as companions, but they attract the same pests and diseases as tomatoes, so planting them together concentrates the problem rather than solving it. If you want peppers, grow them in a separate bed or at least 3 feet away.
Pest Control Through Companion Planting
Marigolds are the most reliable pest deterrent for tomatoes. Plant them at the edges of the bed and between tomato plants. They repel spider mites, aphids, and some beetles through their scent and root secretions. Basil works similarly against whiteflies and spider mites—the smell masks the tomato plant's scent, making it harder for pests to find. Borage attracts parasitic wasps and hoverflies, which lay eggs in aphid colonies and feed on them as larvae.
Garlic and onions repel spider mites and some beetles but take up more space than their pest-control benefit justifies in a small raised bed. Use them if you have room and want the harvest, but don't plant them solely for pest control. Parsley and cilantro attract beneficial insects without taking much space, so they're worth including even if you don't harvest them heavily.
Watering and Feeding Companions Together
Tomatoes need consistent moisture—about 1 to 1.5 inches of water per week depending on heat and rainfall. Most companion plants (basil, lettuce, spinach, parsley) need the same amount, so watering once is efficient. Carrots and onions tolerate drier soil, so they won't suffer if you water for the tomatoes.
Tomatoes are heavy feeders and need nitrogen, phosphorus, and potassium throughout the season. Shallow-rooted companions like lettuce and basil won't compete much for deep nutrients, but they will use some nitrogen from the top few inches of soil. If you're using a balanced fertilizer, feed the whole bed together. If you're using a tomato-specific formula high in phosphorus and potassium, explore it around the tomato stems and avoid the companions—they don't need the extra phosphorus.
Borage and basil actually improve soil for tomatoes: borage brings up deep minerals and drops them in leaf litter, while basil's root secretions can suppress some soil pathogens. Neither requires extra feeding.
Timing Harvests to Maximize Bed Space
Quick-growing companions like lettuce, spinach, and radishes mature in 30 to 45 days. Plant them at the same time as your tomatoes, and they'll be ready to harvest by early to mid-summer. Once you pull them, the tomato vines have more room to sprawl as they grow taller and wider. This is the most efficient use of a raised bed—you get two harvests from the same space in one season.
Slower companions like basil, parsley, and marigolds stay in the bed all season. Basil and parsley produce continuously if you pinch off the tops regularly, so they earn their space. Marigolds bloom until frost and keep pests down the whole time. Carrots and onions can stay until late summer or fall, depending on when you want to harvest them.
Common Mistakes When Planting Companions
The most common error is planting companions too close to the tomato stem. Lettuce or basil planted 2 to 3 inches away will compete for water and nutrients, and the tomato will suffer. Measure the distance before planting, or use the width of your hand (about 4 inches) as a rough guide for shallow-rooted plants.
Another mistake is overcrowding the bed. A raised bed isn't a garden—it's a contained space with limited soil. If you plant too many companions, none of them will thrive. Stick to one tomato plant per 16 square feet of bed, plus two to three companions. A 4-by-4-foot bed holds one tomato and two companions comfortably.
Planting tall companions on the south side of the bed is a third common error. Borage, basil grown tall, and parsley can all shade tomatoes if positioned wrong. Keep tall plants on the north side, or pinch them back to keep them under 18 inches high.
Frequently Asked Questions
Can I plant basil and tomatoes in the same pot?
Yes, if the pot is at least 5 gallons. Plant the tomato in the center and basil 8 to 10 inches away at the edge. Water consistently because small pots dry out fast. A 5-gallon pot is tight for both, so a 10-gallon container is better if you have space.
Do I need to plant companions, or will tomatoes grow fine alone?
Tomatoes grow fine alone, but companions reduce pest pressure and use space efficiently. If you have room and want to maximize your harvest, add them. If your bed is small or you prefer simplicity, skip them—tomatoes don't require companions to produce.
What if I plant tomatoes and lettuce together and the lettuce gets bitter?
Lettuce turns bitter in heat, not because of tomatoes. Harvest it before temperatures hit 75°F consistently, or plant a heat-tolerant variety like Jericho or Salvius. Shade cloth over the lettuce (but not the tomatoes) also helps if your summers are hot.
Can I plant mint near tomatoes?
Mint spreads aggressively through underground runners and will take over a raised bed within one season. Grow it in a separate pot or a contained area. If you want mint's pest-repelling benefits, use basil instead—it stays where you plant it.
Should I plant flowers with tomatoes for pollination?
Tomatoes pollinate themselves with wind and vibration, so you don't need flowers for fruit set. Borage and marigolds attract pollinators, which is helpful if you're growing other plants that need insects, but tomatoes don't require them. Plant flowers for pest control and aesthetics, not pollination.