Can you plant tomatoes and cucumbers together?

Fine together

Practical reason

Yes, plant them together, giving the cucumbers a trellis so they do not smother the tomatoes.

Why

The two share no major pests, but both need lots of water and sun. A trellised cucumber takes little ground space. Crowded, humid foliage encourages leaf diseases on both, so leave room for airflow.

Timing

Both go outdoors 1–3 weeks after last frost.

Spacing

Tomato
24 in (61 cm) between plants, rows 48 in (122 cm) apart
Cucumber
12 in (30 cm) between plants, rows 48 in (122 cm) apart

Sources

No study is cited for this pairing. It rests on how the two crops grow, not on a companion trial.

More tomato pairings

  • French marigoldGood companionsBacked by research

    Worth it if you have root-knot nematodes: grow a dense stand of French marigolds first, not a few plants between tomatoes.

  • LettuceGood companionsPractical reason

    Yes: lettuce fits under and around tomatoes and gets useful summer shade.

  • Sweet alyssumGood companionsPractical reason

    Yes: alyssum is a low edging, and its flowers feed hoverflies whose larvae eat aphids.

All tomato companion plants

More cucumber pairings

  • LettuceGood companionsPractical reason

    Yes: a trellised cucumber gives lettuce welcome shade in summer.

  • ZucchiniFine togetherPractical reason

    Yes, you can grow them together, but they share cucumber beetles and diseases, so rotate them together.

  • Bush beanFine togetherFolklore

    Yes, they can share a bed; charts list them as friendly but there is no evidence either way.

All cucumber companion plants

Planting dates

When to plant tomatoes and when to plant cucumbers.

How we grade companion advice