Build Your Raised Bed in Four Steps

A raised vegetable garden is a wooden or composite box filled with soil, sitting on top of your existing ground. You build it by assembling four sides, placing it where it will get sun, filling it with soil, and planting. The whole process takes two to four hours for a standard 4-by-8-foot bed, and you need only basic tools: a drill, a level, and a saw (or have the lumber yard cut the boards for you).

Most home gardeners use untreated cedar or composite boards because they resist rot and don't leach chemicals into the soil. Pressure-treated lumber is cheaper but contains copper compounds that can accumulate in soil over years—acceptable for ornamental beds but not ideal for vegetables you'll eat. A 4-by-8-foot bed 12 inches deep costs between $80 and $200 in materials, depending on wood choice.

Key Takeaways

  • Cedar or composite boards last longer than pine and won't contaminate vegetable soil the way pressure-treated wood can over time.
  • A standard 4-by-8-foot bed 12 inches deep holds enough soil for most vegetables and is wide enough to reach the center from either side without stepping inside.
  • Place your bed where vegetables get at least six hours of direct sun per day, and check that water drains away rather than pooling around the base.
  • Fill the bed with a mix of topsoil and compost rather than garden soil alone, because garden soil compacts and drains poorly when confined in a box.
  • Assemble the frame on level ground using corner brackets or screws, not nails, so the structure stays square as the wood settles.

Choose Your Location and Check the Ground

Before you build, spend a day watching where the sun hits your yard. Vegetables need six to eight hours of direct sun—that means unobstructed light from the sky, not dappled shade under trees. Mark the spot where sun reaches longest in mid-morning and mid-afternoon. If your yard is mostly shaded, leafy greens like lettuce and spinach tolerate four to six hours, but tomatoes, peppers, and squash will struggle.

Check that the ground is reasonably level. A bed tilted more than a few degrees will cause water to pool on one side and dry out on the other. You don't need a perfectly flat yard—just pick a spot where the slope is gentle. If the ground is very uneven, you can dig out high spots and fill low ones, or use shims under the frame to level it. Avoid placing the bed directly under a downspout or in a spot where water collects after rain, because the soil will stay waterlogged and roots will rot.

Remove any grass or weeds from the footprint. You can dig them out, cover the area with cardboard for two weeks to kill them, or straightforward lay cardboard under the frame—it will decompose and prevent grass from growing up into the bed. Cardboard is the easiest route and costs nothing if you save boxes from deliveries.

Gather Materials and Cut the Frame

For a standard 4-by-8-foot bed 12 inches deep, you need two 8-foot boards and two 4-foot boards. Cedar 2-by-12 lumber is the most common choice: it's rot-resistant, looks finished, and lasts eight to ten years before needing replacement. Composite boards (made from wood fiber and plastic) cost more upfront but last fifteen to twenty years and never need staining. Untreated pine is cheaper but rots in three to five years in wet climates.

If you don't have a saw, ask the lumber yard to cut the boards to length when you buy them—most do this free or for a small fee. Bring a tape measure and write down your dimensions clearly. You'll also need four corner brackets (L-shaped metal or composite pieces that bolt to the inside corners) or 3-inch exterior wood screws and a drill. Corner brackets are stronger and easier for a first-time builder. Buy stainless steel or galvanized hardware so it won't rust.

Lay the four boards on a flat surface and arrange them in a rectangle. Drill pilot holes (small starter holes) through the boards into the corner brackets or into the adjacent board, then bolt or screw them together. Use a level to check that the frame is square—measure diagonally from corner to corner; if both diagonals are the same length, the frame is square. Tighten all fasteners firmly so the frame won't rack (twist) when you fill it with soil.

Position the Frame and Prepare the Base

Carry or drag the assembled frame to your chosen spot. Set it down and use a level on two perpendicular sides to check that it sits evenly. If one corner is high, dig out soil under it or add soil under a low corner until the frame is level. This matters because water will flow to the low side and leave the high side dry.

Lay cardboard over the ground inside the frame, overlapping the pieces so weeds can't push through the seams. Wet the cardboard so it stays in place and decomposes faster. This step prevents grass and perennial weeds from growing up into your bed. If you're building on a patio or very hard ground, skip the cardboard—the bed will sit on top and roots can't reach the concrete anyway.

If you're concerned about burrowing pests like voles or gophers, staple hardware cloth (a metal mesh with half-inch holes) to the bottom of the frame before setting it down. This keeps rodents out but lets water drain through. It's not necessary in most yards but worth doing if you've had problems with burrowing pests in the past.

Fill the Bed with Soil and Compost

A 4-by-8-foot bed 12 inches deep holds about 32 cubic feet of soil. Buy a mix of topsoil and compost rather than bagged garden soil, which compacts and drains poorly when confined. A good ratio is two parts topsoil to one part compost. You can buy these by the cubic yard from a landscape supply company, which is cheaper than bags, or buy bags if you prefer smaller quantities and don't mind the cost.

Dump the soil and compost into the bed and mix it with a shovel or garden fork. Break up any clumps and work the compost evenly through the topsoil. The mixture should feel crumbly and dark, not dense or clay-like. If it feels heavy and sticky, add more compost. Fill the bed so the soil is about an inch below the rim—this leaves room for water to pool briefly instead of running off.

Water the bed thoroughly after filling. The soil will settle over the next few weeks, and you may need to add more. This is normal. Don't plant when ready if you've used fresh compost; wait a week or two for the soil to settle and the compost to begin breaking down. If you're in a hurry, use aged compost or composted manure, which has already broken down and won't heat up as it decomposes.

Common Mistakes to Avoid

The most common error is building the bed too narrow. A 3-foot-wide bed forces you to reach more than 18 inches from the edge to the center, which strains your back and makes weeding difficult. A 4-foot width is ideal—you can reach the center from either side without stepping into the bed. Stepping compacts the soil and damages roots.

Another frequent mistake is filling the bed with garden soil alone. Garden soil is meant to be tilled into existing earth; when confined in a box, it compacts into a dense, airless mass that drains poorly and suffocates roots. Always mix in compost or aged manure to keep the soil loose and well-draining. A third of compost to two-thirds topsoil is a safe starting point.

Don't use pressure-treated lumber from before 2004 if you're growing vegetables. Older pressure-treated wood contains arsenic, which accumulates in soil. Lumber treated after 2004 uses copper compounds instead, which are safer but still not ideal for edible crops over many years. Cedar and composite are the better choice for vegetable beds.

Finally, don't skip the level check. A bed that tilts will have one soggy corner and one dry corner, and neither will grow well. Spend five minutes leveling the frame before you fill it—it saves weeks of frustration later.

Frequently Asked Questions

How deep does a raised bed need to be for vegetables?

Most vegetables need 10 to 12 inches of soil depth. Shallow-rooted crops like lettuce and spinach can grow in 8 inches, but tomatoes, peppers, and root vegetables need at least 12. If you're growing carrots or parsnips, go 14 to 16 inches. Deeper is always better—it gives roots more room and holds more water, so the bed dries out less quickly in summer.

Can I use reclaimed wood or old pallets?

Reclaimed wood works if you know its history. Avoid wood that was treated with creosote (railroad ties) or that came from industrial sites where chemicals may have soaked in. Old pallets are risky because you don't know what was shipped on them—some carry pesticide residue. New untreated cedar or composite is safer and not much more expensive than salvaging old wood.

What if my yard doesn't get six hours of sun?

Leafy greens, herbs, and root vegetables tolerate four to six hours of sun. Tomatoes, peppers, eggplant, and squash need six to eight hours and will produce poorly in less. If your yard is mostly shaded, grow lettuce, spinach, kale, parsley, and beets instead. You can also prune tree branches to let more light through, or build the bed in a sunnier spot if one exists.

Do I need to add a bottom to the raised bed?

No. A solid bottom prevents drainage and traps water, which rots roots. The cardboard layer stops weeds from growing up from below, but water drains freely through it and into the ground. If you're building on concrete or asphalt, the bed sits on top and roots can't reach the hard surface anyway.

How often do I need to refill the bed with soil?

Soil settles and compacts over time, and compost breaks down into humus. Add an inch or two of compost each spring to replace what's decomposed. After three to five years, you may need to replace a third to half the soil if it's become dense and compacted. Refreshing the bed annually with compost keeps it loose and fertile without a complete overhaul.