Updated November 2026

Companion planting in containers lets you grow compatible plants together in a pot, bucket or grow bag so they share space, support each other and make better use of limited room. This guide walks you through choosing a container, pairing plants that work, spacing them correctly and avoiding the mistakes that cause crowding and disease. By the end, you’ll have a workable plan for one or more containers on a patio, balcony or driveway.

Choose the Right Container Size First

Pairings only work if the root zone can support both plants. Most vegetables need a minimum volume to avoid drying out or stunting. As a rough guide, a single cucumber or pepper plant wants at least 5 gallons, while a tomato needs 10 to 15 gallons. Combining two plants with similar root needs in a single pot usually means choosing the larger volume, roughly 15 to 20 gallons, so both have room.

Shopping for one? See our guide: Companion Planting with Pole Beans: 5 Best Picks for 2026.

Drainage holes are non-negotiable. Standing water quickly causes root rot, and a shared container magnifies the risk because you can’t easily water one plant without soaking the other.

Pick Compatible Pairings

Good container partners usually differ in root depth, height or growth habit, so they don’t compete for the same space. Some reliable combinations include:

  • Tomato and basil: basil is shallow-rooted and stays low, and many gardeners grow the two together for convenience. Keep basil at least 8 inches from the tomato stem.
  • Lettuce and chives: both are shallow and compact, so they fill a wide pot without fighting for depth.
  • Bush beans and carrots: beans fix nitrogen into the soil, and carrots root deeper than the beans, so the two use different layers.
  • Marigold and most vegetables: marigolds are often used as a border plant in pots, though their pest-deterrent effect is mostly anecdotal and should not be relied on as a substitute for monitoring.

For more pairing ideas, see Container Companion Planting Chart: 8 Pairings That Work (2026), which lists combinations sized for pots.

Plan Spacing and Root Zones

Spacing in a pot is about root space and light, not just distance between stems. Follow these steps:

  1. Measure the plant that needs the most room, usually the taller or deeper-rooted one.
  2. Place it first, off-center, leaving a clear side for the second plant.
  3. Set the shorter or shallower plant on the sunny side so it doesn’t get shaded.
  4. Leave at least 3 to 4 inches of soil between root balls where possible.
  5. Water at the base of each plant, not over both at once, to avoid waterlogging.

Tall plants like pole beans need a trellis, and that structure should be anchored in the container before planting so you don’t disturb roots later. For broader layout advice, see Raised Bed Garden Layout Companion Planting: A Step-by-Step Guide.

Manage Water, Soil and Feeding

Containers dry out faster than garden beds, and two plants in one pot drink more than one. Use a quality potting mix rather than garden soil, which compacts in pots. Check moisture by pushing a finger 1 to 2 inches into the mix; water when it feels dry at that depth. Heavy feeders like tomatoes and peppers may need a balanced liquid fertilizer every 2 to 3 weeks during fruiting, while shallow leafy crops usually need less. Following the label rate on your fertilizer is the safest approach.

A soil moisture meter helps you check the root zone before watering, which matters when two plants share one pot. View on Amazon

Tomato cages or a tall stake keep the main plant upright and leave room for companions around its base. View on Amazon

A container with drainage holes and a saucer lets excess water escape without flooding the root zone. View on Amazon

Common Mistakes

  • Crowding two large plants into a pot sized for one.
  • Pairing a sprawling squash with anything small, since it will smother neighbors.
  • Using garden soil instead of potting mix, which drains poorly in containers.
  • Skipping drainage holes or leaving pots in standing water.
  • Planting too close to a tall stem and shading out the companion.

FAQ

Can I grow tomatoes and peppers in the same container?

It’s not recommended. Both are heavy feeders with similar water and sunlight needs, so they compete strongly in a shared pot. Give each its own container.

How big should a pot be for two plants?

For two compact or medium plants, aim for 15 to 20 gallons. Larger vining or deep-rooted plants need more room, so check each plant’s mature size first.

Do companion plants really repel pests?

Some pairings may reduce pest pressure, but evidence is mixed and it’s no substitute for regular inspection. Check leaves weekly and remove pests by hand when you find them.

Conclusion

Companion planting in containers works best when you match pot size to plant needs, pair plants with different root depths and heights, and space them with clear root zones. Start with one proven pairing, observe how it grows through a full season and adjust next year. Small adjustments in spacing and watering often make the biggest difference.

Ethan Brooks

About Ethan Brooks

Ethan Brooks is part of our editorial team and reviews and edits our vegetable & edible gardening guides, checking product details against manufacturer specifications and owner feedback.