Christina planted six cucumber starts last May and watched every single one get shredded by cucumber beetles within three weeks. This year she tucked a few different plants alongside them and pulled more cucumbers off those vines than any of us expected.
Turns out, your cucumbers don’t need more spray. They need better neighbors.
1. Dill
This is the one we recommend to everyone first. Dill pulls in parasitic wasps and ladybugs, two of the best natural predators for aphids and cucumber beetles. It’s also rumored to improve cucumber flavor, and after growing them side by side for two seasons, I believe it.
Plant dill 12 to 16 inches from your cucumber row. Let a few heads go to flower. That’s where the beneficial insects show up. One warning: dill can cross-pollinate with fennel, so keep those two far apart if you grow both.
2. Marigolds
Not just pretty. French marigolds release alpha-terthienyl through their roots, a compound that suppresses root-knot nematodes in the soil. They also repel aphids and whiteflies above ground (yes, really).
Plant them 8 to 10 inches from the base of your cucumbers, in a border or scattered between hills. John edges his entire cucumber bed with ‘Petite Gold’ marigolds every year. The beetles stay away. The bed looks incredible. Win-win.
Okay, now for the ones that do double duty.
3. Nasturtiums
These work as a trap crop. Aphids love nasturtiums more than they love your cucumbers, so the pests flock to the flowers instead. You sacrifice the nasturtiums, your cucumbers stay clean.
Trailing varieties also make a decent living mulch, shading the soil and holding moisture underneath the vines. Plant them about a foot away from your cucumber hills. Don’t baby them. Nasturtiums do their best work in poor soil, which means they won’t compete with your cukes for nutrients.
4. Bush Beans
Here’s the practical powerhouse. Beans are nitrogen fixers. They pull nitrogen from the air and convert it into a form that enriches the soil right around their roots. Cucumbers are heavy feeders, so that free nitrogen boost matters.
Go with bush beans, not pole beans, to avoid tangling with your cucumber vines. Space them 8 to 12 inches apart from the cucumber plants. Joanna interplanted ‘Provider’ bush beans with her cucumbers last July, and the vines stayed darker green and produced about two weeks longer than her beans-free row. She’s done it every year since.
5. Radishes
Radishes are sneaky useful. They germinate fast, break up compacted soil before cucumber roots spread out, and their strong scent can confuse and deter cucumber beetles and flea beetles.
Direct sow radish seeds about 18 inches from your cucumber row. They’ll be ready to harvest before your cucumbers need the space, so there’s almost no competition. Think of them as a sacrificial scout crew. Quick in, quick out, leaving behind better soil.
6. Sunflowers
Sunflowers give you two things at once: a natural trellis and a pollinator magnet. Bees love sunflower heads, and those same bees will visit your cucumber flowers on the way. More pollination means more fruit set. Simple math.
Plant sunflowers on the north side of your cucumber patch so they don’t shade the vines. Tall varieties like ‘Mammoth’ or ‘Russian Giant’ work best as supports. Let the cucumber tendrils grab on naturally. I’ve done this in raised beds for three years and it saves me from buying trellising materials every spring (cheaper than you’d think when you factor in what stakes cost).
7. Borage
Borage is the underdog of companion planting. It attracts pollinators like crazy, its star-shaped blue flowers are covered in bees from June through August, and some studies suggest it deters certain leaf-eating caterpillars.
Space borage plants about 18 inches from cucumber hills. Fair warning: borage self-seeds aggressively. Plant it once and you’ll have it forever. I consider that a feature, not a bug. The flowers are edible too, which is a nice bonus for salads if you’re into that.
This is the one I’d add if you only pick one flower for the cucumber bed.
8. Oregano
Oregano’s pungent oils confuse pest insects that navigate by scent, including aphids and spider mites. It spreads low along the ground, which means it acts as a living mulch that keeps soil moist and suppresses weeds around your cucumbers.
Plant it 14 to 18 inches from your cucumber strip. Keep it trimmed so it doesn’t smother anything. Christina keeps a single oregano plant at each end of her cucumber bed and says the aphid pressure dropped noticeably after the first season (trust me on this one).
9. Chives
Chives round out the list because they handle a different threat: fungal disease. Their sulfur compounds have natural antifungal properties, and the strong allium scent deters aphids and Japanese beetles.
Plant a clump of chives every 2 to 3 feet along the edge of your cucumber bed. They’re perennial, so you plant once and they come back stronger every year. Low maintenance, no fuss. Just snip the flowers before they go to seed unless you want chives everywhere.
Frequently Asked Questions
1. What plants should you NOT grow near cucumbers?
Skip potatoes, they compete hard for nutrients and moisture. Avoid other cucurbits like squash and melons since they attract the same pests and share diseases. Sage and mint can alter cucumber flavor in ways you won’t enjoy.
2. How close should companion plants be to cucumbers?
Most companions do best planted 8 to 18 inches from cucumber plants, depending on the species. Too close and you’ll create competition for water and light. Too far and you lose the pest-repelling or pollination benefits.
3. Can I companion plant in containers?
Absolutely. Pair a cucumber pot with a nearby container of marigolds, dill, or chives. Keep them within a couple feet of each other. The pest-deterring effects still work, just on a smaller scale.
Pick Your Lineup and Plant
You don’t need all nine in one bed. Start with two or three that solve your biggest problem. Beetles? Try marigolds and nasturtiums. Weak soil? Add bush beans. Need more pollinators? Borage or sunflowers.
Stack a few combinations next season and watch the difference. The cucumbers do better, the garden looks better, and you use a lot less spray. That’s the whole point.
Related reading on CozyBotanics: