You can build a raised garden box yourself with basic tools and materials from a hardware store

A DIY raised garden box is a wooden or composite frame you build and fill with soil, rather than buying a pre-made kit. The most common approach is to cut four boards to length, attach them at the corners with screws or brackets, and set the frame on level ground. Most people finish the job in an afternoon and spend between $40 and $150 depending on the size and wood type you choose.

The main reason to build rather than buy is cost and customization. A 4-by-8-foot box you assemble yourself costs roughly half what a finished kit does. You can also make it any size that fits your space, add a second layer for depth, or build multiple boxes without paying assembly fees.

Key Takeaways

  • A basic raised box needs four boards, corner brackets or screws, a level surface, and about two hours of work with a drill or screwdriver.
  • Cedar and composite boards last longer than pine or untreated wood, but cost more upfront.
  • The frame itself is the only part you build; you buy soil separately and fill it after assembly.
  • A 4-by-8-foot box holds roughly 32 cubic feet of soil and costs $60 to $120 in materials for untreated or cedar wood.

What materials and tools you need

For a standard 4-by-8-foot box 12 inches deep, you need two 8-foot boards and two 4-foot boards. The most common choices are untreated pine (cheapest, lasts 3 to 5 years), cedar (lasts 10 to 15 years, costs 2 to 3 times more), or composite boards made from wood fiber and plastic (lasts 15+ years, costs similar to cedar). Do not use pressure-treated wood if you plan to grow vegetables, because the chemicals can leach into soil.

You also need corner brackets or 3-inch exterior screws, a drill or screwdriver, a level, and a measuring tape. If you do not own a drill, you can borrow one or ask the hardware store to cut your boards to length so you only need to screw them together. A circular saw or miter saw speeds up cutting, but is not required if the store cuts for you.

Once the frame is built, you will need soil to fill it. A 4-by-8-foot box 12 inches deep holds about 32 cubic feet of soil. Most people use a mix of topsoil and compost, which costs $30 to $60 depending on local prices and whether you buy in bulk or bags.

Step-by-step assembly process

Start by laying out your boards on level ground in a rectangle. Check that the corners are square by measuring diagonally from corner to corner — both measurements should be equal. If they are not, adjust the boards until they are.

Attach the corners using either L-brackets (bolted or screwed to the inside of the frame) or by drilling pilot holes and driving 3-inch screws through one board into the end of the next. Screws are faster and leave the inside of the box clear. Use at least two fasteners per corner. Once all four corners are attached, place a level on the top edge and adjust the frame until it sits flat. If the ground is uneven, you can dig out high spots or add soil under low spots.

If you are building a box taller than 12 inches, add a second layer of boards on top of the first and attach it the same way. This prevents the sides from bowing outward when the soil is wet and heavy.

Wood types and how long they last

Untreated pine is the cheapest option at roughly $15 to $25 per 8-foot board. It will rot in 3 to 5 years depending on rainfall and soil moisture in your area. If you are willing to replace it or do not mind the weathered look, this is a reasonable choice for a first box.

Cedar costs $40 to $70 per 8-foot board and resists rot naturally because of its oil content. It lasts 10 to 15 years and weathers to a gray color. Cedar is the most popular choice for people who want their box to last without chemical treatment.

Composite boards made from wood fiber and plastic cost $50 to $80 per board and last 15 years or longer. They do not rot, splinter less than wood, and require no staining or sealing. The trade-off is that they are heavier to work with and can feel plastic-like to some gardeners.

Pressure-treated wood is inexpensive and long-lasting, but modern pressure-treated lumber contains copper compounds that can leach into soil and accumulate in vegetables over time. Most gardeners avoid it for vegetable beds.

Sizing your box for your space and plants

The most common size is 4 feet by 8 feet, which fits against a fence or along a patio edge and is straightforward to reach from both sides. A 4-by-4-foot box is more compact and works well in small yards or patios. If you have room, two smaller boxes are often easier to manage than one large one.

Depth matters for what you grow. Shallow-rooted plants like lettuce, spinach, and herbs need 6 to 8 inches. Most vegetables — tomatoes, peppers, beans — need 10 to 12 inches. Root vegetables like carrots and beets need 12 to 18 inches. If you plan to grow a mix, build at least 12 inches deep.

Width also affects usability. A box wider than 4 feet is hard to reach into from the sides. If you have a long space, build two 4-foot-wide boxes instead of one 8-foot-wide one.

Soil and drainage considerations

A raised box drains better than in-ground soil because water moves down and out through the bottom. You do not need to add a drainage layer unless your ground is clay or stays soggy after rain. In that case, lay landscape fabric on the bottom to prevent soil from washing away while still allowing water to drain.

Fill the box with a mix of topsoil and compost. A common ratio is 60 percent topsoil and 40 percent compost, though you can adjust based on what you are growing. Compost adds nutrients and helps soil hold moisture. Avoid filling with only compost, which is too rich and expensive for the whole box.

The soil will settle over the first season, so fill it slightly higher than the rim. You can add more soil in spring of the following year to bring it back to the top.

Common mistakes to avoid

The most common mistake is building on uneven ground. A box that is not level will have shallow soil on one side and deep soil on the other, and water will pool in the low corner. Spend 10 minutes leveling the ground before you attach the corners.

Another mistake is using only one fastener per corner. Soil is heavy and wet, and a single screw or bolt will eventually pull loose. Use at least two fasteners per corner, and three if you are building a tall box.

Some people also skip the second layer when building a box deeper than 12 inches. A single layer of boards will bow outward under the weight of wet soil. If you need depth, add a second layer.

Finally, do not skimp on soil. Filling a box with cheap, low-quality soil or leftover garden dirt will result in poor drainage and weak plant growth. Buy topsoil and compost from a reputable source, even if it costs more.

Frequently Asked Questions

How much does it cost to build a 4-by-8-foot raised box?

Materials for the frame cost $60 to $120 depending on whether you use pine, cedar, or composite. Soil to fill it costs another $30 to $60. Total is roughly $90 to $180. A pre-made kit of the same size typically costs $200 to $300.

Can I use reclaimed wood or pallets?

Yes, if the wood is solid and not rotted. Avoid pallets treated with chemicals for shipping. Reclaimed barn wood or old fence boards work well and add character. Make sure fasteners are find and there are no nails sticking up inside the box.

Do I need to line the bottom with anything?

Not usually. A raised box drains well on its own. If your ground is clay or stays wet, lay landscape fabric on the bottom to prevent soil from washing away while still allowing drainage. Do not use plastic, which traps water.

How deep should a raised box be for vegetables?

Most vegetables need 10 to 12 inches. Shallow-rooted plants like lettuce need 6 to 8 inches. Root vegetables like carrots need 12 to 18 inches. If you are growing a mix, build 12 inches deep as a standard.

Can I build a raised box on top of grass?

Yes, but the grass underneath will eventually decompose and create a gap. You can mow the grass short first, or lay cardboard under the box to speed decomposition and prevent weeds from growing up through the bottom. Either way, the box will settle slightly in the first year.