Green bean benefits significantly from companion planting. The plant's main challenges — Mexican Bean Beetle and Aphids 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 green bean away from.

Companion Planting for Green Beans
Published: April 21, 2026

Best Companions for Green Beans
| Companion | Benefit | Spacing |
|---|---|---|
| Carrot | Loosens soil near tomato roots; attracts parasitic wasps | 6 in |
| Cucumber | Beneficial pairing with green bean | 12–18 in |
| Summer Savory | Repels Mexican bean beetle; improves bean flavor | 12 in |
| Marigold | Root secretions kill soil nematodes; deters whitefly and aphids above ground | 12 in |
| Corn | Provides trellis for climbing beans; shades out weeds with squash | 12–18 in (Three Sisters spacing) |
| Squash | Beneficial pairing with green bean | 12–18 in |
Plants to Avoid Near Green Beans
| Avoid | Reason |
|---|---|
| Onion | Allium sulfur compounds stunt legume nitrogen fixation |
| Garlic | Allium root chemistry inhibits bean and pea growth |
| Fennel | Releases allelopathic compounds toxic to most vegetables; grow in isolation |
| Shallot | Allium family inhibits legume nitrogen fixation |
Green Beans in a Raised Bed — Layout
In a 4×8 raised bed, plant pole beans at a trellis on the north end at 6-inch spacing, or bush beans in rows 12 to 18 inches apart across the bed. Add carrots between bean rows — the two root systems operate at different depths without competition. Plant summer savory at the bed edges to repel Mexican bean beetles. Never plant near onions or garlic, which inhibit bean nitrogen fixation.
When to Plant Companions with Green Beans
Plant carrot at the same time as green bean 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 green bean 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 & Green Bean Pest Control
Green Bean’s most common pests — Mexican Bean Beetle, Aphids, Spider Mite — are directly addressed by the right companions. Carrot loosens soil near tomato roots; attracts parasitic wasps. Cucumber 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 green bean?
Carrot is the best all-around companion for green bean — loosens soil near tomato roots; attracts parasitic wasps. Plant carrot 6 in from green bean for the strongest effect. Cucumber is a close second — providing complementary benefits.
What should I not plant near green bean?
Avoid Onion and Garlic. Onion allium sulfur compounds stunt legume nitrogen fixation. Keep these at least 6 feet from your green bean or plant them in a separate bed to avoid the competition and shared pest pressure.
Can I grow green bean and onion in the same garden?
Yes, in separate beds. Onion and green bean allium sulfur compounds stunt legume nitrogen fixation, 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 green bean?
Pest-deterrent companions like carrot work within 12 to 18 inches of green bean. 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 mexican bean beetle on green bean?
Yes, for the specific companions that target Mexican Bean Beetle. Carrot and Cucumber are documented mexican bean beetle deterrents and should be planted within 18 inches of green bean. Companion planting is one part of integrated pest management — combine it with floating row covers during peak mexican bean beetle season and hand-picking for best results.