A raised bed on legs sits high enough to reach from a standing position, uses less ground space, and keeps soil separate from contaminated earth below
A raised bed on legs is a wooden or composite box mounted on a frame 2 to 4 feet off the ground. You fill it with garden soil and plant directly into it, the same way you would a ground-level bed—but the height makes it easier on your back, keeps out some pests and weeds, and works on patios, decks, or over concrete. Building one takes a weekend and costs between $80 and $200 in materials, depending on size and wood choice.
The basic structure is straightforward: four vertical posts, four horizontal rails connecting them, and a box (or boxes) attached to the top. The posts sit on the ground or on feet; the rails hold the box at the height you want. Most home gardeners build beds 2 feet wide by 4 feet long by 18 to 24 inches tall, which is deep enough for most vegetables and herbs.
Key Takeaways
- Raised beds on legs work best when built 18 to 24 inches tall and 2 to 4 feet wide, with untreated wood or composite materials that won't rot or leach chemicals into soil.
- The frame needs four corner posts sunk or bolted into the ground, with horizontal rails connecting them to support the weight of soil and water.
- Cedar, redwood, and composite boards last 10 to 15 years; pressure-treated wood lasts longer but should not touch food crops directly.
- You can build the box first and attach it to a finished frame, or build the frame and box together, depending on your tools and workspace.
- A bed 2 feet by 4 feet by 2 feet tall holds about 16 cubic feet of soil and weighs roughly 800 pounds when full, so the frame must be sturdy and level.
Choose Your Materials and Size
Start by deciding how tall you want the bed and how much space you have. A 24-inch height is comfortable for most people to reach into without bending far; 18 inches works if space is tight. Width should not exceed 4 feet, because you need to reach the center from either side without stepping into the bed. Length can be whatever fits your space—4 feet is standard, but 6 or 8 feet is fine if the frame is strong enough.
For the box itself, use untreated cedar, redwood, or composite boards. Cedar and redwood resist rot naturally and won't leach chemicals into your soil; they last 10 to 15 years. Composite boards (made from wood fiber and plastic) last 15 to 20 years and don't rot, but they cost more and can warp in extreme heat. Do not use pressure-treated wood for the sides that touch soil—the chemicals can leach into vegetables over time, especially in acidic soil.
For the frame posts and rails, you can use 4x4 posts and 2x6 or 2x8 rails, or go lighter with 2x4 posts and 2x4 rails if your bed is small. Heavier wood is more durable but harder to work with. A 2-foot by 4-foot bed by 24 inches tall will weigh about 800 pounds when full of soil and water, so the frame must be solid.
Gather Tools and Fasteners
You will need a drill, a circular saw or miter saw, a level, a tape measure, and a shovel. A power drill makes driving screws much faster than a hand driver, and a miter saw cuts cleaner angles than a circular saw, but either works. A level is essential—an unlevel bed will drain unevenly and look wrong.
For fasteners, use galvanized or stainless steel screws, never nails. Screws hold better under the weight and movement of soil and water, and they do not rust as quickly. Buy 3-inch exterior-grade deck screws for joining the frame and 2.5-inch screws for attaching the box to the frame. You will also need galvanized bolts and washers if you are anchoring the posts into the ground, or metal feet if you are sitting the posts on top of the soil.
Build the Frame and Attach Posts
Cut your four corner posts to length. If you are sinking them into the ground, add 12 to 18 inches to your desired height—a 24-inch-tall bed needs 36 to 42-inch posts. If you are using feet, the posts only need to be as tall as your desired bed height plus a few inches for the rails to sit on top.
Lay out the posts on the ground in a rectangle, spaced to match your box dimensions. Use a level to check that the ground is roughly even; if it slopes, you can level it by digging out high spots or adding soil to low spots. If you are sinking posts, dig a hole 12 to 18 inches deep at each corner, set the post in, and backfill with soil, tamping as you go. If you are using feet, bolt the feet to the bottom of each post and set the assembly on the ground.
Once the posts are in place and level, attach the horizontal rails. Cut four rails to length—two for the long sides and two for the short sides. Position them so the top of each rail is at the height where you want the top of your box to sit. Drill pilot holes to prevent splitting, then drive 3-inch screws through the rails into the posts. Use at least two screws per connection, and check with a level as you go.
Build and Attach the Box
Cut your boards to length. For a 2-foot by 4-foot bed, you need two 4-foot boards and two 2-foot boards. If your bed is taller than 12 inches, you may need to stack boards—two 8-inch boards stacked make a 16-inch-tall box, for example. Sand the boards lightly to remove splinters.
Assemble the box on a flat surface before attaching it to the frame. Lay the boards in a rectangle and drive 2.5-inch screws through the corners to join them. Use at least two screws per corner, and drill pilot holes first. Check that the box is square by measuring diagonally from corner to corner—both measurements should be the same. If they are not, adjust until they match.
Lift the box onto the frame and position it so it sits evenly on the rails. Drill pilot holes through the bottom of the box into the rails, then drive screws up through the rails into the box. This keeps the box from shifting when you fill it with soil. If your box is very long (6 feet or more), add a center support rail and attach the box to it as well.
Level and Fill the Bed
Before adding soil, check the entire frame with a level in multiple directions. An unlevel bed will drain poorly and look crooked. If one corner is high, you can shim it with a shim or a thin board under the post or foot. If the ground is very uneven, you may need to dig out soil under the low side or add soil under the high side.
Once the frame is level, add landscape fabric to the bottom if you want to block weeds from below. This is optional—many gardeners skip it and let roots reach down into the native soil. Staple the fabric to the inside of the box if you use it.
Fill the bed with garden soil or a mix of topsoil and compost. Do not use soil from your yard unless you know it is free of contaminants and compacted clay. A 2-foot by 4-foot by 2-foot bed needs about 16 cubic feet of soil. Water the soil as you fill to help it settle, and add more soil if it sinks significantly. Let it sit for a few days before planting so the soil can compact and settle.
Common Mistakes and How to Avoid Them
The most common mistake is building the frame too weak. Posts that are too thin or rails that are too small will sag under the weight of wet soil. Use at least 4x4 posts and 2x6 rails for any bed larger than 2 feet by 3 feet. If you are building a very large bed, add a center support rail.
Another mistake is not anchoring the posts securely. Posts that are straightforward set on the ground will shift and settle unevenly over time, especially in freeze-thaw cycles. Sink them at least 12 inches into the ground or bolt feet to the bottom and find them to the ground with stakes or anchors.
Using the wrong wood is also common. Pressure-treated wood is cheap and lasts a long time, but it can leach chemicals into soil. Cedar and redwood cost more but are safer for food crops. Composite boards cost the most but last the longest and never rot.
Finally, many people skip the level check. An unlevel bed looks wrong and drains unevenly, leaving one corner soggy and another dry. Spend time getting the frame level before you fill it—it takes an hour but saves months of frustration.
Frequently Asked Questions
How deep does a raised bed on legs need to be?
Most vegetables need 12 to 18 inches of soil depth. Shallow-rooted crops like lettuce and herbs can grow in 8 to 12 inches. If you want to grow root vegetables like carrots or potatoes, aim for 18 to 24 inches. Deeper beds also hold more water and stay cooler in summer.
Can I use pressure-treated wood?
Modern pressure-treated wood is safer than older versions, but it can still leach small amounts of chemicals into soil over time. If you use it, do not let it touch the soil directly—line the inside with landscape fabric or plastic. Cedar and redwood are better choices for food crops.
Do I need to put something under the bed to block weeds?
Landscape fabric or cardboard at the bottom will slow weeds from below, but it is not required. Many gardeners skip it and let roots reach into the native soil. If your yard has aggressive weeds or you are building over a lawn, fabric helps. If you use it, make sure water can still drain through.
How much does it cost to build a raised bed on legs?
A 2-foot by 4-foot bed 24 inches tall costs roughly $80 to $120 in untreated wood and hardware, or $150 to $200 in composite materials. Posts, rails, boards, screws, and a level are the main expenses. Soil is extra and costs $20 to $40 per cubic yard, depending on your area.
Can I build a raised bed on legs on a deck or patio?
Yes, as long as the deck or patio can support the weight. A 2-foot by 4-foot by 2-foot bed full of soil weighs about 800 pounds. Check your deck's weight rating first—most residential decks support 40 pounds per square foot, which is enough for a small bed but not for multiple large ones. You can also use lighter soil mixes or shallower beds to reduce weight.