How to Build a Retaining Wall on a Slope (Step-by-Step Guide)
A complete step-by-step guide to building a retaining wall on a slope. From site preparation and excavation to block placement and drainage, everything you need to know for a wall that lasts decades.
Why Building on a Slope Is Different
Building a retaining wall on flat ground is straightforward — dig a trench, level the base, stack blocks. A slope changes everything. The wall has to fight gravity, manage water runoff, and handle lateral earth pressure that increases with the height of soil being retained.
On a slope, the base of your wall is at a lower elevation than the top of the retained soil, which means more force pushing against the wall. Water naturally flows downhill and collects behind the wall, adding hydrostatic pressure. Without proper planning, a wall on a slope can fail within a few years.
The good news: if your wall is under 4 feet tall (measured from the bottom of the footing to the top of the wall), it is a very achievable DIY project. Walls over 4 feet require engineering and permits in most areas — hire a professional for those.
Budget estimate: A DIY interlocking block retaining wall on a slope costs $10–$20 per square foot of wall face in materials. A 30-foot long, 3-foot tall wall typically runs $1,500–$3,500 in total materials including blocks, gravel, drainage pipe, and landscape fabric. Use our Retaining Wall Calculator for exact quantities.
Tools and Materials You'll Need
Materials: interlocking retaining wall blocks (calculate using our Retaining Wall Calculator), ¾-inch clean crushed gravel for the base and backfill (use our Gravel Calculator), 4-inch perforated drain pipe, non-woven geotextile landscape fabric, construction adhesive for blocks, and compactable gravel or road base for the trench.
Tools: flat shovel and round-point shovel, hand tamper or plate compactor (rent one for $50–$80/day — worth every cent), 4-foot level, string line and stakes, rubber mallet, tape measure, safety glasses, work gloves, and a wheelbarrow.
Nice to have: a laser level or transit level for longer walls, a masonry saw or angle grinder with a diamond blade for cutting blocks to fit, and a small excavator rental ($200–$400/day) if you are moving more than a few cubic yards of soil.
Pro tip: order 10–15% more blocks than calculated to account for cuts, waste, and any damaged blocks in the delivery. Running short mid-project and waiting for another delivery kills your momentum.
Step 1: Plan and Mark the Wall Layout
Use stakes and string to mark exactly where the wall will go. Stand at the bottom of the slope and look up — the wall should follow the natural contour of the slope or run straight along the base, depending on your design.
Decide if the wall will "step up" the slope (each section starts at a higher elevation) or "step down" into the ground (the base follows the slope). Stepping up is more common and looks cleaner for most residential projects.
For a stepped wall on a slope, plan each step to be equal to the height of one block (typically 6–8 inches). This keeps the wall looking uniform and each section structurally sound.
Call 811 (or your local utility locate service) before digging. Underground utilities can be as shallow as 12 inches. This is free, legally required in most areas, and takes 2–3 business days. Do not skip this step — hitting a gas line or electrical conduit can be deadly.
Check local building codes for setback requirements. Most areas require retaining walls to be at least 2 feet from property lines. Walls over 4 feet typically need a building permit and engineered drawings.
Step 2: Excavate the Trench
The trench is the foundation of your wall — get this right and everything else follows. Dig a trench that is 24 inches wide and deep enough to bury the first course of blocks plus 6 inches of compacted gravel base.
For a standard 6-inch tall block, dig the trench 12 inches deep (6 inches for gravel + 6 inches for the buried block). The first course should be completely below grade — this buried course is what anchors the wall and prevents it from sliding forward.
On a slope, the trench depth varies as you move along. At the low end, you may only need 12 inches deep. At the high end, you may need 18–24 inches to keep the first course buried. Use a level and string line to keep the trench bottom consistently graded.
For a stepped wall, dig the trench in level sections. Each section should be the length of one or more blocks. Where the step occurs, dig a new level section that starts at the top of the previous section's first course. Think of it like building a staircase underground.
Remove all loose soil, roots, and organic material from the trench bottom. You need to reach undisturbed native soil. Soft or organic soil under your wall will compress over time and cause settling.
Step 3: Build the Gravel Base
Pour 6 inches of compactable gravel (¾-inch road base or crusher run) into the trench. This is NOT the same as the clean drainage gravel you will use behind the wall — road base has fine particles that compact into a solid, stable surface.
Compact the gravel in 3-inch lifts. Spread 3 inches, compact with a hand tamper or plate compactor, then add another 3 inches and compact again. A plate compactor ($50–$80/day rental) makes this dramatically easier and produces better results than hand tamping.
Check for level constantly. Use a 4-foot level across the width and length of the trench. The gravel base must be perfectly level in both directions. Every millimetre of unevenness here translates to a visible lean in the finished wall.
On a slope with a stepped design, each level section of gravel base must be independently level. The step between sections should equal exactly one block height. Take your time here — this is the most important step in the entire build.
A common mistake: using pea gravel or round river rock for the base. These shift under load because the round stones roll over each other. Use angular crushed gravel — the sharp edges interlock and create a solid foundation.
Step 4: Lay the First Course of Blocks
The first course is the most critical row. If it is level and straight, the rest of the wall practically builds itself. If it is off, every row above amplifies the error.
Set each block on the gravel base and tap it into place with a rubber mallet. Check level front-to-back and side-to-side on every single block. Check level across multiple blocks with a long straight edge or string line.
For interlocking blocks, place them with the lip facing down and toward the back of the wall. This lip creates the setback (batter) that leans each course slightly into the slope — typically ¾ inch per course. This batter is what gives the wall its strength against the soil pressure.
If your wall steps up the slope, start at the lowest point. Complete the first course for the bottom section, then start the next stepped section one block height higher. Each step should begin with a full block to maintain structural integrity.
Backfill any gaps between the blocks and the trench walls with gravel to lock the first course firmly in place. This prevents any shifting as you build upward.
Step 5: Install Drainage Behind the Wall
Drainage is the single most important detail for a retaining wall on a slope. Water naturally flows downhill and collects behind the wall. Without a way to escape, hydrostatic pressure builds up and eventually pushes the wall over — this is the number one cause of retaining wall failure.
Line the back of the trench with non-woven geotextile landscape fabric. Let it drape up and over the excavated slope behind the wall. This fabric allows water through but prevents soil particles from clogging your drainage gravel over time.
Lay a 4-inch perforated drain pipe at the base of the wall, behind the first course of blocks, sitting on top of 2 inches of clean ¾-inch gravel. The perforations should face down (this is counterintuitive but correct — water rises into the pipe from below).
The drain pipe must slope at least 1 inch per 8 feet toward a daylight outlet — a point where the pipe exits the slope and water can flow freely away. On a slope, this is usually at one or both ends of the wall. If your wall turns a corner, route the pipe around the corner and out.
Use our Retaining Wall Drainage Calculator to determine exactly how much gravel and drain pipe you need. Skimping on drainage to save money is the most expensive mistake you can make — a collapsed wall costs 3–5 times more to rebuild than to build correctly the first time.
Step 6: Stack the Remaining Courses
With the first course level and the drainage pipe installed, stacking the remaining courses is the satisfying part. Each course offsets the one below it by half a block — just like laying bricks. This staggered pattern distributes load and locks the blocks together.
Set each block so the rear lip catches the top of the block below, creating the automatic setback. Tap each block level with a rubber mallet. Check level every 3–4 blocks.
As you build up, backfill behind each course with clean ¾-inch crushed gravel — not soil. This gravel zone should be at least 12 inches deep behind the wall. The gravel allows water to drain freely down to the perforated pipe at the base.
Every 2–3 courses, fold the geotextile fabric over the top of the gravel backfill before adding the next layer of gravel. This creates drainage channels and keeps soil from migrating into the gravel over time.
For the top 6 inches behind the wall, switch from gravel to topsoil. This gives you a planting zone at the top and prevents gravel from showing at the surface. Fold the landscape fabric over the top of the gravel before adding the topsoil layer.
Apply construction adhesive between the last two courses. This locks the top blocks in place and prevents them from being dislodged by foot traffic, lawn mowers, or freeze-thaw cycles.
Step 7: Cap the Wall and Finish
Cap blocks (also called coping stones) give the wall a finished, professional look. They are wider and flatter than standard wall blocks and overhang slightly on the front face. Glue every cap block with construction adhesive.
Backfill the remaining soil behind the wall in 6-inch lifts, compacting each lift gently. Do not use a plate compactor directly behind the wall — hand tamping is sufficient and avoids pushing the wall outward.
Grade the soil behind the wall so it slopes away from the wall at the top. This directs surface water away from the wall rather than letting it pool behind it. A slope of 1 inch per foot for the first 3–4 feet is ideal.
Plant ground cover or grass on the slope above the wall as soon as possible. Bare soil erodes quickly in rain, and that eroded soil can overwhelm your drainage system. Native ground covers with strong root systems are ideal for slope stabilisation.
Seed or sod any disturbed areas in front of the wall. Add mulch to planting beds above the wall. Step back and admire your work — a well-built retaining wall on a slope adds significant value and usability to your property.
Common Mistakes That Cause Wall Failure
Skipping the buried first course: The base course must be completely underground. Walls built on the surface with no buried base slide forward under soil pressure. This is non-negotiable.
Using soil instead of gravel for backfill: Soil traps water behind the wall. Gravel lets water drain to the pipe and escape. Every retaining wall that fails due to water pressure was backfilled with soil instead of gravel.
Not compacting the gravel base: An uncompacted base settles unevenly, creating a wall that leans, cracks, or separates over time. Rent a plate compactor — it costs $50–$80 for a day and saves you from rebuilding a failed wall.
Building too tall without engineering: Walls over 4 feet experience exponentially more lateral earth pressure. A 6-foot wall has four times the pressure of a 3-foot wall. Get engineering for anything over 4 feet — the $500–$1,500 cost is a fraction of the liability if an unengineered wall fails.
Forgetting the drain pipe outlet: A perforated pipe that does not drain to daylight is just a water collector. The pipe must exit the slope at one or both ends so water can actually escape. No outlet means no drainage — just a pipe full of water sitting behind your wall.
Use our free Retaining Wall Calculator and Retaining Wall Drainage Calculator at BuildCalcPro.org to plan your materials accurately before you start digging. Getting the quantities right saves multiple trips to the hardware store and ensures you have everything on site when you need it.
Ready to Calculate?
Use our free calculators to get exact material quantities and cost estimates for your project.
Editorial Note
This guide was researched and written by the BuildCalc Pro editorial team. Cost data reflects 2026 national averages from contractor surveys, manufacturer pricing, and home improvement retailers. Actual costs vary by region, material availability, and labour rates. All formulas and material quantities are cross-referenced against industry standards. This content is for informational purposes only and does not constitute professional construction advice. Always consult a licensed contractor for your specific project.