To keep bugs away from broccoli, plant strong-smelling companions like garlic, onions, and aromatic herbs such as rosemary and sage right beside your crop.
These plants act like a natural shield, confusing pests before they ever find your precious broccoli heads.
If you’ve been wondering what to plant with broccoli to keep bugs away, you’re in the right place.
Companion planting is one of the oldest and smartest tricks in the garden, and it works beautifully for broccoli.
In this post, we’ll walk through the best plants to pair with broccoli, why they work, and how to set up a bug-fighting garden bed.
Let’s dig in.
What to Plant With Broccoli to Keep Bugs Away
What to plant with broccoli to keep bugs away comes down to choosing companions that repel pests through scent, camouflage, or by attracting beneficial insects.
Broccoli’s biggest enemies are cabbage worms, aphids, flea beetles, and cabbage loopers.
The right companions can keep those troublemakers at bay without a single spray.
Here are the top choices that answer the question of what to plant with broccoli to keep bugs away.
1. Garlic and Onions
Garlic and onions are powerhouse companions when you’re figuring out what to plant with broccoli to keep bugs away.
Their strong sulfur compounds overwhelm the senses of aphids and cabbage worms.
Pests that rely on smell to locate broccoli simply get confused and move on.
Plant garlic cloves or onion sets around the perimeter of your broccoli patch for a living fence.
2. Aromatic Herbs Like Rosemary and Sage
Rosemary, sage, thyme, and mint all release oils that repel cabbage moths.
These herbs are some of the best answers to what to plant with broccoli to keep bugs away because they mask the scent of broccoli entirely.
The moths that lay the eggs turning into cabbage worms can’t find your crop.
Just keep mint in a pot, since it spreads aggressively and will take over a bed.
3. Dill and Nasturtiums
Dill and nasturtiums are trap crops that lure pests away from broccoli.
Aphids love nasturtiums and will flock to them instead of your broccoli heads.
Dill attracts beneficial wasps that prey on cabbage worms.
When you’re planning what to plant with broccoli to keep bugs away, these two are a brilliant one-two punch.
Why These Companion Plants Work
These plants keep bugs away from broccoli for a few clever reasons.
1. Scent Confusion
Many pests hunt by smell.
Strong-smelling plants like garlic and rosemary drown out the scent of broccoli.
The bugs fly right past your crop without noticing it.
2. Beneficial Insect Attraction
Flowering herbs like dill and sage draw in ladybugs, lacewings, and parasitic wasps.
These good bugs feast on aphids and caterpillars, giving you free pest control.
3. Physical Camouflage
Tall or bushy companions break up the visual pattern of a broccoli patch.
Cabbage moths looking for a place to lay eggs get confused and keep moving.
Plants to Avoid Planting With Broccoli
Just as some plants help, others work against you when you’re deciding what to plant with broccoli to keep bugs away.
1. Tomatoes
Tomatoes and broccoli compete hard for nutrients and water.
Tomatoes also release compounds that can stunt broccoli growth.
2. Strawberries
Strawberries share pests with broccoli and can attract slugs that damage both crops.
3. Pole Beans
Beans fix nitrogen in the soil, which broccoli doesn’t need in large amounts.
Too much nitrogen gives you leafy plants and tiny heads.
How to Set Up Your Broccoli Bed
Once you know what to plant with broccoli to keep bugs away, placement matters.
1. Create a Border
Ring your broccoli with garlic, onions, or chives.
This creates a protective wall that pests must cross.
2. Interplant Herbs
Tuck rosemary, thyme, and sage between broccoli rows.
This maximizes scent coverage and saves garden space.
3. Add Flowers Nearby
Plant nasturtiums and dill at the edges of the bed.
They pull pests away and bring in beneficial insects at the same time.
So, What to Plant With Broccoli to Keep Bugs Away?
What to plant with broccoli to keep bugs away boils down to garlic, onions, rosemary, sage, dill, and nasturtiums.
These companions confuse pests with strong scents, lure caterpillars and aphids away, and attract the good bugs that do the cleanup work.
Avoid tomatoes, strawberries, and pole beans to keep your broccoli thriving.
Set up your bed with a protective border, interplanted herbs, and flowers around the edges.
Your broccoli will reward you with tight, healthy heads and far fewer uninvited guests.