Yes, you can plant squash and tomatoes together, but they need space and careful placement

Squash and tomatoes can grow in the same garden bed, but they compete for water and nutrients, and squash vines will shade tomato plants if you don't manage them. The key is giving each plant enough room to spread without crowding the other. Tomatoes need 2 to 3 feet of space around them and full sun for 6 to 8 hours daily. Squash vines sprawl across 4 to 6 feet or more, so if you plant them close to tomatoes, the vines will eventually cover the tomato stems and block sunlight.

The best approach is to plant squash on the edge of your bed or in a separate section where the vines can run along the ground without reaching your tomatoes. Alternatively, trellis your squash vertically so it grows up a fence or stake instead of spreading sideways. This keeps the ground clear for tomatoes and improves air circulation around both plants, which reduces disease.

Key Takeaways

  • Squash vines spread 4 to 6 feet or more and will shade tomatoes if planted too close, so position squash at the edge of the bed or trellis it vertically.
  • Both plants need consistent water and nutrients, so amend your soil with compost before planting and water deeply at the base of each plant, not the leaves.
  • Squash and tomatoes attract different pests, so planting them together does not increase pest pressure, but watch for powdery mildew on squash and early blight on tomatoes.
  • Space tomatoes 2 to 3 feet apart and give squash vines at least 4 feet of room to sprawl, or use a trellis to grow squash vertically and save space.

How to arrange squash and tomatoes in the same bed

If your bed is at least 4 feet wide and 8 feet long, you can fit both plants comfortably. Plant tomatoes in a row down the center or along one side, spaced 2 to 3 feet apart. Plant squash at the opposite end or along the far edge, where the vines can run away from the tomatoes as they grow. This layout gives tomatoes the full sun they need and lets squash vines spread without shading them.

For a smaller bed, trellis the squash instead. Drive a sturdy stake or small fence into the ground at one end of the bed, plant squash at the base, and train the vines to climb as they grow. Tie the main stem loosely to the trellis with soft twine or cloth strips, and let side shoots grow along the structure. This method saves space and keeps the ground open for tomatoes. Trellised squash also dries faster after rain, which reduces fungal disease.

Water and soil needs when growing both plants together

Squash and tomatoes both need consistent moisture, but they have different watering schedules. Tomatoes prefer soil that dries slightly between waterings—soggy soil causes root rot and fungal disease. Squash, especially summer squash like zucchini, tolerates wetter soil and actually produces better with regular water. Water at the base of each plant in the early morning, not on the leaves, to keep foliage dry and prevent disease.

Amend your bed with 2 to 3 inches of compost before planting to improve drainage and add nutrients. Both plants are heavy feeders, so side-dress with compost or a balanced fertilizer (such as 10-10-10) every 3 to 4 weeks once they start flowering. Squash will show nutrient stress first—leaves turn pale yellow and fruit production slows. Tomatoes may develop blossom-end rot (dark spots on the bottom of fruit) if calcium is low, which usually means inconsistent watering rather than a true nutrient shortage.

Pest and disease management for squash and tomatoes

Squash and tomatoes attract different pests, so planting them together does not increase pest problems. Squash is vulnerable to squash bugs, cucumber beetles, and powdery mildew. Tomatoes are targets for hornworms, whiteflies, and early blight. Check squash leaves weekly for egg clusters on the undersides—squash bug eggs are brown and laid in neat rows, and you can crush them by hand before they hatch. For tomatoes, remove the lowest leaves once the plant is 12 inches tall to improve air flow and reduce early blight spores from splashing up from soil.

Powdery mildew on squash appears as a white coating on leaves and spreads quickly in warm, humid conditions. Spray affected leaves with a sulfur-based fungicide or a baking soda solution (1 tablespoon baking soda plus 1 tablespoon horticultural oil per gallon of water) every 7 to 10 days. Early blight on tomatoes shows as brown spots with concentric rings on lower leaves. Remove infected leaves and improve air circulation by pruning side shoots and spacing plants farther apart if possible.

Timing and succession planting with squash and tomatoes

Plant tomatoes and squash at the same time in spring, after the last frost date for your area and when soil temperature reaches 60°F for tomatoes and 70°F for squash. Tomatoes will start producing fruit in 60 to 85 days depending on variety. Summer squash (zucchini, yellow squash) produces in 45 to 55 days and will keep producing all season if you harvest regularly. Winter squash (butternut, acorn) takes 75 to 100 days and produces fewer fruits but stores longer.

If you want a second crop of squash in fall, plant a new batch in mid-summer (about 8 to 10 weeks before your first frost date) in a different part of the garden or in containers. Tomatoes will still be producing at that point, so keep them in place. The second squash crop will mature as tomatoes slow down in cooler weather, giving you a longer harvest window overall.

Container growing as an alternative to in-ground beds

If you have limited space or poor soil, grow squash and tomatoes in containers. Use a 5-gallon pot for determinate (bush) tomatoes and a 10-gallon pot for indeterminate (vining) tomatoes. Squash needs at least a 10-gallon pot, though 15 to 20 gallons is better for vigorous varieties. Fill containers with potting mix (not garden soil), which drains better and warms up faster in spring.

Container plants dry out faster than in-ground plants, so check soil moisture daily during hot weather. Water until water drains from the bottom, then empty the saucer so roots don't sit in standing water. Feed container plants every 2 to 3 weeks with a balanced liquid fertilizer, since nutrients leach out with frequent watering. Containers also make it easier to isolate plants if disease appears—you can move a sick plant away from healthy ones or remove it entirely.

Companion plants that work well with squash and tomatoes

Basil grows well near tomatoes and repels some insects, though it does not directly benefit squash. Plant basil at the base of tomato stems, 6 to 12 inches away. Marigolds attract pollinators and may deter some pests; scatter them throughout the bed. Nasturtiums act as a trap crop for aphids—pests prefer them to tomatoes and squash, so plant nasturtiums nearby and let them take the damage.

Avoid planting brassicas (cabbage, broccoli, kale) near tomatoes, as they compete for similar nutrients and attract overlapping diseases. Keep fennel and dill away from tomatoes—they inhibit tomato growth. Squash and tomatoes do not have strong negative interactions with each other, so the main rule is spacing and light management, not companion planting chemistry.

Frequently Asked Questions

Will squash vines kill my tomato plants?

Squash vines won't kill tomatoes outright, but they will shade them and reduce fruit production if allowed to sprawl over the tomato stems. Squash vines also compete for water and nutrients. The solution is to plant squash at the edge of the bed where vines run away from tomatoes, or trellis the squash vertically so it doesn't spread across the ground.

Can I plant squash and tomatoes in the same hole?

No. Each plant needs its own space to develop a healthy root system. Squash and tomatoes planted together in one hole will compete for water and nutrients, and neither will thrive. Plant them at least 2 to 3 feet apart, or farther if you have the space.

What's the best way to trellis squash so it doesn't shade tomatoes?

Install a sturdy stake or fence at least 4 feet tall at one end of the bed. Plant squash at the base and tie the main stem to the trellis with soft twine as it grows. Pinch off side shoots or train them along the trellis. This keeps vines vertical instead of spreading horizontally, freeing up ground space for tomatoes.

Do squash and tomatoes need different fertilizers?

Both benefit from a balanced fertilizer like 10-10-10, applied every 3 to 4 weeks once flowering starts. Squash may need extra potassium (the third number) if fruit production slows. Tomatoes sometimes need extra calcium to prevent blossom-end rot, which is usually solved by consistent watering rather than fertilizer changes.

Can I grow squash and tomatoes together in containers?

Yes, but use separate containers—at least a 5-gallon pot for determinate tomatoes and a 10-gallon pot for squash. Growing them in the same container will cause root competition and poor yields for both. Place containers near each other so they share the same sunny location without shading each other.