Building a raised garden bed means assembling a bottomless box of rot-resistant lumber or block on level ground, lining it, and filling it with a soil mix of roughly 60 percent topsoil, 30 percent compost, and 10 percent perlite by volume — a mix that will settle 10 to 15 percent in the first season, so you build the frame taller than the finished soil line you want. A 4-by-8-foot bed at 12 inches deep needs about 32 cubic feet of that mix, which is the number that decides your budget before you ever pick up a saw.
The steps below run in the order you actually work: siting before sizing, sizing before buying, buying before cutting, and cutting before filling. Skip the ordering and you'll rebuild the bed.
Step 1: Site the Bed for Sun Before You Size It
Six hours of direct summer sun is the working minimum for fruiting crops like tomatoes, peppers, and squash; leafy greens tolerate four to six. Before you commit a location, watch the spot at three times of day — mid-morning, early afternoon, and late afternoon — because a bed that's sunny at noon can sit in a building's shadow by 3 p.m., and that shadow widens as the season moves toward fall.
Drainage matters as much as light. A raised bed on a low spot that holds water after rain will wick moisture up through the open bottom, and roots will rot in soil that never dries. Walk the site after a heavy rain and reject any spot where water stands for more than an hour. If the whole yard is low, build the bed on the high side and consider stepping up to a 16-inch height.
Distance from the house is a practical constraint people underestimate. The typical recommendation is a bed no wider than 4 feet so you can reach the center from either side — that's an arm reach of about 2 feet, which is realistic for most adults. But if the bed sits 150 feet from the nearest hose bib, you'll water it less often than a bed 20 feet from the door. Measure the hose run and count the cost of an extra hose before you finalize the spot.
Slope is the last check. Beds tolerate gentle grade better than most guides admit, but anything more than about 2 inches of fall across the bed's footprint means you'll either dig the high side down or shim the low side up with gravel. Do neither and the frame twists as the soil settles, and the corners pull apart at the joints.
Step 2: Choose 4-by-8 at 12 Inches Deep for a First Bed
A 4-by-8-foot bed at 12 inches deep is the default for good reason: it fits standard 8-foot lumber without waste, reaches from both sides, holds enough soil for deep-rooted crops, and covers 32 square feet. Three wider or deeper alternatives exist, and the table below compares them on the dimensions that decide the build.
| Bed size | Soil volume at 12 in deep | Fits standard 8 ft lumber | Reach from one side | Best for |
|---|---|---|---|---|
| 4 x 8 ft | 32 cu ft | Yes, no cuts on long sides | 2 ft to center | Most vegetable crops, first builds |
| 4 x 4 ft | 16 cu ft | Yes, two cuts | 2 ft to center | Small yards, square-foot gardening |
| 4 x 12 ft | 48 cu ft | Two boards per long side | 2 ft to center | Larger harvests, more soil cost |
| 3 x 8 ft | 24 cu ft | Yes, no cuts on long sides | 1.5 ft to center | Narrow lots, patios |
Deepen any bed to 16 or 18 inches if you're growing carrots, parsnips, or long-rooted varieties, or if you're building over concrete or hardpan where roots can't escape downward. According to most cooperative extension guidance, 12 inches of loose soil handles lettuce, beans, and most herbs; root crops want closer to 18. Doubling the depth from 12 to 24 inches doubles the soil bill, which is the hidden cost of a "deep bed" plan.
Width above 4 feet is where first builds fail. A 5-foot-wide bed sounds like more growing space, but if you can't reach the middle, you'll compact the soil walking on it and the plants in the center will underperform. Keep to 4 feet unless you have a physical reason to go narrower.
Square footage, not board feet, is the number that scales your costs. At 32 square feet, a 4-by-8 bed holds roughly 16 tomato plants at 2-foot spacing or 32 lettuce heads at 1-foot spacing — useful for deciding whether one bed is enough or you need two.
Step 3: Pick Rot-Resistant Lumber and Budget the Frame at $150
Untreated cedar or naturally rot-resistant lumber is the safest choice for a vegetable bed, and a 4-by-8 frame 12 inches tall built from 2-inch cedar boards typically runs $120 to $180 in materials at lumber-yard prices — budget $150 for a working number. That's 6 boards of 2x12x8 (two per long side, one cut in half per short side), plus corner posts or rebar and fasteners.
Treated lumber is the budget alternative, and the safety question deserves a straight answer. According to the U.S. Environmental Protection Agency, lumber treated with chromated copper arsenate (CCA) was voluntarily withdrawn from residential use at the end of 2003. Current pressure-treated lumber uses alkaline copper quaternary (ACQ) or copper azole, which the EPA and most extension services consider acceptable for vegetable gardens. If you're working with older salvaged treated wood, verify its treatment date before using it around food crops.
Avoid railroad ties and reclaimed industrial timbers entirely. Creosote and old industrial preservatives are not appropriate for beds growing food. The same caution applies to pallet wood unless you can confirm it's marked HT (heat-treated) rather than MB (methyl bromide).
Concrete block is the third option and the longest-lived. Standard 8-by-8-by-16-inch blocks run about $2 to $3 each at home centers, and a 4-by-8 bed needs roughly 36 blocks per course — around $80 to $110 for a 12-inch-high single course stack. Blocks are heavier and permanent, but they won't rot and they hold soil without fasteners.
Step 4: Build the Frame Square, Level, and Braced at the Corners
The frame is a bottomless box, and the two failure points are corners that pull apart and frames that go out of square as soil pushes outward. Work through these steps in order and check each one before moving on.
1: Cut the long-side boards to the full bed length (8 feet) and short-side boards to the finished width minus the thickness of the long boards — roughly 45 inches for a 4-foot-wide bed built from 2-inch stock. 2: Butt the corners and pre-drill pilot holes through the short boards into the end grain of the long boards, then drive two 3-inch exterior deck screws per joint. Pre-drilling prevents splitting, especially in cedar. 3: Drive a 2-foot length of rebar or a short 4x4 post into the ground at each inside corner and screw the frame to it — this is what stops the box from bowing outward once it's full of wet soil. 4: Measure both diagonals across the top of the frame with a tape. If they match within 1/2 inch, the frame is square; if not, rack it until they do. 5: Set a 2-foot level across each side and on the diagonals, and adjust by digging the high corners down until the top rail reads level.
The failure case that catches most first-time builders is skipping the corner bracing. Four hundred cubic feet of saturated soil exerts real outward pressure, and a frame held only by butt screws will bow within a season, opening gaps at the joints. The rebar or post at each corner costs a few dollars and solves it.
Line the inside of the frame with hardware cloth if voles or gophers are present in the yard, stapling it to the bottom of the frame before soil goes in. If you're building over lawn or weeds, lay down cardboard first — it suppresses growth without blocking drainage the way landscape fabric can.
Step 5: Fill With a 60/30/10 Soil Mix, Not Straight Topsoil
The mix matters more than the box. The working recipe by volume is 60 percent topsoil, 30 percent compost, and 10 percent perlite or other drainage amendment — a blend that holds water, drains, and feeds without the compaction of pure garden soil. For a 4-by-8 bed at 12 inches, that's about 32 cubic feet total: roughly 19 cubic feet of topsoil, 10 of compost, and 3 of perlite.
Buy topsoil and compost in bulk when the volume is over 25 cubic feet. Bulk soil and compost typically run cheaper per cubic foot than bagged product, and the break-even usually lands around 20 to 25 cubic feet. For 32 cubic feet, call a local landscape supplier and price a delivery of screened topsoil and compost separately, then mix on site with a wheelbarrow or tarp.
Compost quality varies enough to change your results. Ask the supplier what feedstock went into it and whether it's been tested for herbicide residue — some compost streams carry clopyralid, an herbicide that survives composting and damages tomatoes and legumes for years. If you can't get a clear answer, buy bagged compost from a brand that publishes test results.
Fill the bed to within 1 to 2 inches of the top rail, not level with it. The mix will settle 10 to 15 percent in the first season, so a bed filled flush will end up with a sunken soil line by fall. Leave the headroom and top it up after the first growing season.
Step 6: Water the Soil Before You Plant, Not After
Dry topsoil and compost are hydrophobic — they repel water at first and let it run off the surface and down the sides of the bed without soaking in. Before planting, water the filled bed in stages: add water, let it soak, add more, and repeat until the soil is moist 6 inches down. This can take 30 to 45 minutes and 20 to 30 gallons for a 32-cubic-foot bed, and skipping it is why transplants wilt despite daily watering.
Check moisture depth with a finger or a wooden dowel pushed into the soil. A dowel that comes out damp at 6 inches means the profile is charged. A dowel that's dry at 4 inches means water is still only wetting the top layer, and you need another pass.
Set drip irrigation or a soaker hose on the bed now, before the plants are in the way. Raised beds drain fast and dry faster than in-ground soil, and a soaker hose run under mulch cuts water use compared with overhead watering. A battery timer on the spigot handles the daily cycle.
Mulch 2 to 3 inches deep after planting to slow surface evaporation. Straw, shredded leaves, or untreated wood chips all work; leave a small gap around stems so the mulch doesn't hold moisture against the plant tissue.
Step 7: Set Spacing by Crop, Not by Bed
Spacing is where a raised bed outperforms row gardening, and the square-foot system is the simplest rule. Divide the bed into 1-foot squares and plant by the per-square count: one tomato, pepper, or broccoli per square; four lettuce or basil per square; nine bush beans or beets; sixteen carrots or radishes. A 4-by-8 bed gives you 32 squares to allocate.
Tall crops belong on the north side of the bed so they don't shade the rest. If you're growing tomatoes or climbing beans, put a trellis on the north edge and plant those squares first, then work south toward low crops.
Transplants vs. direct seed is a timing decision. Transplants go in after the last expected frost date for your area, which the local cooperative extension publishes for your county. Direct-seeded crops like carrots, radishes, and beans go in once soil warms — a soil thermometer reading 50°F at 4 inches is a reasonable threshold for cool-season crops and 60°F for beans and squash.
Don't overfill the bed on the first pass. Leaving a couple of squares open lets you succession-plant a second crop after the first harvest, which is how one 32-square-foot bed produces through a full season.
Step 8: Mulch, Feed Lightly, and Recheck the Frame at Season's End
Raised-bed soil in a compost-heavy mix doesn't need heavy fertilizing in year one. A light sidedress of balanced organic fertilizer at mid-season covers most crops; overfeeding pushes leafy growth at the expense of fruit. Test the soil in year two through your county extension office if you want numbers.
At the end of the season, check the frame before winter. Walk the perimeter and look for gaps at the corners, bowing on the long sides, and soil that has settled more than 3 inches. Retighten or add a brace at any corner that has opened, and top up settled soil with fresh compost to restore the 1-to-2-inch headroom.
In cold climates, a raised bed freezes deeper than in-ground soil because it's exposed on all sides. That's usually fine for perennials and fall-planted garlic, but if you're overwintering tender perennials, add a layer of straw over the soil surface after the ground freezes.
Clean out spent annuals and any diseased foliage rather than tilling it back into the bed. Composting diseased material at home rarely reaches temperatures that kill pathogens, and a raised bed is too small an area to gamble on it.
Step 9: Repair the Two Failures That Actually Happen
Frames bow outward and soil settles below the rail — those are the two problems that show up in real beds, and both are fixable without rebuilding. Bowing comes from missing corner bracing or from soil that was never watered in before planting; fix it by driving rebar through the bowed side into the ground and screwing the board to it. Settlement comes from filling flush on day one; fix it by topping up with compost to restore headroom.
Drainage failure is the third problem, and it's the one that kills plants. If water pools in the bed after rain, the soil mix has too much clay-heavy topsoil or the bottom is sitting on an impermeable surface. Remedy it by working in additional perlite or coarse sand at the top 6 inches, and confirm the bed isn't sitting on a concrete pad with no drainage path.
Wood rot is the long-term failure, and its clock depends on material. Cedar in a wet climate typically lasts 10 to 15 years; pressure-treated lumber lasts longer but should be inspected for surface breakdown. Concrete block doesn't rot, which is why it's the choice for beds you don't want to rebuild.
Pests under the bed are the hidden failure. Voles tunnel up through an open bottom and eat root crops from below. Hardware cloth stapled across the bottom before filling is the prevention, and it's cheap if you do it at build time rather than after the damage.
FAQ
How much soil does a 4-by-8 raised bed need?
A 4-by-8-foot bed at 12 inches deep needs 32 cubic feet of soil mix. That works out to roughly 19 cubic feet of topsoil, 10 of compost, and 3 of perlite using the 60/30/10 volume recipe. Order about 10 percent extra to account for settling.
Is pressure-treated lumber safe for a vegetable garden?
Modern pressure-treated lumber using ACQ or copper azole is considered acceptable for vegetable beds by the EPA and most extension services. CCA-treated lumber was withdrawn from residential use at the end of 2003, so avoid salvaged wood of unknown age. Stick to cedar, modern treated lumber, or block if you're unsure of a board's history.
Should I put cardboard or landscape fabric under a raised bed?
Cardboard is the better choice over lawn or weeds because it suppresses growth and then breaks down without blocking drainage. Landscape fabric can clog with soil and slow drainage over time. Add hardware cloth instead if voles or gophers are a problem.
How deep should a raised bed be for tomatoes and carrots?
Twelve inches is enough for tomatoes, peppers, and most leafy crops. Carrots and parsnips want 16 to 18 inches of loose soil for full-length roots. Deeper beds cost more in soil, so match depth to what you'll actually grow.
How much does it cost to build one raised bed?
A 4-by-8 cedar frame 12 inches tall typically runs $120 to $180 in lumber and fasteners, and the soil mix adds a separate cost that often exceeds the frame. Concrete block runs about $80 to $110 for a single 12-inch course. Soil is the line item that scales fastest with bed size and depth.
Why is my raised bed soil sinking?
Fresh topsoil and compost settle 10 to 15 percent in the first season as organic matter breaks down and air pockets collapse. Beds filled flush to the rail end up 3 to 5 inches low by fall. Fill to within 1 to 2 inches of the top and top up with compost after the first season.
Can I build a raised bed directly on concrete?
Yes, but you'll need at least 16 to 18 inches of depth because roots can't escape downward, and you must ensure drainage holes or gaps so water doesn't pool. A bed on concrete also heats faster in summer, so mulch heavily and water more often.
Do raised beds need a bottom?
No. An open bottom lets roots reach subsoil moisture and gives excess water somewhere to drain. The only reason to add a bottom layer is pest exclusion — staple hardware cloth across the frame before filling if burrowing animals are present.