Small Vegetable Garden Layout: 4 Plans for Tight Spaces (Fence Line, 4×4, Patio, 8×8)

By Luigi · 11 min read · Published October 13, 2026, updated October 19, 2026

In a small vegetable garden layout, the climbers go up a fence or trellis, the beds stay narrow enough to reach, and the sunniest spot goes to the crops that need it most. Below are four plans for four kinds of tight space: a 2×8 ft bed along a fence, a 4×4 ft first bed, 8 containers on a patio, and an 8×8 ft in-ground corner planted twice in one season. Each plan counts the plants in every square.

Small Vegetable Garden Layout, illustrated

We drew the plans at 1 square = 1 foot. The counts per square come from university extension charts, linked under each plan. For a bigger garden, our vegetable garden layout plans cover a 4×8 bed, a 10×10 garden and a 10×20 in-ground plot.

Sand-colored Pin showing a graph-paper card with a pumpkin, a carrot, garlic and wooden stakes drawn in the corners. Text: "Drawn to scale", "4 small vegetable garden layouts for tight spaces" and a numbered list: fence line, a 2×8 ft bed; first bed, a 4×4 ft square; patio, 8 containers; in ground, an 8×8 ft corner. plotandzone.com.Save to Pinterest

The 4 rules for a small space

  1. Count the sun first. Leafy greens get by with 4 to 5 hours of direct sun, root crops need 5 to 6, and tomatoes and peppers need at least 8 (Rutgers FS129). In a small yard, fences and walls decide which crops you can grow.
  2. Tall crops on the north side. That way they don’t shade the short ones (Rutgers). Virginia Tech puts it the other way round: small, sun-loving crops go on the south side of taller crops (Virginia Cooperative Extension).
  3. Reach the middle without stepping in. A bed should be 4 ft wide at most, or 2 ft if you can reach it from one side only (UW-Extension notes from Mel Bartholomew’s class).
  4. Grow up, then plant twice. Vertical supports save ground space (Nebraska Extension), and a square that finishes in early summer can take a second crop.

How to read the square plans

Plans 1, 2 and 4 use the square foot method created by Mel Bartholomew. You divide the bed into 1-foot squares and plant 1, 4, 9 or 16 plants per square, depending on the spacing on the seed packet: 12 in = 1, 6 in = 4, 4 in = 9, and 2 to 3 in = 16 (UW-Extension notes).

The counts per square come from the UC Master Gardeners chart. Peas, green onions and Swiss chard aren’t on it, so for those we used the UW-Extension notes.

Both charts give a tomato 1 square, and we kept that: 1 tomato per square, tied to a stake and pruned. Skipping the bigger cages is our own choice, because space is the problem in a small garden.

Plan 1: A 2×8 bed along a fence (16 squares)

This 2×8 ft fence-line plan fits 2 tomatoes, 2 cucumbers, 36 peas and 6 more crops in 16 squares, with the fence holding up the climbers.

It works best when the fence is on the north side of the bed, so the bed faces south. Row A runs along the fence, row B along the path, and columns 1 to 8 run west to east. The bed is 2 ft deep because you can only reach it from the front.

Plan 1: a 2×8 bed along a fence, 8 by 2 feet: 2 tomatoes, 2 cucumbers, 36 peas, 2 peppers, 4 basil, 4 parsley, 8 lettuce, 16 radishes, 16 carrots.

Plan 1: a 2×8 bed along a fence. 1 square = 1 ft. The fence runs along the north (top) edge and holds up the climbers. Square foot spacing: plants per square as in the table.

  • 2 Tomatoes1 per square
  • 2 Cucumbers1 per square
  • 36 Peas9 per square
  • 2 Peppers1 per square
  • 4 Basil4 per square
  • 4 Parsley4 per square
  • 8 Lettuce4 per square
  • 16 Radishes16 per square
  • 16 Carrots16 per square

Open or save this plan

Row Squares What goes there Plants
A (fence) A1, A2 Tomato, staked and pruned, 1 per square 2
A3, A4 Cucumber on the fence netting, 1 per square 2
A5–A8 Peas on the fence netting, 9 per square 36
B (path) B1, B2 Pepper, 1 per square 2
B3 Basil, 4 per square 4
B4 Parsley, 4 per square 4
B5, B6 Lettuce, 4 per square 8
B7 Radishes, 16 per square 16
B8 Carrots, 16 per square 16

That’s 90 plants of 9 crops.

Setting it up:

  • Netting: use fencing or netting with holes no wider than 4 inches (Virginia Tech). Fix it to the fence above the climbers.
  • Stakes: Virginia Tech suggests 6-ft stakes driven 2 ft deep for determinate tomatoes, and 8-ft stakes for indeterminate ones.
  • After the peas: peas are a spring crop. When they finish in early summer, clear squares A5 to A8 and sow bush beans, 9 per square (36 plants). Nebraska Extension calls this double-cropping (Nebraska Extension).
  • Depth: most crops need at least 10 inches of soil (UGA Extension).

Fence on the south side? Then the fence shades the bed for part of the day. Count the hours of direct sun. With 4 to 5 hours, skip the tomatoes, peppers and cucumbers and fill row A with lettuce, spinach and chard. Leafy crops handle shade better than root crops, and fruiting crops need the most sun (Texas A&M AgriLife).

Plan 2: A 4×4 first bed (16 squares)

This 4×4 ft plan fits 113 plants of 13 crops, with a trellis along the north edge. It’s the size the square foot gardening notes from Bartholomew’s class suggest for your first time (UW-Extension notes).

Row 1 is the north edge and row 4 is the south edge. Columns A to D run west to east.

Plan 2: a 4×4 first bed, 4 by 4 feet: 1 tomato, 2 cucumbers, 9 peas, 1 pepper, 4 basil, 18 bush beans, 8 lettuce, 9 spinach, 16 green onions, 16 carrots, 16 radishes, 9 beets, 4 parsley.

Plan 2: a 4×4 first bed. 1 square = 1 ft. A trellis along the north edge for the cucumbers and peas. Square foot spacing: plants per square as in the table.

  • 1 Tomato1 per square
  • 2 Cucumbers1 per square
  • 9 Peas9 per square
  • 1 Pepper1 per square
  • 4 Basil4 per square
  • 18 Bush beans9 per square
  • 8 Lettuce4 per square
  • 9 Spinach9 per square
  • 16 Green onions16 per square
  • 16 Carrots16 per square
  • 16 Radishes16 per square
  • 9 Beets9 per square
  • 4 Parsley4 per square

Open or save this plan

Row A B C D
1 (north, trellis) Tomato, staked (1) Cucumber (1) Cucumber (1) Peas (9)
2 Pepper (1) Basil (4) Bush beans (9) Bush beans (9)
3 Lettuce (4) Lettuce (4) Spinach (9) Green onions (16)
4 (south) Carrots (16) Radishes (16) Beets (9) Parsley (4)

Squeeze in a little more: a pepper takes the middle of its square, and the corners stay empty until it grows. The UW-Extension notes suggest sowing a fast crop there, like radishes, green onions or leaf lettuce, and picking it young.

When to plant: lettuce, spinach, peas and radishes are cool-season crops. Tomatoes, peppers, cucumbers, basil and beans go in after your last frost.

Plan 3: A patio garden in 8 containers

If you have no ground at all, this plan puts 8 containers on a 3×8 ft strip of patio: 4 large ones in the back row and 4 small ones in front. Put the back row on the north side, against a wall or railing, so the tall plants don’t shade the pots in front. Pick a spot with at least 6 hours of direct sun (UW–Madison Extension).

Seed-packet style Pin with a full-width band at the top and a checklist on graph paper, with vegetables drawn in the lower corners. Text: "4×4 small vegetable garden layout for a first bed" and a list of what goes in some of the squares: tomato, cucumbers and peas on the trellis, radishes and carrots on the south edge. plotandzone.com.Save to Pinterest
Pot Crop Smallest pot Plants per pot
Back 1 Tomato, a compact “patio” type 5 gal, 12–18 in deep 1
Back 2 Tomato, a compact “patio” type 5 gal, 12–18 in deep 1
Back 3 Cucumber, with a cage or small trellis 5 gal, 12–18 in deep 1
Back 4 Pepper 5 gal, 12–18 in deep 1
Front 1 Leaf lettuce 2 gal, 4–6 in deep 4
Front 2 Spinach 2 gal, 4–6 in deep 4
Front 3 Radishes 2 gal, 4–6 in deep 6
Front 4 Green onions 2 gal, 4–6 in deep 6–10

That’s 24 to 28 plants of 7 crops.

Where the numbers come from:

  • Pot sizes are the minimums from UW–Madison: 5 gallons and 12 to 18 inches deep for large plants, 2 gallons and 4 to 6 inches deep for small ones (UW–Madison Extension). Maryland Extension is more generous: 8 to 10 gallons for a full-size tomato, pepper or cucumber (University of Maryland Extension). If you have room, go bigger.
  • Plants per pot: Texas A&M gives 2 lettuce, 2 spinach, 3 radishes or 3 to 5 green onions per 1-gallon pot (Texas A&M AgriLife). We doubled those for a 2-gallon pot. That part is our arithmetic.
  • Compact tomatoes: some patio varieties grow only 1 to 2 feet tall (UGA Extension).

Two things to skip:

  • Gravel in the bottom. An older Texas A&M guide (2009) suggests an inch of gravel. The newer UW–Madison and Maryland pages say rocks or broken pots in the bottom don’t help, and UW–Madison says layers slow drainage down. We go with the newer advice: a drainage hole and potting mix all the way down.
  • Last year’s mix. Texas A&M advises against reusing the same potting mix for a second season unless it has been composted, because it can carry disease.

Plan 4: An 8×8 in-ground corner, planted twice

If you garden straight in the ground, two 3×8 ft beds with an 18-inch path between them fit an 8×8 corner: 3 + 1½ + 3 = 7½ ft, with 3 inches to spare on each side. Beds 3 ft wide are easy to reach from both sides. An 18-inch path is wide enough to kneel (UGA Extension).

Both beds run north to south, with the tall crops at the north end. Rows 1 to 8 run from north to south, and each row is 3 squares across.

Plan 4 in spring: west bed still empty, 8 by 8 feet: 27 peas, 3 broccoli, 12 lettuce, 27 spinach, 48 radishes, 48 onions, 27 beets, 12 parsley.

Plan 4 in spring: west bed still empty. 1 square = 1 ft. Two 3×8 beds with an 18 in path. The west bed waits for the last frost. Square foot spacing: plants per square as in the table.

  • 27 Peas9 per square
  • 3 Broccoli1 per square
  • 12 Lettuce4 per square
  • 27 Spinach9 per square
  • 48 Radishes16 per square
  • 48 Onions16 per square
  • 27 Beets9 per square
  • 12 Parsley4 per square

Open or save this plan

Plan 4 in summer: both beds planted, 8 by 8 feet: 3 tomatoes, 3 peppers, 3 eggplants, 12 basil, 3 zucchini, 54 beets, 96 carrots, 3 cucumbers, 54 bush beans, 12 swiss chard, 48 onions, 12 parsley.

Plan 4 in summer: both beds planted. 1 square = 1 ft. In the east bed, summer crops have replaced the spring ones in rows 1 to 5. Square foot spacing: plants per square as in the table.

  • 3 Tomatoes1 per square
  • 3 Peppers1 per square
  • 3 Eggplants1 per square
  • 12 Basil4 per square
  • 3 Zucchini2 squares each
  • 54 Beets9 per square
  • 96 Carrots16 per square
  • 3 Cucumbers1 per square
  • 54 Bush beans9 per square
  • 12 Swiss chard4 per square
  • 48 Onions16 per square
  • 12 Parsley4 per square

Open or save this plan

West bed: the summer bed (24 squares)

Row What goes there Plants
1 (north) Tomatoes, staked, 1 per square 3
2 Peppers, 1 per square 3
3 Eggplant, 1 per square 3
4 Basil, 4 per square 12
5–6 Zucchini, a bush type, 1 plant per 2 squares 3
7 Beets, 9 per square 27
8 (south) Carrots, 16 per square 48

Tomatoes, peppers, eggplant, basil and zucchini go in after your last frost.

East bed: two plantings in one season (24 squares)

The spring crops come out in early summer, and a warm-season crop takes their place. This follows Nebraska Extension’s double-cropping advice: peas, lettuce or broccoli in spring, then crops like beans, Swiss chard or carrots (Nebraska Extension).

Row Spring Then, in early summer Plants (spring → summer)
1 (north, trellis) Peas, 9 per square Cucumbers on the same trellis, 1 per square 27 → 3
2 Broccoli, 1 per square Bush beans, 9 per square 3 → 27
3 Lettuce, 4 per square Swiss chard, 4 per square 12 → 12
4 Spinach, 9 per square Bush beans, 9 per square 27 → 27
5 Radishes, 16 per square, one square at a time Carrots, 16 per square 48 → 48
6 Onions, 16 per square, all season – 48
7 Beets, 9 per square, all season – 27
8 (south) Parsley, 4 per square, all season – 12

Row 5, one square at a time: Nebraska Extension suggests sowing a little seed of radishes, green onions or lettuce every 7 to 10 days so the harvest keeps coming. Sow one square of radishes, wait a week or so, then sow the next.

Next year, swap the beds. Don’t grow the same family in the same soil year after year, especially the cabbage family (broccoli) and the tomato family (tomatoes, peppers, eggplant) (UW-Extension notes).

Grow up: the vertical rules for small gardens

  • What climbs: pole beans, peas, cucumbers, melons and tomatoes are good candidates for vertical growing (Virginia Tech). The UW-Extension notes add summer squash.
  • Where the trellis goes: on the north side of the bed, so the tall plants don’t shade the shorter crops (Rutgers).
  • Posts: drive trellis posts at least 18 to 24 inches into the ground (Virginia Tech).
  • Shade can help: Virginia Tech notes that lettuce may benefit from the cooler spot in the shade of a taller companion.

What to leave out of a small garden

Some crops need far more room than a small plot has. Rutgers’ spacing table gives pumpkins 48 inches between plants and 96 inches between rows. Vining squash and muskmelons get 36 inches between plants and 72 between rows, and watermelons 36 and 96 (Rutgers FS129). Rows of pumpkins 8 ft apart are as wide as the whole corner in Plan 4.

If you want them anyway, look for compact types. Iowa State suggests compact or dwarf varieties for small plots and containers (Iowa State Extension). UGA points to bush beans and bush or short-vine melons, and to training cucumbers and melons on a trellis (UGA Extension).

The crops UGA lists as needing little room: lettuce, mustard, onions, radishes and spinach. Collards and kale work too if you pick the leaves young.

Get two crops from the same square

  • Plant twice. Harvest peas, lettuce or broccoli in early summer, then replant with beans, summer squash, chard or carrots. Lettuce can give 2 or 3 harvests from the same space (Nebraska Extension).
  • Mix fast and slow. Sow radishes in a row of carrots. The radishes are ready in about 25 to 30 days, and pulling them thins the carrots (Nebraska Extension).
  • Plant under tall crops. Beets, lettuce, spinach or chard can grow under broccoli, where the bigger plants shade them (Nebraska Extension).
  • Replant right away. When a square is finished, add compost and plant a different crop (UC Master Gardeners).

Common small-garden mistakes

  • Trellis on the wrong side. A trellis on the south edge shades everything behind it.
  • Pots too small. “Don’t squeeze large plants into small containers,” says Maryland Extension. UW–Madison’s minimum for a tomato or pepper is 5 gallons.
  • Beds too wide against a fence. If you can only reach from the front, keep the bed at 2 ft.
  • Sowing all the quick crops at once. A full square of radishes is 16 plants, all ready the same week. Stagger them.
  • Ignoring the shade of a fence or house. Count the sun hours first, then choose the crops.

FAQ

How small can a vegetable garden be?

The square foot notes from Bartholomew’s class say the method works in as little as 4×4 ft, or even 2×2 ft (UW-Extension notes). Plan 2 is a 4×4 bed, and Plan 3 needs no ground at all.

Can I grow vegetables against a fence?

Yes, if the bed gets enough sun. With the fence on the north side, use it as a trellis for peas and cucumbers (Plan 1). With the fence on the south side, grow greens, which need only 4 to 5 hours of sun (Rutgers).

What are the best vegetables for a small garden?

Crops that need little room, like lettuce, spinach, radishes and onions, plus climbers you can grow up a trellis, like peas, cucumbers and pole beans (UGA Extension; Virginia Tech).

In the ground or in a raised bed?

The same rules apply to both: sun, tall crops north, beds you can reach. Raised beds need at least 10 inches of soil for most crops (UGA Extension). Plan 4 is in the ground, and Plans 1 and 2 work either way.

When do I plant each crop?

It depends on your USDA zone and your frost dates. Find your zone on the USDA Plant Hardiness Zone Map, then check your state’s Cooperative Extension planting calendar.

Sources

Plans and tools