Zucchini and summer squash companion plants
Zucchini (*Cucurbita pepo*) and other summer squash are among the most productive vegetables in the home garden -- and among the most pest-prone. Three problems define the zucchini growing season in most regions: squash vine borer (*Melittia cucurbitae*) girdling the crown, cucumber beetles.
—- title: "Zucchini and summer squash companion plants" slug: zucchini-companion-plants hub: care category: "Companion planting" description: "Companion plants for zucchini and summer squash that attract pollinators, deter cucumber beetles, and make use of the large footprint these plants occupy." date: 2026-06-10 updated: 2026-06-10 author: "Thomas A." reading_time: 9 release_after: 2026-07-04 —-
Zucchini (Cucurbita pepo) and other summer squash are among the most productive vegetables in the home garden — and among the most pest-prone. Three problems define the zucchini growing season in most regions: squash vine borer (Melittia cucurbitae) girdling the crown, cucumber beetles transmitting bacterial wilt, and incomplete pollination producing hollow or misshapen fruit.
Companion planting addresses the pollination and cucumber beetle problems with moderate success. Squash vine borer is best managed through timing and exclusion rather than companion plants.
The companion planting table
| Plant | Role | Friend / Foe / Neutral | Notes |
|---|---|---|---|
| Borage (Borago officinalis) | Bee attractor; anecdotal squash bug deterrent | Friend | Flowers before and during squash bloom |
| Nasturtium (Tropaeolum majus) | Aphid trap crop; attracts pollinators | Friend | Monitor weekly |
| Sweet alyssum (Lobularia maritima) | Syrphid fly support; living mulch | Friend | Plant along row edges |
| Dill (Anethum graveolens) | Attracts beneficial wasps | Friend | Allow to flower |
| French marigold (Tagetes patula) | Beneficial insects; nematode management in soil | Friend | Bed edges and paths |
| Beans (pole or bush) | Nitrogen fixation in soil; no pest interaction | Neutral | Traditional Three Sisters component |
| Corn | Structural support for pole beans; shades roots | Neutral | Traditional Three Sisters; no documented pest benefit for squash |
| Radish | Early-season companion; possible cucumber beetle deterrence | Friend (tentative) | Harvest before squash sprawls |
| Sunflower | Attracts pollinators on north side | Neutral | Keep at least 36 inches from squash crown |
| Fennel (Foeniculum vulgare) | Allelopathic to squash | Foe | Do not plant within 20 feet |
| Cucumbers / other cucurbits | Shares all major pest species | Foe (pest amplifier) | Disperse across the garden |
| Potatoes | Shares some soilborne pathogens; no companion benefit | Foe | Separate from cucurbits |
Pollination: why companions matter most here
Per Cornell Cooperative Extension, zucchini bears separate male and female flowers on the same plant. Male flowers appear first, typically 1–2 weeks before the first female flowers. Female flowers are identifiable by the small immature fruit at the base of the bloom. Both must be open simultaneously and visited by bees for successful pollination.
Poor pollination shows up as fruit that starts to develop, then yellows and rots at the blossom end (blossom end rot from pollination failure is different from the calcium-related blossom end rot of tomatoes). Per UC IPM, this is one of the most common causes of disappointment in zucchini gardens.
The fix is maintaining a diverse flowering habitat within 50–100 feet of the vines throughout the bloom period.
Squash vine borer
Squash vine borer (Melittia cucurbitae) is a day-flying moth whose larvae bore into the base of the squash stem and feed internally. The vine collapses suddenly, usually in midsummer, when infestation is advanced. Per Rutgers NJAES, there are no companion plants known to reliably deter squash vine borer.
The most effective strategies per Rutgers: 1) floating row cover from transplant through flowering (the adult moth lays eggs at the stem base during a 4–6 week window in summer); 2) planting late enough that the main borer flight period passes before the vine is in its vulnerable early stage; 3) in areas with severe pressure, growing butternuts (Cucurbita moschata) instead of zucchini — borers strongly prefer C. pepo species.
Cucumber beetle management with companions
Per NC State Extension, yellow sticky traps near squash plants can monitor cucumber beetle populations. When populations are low, the presence of beneficial insects supported by companion plants can keep them in check. Per Oregon State Extension, Braconid wasps that parasitize cucumber beetle larvae are attracted to flowering umbellifers and alyssum.
Trap cropping with blue hubbard squash (Cucurbita maxima 'Blue Hubbard') is documented in research as an effective strategy: per Cornell Cooperative Extension, blue hubbard is highly attractive to cucumber beetles compared to zucchini, and planting one blue hubbard per 20 zucchini plants can reduce beetle pressure on the main crop. This is a more evidence-based strategy than aromatic herb companions for cucumber beetle management.
Borage and squash bugs
Borage (Borago officinalis) is often cited as repelling squash bugs (Anasa tristis). The evidence for this is observational rather than experimental. Some gardeners report reduced squash bug numbers near borage; controlled trials are limited. Per Texas A&M AgriLife Extension, squash bug management is primarily achieved through monitoring for egg masses on leaf undersides and hand-destroying them before they hatch, regardless of companion planting.
Borage is still worth planting near squash for its bee-attracting qualities, but should not be the sole squash bug management strategy.
Space utilization
Zucchini leaves are large and create deep shade around the crown by midsummer. Per Penn State Extension, any companion plant intended to grow under or between zucchini must be established before the squash canopy closes. Interplanting spinach, lettuce, or arugula in the early weeks of squash growth (April–May in zone 7) and harvesting before the squash shades them out is an efficient use of the early-season space.
Frequently asked questions
Does the "Three Sisters" system work in a small garden? The Three Sisters — corn, beans, and squash — is a polyculture system developed over centuries of Indigenous agriculture in North America. Per Cornell Cooperative Extension, it requires substantial space (each corn-squash-bean cluster needs 3–4 square feet minimum) and timing synchronization. In a small raised bed, the primary benefit of the system (space efficiency, nitrogen fixation from beans, squash mulching function) is real, but it requires a block of at least 6 x 6 feet to function properly.
Will basil help zucchini? Basil near squash is frequently recommended in popular gardening sources. The evidence for basil as a zucchini pest deterrent is anecdotal. Per Oregon State Extension, basil's primary value in a vegetable garden is as a pollinator attractor when it flowers and as a culinary companion for harvest. As a squash bug or cucumber beetle deterrent, the evidence is insufficient to recommend it over more effective strategies.
Why does my zucchini fruit rot before it develops? The most likely cause is pollination failure: the female flower was not adequately visited by bees, or no male flowers were open simultaneously. Per UC IPM, check that male flowers (no fruit at base) and female flowers (tiny fruit at base) are both present and open. Hand-pollinate by transferring pollen with a small brush if bees are absent during the morning bloom window.
Can I grow winter squash and zucchini in the same bed? You can, but they share the same pest species and concentrating cucurbits in one area increases pest pressure. Per NC State Extension, the more practical issue is space: zucchini sprawls and will shade winter squash vines. Give each type its own area of the garden.
Sources
- Cornell Cooperative Extension — Cucurbit Pollination and Production
- UC IPM — Summer Squash Pest Management
- Rutgers NJAES — Squash Vine Borer
- NC State Extension — Cucurbit Companion Planting
- Oregon State Extension — Beneficial Insects in Vegetable Gardens
- Texas A&M AgriLife Extension — Squash Bug Management
- Penn State Extension — Summer Squash Production