Vertical gardening: trellising vining crops

Last reviewed September 2026 · written from public-domain USDA/NOAA data and Cooperative Extension references — see how we source data

Illustration of vertical growing in a raised bed: cucumber vines climbing a net trellis with cucumbers hanging down, and pole beans with pods climbing a three-pole tepee.

Trellising trades ground space for vertical space. It is one of the single best moves in a small garden: more plants per square foot, cleaner fruit that is not sitting on wet soil, better airflow that cuts down disease, and an easier harvest.

What climbs well

Pole beans, peas, cucumbers, small-fruited melons and squash (heavy fruit may need a fabric sling for support), and indeterminate tomatoes all take to a trellis readily.

Trellis styles

A cattle panel bent into an arch handles heavy vines like squash and melons. Simple stakes and twine, or the Florida weave, support tomatoes without a rigid frame. An A-frame trellis works well for squash and melons in a compact footprint. Netting stretched on a simple frame suits peas and beans.

How tall a trellis each crop needs

0′2′4′6′8′
Peas3-6 ft · nettingCucumbers5-6 ft · netting or A-frameSmall melons5-6 ft · panel + fruit slingsSmall winter squash5-6 ft · cattle-panel archPole beans6-8 ft · poles or stringsIndeterminate tomatoes6-8 ft · stake, string or weave
Solid bar: the minimum useful height; lighter bar: the height vigorous varieties reach. The dashed line is about head height (5½ ft) - anything above it is harder to pick, so choose shorter varieties if your support cannot go that tall.

Put it in the right place

Set tall trellises on the north side of a bed (in the Northern Hemisphere) so they do not shade the crops beside them. A trellis full of vines catches a lot of wind, so drive posts at least 18 inches into the ground or fix them firmly to the bed frame.

Build the support before you plant. Pushing stakes in later damages roots, and vines that have already sprawled are hard to lift without breaking.

Adjusting spacing when you trellis

A vertical crop is not competing for ground space the way a sprawling one is, so it can usually be planted closer than the sprawling spacing figure given for that crop — check the crop page for a trellised spacing note where one applies.

Training vines up

Peas and cucumbers climb on their own with tendrils once they find the netting - guide the first shoots to it. Pole beans twine around vertical strings or poles but struggle to grip thick posts or horizontal wires.

Tomatoes and squash do not climb by themselves. Tie tomato stems loosely to the stake or string every 12 inches or so with soft ties, and weave squash vines through the trellis as they grow.

Supporting heavy fruit

Melons and small winter squash grown upward need their fruit supported once it reaches the size of a softball. Make a sling from old tights, netting or a strip of cloth tied to the trellis on both sides.

Stick to small-fruited varieties for vertical growing - personal-sized melons, delicata and acorn squash - and let the giants sprawl.

Common questions

What is the best trellis for cucumbers?

A panel of netting or wire mesh at least five feet tall, on posts or an A-frame. Cucumbers grip it with tendrils and hang their fruit down, which keeps it straight and clean. A cattle-panel arch works well for several plants at once.

How tall should a trellis be?

About six to eight feet for pole beans, indeterminate tomatoes and vining cucumbers, and three to six feet for peas depending on the variety. Go no taller than you can comfortably reach to pick.

Can zucchini be grown vertically?

Yes. Tie the main stem to a sturdy stake as it grows and remove lower leaves as they yellow. It saves a lot of space and improves airflow, which helps against powdery mildew.

Do beans need a trellis?

Pole beans do - they climb six feet or more. Bush beans stay compact and stand up on their own without support.

Related guides

Square-foot gardening →Companion planting: what actually holds up →