How to Build a Raised Garden Bed — Step by Step
A raised bed is an afternoon's work and a season's worth of vegetables — the soil mix is the whole secret.
A 4 ft by 8 ft bed, 12 inches deep, is the sweet spot: wide enough to grow in, narrow enough to reach the middle from either side without stepping on the soil. This guide uses untreated cedar or redwood — never railroad ties or treated lumber of unknown origin for food beds. As a 2026 planning estimate, DIY materials for one 4x8 bed run roughly $50 to $150 (Home Depot / This Old House 2026 guides), plus soil.
1. Size, site and lumber
Choose a spot with 6 to 8 hours of direct sun and level ground. Four feet wide is the maximum you can reach across; 8 feet long is a standard lumber length with no cuts; 12 inches deep suits most vegetables, while 6 inches works for herbs and lettuce. Use 2x10 or 2x12 boards — cedar and redwood last 10 to 15 years untreated, while pine lasts 3 to 5. Cut two 8 foot sides and two 4 foot ends (minus the board thickness so the outside measures 4 ft), and screw the corners together with 3 inch exterior screws, two per joint. A 4x4 corner post inside each corner adds strength for taller beds.
- Never use old railroad ties or creosote-treated timber for food beds.
- Level the bed with a spirit level before filling — an unlevel bed drains to one end.
- Line the bottom with cardboard (not plastic) to smother grass while letting worms through.
2. Fill with the right soil mix
Do not fill a bed with pure topsoil — it compacts into a brick. The classic mix is 60% screened topsoil, 30% compost and 10% perlite or coarse vermiculite for drainage, which is the ratio most university extension services recommend for raised beds. A popular alternative is Mel's Mix from Square Foot Gardening: equal parts compost, peat moss or coconut coir, and coarse vermiculite. A 4 ft by 8 ft bed 12 inches deep holds 32 cubic feet — about 1.2 cubic yards — so order a yard of topsoil and a yard of compost and mix them in the bed with a fork. Water the mix well and let it settle a day before planting; top it up after the first rain.
- Compost is the most important ingredient — it feeds the soil life that feeds the plants.
- Fill to within an inch of the top; the mix settles 1 to 2 inches in the first weeks.
- Test the soil pH if plants struggle — most vegetables want 6.0 to 7.0.
3. Plant, water and maintain
Plant to the spacing on the seed packet, not closer — crowded plants invite disease. In a 4x8 bed, square-foot spacing fits about 32 plants: one tomato per 4 squares, four lettuce per square, sixteen carrots per square. Water at the base, not the leaves, and mulch the surface with 2 to 3 inches of straw or shredded leaves to hold moisture and smother weeds. Feed with compost each season rather than synthetic fertilizer, and rotate crops: do not plant tomatoes where tomatoes grew last year.
- Water deeply two or three times a week rather than a little every day — deep water grows deep roots.
- A simple hoop of PVC pipe and row cover extends the season by weeks in spring and fall.
- Top up the bed with an inch or two of compost every spring; the level drops each year as organic matter breaks down.
Frequently asked questions
How deep should a raised bed be?
Twelve inches suits most vegetables; 6 inches is enough for herbs and lettuce; 18 to 24 inches is better for carrots and other deep root crops, or for beds sitting on concrete.
What is the best soil mix for a raised bed?
Sixty percent screened topsoil, 30% compost and 10% perlite or vermiculite is the standard extension-service mix. Mel's Mix — equal parts compost, peat or coir, and vermiculite — is the Square Foot Gardening alternative.
How much soil do I need for a 4x8 raised bed?
A 4 ft by 8 ft bed 12 inches deep holds 32 cubic feet, about 1.2 cubic yards. Order a yard of topsoil and a yard of compost and mix them in the bed.
Can I use pressure-treated lumber for a raised bed?
Modern pressure-treated lumber (ACQ or MCA) is generally considered safe for food beds by the EPA and university extensions, but many gardeners still prefer cedar or redwood. Never use old CCA-treated lumber or railroad ties for food.
Related calculators
- Raised Bed Soil Calculator — Soil for a raised bed, split by mix — with room for settling and a bag count.
- Topsoil Calculator — Topsoil in cubic yards, tons and standard 40 lb bags.
- Board Foot Calculator — Board feet and lumber cost from thickness, width, length and quantity.
Sources & method: Soil mix 60% topsoil / 30% compost / 10% perlite (university extension services, e.g. Penn State Extension, University of Georgia Extension); Mel's Mix equal-parts recipe (Square Foot Gardening, Mel Bartholomew); spacing and sun requirements (seed packet and extension guidance); 2026 planning cost range $50–$150 DIY materials per 4x8 bed (Home Depot / This Old House 2026 guides).