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.

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

Common Mistakes to Avoid

Related Calculators & Guides