Squash grows best with beans, corn, and pumpkins in the same bed

Squash thrives alongside nitrogen-fixing plants — beans and peas — that add nutrients to the soil as they grow. The classic combination is squash, corn, and beans, sometimes called the "Three Sisters." Corn gives beans something to climb, beans feed the soil, and squash spreads across the ground to shade the roots and retain moisture. Pumpkins work the same way as squash and can share a bed if you have the space. Avoid planting squash near fennel, potatoes, or brassicas like cabbage and broccoli, which compete for the same nutrients and space.

The key is understanding what squash needs: full sun, consistent moisture, and room to sprawl. Companion plants should either add something the squash cannot get from soil alone, or occupy a different layer — tall plants above, ground cover below. A raised bed 4 feet by 8 feet can hold one squash plant, two corn stalks, and a cluster of beans around the corn. Smaller beds work better with just squash and beans, or squash and nasturtiums for pest control.

Key Takeaways

  • Beans and peas fix nitrogen in the soil, which squash needs in large amounts, making them ideal companions in the same bed.
  • Corn provides vertical structure for climbing beans while squash spreads horizontally below, maximizing the use of a raised bed's space.
  • Nasturtiums, marigolds, and borage repel pests that target squash and can be planted at the bed's edges without competing for nutrients.
  • Fennel, potatoes, and brassicas deplete soil faster than squash can tolerate and should be planted in a separate bed.
  • Squash needs consistent moisture and full sun; companion plants should not shade the squash leaves or require more water than the soil can hold.

Nitrogen-fixing plants that feed the soil while squash grows

Beans and peas are the workhorses of companion planting because they convert atmospheric nitrogen into a form plants can use. Squash is a heavy feeder and depletes nitrogen quickly, so planting beans alongside it means the soil stays richer longer. Bush beans mature in 50 to 60 days and take up less space than pole beans, making them better for a raised bed. Pole beans climb a trellis or corn stalk and produce for 8 to 10 weeks, giving you a longer harvest window.

Plant beans after the squash is established — wait until the squash has two or three true leaves — so the young squash is not shaded while it gets started. Space beans 4 to 6 inches apart around the base of corn or a trellis. Peas work the same way but prefer cooler weather; plant them in spring or fall rather than summer. Both beans and peas will be ready to harvest before the squash vines take over the bed, so you get two crops from one space.

Tall plants that create structure without blocking sun

Corn is the traditional partner for squash because it grows straight up and does not shade the squash leaves. Plant corn seeds 8 to 12 inches apart in a row or cluster, and let them reach full height before planting squash around the base. Corn needs consistent moisture and benefits from the mulch that squash vines provide. The corn stalks also act as a natural trellis for beans, completing the Three Sisters system.

Sunflowers work the same way as corn but take up less space and mature faster — 70 to 100 days depending on the variety. They also attract pollinators, which squash needs to set fruit. Plant sunflowers on the north side of the bed so they do not shade the squash as the sun moves through the day. Okra is another tall option if you live in a warm climate; it grows 3 to 4 feet tall and produces for months without competing with squash for nutrients.

Pest-control plants that grow at the bed's edges

Nasturtiums repel squash bugs and cucumber beetles, the two pests most likely to damage your crop. Plant them at the edges of the bed or let them trail over the sides; they will not compete with squash for root space because they are shallow-rooted. Nasturtiums also attract aphids away from the squash, acting as a trap crop. They flower within 50 days and are edible, so you get a bonus harvest.

Marigolds deter beetles and other insects and can be tucked between squash plants without shading them. Borage attracts bees and repels tomato hornworms and cabbage moths, though it is less directly useful for squash. All three are low-maintenance and thrive in the same full-sun conditions as squash. Plant them from seed or transplants at the same time as squash, and they will be established before the vines spread.

Plants to avoid planting near squash

Fennel inhibits the growth of most plants around it and should never share a bed with squash. Potatoes and squash both need heavy nitrogen and will starve each other out; they also attract different pests that can cross over if planted too close. Brassicas — cabbage, broccoli, kale, and Brussels sprouts — compete with squash for the same nutrients and space, and both groups need consistent moisture, which can lead to fungal disease if the bed stays too wet.

Cucumbers and melons seem like natural companions because they are also sprawling vines, but they attract the same pests as squash and will compete for water and nutrients. If you want to grow multiple vine crops, plant them in separate beds or at least 6 feet apart. Tomatoes and peppers are fine to plant in the same bed as long as you give each plant its own space and do not let the squash vines smother them as they spread.

Spacing and timing for a productive raised bed

A standard raised bed is 4 feet by 8 feet and 12 inches deep. One squash plant needs about 16 square feet to sprawl, so a bed this size holds one squash, two corn stalks, and a ring of beans or peas around the corn. If your bed is smaller — 4 by 4 feet — plant one squash with beans only, or squash with nasturtiums for pest control. Larger beds can hold two squash plants if you space them at opposite ends and let the vines grow toward each other.

Timing matters because squash is sensitive to cold soil. Wait until the soil temperature reaches 60°F before planting squash seeds or transplants; in most regions, this is late May or early June. Plant corn and beans at the same time or a week later. Nasturtiums and marigolds can go in earlier because they tolerate cooler soil. Water the bed deeply after planting and keep the soil consistently moist — not waterlogged — for the first three weeks while roots establish.

Soil preparation before planting companions

Squash and its companions need rich, well-draining soil with plenty of organic matter. Before planting, mix 2 to 3 inches of compost or aged manure into the top 8 inches of the bed. This gives beans and squash the nitrogen and nutrients they need to start strong. If your raised bed is new, fill it with a mix of one-third compost, one-third peat moss or coconut coir, and one-third perlite or coarse sand for drainage.

Test the soil pH if possible; squash prefers slightly acidic to neutral soil, between 6.0 and 7.0. Beans tolerate the same range. If the soil is too acidic, add lime; if too alkaline, add sulfur. You do not need to amend the bed again during the growing season if you started with good compost, but a side dressing of compost around the squash plant in mid-summer will boost production. Mulch around the plants with 2 inches of straw or shredded leaves to retain moisture and suppress weeds.

Frequently Asked Questions

Can I plant squash and zucchini together in the same raised bed?

Yes, but only if your bed is large enough. Squash and zucchini are the same plant and will cross-pollinate if they flower at the same time, which changes the flavor of next year's seeds but not this year's fruit. They need the same space and nutrients, so treat them as one plant for spacing purposes. A 4-by-8-foot bed holds one squash or zucchini plant comfortably; two will compete and produce less.

Do I have to plant the Three Sisters together, or can I skip the corn?

You can skip the corn and plant just squash and beans. The beans will still fix nitrogen for the squash, and you will have more room for the vines to spread. Corn is useful if you want to maximize production in a small space, but it is not required. If you skip corn, plant beans around the squash plant in a circle, about 6 inches away from the stem.

What if squash bugs appear even with nasturtiums planted nearby?

Nasturtiums reduce pest pressure but do not eliminate it. Check the undersides of squash leaves every few days for egg clusters and remove them by hand. Spray the plants with neem oil or insecticidal soap if the infestation is heavy. Companion planting works best as prevention, not as a complete solution to pest problems.

Can I plant lettuce or spinach under the squash vines?

Yes, but only early in the season. Lettuce and spinach need light to germinate and grow, so plant them before the squash vines spread and shade the bed. They will be ready to harvest in 30 to 45 days, before the squash takes over. After you harvest the greens, the bare soil under the squash vines will stay cool and moist, which is ideal for the squash roots.

How much water do squash and its companions need together?

Water the bed deeply once or twice a week, depending on temperature and rainfall. Squash needs 1 to 2 inches of water per week; beans and corn need the same. Water at the base of the plants in the morning to keep the leaves dry and prevent fungal disease. Mulch helps retain moisture, so you may need to water less often if the bed is well-mulched.