How to Build a Raised Garden Bed: Step-by-Step Guide
The right size and depth, which wood to use, how much soil you need and how to fill the bed for healthy plants, with a simple plan for a 4×8 bed.

Affiliate disclosure: This guide links to our buying guides, which contain affiliate links. As an Amazon Associate, we earn from qualifying purchases at no additional cost to you.
Learning how to build a raised garden bed is one of the best first projects for a new vegetable or flower garden. A raised bed warms up faster in spring, drains better than heavy ground soil and keeps paths and planting areas clearly separated.
Below you will find the dimensions extension services recommend, a comparison of building materials, a soil calculator you can use for any bed size and a step-by-step plan for a classic 4×8 bed that most beginners can build in an afternoon.
What Size Should a Raised Garden Bed Be?
How deep should a raised garden bed be, and how wide? Width matters more than length. You should be able to reach the middle of the bed without stepping on the soil, because compacted soil drains poorly and roots struggle.
| Measurement | Recommendation | Why it matters |
|---|---|---|
| Width | 3 to 4 ft (up to 5 ft if you have long arms); 2.5 ft max against a fence or wall | You can reach the center without stepping in |
| Length | Any length; 8 ft is common | Boards of 6 ft or less are less likely to warp |
| Depth for greens and beans | At least 8 in | Shallow-rooted crops |
| Depth for tomatoes, peppers, squash | 12 to 24 in | Deeper roots and better moisture |
| Height for easy access | 24 to 27 in | Less bending; comfortable from a seat |
| Path between beds | 18 to 24 in (30 in for a wheelbarrow) | Room to kneel, walk and work |
A 4×8 bed that is 10 to 12 inches deep is the classic starter size. It gives you 32 square feet of growing space and is easy to plant in a grid.
How Deep Should a Raised Garden Bed Be? Depth by Crop
How deep should a raised garden bed be for what you want to grow? Match the depth to the roots of your main crops:
| Crops | Minimum soil depth | Notes |
|---|---|---|
| Lettuce, spinach, radishes and herbs | 6 to 8 in | Shallow roots; ideal for elevated planters |
| Bush beans, peas, cucumbers and strawberries | 8 to 12 in | Good all-round depth for a first bed |
| Carrots, beets and onions | 10 to 12 in | Loose, stone-free soil gives straight roots |
| Tomatoes, peppers, squash and potatoes | 12 to 24 in | Deeper soil holds more water in summer |
Still unsure how deep a raised garden bed should be? Build it 10 to 12 inches high on open ground: roots can grow down into the loosened soil below. On a patio or hard surface, where roots cannot go deeper, choose at least 12 inches.
Where to Put a Raised Bed
Before you decide how to build a raised garden bed, choose the right spot. These four points matter most:
- Sun: choose a spot with at least 6 to 8 hours of direct sun for vegetables. Leafy greens and herbs tolerate a little less.
- Level ground: a level site keeps water from running to one end. Dig the high side down rather than propping up the low side.
- Water nearby: a bed close to an outdoor faucet is watered more often. A retractable hose reel on a nearby wall keeps the hose tidy.
- Part of your outdoor space: beds near the patio are easier to tend and turn the vegetable garden into part of your outdoor living area.
Best Materials for a Raised Garden Bed
Choosing the material is the first real decision when you work out how to build a raised garden bed. Wood is the most common choice, but not the only one. This overview shows the best wood for raised garden beds and the main alternatives, so you can weigh cost against lifespan.
| Material | Pros | Points to consider |
|---|---|---|
| Cedar or redwood | Naturally rot-resistant, attractive, no treatment | Higher price than pine |
| Untreated pine or fir | Cheapest and easy to find | Starts to break down within a few years |
| Ground-contact treated lumber (CA, MCA, ACQ) | Long-lasting and affordable | Oregon State research found no increase of copper in vegetables; use a liner if you prefer extra caution |
| Galvanized metal | Very long-lasting, modern look | Warms up quickly in full sun; buy a kit with rolled edges |
| Concrete or cinder block | Very durable and inexpensive | Heavy; blocks take up space inside the bed |
Cedar and redwood are generally the best wood for raised garden beds if you want a long life without treatment. Avoid railroad ties and old treated lumber made before 2004, which could contain chromated copper arsenate (CCA). Modern pressure-treated lumber sold for home use no longer uses CCA.
What You’ll Need
Before you start, gather everything you need to build a raised garden bed. For a 4×8 bed that is about 11 inches deep, a typical shopping list looks like this:
- Six 2×6 boards, 8 ft long: four for the long sides (two high) and two cut in half for the ends
- One 4×4 post, cut into four corner blocks about 11 in long
- Exterior deck screws, 2.5 to 3 in, coated or stainless
- Hardware cloth (1/2 in mesh) if burrowing animals are a problem, or cardboard to smother grass
- Topsoil and compost, or a bagged raised-bed mix
- Tools: saw, cordless drill, tape measure, square, level, staple gun and tin snips
Buying lumber and soil yourself usually keeps the cost to build a raised garden bed lower than a ready-made kit, especially if you build more than one bed.
For filling and planting, a good garden hand tool set, sturdy gardening gloves and a kneeling pad make the work easier on your hands and knees.
How to Build a Raised Garden Bed Step by Step

Here is how to build a raised garden bed of 4×8 feet with two stacked 2×6 boards on each side. With the boards cut to size, it takes about an afternoon.
On a bed longer than 6 feet, add a short board or metal brace across the middle of each long side. It stops the boards from bowing outward once the bed is full of wet soil.
Raised Garden Bed Soil: Mix and Calculator
Good raised garden bed soil is the key to healthy plants, whatever you grow. University extension services recommend a mix of topsoil and plant-based compost, roughly 2 parts topsoil to 1 part compost. On a patio or other hard surface, use compost and a soilless potting mix in equal parts instead. Avoid pure compost, which settles a lot and can be too rich.
How much soil do you need? Multiply length × width × depth in feet to get cubic feet. Divide by 27 for cubic yards.
| Bed size | Depth | Cubic feet | Cubic yards |
|---|---|---|---|
| 4 × 4 ft | 12 in | 16 | 0.6 |
| 4 × 8 ft | 6 in | 16 | 0.6 |
| 4 × 8 ft | 12 in | 32 | 1.2 |
| 4 × 8 ft | 18 in | 48 | 1.8 |
| 3 × 6 ft | 12 in | 18 | 0.7 |
Bagged raised garden bed soil is usually sold in 1 or 1.5 cubic foot bags. For larger or deeper beds, bulk delivery by the cubic yard is often cheaper.
Planting and Caring for Your Raised Garden Bed
- Plant in a grid: divide the bed into 1-foot squares. One tomato per square, four lettuces, nine bush beans or sixteen carrots is an easy guide for beginners.
- Water more often than in-ground beds: raised beds drain and dry faster. Read how often to water your garden for a simple schedule, and use a hose nozzle with a gentle shower setting.
- Mulch: a 2-inch layer of straw or shredded leaves keeps moisture in and weeds down.
- Top up every year: refresh the raised garden bed soil with 1 to 2 inches of compost each spring or fall as the soil settles.
- New to growing food? Start with our guide to vegetable gardening for beginners.
How Much Does It Cost to Build a Raised Garden Bed?
Cost depends mostly on the material and the soil. Virginia Tech compared materials for the same 4×8 bed, 12 inches deep, using 2022 prices:
| Material | Approximate cost (2022) | Lifespan |
|---|---|---|
| Cinder block | $155 | Very long; over 100 years according to the study |
| Galvanized metal | $177 | 35 to 50+ years |
| Untreated wood | $188 | Shortest; wood starts to rot within a few years |
| Treated wood | $213 | Longer than untreated wood |
| Recycled plastic (HDPE) lumber | $472 | Long-lasting |
How to lower the cost to build a raised garden bed: use untreated pine for a first, temporary bed; fill the bottom third of a deep bed with shredded leaves and grass clippings before adding soil; buy soil and compost in bulk for several beds; and check local municipal compost programs, which often sell compost at a low price.
Prices have changed since 2022 and differ by region, so use the table to compare the cost to build a raised garden bed in each material rather than as a budget. Soil is often the biggest cost: about 1.2 cubic yards for a 4×8 bed that is 12 inches deep.
Common Mistakes When You Build a Raised Garden Bed
Even a simple project has pitfalls. Avoid these common mistakes when you work out how to build a raised garden bed:
- Making the bed too wide. If you cannot reach the center, you will step on the soil and compact it. Keep it at 4 feet or less.
- Filling it with garden soil only. Heavy soil from the yard compacts in a bed. Mix in compost, as described above.
- Skipping the brace on long beds. Wet soil pushes the sides outward; add a cross brace on beds longer than 6 feet.
- Forgetting about water. A bed far from the faucet gets watered less often. Plan the hose route before you build.
- Choosing a shady spot. Most vegetables need at least 6 to 8 hours of sun, so check the light over a full day first.
- Not topping up. Soil settles and breaks down; add compost every year to keep the bed full and fertile.
- Choosing wood on price alone. Untreated pine is cheap but starts to rot within a few years. Cedar, redwood or ground-contact treated lumber are the best wood for raised garden beds if you want the bed to last.
Raised Garden Bed Ideas for Patios and Small Spaces
You do not need a large yard to grow your own food. A raised garden bed also works on a patio, deck or balcony:
- Elevated planters on legs bring the soil to waist height, which is comfortable and keeps pets and rabbits out. They are usually 8 to 12 inches deep, enough for salad, herbs and strawberries.
- On paving, use a lighter raised garden bed soil: equal parts compost and a soilless potting mix rather than heavy topsoil, and make sure water can drain away.
- Check the weight before you place a bed on a deck or balcony. Wet soil is heavy, so ask a professional if you are unsure what the structure can carry.
- Make it part of your outdoor living area: a cedar bed with herbs next to the seating area looks good and puts fresh basil within reach of the grill.
Frequently Asked Questions
How deep should a raised garden bed be for tomatoes?
For tomatoes, a raised garden bed should be 12 to 24 inches deep. On open ground, 12 inches is enough because roots can grow into the loosened soil below; on a patio, choose the deeper end.
How to build a raised garden bed on a slope?
Dig the high side down until the frame sits level, rather than propping up the low side. On a steep slope, build two or three shorter beds as terraces. The other steps for how to build a raised garden bed stay the same: square the frame, line the bottom and fill with a topsoil and compost mix.
What is the cheapest way to build a raised garden bed?
Use untreated pine or cinder blocks, fill the lower part of a deep bed with shredded leaves and grass clippings, and buy soil and compost in bulk. These steps lower the cost to build a raised garden bed considerably.
What is the best raised garden bed soil?
A mix of about two parts topsoil to one part compost works for most vegetables and flowers. On a patio or other hard surface, use compost and a soilless potting mix in equal parts. Top up the raised garden bed soil with 1 to 2 inches of compost every year.
Is cedar the best wood for raised garden beds?
Cedar and redwood are usually considered the best wood for raised garden beds without treatment, because they resist rot naturally. Modern ground-contact treated lumber is a more affordable, long-lasting alternative.
How much does it cost to build a raised garden bed?
In a 2022 Virginia Tech comparison, a 4×8 bed 12 inches deep cost roughly $155 to $213 in cinder block, metal or wood, and about $470 in recycled plastic lumber. Prices have risen since, and the soil adds to the total.
Can you put a raised garden bed on a patio?
Yes. Fill it with a mix of compost and soilless potting mix, make sure water can drain away, and check that a deck or balcony can carry the weight of wet soil.
How deep should a raised garden bed be?
At least 8 inches for leafy greens, radishes and beans, and 12 inches or more for tomatoes, peppers and squash. Deeper beds hold more moisture and need watering less often.
What do you put in the bottom of a raised garden bed?
Cardboard or several layers of newspaper to smother grass and weeds, or hardware cloth with 1/2-inch mesh if burrowing animals are a problem. You do not need a layer of gravel for drainage.
Is pressure-treated wood safe for vegetable gardens?
Modern pressure-treated lumber (copper azole, MCA or ACQ) is considered safe by several extension services. A multi-year Oregon State study found no increase in copper in the vegetables. Avoid old lumber from before 2004 and railroad ties.
How much soil do I need for a 4×8 raised bed?
A 4×8 bed that is 12 inches deep needs 32 cubic feet, or about 1.2 cubic yards. At 6 inches deep, you need half that.
What is the best wood for raised garden beds?
Cedar and redwood last the longest without treatment. Untreated pine is the cheapest option but starts to rot within a few years.
Should I put landscape fabric under a raised bed?
It is not necessary. Cardboard breaks down and lets roots and earthworms move into the ground below, while plastic sheeting blocks drainage and should be avoided.
Final Thoughts
Now you know how to build a raised garden bed that lasts. It does not have to be complicated: keep it no wider than 4 feet, make it at least 10 to 12 inches deep, choose a durable wood and fill it with a good topsoil and compost mix. With that in place, you have a productive, tidy growing space that fits naturally into your garden or patio area.
Now that you know how to build a raised garden bed, plan what to grow with our vegetable gardening guide and keep the soil evenly moist with the right garden hose.
Sources: University of Minnesota Extension; University of Florida IFAS; University of Maryland Extension; Oregon State University Extension; UC IPM on gophers; Virginia Tech Extension (cost comparison).
Back to contents ↑

