Lawn by Season

Companion Planting for Broccoli

Published: April 21, 2026

Companion plants for Broccoli growing in a garden

Broccoli benefits significantly from companion planting. The plant's main challenges — Cabbage Worm and Cabbage Looper pressure, and the pollination needs that drive fruit set — are directly addressed by the right neighboring plants. Below are the companions with the strongest evidence, their specific benefits, recommended spacing, and the plants to keep broccoli away from.

Best Companions for Broccoli

CompanionBenefitSpacing
OnionSulfur compounds repel carrot fly, aphids, and fungal disease6 in
GarlicRepels aphids, spider mites, and Japanese beetles; antifungal6 in
DillAttracts beneficial wasps and hoverflies when in flower12–18 in (remove before flowering)
RosemaryRepels cabbage moth, carrot fly, and bean beetles18–24 in
MarigoldRoot secretions kill soil nematodes; deters whitefly and aphids above ground12 in
CeleryDeters white cabbage butterfly; shares similar water needs12 in

Plants to Avoid Near Broccoli

AvoidReason
TomatoShares nightshade diseases with brassicas; both are heavy feeders
PepperShares nightshade disease pressure with brassicas
StrawberryShare verticillium wilt susceptibility with brassicas
All NightshadesShare soil-borne diseases with brassicas; rotate rather than interplant

Broccoli in a Raised Bed — Layout

In a 4×8 raised bed, plant 6 broccoli at 18-inch spacing in two rows of 3. Surround each plant with onions and garlic at 6-inch spacing — alliums deter the cabbage moths and aphids that devastate brassicas. Add dill at bed corners to attract parasitic wasps that prey on cabbage worm. Never plant tomatoes, peppers, or other nightshades in a broccoli bed; they compete and share disease pressure.

When to Plant Companions with Broccoli

Plant onion with broccoli in the cool-season window — both prefer temperatures in the 55 to 70°F range. Cool-season companions can go in at the same time as direct-sown broccoli (soil at 40°F minimum) or 1 to 2 weeks ahead of transplants. Herb companions like rosemary and chives are perennials that stay in place year-round. Interplant fast cool-season companions (radish, lettuce) between rows for a quick 30 day harvest before the main crop fills in.

Companion Planting & Broccoli Pest Control

Broccoli’s most common pests — Cabbage Worm, Cabbage Looper, Aphids — are directly addressed by the right companions. Onion sulfur compounds repel carrot fly, aphids, and fungal disease. Garlic adds a second defense — repels aphids, spider mites, and japanese beetles; antifungal. These effects are strongest when the companion is planted within 18 inches of the main crop, and when multiple companion species are layered together rather than used singly. Beneficial insects (hoverflies, parasitic wasps, ladybugs) drawn in by companion flowers provide additional control against aphids and caterpillars — flowering companions like dill, borage, and marigold all attract these predators.

Frequently Asked Questions

What is the best companion plant for broccoli?

Onion is the best all-around companion for broccoli — sulfur compounds repel carrot fly, aphids, and fungal disease. Plant onion 6 in from broccoli for the strongest effect. Garlic is a close second — repels aphids, spider mites, and japanese beetles; antifungal.

What should I not plant near broccoli?

Avoid Tomato and Pepper. Tomato shares nightshade diseases with brassicas; both are heavy feeders. Keep these at least 6 feet from your broccoli or plant them in a separate bed to avoid the competition and shared pest pressure.

Can I grow broccoli and tomato in the same garden?

Yes, in separate beds. Tomato and broccoli shares nightshade diseases with brassicas; both are heavy feeders, but placing them 6+ feet apart with a buffer of other crops usually prevents problems. Rotation is also important — don't plant the same family in the same bed two years in a row.

How far apart should companion plants be from broccoli?

Pest-deterrent companions like onion work within 12 to 18 inches of broccoli. Nitrogen-fixing legumes work at 18 to 24 inches. Trap crops (nasturtiums, for example) need 18+ inch spacing so pests congregate on the trap rather than the main crop. Flowering companions for pollinator attraction can be anywhere in the bed — their bee-attracting effect reaches 10 to 20 feet.

Does companion planting help with cabbage worm on broccoli?

Yes, for the specific companions that target Cabbage Worm. Onion and Garlic are documented cabbage worm deterrents and should be planted within 18 inches of broccoli. Companion planting is one part of integrated pest management — combine it with floating row covers during peak cabbage worm season and hand-picking for best results.

Related Guides

Get alerted when restrictions change

Free email alerts for your city – know before you water.

No spam, ever. Unsubscribe anytime.