Growing Peas and Green Beans in Containers: The 5-Gallon Rule, Dwarf Varieties That Produce, and Support Heights That Work
Grow peas and green beans in the same containers all season using the relay-crop method—5-gallon pots, the right dwarf varieties, and trellis heights that actually work.
You don’t have to choose between peas and green beans on your patio—they take turns. Peas thrive in cool spring soil and are done before summer heat kills them. Bush beans want exactly the opposite: warm soil and full summer sun. Plant peas in March or April (or whenever your soil hits 45°F), harvest through May or early June, then pull the vines and replant the same 5-gallon pot with bush beans for a July and August harvest. That relay approach is how a small patio doubles its edible output without adding a single container.
This guide covers both crops in one place—because the differences between them determine everything from pot size to support height to variety choice. Get those decisions right before planting season and you avoid the two most common container failures: peas that yield a handful and then collapse, and bean plants that tip their pot over chasing a trellis they don’t need.
How Peas and Green Beans Differ in Containers
The single most useful thing to understand is that peas and beans are not interchangeable warm-weather crops. Peas are cool-season: they need soil temperatures between 45°F and 75°F and stop flowering when temperatures climb above 85°F. According to the University of Minnesota Extension, hot temperatures cause pea flowers to abort entirely, which is why you lose the harvest the moment summer arrives. Bush beans are warm-season: they need soil at 60°F minimum to germinate and produce through summer heat that would kill a pea plant in days.

Skip the guesswork — get a pre-planned 4×8 kitchen garden bed
Free printable planting plan: what goes where, when to plant it, and how to keep it alive. Plus two bonus flower bed plans.
That seasonal gap is the relay system. The table below shows the key decision points for each crop in a container setting.
| Feature | Peas | Bush Green Beans |
|---|---|---|
| Season | Cool (spring / fall) | Warm (summer) |
| Soil temp to plant | 45°F minimum | 60°F minimum |
| Minimum pot size | 2 gallons / 12 in deep | 5 gallons / 12–18 in deep |
| Recommended pot size | 5 gallons for best yield | 5 gallons minimum |
| Trellis (dwarf types) | None or short pea sticks | None needed |
| Trellis (vining types) | 4–6 ft tall | 4–8 ft (pole beans only) |
| Days to harvest | 55–70 days | 45–60 days |
| Nitrogen effect | Fixes nitrogen into soil | Fixes nitrogen into soil |
Both are legumes, which means both crops leave nitrogen behind in the soil through their root nodules. When you complete the relay and remove the pea roots in June, the potting mix is measurably richer for the beans that follow.
For a broader introduction to container gardening techniques, pot selection, and compost mixes, see our complete container gardening guide.
Pot Size: Why 5 Gallons Is the Practical Floor
The official minimums are 2 gallons and 12 inches of depth for peas (NC State Extension) and 5 gallons with 12–18 inches of depth for bush beans (University of Wisconsin Extension). In practice, I’d use 5-gallon containers for both if you want a real harvest rather than a novelty handful. Here’s why.
A 2012 meta-analysis by Poorter et al. covering 65 studies found that doubling pot volume produces 43% more plant biomass on average. The mechanism is not simply root space—it’s photosynthetic capacity. Root restriction reduces how much photosynthate (sugar) the plant produces per unit of leaf area. When the plant can’t generate enough energy for both leaf maintenance and fruit set, it rations: reproductive output gets cut first. That’s the scientific reason your peas in a too-small pot flower but barely fill out pods.
For the relay system, aim for a 5-gallon pot that is at least 12 inches deep. This works for both crops without repotting, which is the point—you just pull one crop and plug in the other.
Pot material matters less than drainage. Plastic retains moisture better (useful in hot summers for beans), while terracotta dries quickly and benefits cool-season peas but demands more frequent watering during the bean season. Fabric grow bags provide excellent aeration—roots air-prune at the edges rather than circling—and work well for both crops. Whatever you choose, skip the layer of gravel at the bottom: it creates a perched water table at the soil-gravel interface that raises the saturated zone up into the root area rather than improving drainage. Fill the entire pot with quality potting mix.

Support Structures: Peas Need Them, Bush Beans Don’t
This is where the two crops diverge most sharply in a container setup.
Peas: Vining pea varieties grow 4–5 feet tall and need a trellis to climb (University of Minnesota Extension). Without one, they sprawl across neighboring containers, trap moisture against the foliage, and become disease-prone. If you’re growing vining types, install a 4–5 foot stake-and-string trellis or bamboo tepee inside the container before the plants reach 6 inches—retrofitting a trellis around mature pea vines damages the stems and tendrils.
Dwarf and bush pea varieties reach only 18–30 inches and either need short pea sticks or manage without any support, as their tendrils interlock and hold the plant upright. Semi-leafless varieties are especially good at this: tendrils replace most of the leaf area and tangle into a self-supporting mass (UMN Extension). If space is tight, dwarf peas are the clear choice for container life.
Bush green beans: Standard bush bean cultivars are compact plants that do not need a climbing support at all (NC State Extension). This is the main reason bush beans outscore pole beans for container growing—you get a productive crop without the engineering challenge of anchoring a 6-foot trellis in a 5-gallon pot. Pole beans can be grown in containers with very heavy, stable pots and a wall-fixed trellis, but for most patio situations, bush varieties eliminate that problem entirely. See our bush beans vs. pole beans comparison for the full breakdown.
For those using vertical space on a fence or wall, container-grown climbing peas can be especially productive—our vertical vegetable gardening guide covers securing supports to balcony railings and fence panels.
Best Pea Varieties for Containers
The variety choice is more consequential for peas than for beans, because the gap between a 5-foot vining type and an 18-inch dwarf is enormous in a container context.
Sugar Ann is the standard recommendation for container snap peas: a bush-type plant reaching about 18–24 inches that sets pods in roughly 52 days. It carries the All-America Selections award and was bred specifically for early production before summer heat arrives. Pods are sweet and stringless at the snap stage.
Stop missing your zone's planting windows.
Select your US zone and month — get a complete checklist of what to plant, prune, feed, and protect right now.
→ View My Garden CalendarTom Thumb is the choice for genuine space constraints—the plant reaches just 8–10 inches, which means it fits in a window box or a 1-gallon pot and still produces small but sweet shelling peas. It’s one of the oldest documented dwarf pea varieties and remains reliable for early spring containers.
Little Marvel is a shelling pea that grows 18 inches tall with high pod fill. It matures in about 63 days and produces well under cool conditions. If you want garden peas to shell rather than eat pod-and-all, this is a consistently documented compact performer.
Cascadia is a snap pea that reaches 24–30 inches—semi-dwarf rather than true dwarf—but produces over a longer window than Sugar Ann and handles early spring cold well. It’s a middle ground for gardeners who want more yield and can provide a short stake for support.
All four of these produce best when planted as soon as the soil is workable in spring, weeks before your last frost date in most zones. Staging plantings two weeks apart extends the harvest window before summer heat shuts pea production down entirely.
Best Green Bean Varieties for Containers
For containers, the category you want is bush snap beans: compact, no-support, fast-producing, and suited to successive plantings through summer.
Bush Blue Lake 274 is the benchmark container bean—18 to 24 inches tall, straight pods, and a reliable producer across US zones. It’s the variety most university extension programs use as a reference because it’s consistent across climates and performs well in the 45–60 day window between last spring frost and early summer.
Provider matures in about 50 days and is notably early, making it useful in shorter summers (zones 3–5) where you need the bean crop to finish before fall. It handles both cooler and warmer summer conditions better than most varieties.
Contender (also sold as ‘Tender Pod’) is a heat-tolerant bush bean that stays productive into the warmer weeks of summer that would slow other varieties. At 18–20 inches, it fits a 5-gallon container with 2–3 plants and keeps producing if you harvest pods before they become fibrous. The Virginia Tech Extension confirms 2–3 plants per container as the right density for bush beans, harvesting over a 45–60 day window with re-plantings at two-week intervals for continuous supply.
Mascotte is a compact bush bean bred specifically for pot culture, growing to about 16 inches and producing a concentrated flush of pods. It’s worth seeking out if you’re working with smaller containers or want the cleanest ornamental appearance alongside your edibles.
Avoid pole beans in free-standing containers unless you can fix the trellis to a wall or fence. A 6-foot bamboo stake in a 5-gallon pot becomes a leverage arm that tips the container over when the plants are loaded with foliage and pods.
Soil, Watering, and Fertilizer
Both crops grow in the same container medium: a quality all-purpose potting mix with added perlite for drainage. Avoid garden soil in containers—it compacts, drains poorly, and introduces soil-borne diseases in an environment where the roots have no escape route.
Watering: Containers dry faster than garden beds, especially during the hot weeks of the bean season. According to Penn State Extension, most container vegetable gardens need watering at least once per day during hot summer months. For peas in spring, the soil stays moist longer in cooler temperatures, but check daily during any dry stretch—peas in a 5-gallon pot can wilt in 24 hours on a warm spring day.
Fertilizer: Peas and beans are legumes that fix atmospheric nitrogen into the soil through a symbiotic relationship with Rhizobium bacteria on their roots (NC State Extension). This means they need less added nitrogen than most vegetable crops—excess nitrogen from fertilizer drives leafy growth at the expense of pods. Use a balanced slow-release granular fertilizer at planting, or a dilute liquid feed every 3–4 weeks, and don’t push the nitrogen. When you complete the relay and beans follow peas in the same pot, the residual root nitrogen from the peas benefits the beans without any extra input.
Succession planting: For beans, the Virginia Tech Extension recommends replanting every two weeks for continuous harvest. A single 5-gallon pot exhausts its bean harvest in 2–3 weeks of peak production. If you have three or four containers running a two-week stagger, you maintain a steady supply rather than a glut followed by nothing.
Frequently Asked Questions
Can I grow peas and beans in the same container at the same time?
No—and there’s no benefit to trying. Peas prefer cool soil temperatures (45–75°F) and finish before summer. Beans need warm soil (60°F minimum) and produce through summer heat. Growing them simultaneously would mean one crop is always in the wrong temperature range. The relay approach—peas first, beans second—gives both crops ideal conditions from the same pot.
How deep does the pot need to be?
At minimum 12 inches for peas (NC State Extension) and 12–18 inches for beans (University of Wisconsin Extension). In practice, a 12-inch-deep container handles both if the volume reaches 5 gallons. Pea roots are shallower than bean roots, so depth matters slightly less for them, but the volume recommendation stays the same: 5 gallons for productive yields of either crop.
Why did my peas stop producing in late spring?
Heat-induced flower abortion. When daytime temperatures climb above 85°F consistently, pea plants drop their flowers before the pods set. This is a built-in response to an environment where the seeds would not survive, not a disease or watering problem. The solution is timing: plant early enough that the majority of your harvest comes before your region hits sustained warm weather. In zones 6–8, that usually means planting by mid-March. In zones 3–5, late April or early May still gives a full pea season before July heat.
Can I reuse the same soil for both crops?
Yes, and the relay sequence actively improves it. Pea roots leave nitrogen-fixing nodules in the potting mix. When you remove the spent pea plants, those nodules release nitrogen as they decompose—exactly what the following bean crop needs. Top-dress with a thin layer of fresh compost when replanting, water it in, and the beans go into enriched soil without additional nitrogen fertilizer.
Sources
- NC State Extension — Pisum sativum (Peas)
- NC State Extension — Phaseolus vulgaris (Beans)
- University of Minnesota Extension — Growing Peas
- University of Wisconsin Extension — Growing Vegetables in Containers
- Virginia Tech Extension — Container Vegetable Gardening
- Penn State Extension — Container Vegetable Gardening: Four Keys to Success
- Poorter H. et al. (2012) — Pot size effects on plant growth, Functional Plant Biology 39:839–850









