Pumpkin benefits significantly from companion planting. The plant's main challenges — Squash Vine Borer and Squash Bug pressure, and the pollination needs that drive fruit set — are directly addressed by the right neighboring plants. Below are the companions with the strongest evidence, their specific benefits, recommended spacing, and the plants to keep pumpkin away from.

Companion Planting for Pumpkins
Published: April 21, 2026

Best Companions for Pumpkins
| Companion | Benefit | Spacing |
|---|---|---|
| Corn | Provides trellis for climbing beans; shades out weeds with squash | 12–18 in (Three Sisters spacing) |
| Bush Bean | Beneficial pairing with pumpkin | 12–18 in |
| Nasturtium | Acts as a trap crop drawing aphids away; attracts predatory insects | 18 in |
| Marigold | Root secretions kill soil nematodes; deters whitefly and aphids above ground | 12 in |
Plants to Avoid Near Pumpkins
| Avoid | Reason |
|---|---|
| Potato | Same family (Solanaceae) — share blight and pest pressure; compete for nutrients |
| Summer Squash | Competes with pumpkin or shares pest pressure |
| Zucchini | Competes with pumpkin or shares pest pressure |
Pumpkins in a Raised Bed — Layout
In a standard 4×8 raised bed with pumpkin as the main crop, plant 48-inch spacing for the primary crop and interplant Corn, Bush Bean, and Nasturtium around the edges and between rows. Keep Potato in a separate bed to avoid the competition and disease pressure those pairings create.
When to Plant Companions with Pumpkins
Plant corn at the same time as pumpkin transplants — both need soil above 60°F and consistent warmth for establishment. Marigolds and other flowering companions can be started from seed 4 weeks earlier indoors, then transplanted at the same time as the main crop. Legume companions like bush beans direct-sow 1 week after last frost; nitrogen fixation does not start for 3 to 4 weeks, so timing them just ahead of peak pumpkin demand works best. Fast-crop companions (radish, lettuce) can be direct-sown between transplants the same day for a 30 to 45 day harvest before the main crop fills in.
Companion Planting & Pumpkin Pest Control
Pumpkin’s most common pests — Squash Vine Borer, Squash Bug, Cucumber Beetle — are directly addressed by the right companions. Corn provides trellis for climbing beans; shades out weeds with squash. Bush Bean adds a second defense — benefiting the main crop. These effects are strongest when the companion is planted within 18 inches of the main crop, and when multiple companion species are layered together rather than used singly. Beneficial insects (hoverflies, parasitic wasps, ladybugs) drawn in by companion flowers provide additional control against aphids and caterpillars — flowering companions like dill, borage, and marigold all attract these predators.
Frequently Asked Questions
What is the best companion plant for pumpkin?
Corn is the best all-around companion for pumpkin — provides trellis for climbing beans; shades out weeds with squash. Plant corn 12–18 in (Three Sisters spacing) from pumpkin for the strongest effect. Bush Bean is a close second — providing complementary benefits.
What should I not plant near pumpkin?
Avoid Potato and Summer Squash. Potato same family (solanaceae) — share blight and pest pressure; compete for nutrients. Keep these at least 6 feet from your pumpkin or plant them in a separate bed to avoid the competition and shared pest pressure.
Can I grow pumpkin and potato in the same garden?
Yes, in separate beds. Potato and pumpkin same family (solanaceae) — share blight and pest pressure; compete for nutrients, but placing them 6+ feet apart with a buffer of other crops usually prevents problems. Rotation is also important — don't plant the same family in the same bed two years in a row.
How far apart should companion plants be from pumpkin?
Pest-deterrent companions like corn work within 12 to 18 inches of pumpkin. Nitrogen-fixing legumes work at 18 to 24 inches. Trap crops (nasturtiums, for example) need 18+ inch spacing so pests congregate on the trap rather than the main crop. Flowering companions for pollinator attraction can be anywhere in the bed — their bee-attracting effect reaches 10 to 20 feet.
Does companion planting help with squash vine borer on pumpkin?
Yes, for the specific companions that target Squash Vine Borer. Corn and Bush Bean are documented squash vine borer deterrents and should be planted within 18 inches of pumpkin. Companion planting is one part of integrated pest management — combine it with floating row covers during peak squash vine borer season and hand-picking for best results.