How to Build a Raised Garden Bed: 6 Simple Steps
How to build a raised garden bed in one weekend: six steps from siting and lumber to a soil mix that drains, plus the 2027 dates to fill it by weather station.
Key takeaways
- Four feet is the width limit: that is how far you can reach from both sides without stepping into the soil you just loosened.
- Six to twelve inches of fill on soil is enough for most vegetables, because roots grow down through the open bottom. On pavement the bed has to hold the whole root system: 8 inches for greens, 12 to 24 for tomatoes.
- Fill it with roughly 70 percent soil to 30 percent compost by volume. Straight compost shrinks, dries fast, and settles several inches in its first season.
- Leave the bottom open and skip the gravel. The ground drains the bed, and a gravel layer buys nothing but lost volume once the soil above it is saturated.
- Finish the fill at least three weeks before your average last spring freeze, so it settles and soaks before a transplant goes in.
How to build a raised garden bed is really six decisions, and only two of them are carpentry. The others are about where the bed sits, what it is made of, how deep the fill goes, and what you put in it in year one and again in year four. I have built four raised beds in my own yard since 2016, rebuilt two of them, and every failure I have had came from the fill or the depth rather than the frame.
That order matters more than any single tip below, so this guide to how to build a raised garden bed follows it: site, material, frame, bottom, fill, planting. Every section opens with the answer, because the answer is what you need while standing in the yard with a saw in your hand. The 2027 timing table near the end is where most plans quietly fall apart, so read that part before you buy lumber rather than after.
How to build a raised garden bed: the six steps
The short version, in the order the work happens:
- Site it where it gets six hours of direct sun, within reach of a hose, on the flattest ground you have.
- Choose the material: decay-resistant untreated wood, pressure-treated lumber rated for ground contact, blocks, or galvanized steel.
- Build the frame no wider than 4 feet, 6 to 12 inches tall, square at the corners and level before anything goes in it.
- Leave the bottom open. No gravel, no fabric across the base, cardboard over turf if there is grass to kill.
- Fill it with a soil-and-compost mix, roughly 70 percent soil to 30 percent compost by volume.
- Water it in, let it settle for a week, top it up, then plant.
That is a weekend for one bed if the material is stacked in the driveway, and a Saturday morning if it is a kit. The rest of this page is the reasoning behind each line of how to build a raised garden bed, including the places where the extension services, the lumber industry and the internet disagree with each other.
Step 1: site it for six hours of sun and a hose
A DIY raised garden bed is only as good as the ground it stands on: pick the sunniest, flattest spot within hose distance, because those three things cannot be fixed later and everything else can.
UNH Extension puts the sun figure plainly: beds should be sited where they receive at least six hours of direct sun a day, and they should be near the house, or at least close to a water source, because a bed needs more irrigation than a garden in the ground. Maryland Extension adds the other half of the siting rule: sunny, level ground with good drainage, and permanent paths beside the beds so you stand on the path and never on the soil.
The width is the number that decides how the bed feels for the next decade, and it is the first decision in how to build a raised garden bed that people come to regret. UNH Extension says beds should be no more than four feet wide so you can reach the center without stepping into the soil, and Mississippi State makes the same rule its first one: never more than 4 feet, which is two feet of reach from either side. Georgia Extension allows 4 to 6 feet across, and that extra foot is where a DIY raised garden bed stops being comfortable, because you end up kneeling on a plank to reach the middle.
Length is free. A bed can be 4 feet or 24 feet long, and mine are 8 feet because that is the length the lumber yard sells without a second cut. Leave a path of at least 2 feet between beds if you plan more than one; 3 feet is better once a wheelbarrow is involved.
Slope is the part nobody mentions. My plot falls about a foot across 16 feet, which is invisible until you set a frame down and find one end sitting proud of the ground by three inches. I set each corner on a cut block, checked the top rail with a level, and packed soil under the low corner until the frame stopped rocking. A bed that rocks will pull its screws out within two seasons.
Step 2: pick a material you can live with for ten years
The DIY raised garden bed decision that lasts longest is the material: pressure-treated lumber rated for ground contact, or a decay-resistant species such as cedar. Both are defensible, and the argument about treated wood is older than the lumber in the store.
Maryland Extension lists the options in the order most people consider them. Untreated spruce, pine and fir are the cheapest and the shortest-lived. Decay-resistant lumber, citing the USDA Forest Products Lab, covers cedar, black cherry, oak, black locust, Osage orange and redwood. Rough-cut lumber from a local sawmill in oak, poplar or locust is the third route, and it is what I used for the second bed I built.
Then there is the treated lumber question, the one that stops most DIY raised garden bed plans, and it has a real answer now. Micronized copper azole is the most widely available residential treatment and is considered low in toxicity; the arsenic-based treatment called chromated copper arsenate was withdrawn from residential sale in 2004 (Maryland Extension). Oregon State University Extension tested the remaining worry directly, with two beds built from untreated Douglas fir and two from copper-azole-treated Douglas fir, both 4 by 10 feet, filled and cropped for four growing seasons.
The result is worth knowing in numbers. Soil copper rose by about 20 to 68 ppm above the untreated beds, but only within 1 inch of the wood, and stayed inside the natural range for local soils. There was no increase in copper in the vegetables and herbs grown in the beds across any season. After six years the untreated boxes showed severe decay through more than half their cross-section in the lower half, while the treated boxes were mostly intact with minor fungal growth.
So OSU’s own advice is to use lumber labeled for ground contact and to paint the fresh cut ends with a cut-end treatment, because the saw opens untreated wood. Skip railroad ties and salvaged utility poles, which carry industrial preservatives that were never intended for a garden.
Non-wood options are ordinary now: Maryland Extension lists galvanized steel, rigid recycled plastic, pavers and concrete blocks, and notes that blocks are considered generally safe for food gardening as long as they stay intact. For a barrier between treated wood and soil, heavy plastic on the inside faces only, base left open.
My own tally: the untreated pine bed I built in 2016 rotted through at the base by its fifth year, exactly as the OSU trial predicts, and the cedar bed beside it is still square. I replaced the pine one with copper-azole boards.
Step 3: build the frame square, then check it is level
A DIY raised garden bed frame goes together in an afternoon if it goes together square: assemble the box on flat ground, screw through the corners, make the two diagonals equal, then set it where it will live and level it. Out of square is the mistake you cannot fix once the soil is in.
For a DIY raised garden bed of 4 by 8 feet from 2-by-10 lumber, the cut list is two 8-foot sides and two 4-foot ends, with the ends set between the sides. Screw through the face of each side into the end grain of the end board, two exterior screws per joint, pre-drilled so the board does not split. A 4-by-8 frame has a diagonal of 8 feet 11 inches; measure corner to corner both ways, and when the two measurements match, the frame is square.
Level matters as much as square but it is easier to check. Set the frame down, put a level on each side and on each end, and pack soil or shim stones under the low corners until the top rail reads level in both directions. A single inch of fall across 8 feet is enough to send water to one end of the bed, where the plants will drown while the other end dries out.
Bracing is the step people leave out of a DIY raised garden bed. A 4-by-8 box holds its shape under fill, but anything longer than 8 feet bows outward once it is full and wet: add a stake at the midpoint of both long sides and screw the rail to it, plus a corner post on any bed over 12 inches tall.
The frame sits on the surface: no joinery and no post holes, which Maryland Extension’s no-dig method explicitly allows.
Step 4: the bottom, which should be open ground and not gravel
Leave the bottom of a DIY raised garden bed open to the soil and skip the gravel layer. The ground is the drainage, and roots will use it.
This is the step where the most money gets wasted. Maryland Extension is explicit that when a bed sits on top of the ground, plant roots grow through the bed soil into the soil below, and that in this sense raised beds are in-ground gardens. The frame is there to hold a better mix where the roots start, not to isolate the plants from the earth.
Which answers the grass question for any DIY raised garden bed: you do not have to strip turf. The same Maryland guide describes the smothering method: in fall or early spring, cover the turf and weeds with plain unpainted cardboard with the tape removed, or with several overlapping layers of newspaper, then spread 2 to 4 inches of compost on top to hold it down. The vegetation dies in 8 to 12 weeks and decomposes in place along with the cardboard, which is organic matter you would otherwise have bought. I did this over a patch of lawn in 2019 and planted into it the following spring without ever lifting a sod.
Gravel in the bottom is the other half of this step, and the honest position is that it does nothing. Illinois Extension’s container guidance explains the mechanism: a coarse layer under finer soil does not let water drain away faster, because water gathers in the soil just above the gravel until every air space in it is full, and only then does the excess move down. Gravel in the bottom of a bed therefore leaves the soil above it wetter for longer, not drier, while costing you volume you paid for.
Not one of the extension guides cited here specifies a drainage layer in a bed on soil. What they specify is an open bottom, or, for a bed on pavement, a base that drains. Tall beds are the exception worth knowing about: if you want a bed 20 to 24 inches deep for the sake of your back, UNH Extension suggests borrowing the German practice of hügelkultur and laying logs and sticks in the bottom third before the soil goes in. The wood fills volume you would otherwise buy as mix, and it holds water as it breaks down.
How deep should a raised garden bed be?
Six to twelve inches of fill on open ground, and deeper on a hard surface: at least 8 inches for leafy greens on pavement, 12 to 24 inches for tomatoes, peppers and squash.
The answer to how deep should a raised garden bed be changes with what is under it. On soil, the frame height is only the depth of the good mix; the effective root depth is the frame plus whatever loosened soil lies beneath it. UNH Extension recommends beds 6 inches or taller and notes that many vegetable crops grow best with at least a foot of soil behind their roots. Mississippi State says beds are usually about 1 foot deep, and Maryland Extension gives the widest range of all, 2 to 12 inches of frame, which is honest about how much a bed depends on what it is sitting on.
On pavement, how deep should a raised garden bed be has a different answer, because there is no soil underneath to grow into. Maryland Extension’s figures for hard surfaces are 8 inches deep for leafy greens, beans and cucumbers, and 12 to 24 inches for peppers, tomatoes and squash. Those beds also dry out faster because the roots cannot reach water below, and they sit in reflected heat from the paving.
So how deep should a raised garden bed be if you want one number? Ten inches of frame over open ground will grow almost everything on a vegetable list, with carrots and parsnips the exceptions, since they want the deepest, loosest fill you can give them. If you are building on concrete, work from the crop: 8 inches for salads, 12 for a tomato, and do not try to grow a parsnip in a patio bed.
The expensive mistake is answering how deep should a raised garden bed be with a number you liked the look of. My third bed was 22 inches tall because it looked better against the fence, and it took three times the fill of the 10-inch bed beside it to plant the same area, while the tomatoes performed no better in it. So how deep should a raised garden bed be comes down to what is under it: depth buys you drainage on pavement, root room for long crops, and a comfortable working height for anyone who cannot bend to the ground. It does not buy yield on soil that was already decent.
Step 5: raised garden bed soil mix, where the guides disagree
Use roughly 70 percent soil to 30 percent compost by volume, and treat every other ratio you read as a variation on where you live rather than a contradiction.
Here is the disagreement in numbers, because how to build a raised garden bed is decided in the fill, and the ratio matters when you are buying a truckload of material.
| Source | Fill recommendation |
|---|---|
| Penn State Extension | 70 percent soil to 30 percent compost |
| Maryland Extension | Compost and topsoil at 1:2 or 1:1; at least 8 inches; on pavement, compost and soilless mix at 1:1 |
| UNH Extension | Compost makes up 10 to 20 percent of total volume; organic matter no more than 50 percent |
| Mississippi State Extension | Treat it as a container: a light container mix, not ground soil; equal parts peat moss, compost and pine bark |
| Georgia Extension | One third composted manure, one third plant compost, one third bagged garden soil |
Every raised garden bed soil mix on that list is making the same trade, and every row is a decision about compost for raised beds: how much, and what kind. The trade itself is worth thirty seconds. The mix has two jobs: hold water for a day or two after rain, and hold air in the gaps between particles the rest of the time. Compost does the first job well and the second badly, because it holds water and then collapses as it decomposes. Mineral soil does the reverse. The wetter and cooler your climate, the more mineral soil you want, because a compost-heavy mix stays saturated for days.
So the raised garden bed soil mix ratios differ because the situations differ. A bed on clay in a humid climate wants more mineral soil; a bed on sand, or on pavement, wants more compost, and Maryland Extension’s pavement recipe abandons topsoil almost entirely. Mississippi State goes further and says not to use ground soil at all, which is advice written for a state whose native soil would hold water like a bucket.
Then comes the part of a raised garden bed soil mix that actually costs money: volume. Mississippi State gives the formula as length by width by depth in feet, so a 4-by-8 bed a foot deep needs 32 cubic feet of material, and the same bed at 6 inches needs 16. A cubic yard is 27 cubic feet, so the deep version is a little over a cubic yard, and a 5-gallon bucket holds two thirds of a cubic foot, which makes 32 cubic feet about 48 buckets if you are mixing in a barrow.
Two more numbers belong with a raised garden bed soil mix. Ideal pH for most garden vegetables is 6.2 to 6.8, and beds high in organic matter often run 6.8 to 7.2, which Maryland Extension calls fine. If the bed is for food, test the soil for lead first: background levels run 10 to 50 ppm and the same guide advises against vegetables above 400 ppm.
Compost for raised beds: how much is enough
Finished compost should be about a third of the fill by volume, and an inch or two a year after that to replace what decomposes.
Compost for raised beds has a floor and a ceiling in the same documents. UNH Extension puts compost at 10 to 20 percent of total soil volume and organic matter at no more than 50 percent. Maryland Extension allows organic matter from 25 to 50 percent by volume in a bed that contains garden soil. Read together, the safe zone is somewhere between a fifth and a third of the fill, with the top of that range for a hungry bed in a cool climate and the bottom for a bed on heavy soil.

What counts as compost for raised beds matters as much as how much. UNH Extension’s test for finished compost is sensory and reliable: it should be dark, fine and earthy, with no recognizable feedstock left in it, and it should not smell foul. Compost that is still clumpy, wet and half-rotted will keep breaking down in the bed, which means it will keep shrinking, and it competes with your plants for nitrogen while it does.
Composted manure sits in an awkward middle when you are buying compost for raised beds by the truckload. Georgia Extension’s thirds recipe includes it as one third of the fill, and it is legitimate material when it is genuinely composted and from a source you trust. What it is not is a substitute for the mineral fraction, and a bed filled mostly with manure will settle hard and drain slowly. If you are buying bulk compost for raised beds, ask what it is made from before you ask the price.
Two habits follow from the biology, and both are about compost for raised beds. Top up every spring: UNH Extension notes that the soil level in a bed drops over time as material compacts and decomposes, so plan for an inch or two of fresh material each year rather than being surprised by it. And water the fill before you judge it, because dry compost is water-repellent at the surface and a bed that looks full can be dry four inches down.
My own lesson with compost for raised beds cost a season. In 2018 I filled a new 4-by-8 bed with straight municipal compost because it was free, planted peppers into it, and watched them sit still for six weeks while the bed beside them, filled at 70/30, grew. The compost-only bed had also settled four inches by August, which meant the crowns of the plants were suddenly above the soil line and their roots were exposed.
Step 6: water it in, let it settle, and plant
Fill to an inch below the rim, soak it, wait a week, top it up, then plant. A bed that is topped off flush on day one will be an inch low by midsummer.
Water is what turns a raised garden bed soil mix into a growing medium. Water the new mix slowly in two passes a few minutes apart, the way you would water a very dry pot, until it is wet through and the level visibly drops. Fill the bed to about an inch below the top rail so there is room for mulch and for water to pool without running off.
Then leave it for a week and check it. The mix will settle, sometimes by 2 inches, and the top-up is much easier before plants are in it. Mulch after that: Penn State Extension’s principle is that bare soil erodes and heats and dries, while a mulch of compost, straw or leaves cuts evaporation and keeps the soil biology working at the surface.
Expect to water more than you did in the ground. Maryland Extension lists faster drying as a real disadvantage of raised beds, and UNH Extension warns that they need more frequent irrigation, especially in hot dry weather. Drip irrigation on a timer is the version that survives a busy summer; a hose and a finger in the soil is the version that survives a budget.
Then plant, and do not walk in the bed. The whole advantage of the frame is that the soil inside it is never compacted by a foot, and one step on a wet bed undoes a season of structure. Paths exist for a reason, and the 4-foot width exists so you never need to leave them.

For the crops themselves, the two pages that sit either side of this one are potting soil vs garden soil, which explains why ground soil behaves differently in a container than in a bed, and when to start seeds indoors, which turns the frost dates below into sowing dates. If the reason you are building a bed is that the lawn is too much work, the no dig garden method is the same cardboard method at garden scale, and the compost bin that feeds these beds is the cheapest source of the material in the section above. The rest of the builds live under Outdoor Spaces.
When to build it in 2027: finish the fill before your last freeze
Build in fall, or in early spring, and have the fill in and watered at least three weeks before your average last spring freeze, so it has settled and soaked before a transplant goes into it.
The reason is not superstition, and it is the timing mistake that decides the first season of how to build a raised garden bed. A fresh fill subsides for weeks after it is wetted, and a transplant set into loose, unsettled mix has its crown sink below the soil line and its roots left in air pockets. Tender plants also will not grow out of cold wet soil: Maryland Extension notes that roots in cold wet ground cannot take up nutrients, which is what a slow start in May usually is. Three weeks of settling fixes both.
Here is the calendar as stations rather than as zones. The dates in the second column are each station’s published average last spring freeze; the third column is that date minus 21 days, which is my own allowance for a new fill to settle, not a figure from any of the sources.
| USDA band | Station, average last spring freeze | Fill the bed by |
|---|---|---|
| 8a | Raleigh, NC — April 8 | March 18 |
| 7b | Asheville, NC at 2,238 ft — April 11 | March 21 |
| 7b | Asheville Airport at 2,117 ft — April 20 | March 30 |
| 7a | Boone, NC at 3,360 ft — May 1 | April 10 |
| 7a | Frederick, MD — April 9 | March 19 |
Two things in that table are worth more than the rows. Asheville appears twice, and its two stations are nine days apart, one at 2,238 feet and one at 2,117 feet, which is the honest scale of the uncertainty inside a single town. Boone at 3,360 feet has its last freeze on May 1, just over three weeks after Raleigh at 435 feet, in the same state. The station fixes the date; the band only narrows the search. Dates are from NC State Extension’s freeze-date table.
A band cannot produce a date at all, and this is the point most planting calendars skip. A USDA hardiness band is an average annual extreme winter minimum, a statement about January. It tells you whether a perennial survives your winter; it says nothing about when your spring stops freezing.
And any single date is a probability. Maryland Extension’s frost page shows the shape of it for Frederick, from NOAA’s 1991 to 2020 climate normals: a 90 percent chance of a 32°F night on or after March 29, and only a 10 percent chance of one on or after April 19. The 50 percent date, April 9, is the one in my table because it is what most published averages quote, and it is also the one a tray of tomato transplants should not be trusted to. For tender crops, use the later figure.
If your band is not in the table, the method still is. Your county extension service publishes the figure for the nearest airport or research farm, and the whole calculation is that date minus the three weeks you want the fill to settle. Write your own row at the bottom of the table.
What I would do differently
Three things, in order of how much they cost me.
Filling with straight compost. Already described, and it cost a season of peppers and a truckload of replacement mix.
Using untreated pine for the first bed. It rotted at the base in five years, which is roughly what the Oregon State trial found at six, and the replacement cost more than cedar would have.
Putting a bed hard against the fence. One long side became unreachable, which turned a 4-by-8 bed into something closer to 4-by-6, and the plants against the fence were the ones I checked least and lost first.
The pattern in all four is the same: the frame is the easy part, and it is the part people plan. How to build a raised garden bed gets decided in the fill and the siting, and those are the two decisions you can still get right before the lumber is cut.
QUESTIONS GARDENERS ASK
Common questions
How deep should a raised garden bed be for vegetables?
Six to twelve inches of fill is the usual answer for a bed sitting on soil, because roots grow through the open base into the ground below. On a hard surface the bed holds the entire root system, so go to at least 8 inches for leafy greens, beans and cucumbers, and 12 to 24 inches for peppers, tomatoes and squash.
Do raised beds need a bottom layer of gravel?
No. A bed on open ground drains through the soil beneath it, and on a hard surface the base itself is the outlet. Gravel in the bottom does not improve drainage: water perches in the soil just above a coarse layer until that soil is saturated, which is exactly the condition the gravel was meant to prevent.
What wood is safe for a raised bed?
Lumber treated with micronized copper azole and rated for ground contact is the standard retail choice, and Oregon State University measured its copper leaching as confined to within an inch of the board with no rise in the vegetables. Cedar, black locust, oak and redwood are decay resistant without treatment. Avoid salvaged railroad ties and old arsenic-treated lumber, which was withdrawn from residential sale in 2004.
Do I have to remove the grass before I build?
Not if you can give it eight to twelve weeks. Cover the turf with plain cardboard or several layers of newspaper, spread 2 to 4 inches of compost on top to hold it down, and the grass dies and decomposes in place, adding organic matter instead of being stripped and hauled away.
What is the best soil mix to fill a raised bed?
About 70 percent soil to 30 percent compost by volume, or 1:1 compost and soilless mix if the bed sits on pavement. Extension services publish ratios from 10 percent compost up to 50 percent, so treat any single number as a starting point and adjust for the native soil you are starting from.
How much does it cost to build a raised garden bed?
The frame for a 4-by-8 bed is the cheap part and the fill is the expensive part: at a foot deep that bed holds 32 cubic feet, a little over a cubic yard of material. Buying both lumber and fill new costs more than most people expect, which is why scavenged soil, municipal compost and a shallower bed on open ground save the most.
Can you put a raised bed on concrete or a patio?
Yes, and it needs two changes. Build it deep enough to hold the whole root system, at least 8 inches for shallow crops and 12 to 24 inches for tomatoes and squash, and fill it with compost and soilless mix rather than ground soil, because nothing drains except through the base of the bed.
How long does a raised garden bed last?
Untreated lumber is the limiting part. In a six-year comparison Oregon State University researchers found the untreated Douglas fir boxes badly decayed in the lower half while the pressure-treated boxes were mostly intact with minor fungal growth. Cedar and other decay-resistant species sit between those two, and block or metal beds outlast both.
Sources
- University of Maryland Extension — Growing Vegetables in Raised Beds
- Oregon State University Extension — Pressure-treated wood for raised bed construction in Oregon (EM 9879)
- University of New Hampshire Extension — What are the benefits of raised beds and how can I construct one myself?
- University of New Hampshire Extension — How to Utilize Raised Beds for Small Space Gardening
- Penn State Extension — Soil Health in Raised Beds
- Mississippi State University Extension — Make raised beds now for summer gardening
- University of Georgia Extension — Prepare for your spring vegetable garden now
- Illinois Extension — Container Drainage Options
- NC State Extension — Average First and Last Freeze Dates
- University of Maryland Extension — Spring Frost or Freeze Dates in Maryland
Reading us often? Add MyGreenyGarden as a preferred source on Google and our guides are more likely to be highlighted when you search.