Companion Planting in Containers: What to Grow Together
This article may contain affiliate links. If you make a purchase through these links, we may earn a small commission at no extra cost to you. This helps us keep creating free content.
In my second season of balcony gardening, I planted basil next to my tomato container on a whim. By August, I noticed the tomato plant had almost no aphids while a separate tomato on the other side of the balcony was covered in them. The only difference was the basil neighbor. That accidental discovery sent me down a companion planting rabbit hole, and now I never plant anything in isolation if I can help it.
Companion planting is the practice of growing specific plants together because they benefit each other in some way. The benefits include pest repulsion, pollinator attraction, soil improvement, space efficiency, or simply aesthetic complementarity. While much companion planting lore comes from open-garden traditions, many of the principles transfer beautifully to containers, and some actually work better in the close quarters of a pot than in the ground.
How Companion Planting Works in Containers
In a garden bed, companion plants interact through root systems, soil chemistry, and proximity effects. In containers, the interactions are more concentrated because plants share a limited root zone and canopy space. This makes beneficial pairings more effective but also makes bad pairings worse, since competing plants cannot spread their roots away from each other.

The key to container companion planting is matching plants with similar needs. Pair plants that want the same amount of water, light, and nutrients. A thirsty basil planted with a drought-loving rosemary in the same pot will result in one plant being overwatered or the other being underwatered. Our watering guide covers plant water needs in detail.
Best Container Companion Combinations
Bloem Terra Pot 16-Inch Resin Planter
8-gallon terracotta-look resin planter, UV-stable, frost-safe, 1/10 the weight of real terracotta.
See on Amazon →Tomatoes + Basil + Marigolds
The classic trio. Basil is said to improve tomato flavor and repel aphids and mosquitoes. Marigolds repel whiteflies, nematodes, and other pests with their pungent scent. All three plants want full sun, regular water, and rich soil, making them ideal pot partners. Use a container at least 45 centimeters in diameter with the tomato in the center, basil on one side, and a compact marigold on the other. Our tomato growing guide covers container setup.

Lettuce + Radishes + Chives
A cool-season container salad garden. Radishes mature fast (25 to 30 days) and break up the soil as they grow, benefiting the shallower-rooted lettuce. Chives repel aphids with their onion scent and add a usable garnish to the same container that grows your salad. Plant in a window box or railing planter for an all-in-one salad station. See our lettuce guide for variety picks.
Strawberries + Borage
Borage attracts pollinators like bees and butterflies, which increases strawberry pollination and fruit set. Borage leaves also repel tomato hornworms and other pests. The blue borage flowers and red strawberry fruits look beautiful together. Use a large container since borage grows tall. Our strawberry guide covers pollination tips.
Peppers + Parsley + Oregano
Parsley attracts hoverflies whose larvae eat aphids, providing biological pest control for your pepper plants. Oregano repels aphids directly with its strong scent. All three plants like sun and moderate water. Our chili pepper guide covers container growing in detail.
Carrots + Onions or Garlic
The classic root vegetable partnership. Onion family plants repel carrot fly with their strong scent, while carrots repel onion fly. In a deep container (at least 30 centimeters for carrots), plant a row of spring onions around the perimeter with carrots in the center. Both are space-efficient and grow well in the same conditions.

Beans + Spinach + Summer Savory
Beans fix nitrogen from the air and make it available in the soil, feeding the nitrogen-hungry spinach. Summer savory repels bean beetles and is a traditional culinary companion to beans. Plant pole beans against a trellis at the back of a large container with spinach at the base and savory at the edges.
Combinations to Avoid
Fennel + Almost Everything
Fennel releases chemicals from its roots that inhibit the growth of most other plants. It stunts tomatoes, peppers, beans, and most herbs when planted in the same container. Grow fennel alone in its own pot and keep it away from other containers too, since root chemicals can leach through drainage water.
Mint + Anything Delicate
Mint is not a bad companion in terms of chemical interaction, but it is so aggressively vigorous that it will outcompete any container partner for root space, water, and nutrients. Always grow mint alone in its own container. Our mint guide covers containment strategies.
Rosemary + Basil
These two popular herbs have opposite water needs. Rosemary wants dry, sandy conditions and infrequent water. Basil wants consistently moist, rich soil and regular water. Planting them together means one will always be unhappy. Grow them in separate pots where you can customize watering for each.

Tomatoes + Brassicas
Cabbage, broccoli, cauliflower, and kale are heavy feeders that compete directly with tomatoes for nutrients. In the limited soil of a container, this competition results in both plants underperforming. Grow brassicas in their own container with lighter-feeding companions.
Space-Saving Companion Strategies
On a balcony where space is precious, companion planting doubles as a space-saving technique. Instead of dedicating one pot to basil and another to tomatoes, combine them in a single larger container and free up a pot for something else entirely. The small balcony space guide covers other space-saving strategies.
Think in layers when planting companions. Tall plants like tomatoes or peppers form an upper canopy. Medium plants like basil or parsley fill the middle layer. Low-growing or trailing plants like lettuce, thyme, or nasturtiums cover the soil surface, acting as living mulch that retains moisture and suppresses weeds. This three-layer approach mimics natural plant communities and gets maximum productivity from every centimeter of soil surface.
Succession planting within companion containers adds a time dimension. Plant fast-maturing radishes alongside slow-growing peppers. The radishes will be harvested and out of the pot before the peppers need the space. Replace the radishes with a late-season lettuce planting for a second crop from the same spot. This kind of planning feels complex at first but becomes intuitive after one or two seasons.
Published by the Garden Balcony editorial team. Published May 24, 2026.
Editorial responsibility: see Imprint.
Spotted an error or have something to add? corrections@gardenbalcony.com
Grow with Us
Seasonal planting guides, care tips, and small-space inspiration — every Sunday.
🎁 Free bonus: Balcony Garden Starter Guide (PDF)
You might also like
The Complete Guide to Shade-Loving Balcony Plants
A shady balcony does not mean a bare balcony. Dozens of beautiful plants thrive in low light. This guide covers the best flowers, foliage, edibles, and ferns for shady outdoor spaces.
Container Drainage Explained: Why Your Plants Keep Dying
Poor drainage kills more container plants than any pest or disease. Understanding how water moves through pots is the key to keeping your balcony plants alive.
Starting Seeds Indoors for Your Balcony Garden
Growing plants from seed saves money and opens up variety options you will never find at a garden center. Here is how to start seeds indoors and transplant them to your balcony.