Urban Sprout
Kitchen Gardening

Kitchen Gardening

Companion planting for a small container kitchen garden

No rows to plan around, no spare bed to experiment in, just a cluster of pots on a balcony ledge. That's actually the reason companion planting is worth bothering with here, not a reason to skip it.

7 min read

As an Amazon Associate, Urban Sprout earns from qualifying purchases.

A container kitchen garden works differently from a vegetable patch. There's no row spacing to plan around and no separate bed for beans versus greens, just a cluster of pots doing whatever your balcony or terrace ledge allows. That constraint is actually why companion planting matters more here, not less. In an in-ground garden, tucking marigold between tomato rows barely changes anything, since a large enough patch dilutes the effect either way. In four or five containers crowded onto a Jaipur balcony, the plant sitting next to your tomato is doing real, close-quarters work, whether that's confusing whiteflies, feeding nitrogen into soil the next crop will use, or competing with your tomato for the same water and light it already struggles to get enough of. Get the pairing right and you're squeezing more out of the same footprint. Get it wrong and you've just planted two thirsty plants fighting over one pot. Here's what's actually worth pairing, what to keep apart, and how any of it applies when you're working in containers instead of beds.

What companion planting can and can't do in a pot

Worth being honest about this before the pairing list. Companion planting isn't a fix for a bad growing setup, and some of the claims that circulate online, basil supposedly improving the flavour of nearby tomatoes, for instance, don't hold up well under testing. What does hold up is pest confusion and deterrence: strong-smelling plants like marigold and tulsi genuinely seem to make it harder for some pests to find their target crop by scent, and French marigold specifically has measurably reduced whitefly and root-knot nematode pressure in trials. Nitrogen fixing by legumes like French beans is real chemistry, not folklore, and it benefits whatever heavy feeder goes into that soil next. Attracting pollinators and predatory insects by letting a plant like coriander flower is also genuine and more useful than it sounds on a mostly enclosed balcony, where bees and hoverflies don't show up on their own the way they would over an open field. Treat companion planting as a small, real edge stacked on top of good watering, feeding and light, not a substitute for any of them.

Pairings worth trying on an Indian balcony

  • Tomato or chilli with marigold and tulsi. The most reliable combination on this list. French marigold at the rim of a tomato or chilli container, or in its own small pot pushed right against it, genuinely helps against whitefly and nematodes, and it flowers early enough to give you visual warning if aphids show up on it before they reach your vegetable. Tulsi does a similar job by scent and adds nothing to your workload, since it wants roughly the same sun and watering as tomato and chilli anyway.
  • French beans ahead of methi or palak, not alongside them. Beans fix nitrogen at their roots through bacteria they naturally carry, and that nitrogen becomes available to whatever grows in the same soil after them, not really to a plant living right beside them in real time. In a small container garden the practical version is sequencing rather than crowding: pull a spent bean plant and sow methi or palak straight into that same pot rather than refreshing the mix, and skip a round of fertiliser for that first leafy crop.
  • Coriander left to flower in at least one pot. Most advice tells you to keep cutting coriander before it bolts, and for a steady supply of leaves that's still the right call for most of your plants. But letting one pot go to flower is worth doing anyway, since the small white flower clusters draw hoverflies and other predatory insects that then patrol your other containers for aphids, doing pest control you didn't have to spray for.
  • Mint in its own pot, positioned as a border plant. Mint's reputation as a pest deterrent for nearby plants is one of the shakier claims here, but it earns its spot for a different reason: it's aggressive enough to choke out anything sharing a container with it, so growing it in its own pot at the edge of a cluster, rather than folded into a mixed planter, still puts the scent near your other plants without the root competition.

Pairings to skip in a tight space

  • Onion or garlic next to beans. Alliums are one of the few pairings with a documented negative effect: compounds in onion and garlic root exudate suppress bean growth nearby. In a container garden, where "nearby" can mean the same pot or the one six inches away, that effect lands harder than it would spread across an open bed. Keep them in separate containers with real distance between.
  • Two heavy feeders sharing one container. Tomato and cauliflower, or chilli and cabbage, can look like a reasonable pairing on paper since both tolerate similar heat and sun, but both are demanding enough on nitrogen and potassium that cramming them into one pot usually starves one of them, often the slower-growing brassica. If you want two vegetable crops sharing a container, pair one heavy feeder with one light one instead.
  • Fennel anywhere near your other vegetables. Fennel releases compounds that measurably slow the growth of several nearby plants, tomato included, and it doesn't bring enough upside in a small kitchen garden to risk the container next to it. If you're growing it at all, keep it on its own, away from the main cluster.

Making it work with pots instead of beds

There are two ways to actually apply any of this without a bed to work with. The lower-risk one is pairing by proximity rather than by pot: instead of cramming a tomato and a marigold into the same root zone where they compete for water, put them in separate but touching grow bags or containers, so the marigold's scent and flowers are still doing their job within a few inches of the tomato's foliage. Default to this for most pairings on this list unless you're confident the two plants won't compete for the same water.

Actually interplanting inside one container only makes sense when the two plants have clearly different root depths and light needs, so they're not drawing from the same layer of soil at once. A shallow-rooted herb tucked around the base of a deeper tomato in a 12-14 inch pot works because their roots occupy different zones, not because they're "friends" in some abstract sense. If you can't explain why two plants wouldn't compete for the same water and nutrients, assume they will and give them separate pots. Our soil and fertilizer basics guide has the container sizing to work out how much room any of this actually needs.

A simple combo to start with this season

If you're trying this for the first time, skip the ambitious four-plant containers and start with one pairing: a tomato or chilli plant in its main pot, with a small marigold seedling in its own small pot pushed right against it. It costs one extra pot and a packet of seed, takes about eight weeks from sowing to flower, and gives you a visible read on pest pressure before it reaches the vegetable you actually care about. Once that's working, add tulsi the same way, and only then start experimenting with sequencing French beans ahead of a leafy green in the same container, since that one takes a full growing cycle to judge properly, not just a season.

Companion planting won't rescue a container that's underwatered or starved of nutrients, but stacked on top of a routine that's already working, it's one of the cheapest upgrades available to a small kitchen garden. Not sure what's actually wrong with a plant that isn't responding the way any of this describes? Try the Plant Doctor tool →

Written by

Written by Aftab, who gardens on a rooftop, a ground-level patch, and a balcony in Jaipur, one of India's hottest and driest cities. The rooftop grows tomatoes (tamatar), okra (bhindi), bottle gourd (lauki), chillies (mirchi), coriander (dhaniya), spinach (palak), cabbage (patta gobhi), cauliflower (phool gobhi), eggplant (baingan) and fenugreek (methi) through summers that regularly cross 43°C. A ground-level bed holds papaya (papita), curry leaf (kadi patta) and lemon (nimbu) trees, and the balcony keeps snake plants and holy basil (tulsi) alive through the same heat. Everything on this site is tested against that climate first, not adapted from advice written for cooler, wetter parts of the country.