Curious Minds

Clear answers to science and history questions

Why Do Basil and Tomatoes Grow Well Together

· 4 min read · Science

Basil and tomatoes grow well together mainly because basil repels certain pests that target tomatoes, and both plants thrive under similar growing conditions. This companion planting works best when they are grown in full sun with well-drained soil and adequate spacing.

Basil Repels Pests That Harm Tomatoes

Basil emits a strong scent that deters pests like thrips, whiteflies, and aphids. These insects commonly feed on tomato plants, causing stunted growth, curled leaves, and reduced fruit yield. The aromatic oils in basil—such as linalool and eugenol—interfere with insect navigation and feeding behaviors.

Tomato hornworms, a major pest for tomatoes, are less likely to infest plants near basil. While basil does not directly kill hornworms, its presence discourages egg-laying by the adult moths. Marigolds are often used alongside basil for added hornworm deterrence.

Planting basil around the base of tomato plants or in adjacent rows increases this protective effect. For best results, space basil 12–18 inches (30–45 cm) from tomato stems to avoid root competition while maintaining pest-repelling benefits.

Both Plants Prefer Full Sun and Warm Soil

Tomatoes and basil both require at least 6–8 hours of direct sunlight per day. They grow poorly in shaded or cool locations. When grown together, they can share a sunny garden bed or container without competing for light.

Soil temperature should be at least 60°F (16°C) for both to establish well. They perform best in soil that drains quickly and remains consistently moist but not waterlogged. A pH between 6.0 and 6.8 supports healthy growth for both species.

Because they share these needs, gardeners can apply the same watering and sunlight management to both plants. Drip irrigation or soaker hoses help maintain even moisture without wetting foliage, which reduces fungal disease risk.

Factors That Affect Their Compatibility

Factor Effect on Basil and Tomatoes Recommendation
Spacing Too close: root competition; too far: reduced pest protection 12–18 inches (30–45 cm) apart
Watering Overwatering causes root rot; underwatering stresses plants Water when top 1 inch (2.5 cm) of soil is dry
Soil Type Clay retains too much water; sand drains too fast Use loamy soil with compost
Container Size Small pots limit root growth and increase drying 5-gallon (19 L) minimum for one tomato and one basil plant

They Share Similar Water and Nutrient Needs

Tomatoes are heavy feeders, requiring nitrogen, phosphorus, and potassium throughout the growing season. Basil has moderate nutrient demands but benefits from the same balanced fertilizer regimen. A 10-10-10 NPK fertilizer applied every 3–4 weeks supports both plants when used at half-strength.

Both respond well to compost mixed into the soil before planting. About 2–3 inches (5–7.5 cm) of compost worked into the top 6 inches (15 cm) of soil improves fertility and moisture retention. Avoid high-nitrogen fertilizers after tomatoes begin flowering, as this can promote leafy growth over fruiting.

Watering frequency depends on climate and container size. In hot weather, container-grown plants may need water daily. In-ground plants typically need watering every 2–3 days, depending on rainfall. Always check soil moisture before watering.

Worked Example: Growing Basil and Tomatoes in a 5-Gallon Container

A single tomato plant and one basil plant can grow together in a 5-gallon (19 L) container. Choose a determinate (bush) tomato variety like 'Roma' or 'Celebrity' to avoid excessive size. For basil, use Genovese or Sweet basil, which are standard culinary types.

Fill the container with a mix of 60% potting soil and 40% compost. Place it in a location that receives 6–8 hours of direct sun. Plant the tomato in the center and the basil 12 inches (30 cm) to the side. Water thoroughly after planting.

Apply a half-strength 10-10-10 liquid fertilizer two weeks after transplanting, then every three weeks. Water when the top inch of soil feels dry—typically every other day in summer. Harvest basil leaves regularly to encourage bushy growth, which also improves air circulation.

In this setup, tomato yield averages 8–12 lbs (3.6–5.4 kg) per season, and basil can be harvested weekly for about 10–12 weeks. No additional pest control is usually needed if basil is healthy and actively growing.

Rule of Thumb for Companion Planting Success

For every tomato plant, grow at least one basil plant within 18 inches (45 cm). This ensures consistent pest deterrence and environmental compatibility. If growing multiple tomatoes, place one basil plant between every two tomato plants.

Start both plants indoors 6–8 weeks before the last frost. Transplant outdoors when nighttime temperatures stay above 50°F (10°C). Pinch off the top leaves of basil when it reaches 6 inches (15 cm) tall to promote branching.

Monitor for signs of nutrient deficiency: yellowing lower leaves indicate nitrogen shortage; purple stems suggest phosphorus deficiency. Adjust fertilization accordingly, but avoid overfeeding, which can reduce flavor in both herbs and fruit.

When the Combination Doesn’t Work

Problems arise when basil and tomatoes are overcrowded or grown in poor soil. If leaves turn yellow, check for overwatering or root rot. Ensure containers have drainage holes and soil is not compacted.

Basil may wilt in extreme heat, especially if grown in black pots that absorb heat. Use light-colored containers or shade them during peak afternoon sun. Tomatoes that drop flowers may lack pollination; gently shake plants in the morning to release pollen.

If pests persist despite basil’s presence, inspect leaves for eggs or insects. Use insecticidal soap or neem oil as a safe, organic option. Avoid spraying during full sun to prevent leaf burn—apply in early morning or late evening.

In this article
  1. Basil Repels Pests That Harm Tomatoes
  2. Both Plants Prefer Full Sun and Warm Soil
  3. Factors That Affect Their Compatibility
  4. They Share Similar Water and Nutrient Needs
  5. Worked Example: Growing Basil and Tomatoes in a 5-Gallon Container
  6. Rule of Thumb for Companion Planting Success
  7. When the Combination Doesn’t Work