Level the ground or build a terraced frame to fit the slope
A raised bed on a slope works best when you either level a small section of ground first, or build the bed frame to follow the slope's angle. The easier choice depends on how steep your slope is and how much digging you want to do. If your slope is gentle — a gradual decline you can barely see — leveling a 4-by-8-foot patch takes a few hours with a shovel. If the slope is steep or long, building a frame that steps down the hill (called a terraced bed) saves you from moving tons of soil.
The key difference: a level bed sits flat on flat ground, while a terraced bed has one side higher than the other, with the frame itself angled to match the slope. Both work. Level beds are simpler to build and fill. Terraced beds fit steep ground and look intentional, but they hold less soil on the downhill side and need stronger corner bracing.
Key Takeaways
- Measure your slope's drop across the bed length using a level and tape measure, then decide whether to level the ground or build a frame that angles downhill.
- For gentle slopes, dig out the high side and fill the low side to create level ground; for steep slopes, build a frame with the downhill side shorter than the uphill side.
- Terraced beds need corner posts sunk at least 12 inches into the ground on the downhill side to resist soil pressure pushing the frame downhill.
- Fill a terraced bed with soil in layers, tamping each layer, so the soil settles evenly and does not shift toward the downhill edge.
- Anchor the uphill side of the frame to the slope with stakes or by digging the frame partially into the ground to prevent water from running under it.
Measure the slope before you choose your method
Find out how much your ground drops across the length of your planned bed. Lay a straight board (a 2-by-4 or a level) across the slope in the direction the bed will run — from uphill to downhill. Place a level on top of the board and adjust the board until the bubble shows level. Measure the gap between the board and the ground at the downhill end. That gap is your slope's drop.
If the drop is less than 2 inches across an 8-foot bed, the slope is gentle enough to level by hand. If the drop is 3 inches or more, terracing is faster and uses less soil. A very steep slope — 6 inches or more of drop — almost always calls for terracing, because leveling would mean moving a lot of earth.
Level the ground for a gentle slope
Mark out your bed footprint with stakes and string. Using a shovel, cut into the high side of the slope and move that soil to the low side, building it up until the ground inside your marked area is level. Check your work by laying the board and level across the bed in different directions — the bubble should stay centered. Tamp the filled-in soil with the back of your shovel or a hand tamper so it does not settle later.
Once the ground is level, build your raised bed frame on top as you normally would. The frame sits flat on flat ground, and water drains evenly. This method works well for beds up to 8 feet long on a gentle slope.
Build a terraced frame for a steep slope
A terraced bed has a shorter wall on the downhill side and a taller wall on the uphill side, so the frame itself angles to match the slope. Measure your slope's drop again. If your slope drops 4 inches across 8 feet, your downhill wall will be 4 inches shorter than your uphill wall.
Cut your frame boards to length: the uphill side stays at your target height (usually 12 inches), and the downhill side is shorter by the amount of the slope's drop. For a 4-inch drop, the downhill board is 8 inches tall instead of 12. Assemble the frame so the corners are square when viewed from above, but the frame angles downhill when viewed from the side.
Dig a trench along the uphill side of your frame outline, about 3 to 4 inches deep, and set the uphill board into it. This anchors the high side and prevents water from running under the frame. At the downhill corners, dig postholes at least 12 inches deep and set 4-by-4 corner posts into them, then attach your boards to those posts. The posts resist the pressure of wet soil pushing the frame downhill.
find the frame against soil pressure
Wet soil is heavy and pushes outward on the walls of a raised bed. On a slope, that pressure is strongest at the downhill corners. Use 4-by-4 posts at both downhill corners, sunk at least 12 inches into the ground. Bolt or screw your frame boards to these posts so the connection is solid.
On the uphill side, you can use 2-by-6 or 2-by-8 boards without corner posts, since the slope naturally holds them in place. But anchor the uphill board by digging it partially into the ground or by driving stakes behind it into the slope. This stops water from flowing under the frame and destabilizing it.
For a very long terraced bed (longer than 12 feet), add a center post on the downhill side as well, so the downhill board does not bow outward under the weight of soil.
Fill and tamp the bed in layers
Filling a terraced bed is different from filling a level one. Do not dump all your soil in at once, or it will settle unevenly and shift toward the downhill side. Instead, fill in 4-inch layers. Spread each layer evenly across the bed, then tamp it down with a hand tamper or the back of a shovel. Add the next layer, tamp again, and repeat until the bed is full.
Tamping each layer compacts the soil so it settles gradually and stays put. This is especially important on a slope, where gravity is always pulling soil downhill. After the first heavy watering, the soil will settle a bit more, so you may need to add more soil to bring the bed back to its original level.
Manage water runoff around the bed
Water running down the slope will hit your raised bed and either flow around it or pool against it. If water pools, it can undermine the uphill side of your frame. Dig a shallow channel (a swale) uphill from your bed to divert water around it, or slope the ground slightly away from the uphill edge of the bed so water runs past rather than into it.
On the downhill side, water that drains from the bed will flow downhill naturally. If you are concerned about erosion below the bed, lay landscape fabric or mulch to slow the water and catch sediment.
Frequently Asked Questions
Can I build a raised bed on a very steep slope?
Yes, but you may need to build multiple terraced beds stacked on top of each other, like steps, rather than one tall bed. A single bed on a very steep slope (more than 8 inches of drop) becomes unstable because the soil pressure is too great for the frame to resist. Two or three smaller beds, each 8 inches tall, stacked downhill, are more stable and easier to fill.
What kind of wood should I use for a terraced bed?
Use untreated cedar, redwood, or composite boards rated for ground contact. Pressure-treated lumber is safe for vegetables but lasts longer on a slope where water exposure is constant. Avoid regular pine or spruce, which rot quickly when in contact with wet soil. For corner posts, use 4-by-4 cedar or composite, or pressure-treated 4-by-4.
How do I stop soil from washing out of the downhill side during heavy rain?
Line the inside of the downhill board with landscape fabric, stapled to the inside of the frame. The fabric lets water drain but holds soil in place. You can also plant densely on the downhill side so plant roots hold the soil, or add a layer of mulch to slow water runoff.
Do I need to add a drain at the bottom of a terraced bed?
No. Raised beds drain naturally through the bottom. If water pools inside the bed after rain, the soil is too dense or the ground below is not draining. Amend the soil with compost or perlite to improve drainage, or dig out the bottom of the bed and replace it with gravel before adding soil.
Can I use a level bed frame on a slope if I just add more soil to one side?
You can, but it is not ideal. The soil on the higher side will settle more than the soil on the lower side, leaving you with an uneven bed. A terraced frame, where the boards themselves angle to match the slope, distributes the soil weight more evenly and settles more predictably.