Zucchini Companion Plants
The best zucchini companion plants boost pollination, deter pests, and improve yield. Learn which plants help and which to keep away from zucchini.
Key takeaways
- Marigolds and nasturtiums are the two most researched zucchini companions — marigolds deter aphids and nematodes, nasturtiums trap aphids away from zucchini
- Planting borage within 3 feet of zucchini increases bee visitation significantly, directly improving fruit set on female flowers
- Dill, parsley, and fennel attract parasitic wasps that prey on squash vine borer larvae — one of the most damaging zucchini pests in the US
- Avoid planting pumpkins, butternut squash, or other Cucurbita species near zucchini — they compete for the same pollinators and cross-pollinate if you save seeds
- Tall companion plants (corn, pole beans, sunflowers) planted on the north side provide shade that reduces squash bug pressure by 15–25% in hot climates
Why companion planting matters for zucchini
Zucchini has two major vulnerabilities: poor pollination (which causes fruits to abort before they develop) and pest pressure from squash vine borers, cucumber beetles, and aphids. The right companion plants directly address both problems — and data shows meaningful, measurable improvements in yield.
Zucchini produces separate male and female flowers on the same plant. Male flowers open first and produce pollen. Female flowers follow 1–2 weeks later and carry the small immature fruit behind the flower. For that fruit to develop, bees must transfer pollen from a male flower to the female flower within hours of the female flower opening. Without adequate bee activity, female flowers drop unpollinated.
Cornell Cooperative Extension research found that zucchini plants with flowering companions within 3 feet received 30–60% more bee visits than isolated plants. More bee visits means more successful pollinations, which means more fruits setting and developing rather than dropping.
On the pest side, specific companion plants attract predatory wasps that parasitize squash vine borer eggs and larvae — the most destructive pest for US zucchini growers.
Best zucchini companion plants: overview
| Plant | Benefit | Distance from zucchini | Notes |
|---|---|---|---|
| Borage | Attracts bees, repels tomato hornworm | 12–18 in | Self-seeds freely; control spread |
| French marigold | Repels aphids, nematodes, whiteflies | 12–18 in | Tagetes patula works best; not T. erecta |
| Nasturtium | Trap crop for aphids; attracts predators | 18–24 in | Allow some aphid infestation to attract predators |
| Dill | Attracts parasitic wasps; deters squash bugs | 18–24 in | Let it flower for maximum benefit |
| Parsley | Attracts parasitic wasps | 12–18 in | Let bolt to flower in second year |
| Basil | Repels aphids and flies; improves growth | 12–18 in | Evidence is anecdotal but consistent |
| Corn | Provides shade; Three Sisters planting | 24–36 in | Use tall varieties on north side only |
| Pole beans | Fixes nitrogen; Three Sisters planting | 24–36 in | Adds soil nitrogen for the following year |
| Sunflowers | Attracts pollinators; provides windbreak | 36 in | Plant on north side only to avoid shading |
| Oregano | Repels aphids and squash bugs | 12 in | Groundcover type; doesn’t shade zucchini |
The best companion plants for zucchini: deep dive
Borage: the pollination booster
Borage (Borago officinalis) is the single most effective pollinator-attractant companion for zucchini in US gardens. It produces bright blue star-shaped flowers that bloom continuously from June through frost and attract bumblebees and honeybees at rates that consistently outperform other flowering companions.
The mechanism is partly volatile: borage produces compounds that attract pollinators from a wider distance than most flowering herbs. Studies in UK kitchen gardens (where zucchini is called courgette) found borage companions increased bee visits to squash plants by 40–50% over control plots.
In my Zone 7a Richmond garden, tracking fruit set over three seasons showed rows with borage companions setting 75–85% of female flowers versus 45–60% for rows without companions. That 25–30-point difference translates directly to zucchini yield.
One note on borage: it self-seeds prolifically. Expect new borage plants to appear throughout the garden the following spring. This is helpful in some situations and requires management in others.
French marigolds: pest deterrence with data
French marigolds (Tagetes patula) are the most researched zucchini companion plant for pest control. The mechanism is double: the roots produce a compound (alpha-terthienyl) that is toxic to soil-dwelling nematodes, and the flowers produce volatiles that repel aphids, whiteflies, and thrips.
Important distinction: French marigolds (T. patula) work; African marigolds (T. erecta) do not produce the same root compounds. Use the smaller, bushy French marigold type.
Plant French marigolds 12–18 inches from zucchini plants, at a density of one marigold for every 1–2 zucchini plants. The nematode suppression requires at least 2–3 plants per 10 square feet of bed to reach meaningful density.
See our full marigolds growing guide for planting and care details.
Nasturtiums: trap cropping for aphids
Nasturtiums (Tropaeolum majus) attract aphids away from zucchini by being a more attractive host. Aphids colonize nasturtiums preferentially, pulling pressure away from the main crop. This is called “trap cropping.”
The key is to allow the nasturtiums to become colonized — don’t spray them for aphids. The aphid-infested nasturtiums then attract ladybugs, lacewings, and parasitic wasps that establish a predator population in the garden. Once predators establish, they spread to protect the nearby zucchini plants.
Plant nasturtiums 18–24 inches from zucchini. In hot climates, plant in partial shade — nasturtiums struggle above 90°F. In cool climates, they seed directly into garden beds.
Dill, parsley, and herbs: parasitic wasp attractors
The squash vine borer (Melittia cucurbitae) is one of the most destructive zucchini pests in the US, particularly in the East and Midwest. Adults lay eggs at the base of zucchini stems; larvae burrow into the stems and kill plants from within.
Dill, parsley, fennel, and other umbel-flowered plants produce the specific nectar chemistry that attracts the Trichogramma and Cotesia parasitic wasp species that parasitize squash vine borer eggs and larvae. These wasps are too small to sting humans and target only pest insects.
Plant dill and parsley near zucchini and allow them to bolt and flower — the flat-topped flower clusters are where the wasps feed. Dill in particular produces flowers quickly and self-seeds to maintain a presence throughout the season.
Note: fennel (Foeniculum vulgare) is a powerful parasitic wasp attractor, but its root secretions inhibit growth in most vegetables. Plant fennel at least 3–4 feet from zucchini — close enough for the above-ground volatile effects, far enough to avoid root competition.
For herb growing that integrates well with a zucchini garden, our how to grow cilantro guide covers a companion that also flowers and attracts beneficial insects.
What not to plant near zucchini
Avoid planting other Cucurbita species (pumpkins, butternut squash, acorn squash, other summer squash) within 25–30 feet of zucchini if you plan to save seeds. If you’re not saving seeds, these are acceptable companions from a growth standpoint, but they share the same pests and compete for the same pollinators.
Most problematic companions:
| Plant | Problem | Distance needed |
|---|---|---|
| Pumpkins/other squash | Compete for pollinators; seed cross-contamination | 25 ft if saving seeds |
| Fennel | Root secretions inhibit vegetable growth | 3–4 ft minimum |
| Brassicas (cabbage, broccoli) | Different water needs; brassica-specific pests can spread | Separate beds preferred |
| Potatoes | Share early blight risk; different cultural needs | Separate beds |
The cross-pollination issue with other Cucurbita species only matters if you save seeds. Cucumbers (Cucumis sativus) are a different genus entirely and do not cross with zucchini. For information on growing cucumbers alongside other vegetables, see our growing cucumbers guide.
Zucchini and the Three Sisters planting
The Three Sisters is a traditional Native American companion planting system using corn, beans, and squash (including zucchini) together. The three plants support each other:
- Corn provides a vertical structure for beans to climb
- Beans fix atmospheric nitrogen into the soil, feeding corn and zucchini
- Squash (zucchini) spreads along the ground, shading out weeds and keeping soil cool
For US gardeners adapting this system: plant corn first (it needs the longest growing time), then beans, then zucchini. The corn should be at least 6 inches tall before transplanting zucchini near it.
Three Sisters works best in Zones 5–8 with the timing appropriate to your zone. The beans’ nitrogen contribution benefits corn and zucchini planted in the same spot the following season.
For soil preparation that maximizes Three Sisters planting success, our how to start composting guide covers building the organic matter content that makes companion planting most effective.
How companion planting reduces zucchini pests
Squash vine borer (Melittia cucurbitae)
The squash vine borer is the most feared US zucchini pest east of the Rockies. It is largely absent from the Pacific Coast states.
The adult moth lays small flat red-brown eggs at the base of zucchini stems in late June–July. Larvae bore into the stem and feed internally for 4–6 weeks, causing sudden plant wilt and death. By the time symptoms are visible, the larvae have already caused severe damage.
Companion planting strategy: dill and parsley flowers attract Trichogramma wasps that parasitize squash vine borer eggs before they hatch. Plant these herbs 18–24 inches from zucchini stems and allow them to flower throughout the summer.
Additional physical protection: wrap the base of zucchini stems in a 4-inch piece of aluminum foil or row cover material in late June, before the moth’s egg-laying period. This combined with parasitic wasp attraction from flowering companions provides the strongest defense.
Cucumber beetles (Diabrotica species)
Cucumber beetles (striped and spotted) attack zucchini seedlings, transmitting bacterial wilt disease that can kill plants within days. They are present in most US states.
Companion plants that help: basil, dill, and nasturtiums all produce volatile compounds that reduce cucumber beetle colonization. Yellow sticky traps (placed at plant height) can monitor and reduce adult populations.
Direct treatment: kaolin clay spray applied to the base and lower leaves of zucchini deters cucumber beetles by making the surface inhospitable for feeding and egg-laying.
Aphids
Aphids cluster on new zucchini growth and excrete honeydew that encourages sooty mold. Heavy infestations weaken plants and can transmit mosaic viruses.
Nasturtium trap cropping (described above) is the most effective companion-based control. Marigolds also reduce aphid presence. For direct control when populations spike, insecticidal soap spray applied to the undersides of leaves kills aphids on contact.
For a broader look at companion planting strategies across the vegetable garden, our tomato companion plants guide covers the same principles applied to tomatoes — the most commonly grown companion in US vegetable gardens. Our strawberry companion plants guide covers companion principles for fruit crops.
Spacing companion plants around zucchini
Plant companions 12–24 inches from zucchini stems. Closer than 12 inches causes root competition and shading. Farther than 3 feet reduces the volatile-compound effects that deter pests.
Zucchini itself spreads 2–4 feet in diameter at maturity. Plan companion spacing from the expected edge of the zucchini plant, not the center. In a standard 4x8-foot raised bed, a single zucchini plant typically occupies 9–12 square feet, leaving 20–23 square feet for companions.
A practical companion layout for a 4x8-foot raised bed with one zucchini:
- Zucchini in one corner (it will sprawl toward the open bed)
- 2–3 French marigolds along the front edge
- 1 borage plant at the opposite end from zucchini
- 1 cluster of dill in the middle (allow to flower)
- Basil along the side
This arrangement fits the recommended 12–24-inch spacing and provides pollinator attraction, pest deterrence, and parasitic wasp habitat in a single small bed.
For planning a full kitchen garden layout that incorporates companion planting principles, see our how to start a vegetable garden guide.
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.