Garden guideUnited States and United Kingdom
Cucumber Companion Plants: What to Grow With Cucumbers

The best companions for cucumbers are plants that share their sun and water needs without crowding them: dill and other flowering herbs, beans and peas, lettuce, radishes, nasturtiums and sweet corn. Keep zucchini, squash and melons at a distance where possible, because they share the same pests. Many companion claims are anecdotal.
Contents
What companion planting is, and what the evidence says
Companion planting means growing different plants close together so that at least one of them benefits. The RHS describes three main uses: making better use of space, deterring pests and diseases, and creating plant communities that support each other. It concludes that the benefits probably exist, but not for every crop in every situation.
Linda Chalker-Scott of Washington State University Extension is blunter: the traditional companion planting charts have no scientific basis. Research does support some combinations, which scientists call intercropping or plant associations. Diverse plantings attract and keep beneficial insects, and they make it harder for pests to find their host plants. Her review also notes one study in which strongly scented “companion” herbs such as mint had little or no effect on pest behavior.
So the honest reason to grow other plants with cucumbers is not that they “like” each other. It is that a mixed, flower-rich bed tends to have fewer pest outbreaks, better pollination and more food from the same space.
Know the cucumber first
Cucumbers are tender, warm-season climbers or scramblers in the squash family (Cucurbitaceae). They need full sun, warmth and steady moisture, and they are planted out only after the last frost. The RHS advises waiting until temperatures are reliably above 12 °C (53 °F); in the US, that is usually one to two weeks after your last frost date.
Two facts shape the choice of companions:
- Pollination: outdoor (ridge) cucumbers produce separate male and female flowers, and the RHS notes that the female flowers must be pollinated to set fruit. Bees do most of this work, so flowers that attract them help. Most greenhouse varieties are all-female and set fruit without pollination; the RHS advises keeping them away from pollen, which can make the fruit bitter.
- Pests and diseases: in North America, striped and spotted cucumber beetles chew the plants and spread bacterial wilt, which can collapse a vine in days. Aphids spread cucumber mosaic virus, which the RHS notes infects a wide range of plants. Powdery mildew coats leaves in late summer in both the US and UK.
Good companion plants for cucumbers
Dill and other flowering herbs
Dill is the classic cucumber companion. It likes the same sunny conditions and sowing time, and its flat, open flower heads feed small beneficial insects such as hoverflies, lacewings and parasitic wasps, whose young eat aphids. Cilantro (coriander leaves), parsley and fennel offer similar flowers when allowed to bloom. Keep fennel at the edge of the bed, though, because it grows large and competes for water.
Beans and peas
Beans and peas belong to a different family, so they do not share the cucumber’s main pests. Bush beans fit between cucumber plants that are trained upward, and climbing peas finish in early summer before cucumbers need the space. Legumes host nitrogen-fixing bacteria in their roots, and the RHS advises leaving their roots in the soil after harvest to return nitrogen and organic matter.
Lettuce, radishes and other quick crops
This is the combination with the clearest benefit: intercropping, which the RHS describes as sowing fast-maturing crops such as lettuce and radishes between larger, slower crops at wide spacing. Sow them around young cucumber plants and harvest them before the vines fill the space. A cucumber trellis also casts light shade in midsummer, which can help lettuce on the shaded side resist bolting (running to flower).
Nasturtiums and marigolds
Nasturtiums (Tropaeolum majus) are often grown near cucumbers in the hope of attracting beneficial insects or drawing aphids away. The RHS mentions gardeners using calendula and nasturtiums near crops for this reason, while noting the hope rather than proven results. French marigolds (Tagetes patula) have some evidence against whitefly on tomatoes, an effect the RHS links to a scent compound called limonene. Both are easy, cheerful flowers that bring in bees for pollination.
Sweet corn and sunflowers
Tall, sturdy plants can act as a living trellis, an idea borrowed from the traditional Native American “Three Sisters” planting of corn, beans and squash. The RHS notes that such systems use space efficiently, though it is not clear they produce higher yields than separate crops. Corn and sunflowers also compete hard for water. If you try it, plant the tall crop two to three weeks before the cucumbers and give them generous compost and water.
Trap crops: a companion idea with real evidence
The best-tested “companion” for cucurbits is a trap crop. University of Connecticut IPM found that a border of Blue Hubbard squash planted all around summer squash drew in striped and spotted cucumber beetles and squash vine borers, which prefer it. In preliminary trials, this perimeter trap cropping reduced beetle infestations on the main crop by up to 95%, with control measures needed only on the border plants.
The trials were in commercial fields, so results in a small garden will be less dramatic. Still, a few Blue Hubbard plants at the edges of a cucumber bed, checked twice a week for beetles, is a reasonable experiment. Remove beetles by hand into soapy water, or protect young cucumber plants with fine row covers until they flower; then uncover them so bees can reach the flowers.
What not to plant with cucumbers
- Other cucurbits close together: zucchini (courgettes), squash, pumpkins and melons share cucumber beetles, squash bugs, powdery mildew and several viruses. Iowa State Extension groups them as one family for rotation, and a bed full of them is one large target. Give them space or separate beds where possible.
- Plants that cast heavy shade: cucumbers need full sun. Tall crops on the sunny side of the bed, or a crowded trellis, reduce yields.
- Fennel: often said to harm neighbors. The evidence for a chemical effect is thin, but it is a large, thirsty plant that competes for light and water.
- Potatoes and aromatic herbs such as sage: traditional charts warn against both. There is no good research behind these warnings. The practical issue is simply that potatoes and cucumbers are both thirsty, so plant them where each can be watered well.
- Mint in open ground: not harmful to cucumbers, but it spreads aggressively by runners. Grow it in a pot.
How to lay out a cucumber bed with companions
- Put up supports first. A trellis, netting or a cane wigwam takes up little ground and, as the RHS notes, keeps the fruit clean and off the soil. Space plants about 30 cm (12 in) apart along it, as the RHS advises for outdoor cucumbers.
- Plant low companions on the sunny side. Lettuce, radishes and bush beans go where the trellis will not shade them. In the Northern Hemisphere that is the south side.
- Put flowers at the ends and edges. Dill, nasturtiums, marigolds and calendula on the bed edges feed pollinators and predators without crowding the vines.
- Water the soil, not the leaves. The RHS advises watering at the base, ideally in the morning, to reduce mildew. Mulch around the plants to hold moisture.
- Rotate. Move cucumbers and other cucurbits to a new spot each year as part of a simple crop rotation.
If you have pets
According to the ASPCA, cucumber, dill, sunflower, zinnia, calendula (pot marigold) and nasturtium (Tropaeolum majus) are non-toxic to cats and dogs. Borage, sometimes grown for bees, is listed as toxic, as are onions and chives. French marigold (Tagetes), sweet corn, lettuce, radishes and green beans are not on the ASPCA lists. If your pet eats part of a toxic plant, call your veterinarian or, in the US, the ASPCA Animal Poison Control Center at (888) 426-4435 (a fee may apply). Non-toxic plants can still cause mild stomach upset.
For a similar guide to another summer crop, see tomato companion plants.
Frequently asked questions
Do radishes keep cucumber beetles away?
This is a popular claim, but there is little good evidence for it. Radishes are still a useful companion because they are ready in about a month and can be sown in the space around young cucumber plants before the vines fill it.
Can cucumbers and tomatoes be planted together?
Yes, if each has room. Both are warm-season, sun-loving crops that need plenty of water and compost. Train cucumbers on their own support so they do not smother the tomatoes, and keep air moving between the plants.
Can I grow cucumbers next to zucchini or melons?
You can, but it concentrates problems. All cucurbits share cucumber beetles, squash bugs, powdery mildew and some viruses, so a mixed bed of them gives pests one large target. Spread them out where you can and rotate them as one family.
Is dill a good companion for cucumbers?
Yes. Dill likes the same sun and timing, and its flat flower heads feed hoverflies, lacewings and small parasitic wasps that attack aphids and other pests. Both are also used together in pickles.
Can cucumbers climb sweet corn or sunflowers?
Sturdy corn or sunflowers can act as a living support, but they compete for water and light and may lean under the weight. Plant the tall crop two to three weeks earlier and give each plant enough water, or use a simple trellis instead.
What should not be planted near cucumbers?
Avoid crowding them with other cucurbits, large thirsty plants such as fennel, and anything that shades them heavily. Claims that potatoes or aromatic herbs harm cucumbers come from traditional charts and are not backed by good research.
More on Big World List
- Countries of the World · geographyIndia Facts: Capital, Population, Languages and Geography
- Animal Atlas · wildlifeBuff-Tailed Bumblebee (Bombus terrestris): Facts and Life Cycle
Sources and further reading
- Chalker-Scott, L., "The Myth of Companion Plantings", Washington State University Puyallup Research and Extension Center
- Royal Horticultural Society, "Three ways to use companion planting"
- Royal Horticultural Society, "How to grow cucumbers"
- University of Connecticut IPM, "Perimeter Trap Cropping for Yellow and Green Summer Squash"
- Iowa State University Extension and Outreach, "Crop Rotation in the Vegetable Garden" (Yard and Garden)
Cite this page
“Cucumber Companion Plants: What to Grow With Cucumbers.” Plant Atlas, https://plants.bigworldlist.com/garden/cucumber-companion-plants/.
Cucumber: more questions and guides
- Plant profileCucumber (Cucumis sativus): Care and Growing Guide
- QuestionCan You Grow Cucumbers in Pots? Container Guide
- ListFastest-Growing Vegetables: Ready to Harvest in Weeks
- QuestionHow Long Do Cucumbers Take to Grow? Days to Harvest
- Garden guideVertical Gardening: How to Grow More in Small Spaces
- QuestionWhen and How to Harvest Cucumbers: Signs of Readiness
- Garden guideWhen to Plant Cucumbers: Best Time in the US and UK
- QuestionWhy Are My Cucumber Leaves Turning Yellow? Causes and Fixes
- ComparisonZucchini vs Cucumber: Plants, Fruits and Care