Skip to content
Growing |

Companion Plants for Cucumbers

The best companion plants for cucumbers deter beetles, attract pollinators, and improve yields. Covers proven combos and what to keep far away.

Cucumbers rank among the 5 most-grown vegetables in US home gardens per the National Gardening Association. Cucumber beetles — striped and spotted — cause direct feeding damage and spread bacterial wilt, a disease with no cure that kills plants within weeks. Cornell Cooperative Extension trials found that diverse polycultures reduce cucumber beetle populations by 20–30% compared to monoculture plantings. Strategic companion planting is the primary organic management tool for this pest.
Guide typeGrowing guide
Key tips5 covered
FAQs6 answered

Key takeaways

  • Nasturtiums trap-crop cucumber beetles better than almost any other plant — beetles prefer nasturtium and congregate there rather than on cucumbers
  • Radishes planted around cucumbers deter cucumber beetles; a 2009 University of Kentucky trial found radish interplanting reduced beetle pressure by 40%
  • French marigolds suppress nematodes in cucumber beds and repel aphids — plant within 12 inches of cucumber rows for maximum effect
  • Avoid planting cucumbers near fennel, sage, or members of the Brassica family — all suppress cucumber growth or attract competing pests
  • Dill attracts parasitic wasps that prey on cucumber pests but must be planted away from the main cucumber rows — dill inhibits cucumber germination when planted too close

Why companion planting matters for cucumbers

Cucumbers are among the most pest-vulnerable vegetables in the US home garden. Cucumber beetles — both striped (Acalymma vittatum) and spotted (Diabrotica undecimpunctata) — feed directly on stems, flowers, and fruit, but more critically they spread bacterial wilt (Erwinia tracheiphila), a disease with no cure that can kill plants in 1–2 weeks. Strategic companion planting is the most effective organic tool for reducing beetle pressure.

The cucumber beetle is not a pest you can spray your way out of. Even with chemical controls, bacterial wilt spreads during feeding events that happen in seconds. The most reliable strategy is reducing the number of beetles in the immediate vicinity of your plants — and that is where companion planting has genuine scientific support.

Cornell Cooperative Extension research published in the Journal of Applied Ecology found that diverse polyculture plantings reduced cucumber beetle populations by 20–30% compared to monoculture cucumber rows. The mechanism is both chemical (aromatic plants confuse pest orientation) and physical (visual complexity disrupts pest host-finding).

The best companion plants for cucumbers

Nasturtiums — the #1 trap crop

Nasturtiums (Tropaeolum majus) are the single most effective companion plant for cucumbers in the US garden context. Cucumber beetles strongly prefer nasturtium flowers and foliage and will aggregate on nasturtiums in preference to cucumbers.

This trap-crop behavior is what makes nasturtiums so valuable. Plant nasturtiums throughout or around cucumber rows, then focus pest control efforts on the nasturtiums rather than the cucumbers. When you see beetle concentrations on nasturtium plants, spray with insecticidal soap — you’re killing beetles in a concentrated location before they spread.

Nasturtiums also attract aphid predators (ladybugs, lacewings) and provide nectar for pollinators. As an edible flower and spicy salad green, they add culinary value to the garden. They tolerate poor soil and dry conditions better than cucumbers.

How to use: Direct sow nasturtium seeds at the same time as cucumber seeds. Space nasturtium plants every 18–24 inches along cucumber rows and at the ends of rows. Let them sprawl. Our nasturtium guide covers growing details.

Radishes — beetle deterrent with documented results

Radishes interplanted with cucumbers reduce cucumber beetle pressure in peer-reviewed trials. A 2009 University of Kentucky Extension trial found that interplanting radishes reduced cucumber beetle feeding by approximately 40% compared to control plots.

The mechanism appears to be olfactory: the pungent volatile compounds from radish foliage interfere with cucumber beetle host-location. Use radishes as a living mulch between cucumber plants. Fast-maturing varieties (French Breakfast, Cherry Belle) reach maturity before cucumbers need the space.

Plant radishes 6–8 inches apart between cucumber transplants. As radishes bolt in summer heat, their flowers attract beneficial insects, adding another layer of pest control value. Pull and replant with a fall radish crop.

French marigolds — nematode suppression and aphid deterrence

French marigolds (Tagetes patula) release thiophene compounds from their roots that suppress root-knot nematodes in the surrounding soil. For cucumbers planted in soil with nematode history, marigolds are among the few organic interventions with consistent research support.

Multiple university extension studies confirm nematode suppression from French marigolds — not African or signet marigolds, which have little effect. The marigolds must be planted densely and their roots left in soil at season end to break down and release compounds.

Beyond nematodes, marigolds repel aphids from nearby crops and attract hoverflies whose larvae eat aphids. Plant French marigolds within 12–18 inches of cucumber rows and at row ends. Our marigolds guide covers variety selection and placement.

Dill — beneficial insect habitat (with important caveat)

Dill (Anethum graveolens) attracts parasitic wasps and hoverflies that prey on cucumber pests including aphids, cucumber beetles, and spotted cucumber beetles. However: dill root exudates inhibit cucumber germination when planted within 12 inches of cucumber seeds.

The companion planting solution: plant dill in clusters 24–36 inches from cucumber rows. At that distance, beneficial insect attraction is still effective but root inhibition is not a factor. Dill that has gone to flower is most effective for attracting beneficial insects.

Allow some dill to go to seed in late summer — the umbel flower heads become standing feeding stations for parasitic wasps through fall.

Beans — nitrogen and structural symbiosis

Bush beans fix atmospheric nitrogen in their root nodules, gradually releasing usable nitrogen to neighboring plants including cucumbers. In beds where compost was not applied or where nitrogen is low, a border planting of bush beans provides a slow-release fertility benefit through the growing season.

Beans and cucumbers do not compete strongly. Both need good drainage and full sun, and their root zones occupy different soil depths (cucumbers are shallow; beans are moderate). Space plants 12–18 inches apart to maintain airflow.

Pole beans and cucumbers can share a trellis structure if planted at opposite ends with 3+ feet of separation. Our bean companion plants guide covers the specific bean varieties that work best in these arrangements.

Borage — aphid repellent and pollinator magnet

Borage (Borago officinalis) has a documented reputation as an aphid repellent near cucumbers, peppers, and tomatoes. The plant also attracts bumblebees, which are important pollinators for cucumbers — poor pollination is a common cause of misshapen or absent fruit in home gardens.

Borage self-seeds freely and can become persistent in the garden — this is either a feature or a problem depending on your perspective. In a dedicated vegetable garden, allow one or two borage plants per 100 square feet.

Sunflowers — structural and pollinator value

Tall sunflowers planted at the north end of cucumber rows provide a windbreak without shading and attract a range of pollinators. Cucumbers need consistent pollination for consistent fruit set; attracting a diversity of pollinators beyond honeybees improves fruit set in gardens where honeybee populations are low.

Plant sunflowers on the north side of cucumber rows to avoid afternoon shading. Our marigolds guide and nasturtium guide cover additional annuals that pair well in this configuration.

Comparison: best companions by pest target

CompanionPrimary benefitSecondary benefitDistance from cucumbers
NasturtiumsTrap crop for cucumber beetlesEdible; attracts pollinators12–24 in; interplant throughout
RadishesBeetle deterrence (40% reduction)Fast-maturing; edible6–8 in between plants
French marigoldsNematode suppressionAphid deterrenceWithin 12–18 in
DillBeneficial wasp habitatEdible herb24–36 in (not closer)
Bush beansNitrogen fixationNo direct pest benefit12–18 in alongside
BorageAphid repellenceBumblebee attraction18–24 in
SunflowersPollinator diversityWindbreakNorth end; 3+ ft

What NOT to plant near cucumbers

Some combinations are genuinely harmful to cucumbers. Unlike many alleged plant incompatibilities in companion planting lore, the following have evidence behind them.

Fennel — strongest allelopath in the vegetable garden

Fennel (Foeniculum vulgare) releases allelopathic compounds from its roots and fallen leaves that inhibit the growth of most neighboring vegetables, including cucumbers, tomatoes, and peppers. Keep fennel at least 36 inches from cucumbers — many experienced gardeners give it a dedicated bed entirely separate from the vegetable garden.

Sage — inhibits germination

Aromatic sage (Salvia officinalis) inhibits cucumber seed germination when planted in close proximity. This inhibition is less severe than fennel but documented in several university extension companion planting guides. Keep sage 24 inches from cucumber rows.

Brassicas — shared pest pressure

Cabbage, broccoli, kale, and other brassicas attract cabbage aphids and harlequin bugs that readily migrate to cucumbers. The brassicas themselves are not chemically harmful to cucumbers, but the pest populations they attract create problems.

Dill (too close) — already mentioned

Dill inhibits cucumber germination at close range. Plant 24 inches minimum from cucumber rows or plants.

Building a cucumber companion planting plan

For a typical 4×8-foot cucumber bed with 4–6 plants:

  1. Cucumber row center: 4–6 cucumber plants on a trellis, spaced 18 inches apart
  2. Between and around cucumbers: Nasturtiums every 18 inches; radishes filled in gaps
  3. Row edges: French marigolds along the south-facing edge (most sun, most effective there)
  4. 36 inches out: Dill cluster, 3–4 plants in a group
  5. North end: 1–2 sunflower plants

This configuration addresses cucumber beetles (nasturtiums, radishes), nematodes (marigolds), and beneficial insect habitat (dill, sunflowers) without competing for space with the cucumbers themselves.

For trellising cucumbers in this kind of compact polyculture setup, our cucumber trellis guide covers lightweight trellises that leave ground space for companion plants. For the broader growing framework, our growing cucumbers guide covers soil preparation, water needs, and harvest timing.

For understanding the principles behind why these combinations work, our companion planting guide explains the mechanisms: chemical deterrence, trap cropping, habitat for beneficial insects, and nutrient sharing. Our companion planting chart provides a quick visual reference for pairing cucumbers with other vegetables you may be growing in the same beds.

For cucumbers growing in containers or small spaces alongside other vegetables, our zucchini companion plants guide covers a closely related crop with similar companion needs and many of the same beneficial and harmful pairings.

Authoritative US sources

Cornell Cooperative Extension research on polyculture effects on cucumber beetle populations informs the statistics cited here. The University of Kentucky College of Agriculture Extension covers radish interplanting data. USDA National Organic Program guidelines list companion planting as an approved organic pest management tool.

companion plants for cucumbers cucumber companions companion planting cucumber pests vegetable garden planning
SM

Sarah Mitchell

Sarah Mitchell is a Master Gardener and garden writer based in the Pacific Northwest. She has been growing food and flowers for over 15 years across USDA zones 7 and 8.