What You Need to Build a Box Garden

A box garden is a raised bed you build yourself using wood, composite materials, or metal frames. You fill it with soil and grow vegetables, herbs, or flowers in a contained space. The basic build takes a few hours and requires only a saw, drill, and fasteners — no special skills or tools.

The most common approach is to buy untreated wood boards (usually cedar or pine), cut them to length, and screw them together into a rectangle. You then place the frame on level ground, line the bottom if you want, and fill it with soil. The whole project costs between $50 and $200 depending on size and materials.

Key Takeaways

  • Cedar and pine are the cheapest wood options; avoid pressure-treated lumber because the chemicals leach into soil over time.
  • A 4-by-8-foot box is a standard size that fits most yards and costs less than $100 in materials.
  • Screw the corners together rather than nailing them — screws hold longer as the wood shifts and settles.
  • You do not need to line the bottom unless you are building on concrete or contaminated soil; cardboard or landscape fabric works if you do.
  • Fill your box with a mix of topsoil and compost rather than garden soil alone, which compacts over time.

Choosing Wood and Sizing Your Box

Cedar is the best choice for longevity — it resists rot naturally and lasts 10 to 15 years. Pine is cheaper and lasts 5 to 10 years. Both are untreated and safe for vegetables. Avoid pressure-treated lumber; the chemicals used to prevent rot can leach into soil, especially in the first few years.

Standard dimensions are 4 feet by 8 feet by 12 inches deep. This size is straightforward to reach across, fits a standard garden space, and holds enough soil for most vegetables. If you have limited space, go smaller — 2 by 4 feet works for herbs and salad greens. If you want deeper root space for tomatoes or carrots, build it 18 inches tall instead.

Buy boards at a lumber yard or home center. A 4-by-8-foot box with 12-inch sides requires eight 8-foot boards (four for length, four for width) and one 4-by-4 post cut into four corner pieces, or you can use 2-by-10 or 2-by-12 boards and skip the corner posts. Ask the staff to cut boards to length if you do not have a saw at home — most yards do this for free or a small fee.

Assembling the Frame

Lay the boards on flat ground in a rectangle. If you are using corner posts, attach one board to each post using two 2.5-inch exterior screws per corner — drill a pilot hole first to prevent splitting. If you are using boards only, overlap them at the corners and screw through one board into the end of the other.

Use a level to check that the frame sits flat. If the ground is uneven, dig out high spots or add soil under low spots until the frame is level. An unlevel box will cause water to pool on one side and dry out on the other.

Once the frame is level and square, check the corners with a measuring tape — opposite sides should be the same length. If they are not, loosen the screws slightly and adjust until the frame is square, then tighten again.

Preparing the Ground and Lining the Bottom

Clear the area where your box will sit. Remove grass, weeds, and large rocks. You do not need to remove topsoil — the box will sit on top of it. If the ground is very compacted or you are building on concrete, loosen the soil with a shovel or break up the concrete.

Lining the bottom is optional. If your soil is clean and you are not worried about weeds coming up from below, skip it. If you want a barrier, lay cardboard or landscape fabric on the ground inside the frame before filling. Cardboard breaks down over time and adds organic matter; landscape fabric lasts longer but does not decompose. Staple it to the inside of the frame so it stays in place.

Do not use plastic sheeting — it traps water and prevents drainage, which causes root rot and fungal problems.

Filling Your Box With Soil

A 4-by-8-foot box that is 12 inches deep holds about 32 cubic feet of soil. Buy a mix of topsoil and compost rather than garden soil alone. A 50-50 blend is standard — this gives you nutrients from the compost and structure from the topsoil. Garden soil compacts heavily and drains poorly in a raised bed.

You can buy soil in bags or by the cubic yard. Bags are easier for small boxes; a cubic yard (which fills about 27 cubic feet) is cheaper for larger ones and is usually delivered. Fill the box to within an inch of the top — soil settles as it dries, and you want room for water to pool without spilling over.

Water the soil thoroughly after filling. It will settle over the first few weeks. Add more soil if it drops below the top edge. Do not pack it down — let it settle naturally.

Positioning and Drainage

Place your box where it will get at least six hours of direct sun for vegetables, or three to four hours for leafy greens and herbs. Avoid spots under trees or next to buildings that shade the bed for much of the day.

Drainage happens naturally through the bottom and sides of the box — the soil drains into the ground below. If you lined the bottom with cardboard, water will eventually break through as the cardboard decomposes. If you used landscape fabric, water drains around the edges. You do not need drainage holes in the bottom.

If your box is on a slope, water will run off the downhill side. Level the ground first, or build the uphill side slightly taller to compensate.

Common Mistakes to Avoid

Using pressure-treated wood is the most common mistake — it saves money upfront but contaminates soil over years. Untreated cedar or pine costs a little more and is worth it.

Building on uneven ground causes water to pool and plants to dry out unevenly. Spend time leveling before you fill.

Filling with garden soil alone causes compaction and poor drainage. Mix in compost or use a bagged raised-bed soil blend.

Nailing instead of screwing means the frame falls apart within a few years as the wood shifts. Screws cost a few dollars more and last much longer.

Frequently Asked Questions

How deep does a box garden need to be?

Twelve inches is the minimum for most vegetables. Leafy greens and herbs need 8 to 10 inches. Root vegetables like carrots and parsnips need 12 to 18 inches. Tomatoes and peppers do well in 12 inches but produce more in 18 inches. Shallow boxes work for lettuce and spinach but limit what you can grow.

Can I use reclaimed wood or pallets?

Reclaimed wood works if it is untreated and not rotted. Pallets are risky — many are treated with chemicals for shipping and storage. If you use pallets, remove the top layer and use only the boards underneath, which are less likely to be treated. Test a small area first by growing herbs before planting vegetables.

Do I need to add a bottom to keep out rodents?

Hardware cloth (a metal mesh) stapled to the bottom keeps out burrowing rodents like voles and moles. It is not necessary in most yards but is worth adding if you have had rodent problems. Use 1/4-inch mesh and overlap the edges by several inches.

How often do I need to replace the wood?

Cedar lasts 10 to 15 years before it rots. Pine lasts 5 to 10 years. You can extend the life by staining or sealing the outside, but do not seal the inside — it prevents the wood from drying and speeds rot. When the wood fails, you can build a new frame around the same soil.

Can I build a box garden in fall or winter?

You can build the frame anytime, but filling it and planting depends on your climate. In cold regions, build in spring so you can plant in late spring or early summer. In mild climates, you can build and plant in fall for a winter garden. The soil needs time to settle before planting, so fill it at least a week or two before you plant.