How to build a raised garden bed: the plan at a glance

Here is how to build a raised garden bed: level the ground, cut the boards, screw them to 4×4 corner posts and fill the frame. This plan makes a bed 4 × 8 ft (1.22 × 2.44 m) inside, two 2×8 boards high. That gives 14.5 in (36.8 cm) of soil depth.

The frame takes six 2×8 boards, one 4×4 post, one 2×4 and 64 screws. It holds about 44 cu ft (1.25 m³) of soil, counting a top-up for settling. Penn State Extension plans at least 2 hours to prepare the site and build each bed. Two people make the job go better, it says, though one can do it.

Our landscaping materials guide covers soil, mulch and gravel across the yard. This guide covers the frame, from the spot you pick to the last screw.

Pick the spot and the size before you buy lumber

The site sets the size, so choose it first. Iowa State University Extension and Outreach says most vegetables and flowers need at least six hours of full sun. It also says to choose a level site to make building less complicated. For low-growing crops, it suggests running the bed north to south. If this is your first garden, see gardening for beginners for the site, soil test and first crops.

Width comes from your reach. Iowa State says a bed you reach from both sides can be 3 to 4 ft (0.9 to 1.2 m) wide. Against a fence or wall, reached from one side, it keeps the width to 1.5 to 2 ft (0.5 to 0.6 m). This plan's 4 ft inside width is the top of the two-sided range.

Leave room around the bed too. Iowa State says paths between beds should fit a wheelbarrow or cart, and it gives about 3 ft (0.9 m) for that. The outside of this frame measures 4 ft 3 in × 8 ft 3 in (1.30 × 2.51 m), so mark that footprint plus the paths.

Choose the wood: untreated, cedar or treated

The sources do not agree on treated lumber, so the choice is yours. Penn State Extension's raised bed design calls cedar and locust rot- and insect-resistant but pricey. Fir and pine are also good options, it says: they cost less but resist rot and insects slightly less. Its advice is to "select untreated wood to avoid leaching chemicals into your soil."

Oregon State University Extension tested treated wood in a home garden. Its pressure-treated wood study (EM 9879, revised April 2026) built beds about 4 × 10 ft from 2×12 Douglas-fir. Two were untreated and two were treated with copper azole (CA-C) for ground contact. Soil copper rose "only within 1 inch of the bed edge," and the vegetables and herbs showed no rise in copper.

WoodWhat the sources sayBed life (Penn State)
Untreated pine or firA good option that costs less, slightly less rot-resistant (Penn State)3 to 5 years
CedarResists rot and insects, costs more (Penn State)10 or more years
Treated for ground contactConsidered safe for vegetable gardens (Iowa State); in a CA-C test, copper rose only near the edge (Oregon State)Not given
Older arsenic-treated lumber (CCA), old railroad tiesNot recommended for gardens (Iowa State, Oregon State)Not given

If you buy treated boards, Oregon State says to use only preservatives approved for residential use, rated for ground contact. Paint each fresh cut end with a cut-end wood preservative. If even a little copper near the edge bothers you, it points to cedar, redwood, concrete block or stone.

Shopping list and cut list for a 4 × 8 ft bed

Lumber is smaller than its name. Penn State gives a 2×4 as 1.5 × 3.5 in and a 4×4 as 3.5 × 3.5 in. Our guide on how much soil a raised bed needs notes that a 2×8 is 1.5 × 7.25 in. So two stacked 2×8s stand 14.5 in tall, and the posts are cut to match.

The end boards cover the ends of the long boards. That keeps the long boards a full 8 ft. Each end board runs 51 in: 48 in inside plus 1.5 in of long board at each end.

PartLumberCut lengthPiecesCut from
Long sides2×896 in (244 cm)4Four 8 ft 2×8s, full length
End boards2×851 in (130 cm)4Two 10 ft 2×8s, two pieces each
Corner posts4×414.5 in (36.8 cm)4One 8 ft 4×4
Center posts4×414.5 in (36.8 cm)2The same 4×4
Center support2×448 in (122 cm)1One 8 ft 2×4

The six posts use 87 in of the 4×4, which leaves 9 in for saw cuts. Each 10 ft board leaves 18 in. Penn State builds with 3 in deck or exterior screws. This plan uses 3 screws where a board meets a post, 20 places in all, plus 2 at each end of the support: 64 screws.

Step by step: build the frame

Build the frame next to its final spot, so it has only a short way to move. Penn State says to drill pilot holes as needed, and it lists clamps as optional.

  1. Clear and level the ground. Penn State uses a shovel and a tamp. It removes weeds, grass and debris, then levels the ground where the frame will sit.
  2. Cut the parts. Cut and mark every piece in the cut list. If the boards are treated, paint the fresh cut ends now.
  3. Build the two ends. Lay two 51 in boards edge to edge. Set a corner post on them 1.5 in in from each end, flush with the top and bottom edges. That gap leaves room for the long boards. Screw each board to each post.
  4. Add the long sides. Stand the ends up, 96 in apart inside. Fit each long board between them, its end against the end board and its inside face on a post. Screw it to the post.
  5. Add the center posts and the support. Set a center post inside each long side, 46 1/4 to 49 3/4 in from either inside end. Screw both long boards to it. Stand the 48 in 2×4 on edge across the bed, top flush, against both center posts. Screw it to each post.
  6. Square and level it. Measure the two inside diagonals. When both read about 107 5/16 in (273 cm), the frame is square. Iowa State says to set the walls so the top is level, so pack or scrape soil under the bottom boards.

The center posts earn their place. Penn State's design puts a center post along each side with a support across the bed. Iowa State also stresses strong corners, so the walls do not fail. It says to "secure the wall materials firmly to prevent bowing or movement outward."

Line and fill the bed

An open bottom lets roots reach the ground below. For a liner, Penn State says cardboard with the tape and staples removed works for temporary use. It also names landscape fabric and geotextile fabric. Our soil guide adds Minnesota Extension's tip of hardware cloth under the bed against mice and chipmunks.

Penn State fills with topsoil and compost at 50:50, 60:40 or 70:30, with a pH of 6 to 7. Our soil guide notes that UF/IFAS fills to the very top and expects about 2 in of settling. Iowa State says to leave room for 1 to 2 in (2.5 to 5 cm) of mulch.

One way to use both: fill to the top, let the soil settle, then mulch the space it leaves. Our guide to types of mulch helps you pick one. Then plan planting day from your local frost dates.

Worked example: what this 4 × 8 ft bed takes

Here is the soil order for the plan above, worked the way the topsoil calculator does it.

  1. Inside area. 4 ft × 8 ft = 32 sq ft (2.97 m²), and the frame is 14.5 in deep.
  2. Filled to the top. 32 sq ft × 14.5 in ÷ 12 = 38.7 cu ft (1.10 m³).
  3. With the top-up. The calculator adds 2 in for settling: 32 × (14.5 + 2) ÷ 12 = 44 cu ft (1.25 m³).
  4. Bags or bulk. 44 ÷ 1.5 = 29.3, so 30 bags of 1.5 cu ft. In bulk, 44 ÷ 27 = 1.63, so 2 cu yd at the half-yard step.
  5. Mix. At the calculator's 2 parts topsoil to 1 part compost: 20 bags of topsoil and 10 of compost.

The six posts and the support fill about 0.8 cu ft (0.02 m³), so the order runs a little high, not short. Our soil guide gets the same 44 cu ft and 30 bags for this bed. Run your own sizes in the topsoil and raised bed soil calculator. Our vegetable plant spacing chart then shows how many plants fit.

Changing the plan: taller, narrower or longer

  • Taller. A third row of 2×8s makes the frame 21.75 in (55.2 cm), so cut the posts to 21.75 in. Six posts then take 130.5 in, so buy a second 4×4. Add two 8 ft 2×8s, one 10 ft 2×8 and 30 screws. The soil grows to 63.3 cu ft: 43 bags, or 2.5 cu yd. Our guide on how deep a raised bed should be tells you whether your crops need it.
  • Narrower. For 3 ft (0.9 m) inside, cut the end boards to 39 in and the support to 36 in. Two 39 in pieces fit in one 8 ft board.
  • Longer. Penn State spaces center posts 4 ft (1.2 m) apart along the sides. Add a pair of posts and a support for each extra 4 ft.

Safety while you build

  • Buried lines: if you dig to level the ground, call "811" a few days before you dig, so the utilities can mark their lines.
  • Tools: read the saw's and drill's "tool's manual," and wear eye and hearing protection.
  • Lifting: get a second person to stand up the ends and move the finished frame.

Common raised bed building mistakes

  • Building wider than you can reach. Iowa State keeps two-sided beds 3 to 4 ft wide.
  • Trusting the board label. Two 2×8s give 14.5 in, not 16 in, and the posts must match.
  • Skipping the center support. Iowa State warns about walls bowing outward, so brace each 8 ft side.
  • Ordering soil from the outside size. Use the 4 × 8 ft inside, not the 4 ft 3 in × 8 ft 3 in outside.
  • Reusing old treated wood. Iowa State advises against treated lumber made before 2004, and Oregon State against old railroad ties.
  • Forgetting the paths. Leave about 3 ft for a wheelbarrow.

Your questions, answered

What size lumber do I need for a 4 × 8 raised bed?

This plan uses 2×8 boards two high, for 14.5 in (36.8 cm) of depth. Buy four 8 ft boards for the long sides and two 10 ft boards to cut into four 51 in ends. One 8 ft 4×4 gives six 14.5 in posts, and one 8 ft 2×4 gives the 48 in center support. A 2×8 measures 1.5 × 7.25 in.

Is pressure-treated wood safe for a vegetable raised bed?

The sources differ. Penn State Extension says to choose untreated wood. Iowa State Extension says modern pressure-treated lumber is considered safe for vegetable gardens. In an Oregon State study, treated beds raised soil copper only within 1 in of the bed edge, and the vegetables and herbs showed no rise in copper. Avoid older arsenic-treated lumber and old railroad ties.

How long does a wooden raised bed last?

Penn State Extension says a cedar bed may last 10 or more years and a pine bed 3 to 5 years. It calls fir and pine good options that cost less but resist rot and insects slightly less. If you use treated lumber, Oregon State says to buy boards rated for ground contact and paint fresh cut ends with a cut-end preservative.

How much soil does a 4 × 8 raised bed need?

It depends on the depth. This bed is 4 × 8 ft inside and 14.5 in deep. With the topsoil calculator's 2 in top-up for settling, it takes 44 cu ft (1.25 m³): 30 bags of 1.5 cu ft, or 2 cu yd in bulk. Filled just to the top, it holds 38.7 cu ft (1.10 m³).

Can I build a raised bed on top of grass?

Yes. Our raised bed soil guide notes that UF/IFAS lays cardboard or several layers of newspaper over a lawn first to smother the grass. Penn State Extension says cardboard with the tape and staples removed works as a temporary liner, with landscape or geotextile fabric as other options. Level the ground under the frame first.

How do I keep the sides of a raised bed from bowing?

Brace the middle. Penn State Extension's design attaches a center post to each side board, 4 ft (1.2 m) on center, with a support across the bed. Iowa State Extension says to secure the walls firmly against bowing and to reinforce the corners. In this plan, a 48 in 2×4 spans the bed between two center posts.

WORK OUT YOUR OWN NUMBERS

Topsoil & Raised Bed Soil Calculator

Cubic yards or bags of topsoil to top-dress a lawn, start a new lawn or garden area, or fill raised beds.

Sources and how we checked this

Sources

  1. Quick and Easy Raised Bed Design for Urban Growers, Penn State Extension; Dorothy Ann Cross (Buttz), Thomas McCann and Megan Chawner. Accessed .
  2. Pressure-treated wood for raised bed construction in Oregon (EM 9879, revised April 2026), Oregon State University Extension Service; Brooke Edmunds, Gerald Presley and Matt Konkler. Accessed .
  3. Creating Raised Bed Planters (reviewed October 2026), Iowa State University Extension and Outreach; Richard Jauron and Aaron Steil. Accessed .
Method
Each figure on this page comes from one of the sources listed here or from a run of the Topsoil & Raised Bed Soil Calculator with the inputs stated beside it.
Last verified
How this page was made
Drafted with AI assistance, then reviewed and edited by Grace Anderson. AI tools checked every number against the sources listed here and the Topsoil & Raised Bed Soil Calculator, and an independent AI review checked them again.

Corrections

See something wrong? Report a problem · Corrections policy

No corrections to this page so far.

Report a problem with this page

Tell us what looks wrong on this page. Every report is checked.

For example: the number you expected, and where it came from.

We use your message only to check and fix this page. Privacy policy.