How to Build a Retaining Wall: Complete DIY Guide
Plan a retaining wall from drainage to capstones. Calculate every material, understand soil pressure, and budget your project.
A retaining wall does much more than terrace a slope — it controls erosion, expands usable yard space, and can dramatically increase the value of a sloped lot. It's also one of the few hardscape projects where a small mistake can fail catastrophically. A retaining wall is holding back many tons of soil and water, and the difference between a wall that lasts 50 years and one that bulges out in 3 isn't the blocks you choose — it's drainage and base prep. Get those two right and even a basic block wall will outlive the house behind it.
A typical 50-foot, 3-foot-tall block retaining wall takes a determined homeowner about 30 to 50 hours spread across two or three weekends. The materials run $3,500 to $7,500 depending on block choice and wall height. This guide covers planning, height limits, material selection, base prep, drainage, and finishing — with the linked calculators that turn your dimensions into a precise shopping list.
What You'll Need
Round up tools and lock in materials with the calculators linked throughout. A plate compactor and masonry saw are typically rented; everything else lives in a typical DIY garage.
- Tools: flat shovel, round-point shovel, mattock or pick, wheelbarrow, plate compactor (rental), 4-foot level, mason's line, rubber mallet, masonry saw or angle grinder with diamond blade, tape measure, and a hand tamper for tight corners.
- Retaining wall blocks — count via our retaining wall calculator, plus capstones for the top course.
- Gravel base material — typically 3/4-inch crushed stone with fines (Class 5). Calculated with our gravel calculator.
- Drainage gravel — 3/4-inch clean (no fines) crushed stone behind the wall.
- Perforated drain pipe — 4-inch corrugated, with a sock or wrapped in landscape fabric.
- Landscape fabric to separate drainage gravel from native soil and prevent fines from clogging the system.
- Concrete for footings if your wall design calls for them — sized via our concrete calculator.
- Construction adhesive for capstones (typical brand: Loctite PL Premium or equivalent).
- Geogrid reinforcement for walls over 3 feet tall — manufacturer-specified spacing per course.
Step 1: Plan Your Wall Size and Location
Before anything else: how tall is your wall going to be? Wall height drives every other decision — base depth, drainage, reinforcement, footing requirements, and whether you need an engineer or a permit at all.
Height Limits
Most U.S. jurisdictions cap unengineered DIY walls at 4 feet of exposed face (measured from grade in front of the wall to the top). Anything taller almost always requires an engineered design, a permit, and inspection. Many manufacturers also rate their blocks for a maximum gravity-wall height of 3 to 4 feet without geogrid reinforcement. Tall walls have enormous lateral pressure: a 6-foot wall behind saturated clay can be holding back 1,500+ pounds per linear foot of pressure, which is more than most stacked-block systems can handle without engineered reinforcement.
If your slope demands more than 4 feet of retention, the right answer is usually two or three terraced walls instead of one tall wall. Two 3-foot walls separated by a 4-foot planted bench drain and weather better than a single 6-foot wall, look better, and stay within DIY territory.
Local Codes and Permits
Permit thresholds vary widely. Many municipalities require a permit for any wall over 3 or 4 feet, any wall supporting a driveway or structure, or any wall within a setback. Walls installed in floodplains or near property lines often need additional review. Check with your local building department before excavating; permit costs are typically $50 to $300 and often include a free inspection.
Soil Considerations
Soil type matters enormously. Sandy or gravelly soil drains well and exerts less lateral pressure. Clay soil holds water, expands when wet, and can multiply the load on a wall by 2 to 3 times the dry-soil number. Silty soil falls in between. Walls behind clay almost always need stronger drainage, deeper bases, and often geogrid even at modest heights. Walk your site after a hard rain and watch where water flows — that's where your drainage plan needs to handle volume.
Step 2: Choose Your Wall Material
The four common DIY-friendly retaining wall materials are segmental concrete blocks, natural stone, timber, and poured concrete. Each has clear strengths.
Segmental Concrete Blocks
Segmental retaining wall blocks (Allan Block, Versa-Lok, Pavestone, Belgard, Keystone) are the most DIY-friendly option and dominate the residential market. They interlock with a built-in setback, come in dozens of colors and textures, are manufactured to consistent dimensions, and stack without mortar. Costs run roughly $3 to $9 per block, with most blocks covering about 0.5 sq ft of wall face. For a 50 ft x 3 ft wall, expect 300 blocks plus 50 capstones. See our concrete vs. pavers comparison for related material decisions.
Natural Stone
Natural stone (limestone, sandstone, granite) gives a higher-end look, lasts essentially forever, and often costs less per square foot when sourced locally. The trade-off is build time: dry-stack stone requires constant fitting, shaping, and shimming, and stones never come uniformly sized. Plan for 2 to 3 times the labor of a block wall.
Pressure-Treated Timber
Timber walls (typically 6x6 PT lumber stacked horizontally and pinned with rebar) are the cheapest option upfront and the fastest to build. The tradeoff is lifespan: even ground-contact-rated PT timber will rot at the soil contact face within 15 to 25 years. Timber walls are a good fit for low retaining walls, terraced garden beds, and rustic-style yards where you don't mind replacing the wall in two decades.
Poured Concrete
Poured concrete walls — formed and reinforced with rebar — are the strongest option but the least DIY-friendly. They almost always require an engineer, formwork rental, and either a concrete pump or ready-mix truck access. Best for situations where strength is the priority (driveway support, walls over 4 feet, walls supporting structures).
Step 3: Calculate Gravel Base and Backfill
The base course of a retaining wall must be perfectly level and sit on a properly compacted gravel foundation. Skimping here causes more wall failures than any other single mistake — once the base shifts, every block above it shifts with it.
Base Depth
Standard practice is a 6-inch compacted gravel base for walls under 3 feet tall and an 8-inch base for walls 3 to 4 feet. The base trench should be wider than the block itself: typically twice the block width (so a 12-inch block sits in a 24-inch wide trench). Plug your wall length, width, and base depth into our gravel calculator to get cubic yards of base gravel needed.
Drainage Gravel Behind the Wall
This is the part most DIYers underestimate, and it's the single most important detail in retaining wall construction. Behind every retaining wall, install a 12-inch wide column of clean drainage gravel (3/4-inch with no fines) running the full height of the wall, from base gravel up to within 6 inches of the top. At the bottom of this column, run a 4-inch perforated drain pipe sloped to daylight or a drywell. The drainage gravel + drain pipe relieve hydrostatic pressure that would otherwise push the wall outward as water builds up behind it.
A 50-foot, 3-foot-tall wall needs roughly 1.5 cubic yards of drainage gravel plus the base material. Use the gravel calculator separately for each — they're different products and shouldn't be substituted for each other.
Compaction
Spread base gravel in 2-inch lifts and run a plate compactor over each lift before adding the next. Skipping compaction is the silent wall killer — uncompacted gravel will settle for the next 5 to 10 years, and your wall will tilt with it. Wet the gravel lightly before compacting to help fines lock together.
Step 4: Estimate Wall Blocks and Caps
Once the base is dialed in, the block count is straightforward. Use our retaining wall calculator to plug in wall length, wall height, and individual block dimensions — the tool returns total block count, capstone count, and a recommended overage factor.
Block Count Formula
Most retaining wall blocks measure about 12 inches wide x 4 inches tall on the face, so each block covers about 0.33 sq ft of wall face. A 50 ft x 3 ft wall has 150 sq ft of face, which works out to about 450 blocks. Add capstones (typically wider and thinner than wall blocks) at 1 cap per linear foot of wall, so 50 caps for that same wall.
Setback and Step-Back
Most segmental block systems have a 1-inch setback per course built into the block shape — each course leans about 1 inch back into the slope. Over a 3-foot wall (8 to 9 courses), that's a noticeable lean that increases the wall's resistance to soil pressure. Don't fight the setback by trying to install blocks plumb; it's an engineered feature.
Geogrid Reinforcement
For walls 3 feet and taller, most manufacturers require geogrid reinforcement — strips of woven plastic mesh laid between courses and extending 4 to 8 feet back into the backfilled soil. Geogrid is what turns a stack of blocks into a reinforced soil mass that resists bulging. Spacing varies by manufacturer (typically every 2nd or 3rd course); follow the spec sheet exactly.
Step 5: Set Concrete Footings (Optional)
Most segmental block walls don't need a poured concrete footing — the gravel base is the footing. However, there are situations where concrete makes sense: poured concrete walls, tall stone walls, walls in expansive clay soil, or walls in deep-frost regions where heaving is a concern.
When Concrete Is Needed
If you're building a poured concrete wall, the footing is non-negotiable: typically 16 to 24 inches wide and 8 to 12 inches deep, reinforced with two horizontal rebar runs and tied to vertical rebar in the wall above. Use our concrete calculator with footing dimensions to figure out cubic yards or bag count.
Frost Line Considerations
In areas with deep frost (much of the upper Midwest, Northeast, and Mountain West), some local codes require footings below the frost line — anywhere from 24 inches in transitional zones to 48+ inches in northern Minnesota. Frost heaving lifts shallow footings, tilting walls. Stacked-block walls on a deep gravel base typically tolerate frost movement better than rigid concrete footings, which is one reason segmental systems are popular in cold climates.
Step 6: Add Pavers or Steps if Needed
Many retaining wall projects integrate steps, a small patio at the top or bottom of the wall, or a paver walkway running along the base. Pavers tie the hardscape together and look professional.
Steps Through a Wall
Stairs through a retaining wall use the same blocks as the wall itself, with each step set back the depth of one tread. Most manufacturers publish a step-detail spec sheet for their block system. Plan a tread depth of 11 to 12 inches and a rise of 6 to 7 inches per step — this matches comfortable garden-stair geometry.
Patio or Walkway at the Base
Use our paver calculator to size a patio or walkway adjoining the wall. The base prep for pavers is similar to the wall's base — 4 to 6 inches of compacted gravel, 1 inch of bedding sand, and pavers laid tight. Make sure the paver area drains away from the wall, not toward it.
Step 7: Total Retaining Wall Cost
Total cost depends most on wall length, height, and block choice. Here are typical all-in DIY material costs:
| Wall Size | Basic Blocks | Premium Blocks | Natural Stone |
|---|---|---|---|
| 30 ft x 2 ft (60 sq ft) | $1,200 – $2,000 | $1,800 – $2,800 | $2,200 – $3,800 |
| 50 ft x 3 ft (150 sq ft) | $3,500 – $5,500 | $5,000 – $7,500 | $6,500 – $11,000 |
| 80 ft x 4 ft (320 sq ft) | $7,500 – $11,500 | $11,000 – $16,500 | $14,000 – $24,000 |
For a national-average breakdown including delivery fees, equipment rental, drainage pipe, geogrid, and engineering for tall walls, see our full retaining wall cost guide.
Pro Tips for Building a Retaining Wall
- Drainage is everything — every failed retaining wall failed because of trapped water. Drainage gravel + perforated pipe + outlet to daylight is non-negotiable, even on small walls.
- Use clean drainage gravel, not base gravel, behind the wall — gravel with fines clogs over time and traps the very water you're trying to release. 3/4-inch clean stone with no fines is the standard.
- Wrap the drain pipe in landscape fabric or use a sock-wrapped pipe — fines from native soil will clog an unwrapped pipe within 5 years and the drainage system silently fails.
- Slope the drain pipe to daylight — even a long run needs at least 1/8 inch of fall per foot, with the outlet popping out somewhere visible so you can confirm it's flowing during storms.
- Don't let downspouts dump behind the wall — extend downspouts to drain past the wall or tie them into a separate buried drain. A single downspout dumping behind a 3-foot wall can dump hundreds of gallons against it during one storm.
Common Mistakes to Avoid
- Skipping drainage gravel behind the wall — backfilling with native soil traps water against the wall and turns it into a dam, eventually pushing it outward.
- Building too tall without geogrid or engineering — most block walls over 3 feet require geogrid; most over 4 feet require an engineer. Skipping these isn't a shortcut, it's a future bulge.
- Setting blocks on bare dirt — without a compacted gravel base the entire wall settles unevenly, opens joints, and tips forward over a few seasons.
- Forgetting frost-depth planning in cold climates — walls with shallow bases heave in winter. The base trench should reach below the frost line in regions with hard freezes (typically 24 to 48 inches).
- Using construction adhesive on every course instead of just capstones — gluing all the blocks defeats the modular system, traps water, and prevents seasonal flex. Glue the capstones only.
Related Calculators & Guides
- Retaining Wall Calculator — block count, capstones, and waste factor
- Gravel Calculator — base material and drainage gravel
- Concrete Calculator — footings and poured walls
- Paver Calculator — adjoining patios or walkways
- Retaining Wall Cost Guide — full project cost breakdown
- Concrete vs. Pavers — material comparison