Retaining Wall Design: How Builders Plan a Wall That Lasts
The decisions behind a block retaining wall in the order builders make them, with code thresholds, drainage and geogrid specs, and a worked example.
Retaining wall design is mostly settled before the first block goes down. When a wall bulges, leans or cracks, the cause is usually a call made on paper, or never made: a wall too tall for its block, water with no way out, or a driveway above that nobody counted as load.
Here are the decisions in the order we make them on a real plan, from layout and height through base, drainage, geogrid, corners, fences and permits, followed by a worked example from one of our plans. Still choosing a look? Start with our retaining wall ideas.
Quick answer
Good retaining wall design is a handful of decisions made in order: where the wall runs and how tall it gets, which block, how it sits (a 6 in. compacted base about 24 in. wide, first course buried), how water leaves (12 in. of clean stone and a 4 in. perforated pipe to daylight), and whether it needs geogrid and an engineer. Under the IRC, walls holding back more than 4 ft of soil, or more than 2 ft with a driveway or fence above, need an engineered design.
Step 1: Lay out the wall and set its height
Start on a site plan, not in the dirt. Mark where the wall runs, then the top-of-wall and bottom-of-wall elevations along its length. Together they give you the exposed height at every point and show where the base has to step. The wall’s total height adds a buried course and the base below it.
Decide early whether the wall cuts into the hill or holds back new fill. A cut wall retains soil that has settled for decades; fill has to be compacted in lifts, or the ground behind the wall sinks. Plan each end too: turned back into the slope as a return, or stepped down with the grade.
Builder’s note: the dig behind a wall is bigger than the wall. Geogrid at least 4 ft long runs back from the block, so plan on excavating 5 ft or more behind the face, and make sure trees, fences and the property line aren’t in that zone.
Retaining wall design by height
Height drives nearly every other decision. A few numbers apply to almost every block wall; the table shows what changes as a segmental block wall gets taller, assuming level ground above and below and decent soil. The block maker’s charts and your local code have the final say.
| Exposed height | Base and burial | Drainage | Reinforcement | Engineer and permit |
|---|---|---|---|---|
| Under 2 ft | 6 in. compacted stone, first course buried | 12 in. clean stone; pipe if the soil stays wet | None | Rarely needed |
| 2–3 ft | 6 in. base about 24 in. wide, at least 6 in. of block buried | 12 in. clean stone plus a 4 in. perforated pipe to daylight | Usually none with full-size block | Engineer if a driveway, fence or other load sits above |
| 3–4 ft | Same base; bury deeper per the block maker | Stone and pipe, always | Often geogrid, depending on block, soil and slope | Engineer if loaded; permit likely, since the 4 ft limit counts from the bottom of the footing |
| Over 4 ft, or any surcharge | Per the engineer’s design | Per the design; outlets about every 50 ft on long walls | Geogrid at least 0.6H and 4 ft long | Engineered design, usually a permit |
A wall under about 3 ft with nothing heavy above it is a reasonable DIY project with the block maker’s guide in hand. Past that, or with any load above, it’s a job for a pro and often an engineer.
Step 2: Choose the block
Block retaining wall design starts with the unit. Heavier, deeper units hold more soil on their own, and each course steps back a set amount, called setback, so the wall leans into the hill. Most systems publish a gravity-wall chart showing how tall the block can go without reinforcement; the usual answer is around 3 to 4 ft.
Small garden-wall blocks are fine for beds, not banks. Big units go taller but make tight curves harder. Our comparisons of Allan Block vs. Versa-Lok and the top segmental retaining wall systems cover the tradeoffs between brands.
Concrete and wood retaining wall design
Poured concrete is rigid, so it needs a reinforced footing below the frost line, steel sized for the height, and weep holes or a drain behind the wall; past 4 ft it’s an engineer’s drawing. Wood walls need ground-contact lumber tied into the slope with deadmen, and they usually need replacing within 15 to 25 years.
Step 3: Base, burial and frost
Dig a trench about 24 in. wide and lay at least 6 in. of crushed stone, compacted, so the pad extends about 6 in. past the front and back of the block. Bury the first course at least 6 in., deeper on taller walls or where the ground slopes away below the wall.
A block wall on firm soil doesn’t need to reach the frost line: CMHA treats segmental walls as flexible structures, and Allan Block notes the granular pad can absorb freeze-thaw movement. On sloping ground, step the base up in full block heights and keep the block at every step fully buried. Allan Block’s installation guide shows the trench, base and compaction sequence.
Step 4: Drainage behind and above the wall
Water is what pushes walls over. Behind the block, place a column of clean, angular stone at least 12 in. wide for the full height. At the bottom, toward the back, lay a 4 in. perforated pipe that runs to daylight, with outlets about every 50 ft on a long wall.
Allan Block requires the pipe on reinforced walls, gravity walls over 4 ft and poorly drained sites. We put one behind nearly every wall, because it costs little and clay holds water. On top, cap the stone with a few inches of compacted soil, shape a shallow swale so runoff goes around the wall, and carry downspouts past it in solid pipe.
Rule of thumb: if you can’t find a place for the pipe to daylight, the wall isn’t designed yet.
Step 5: Geogrid and when an engineer is required
Geogrid is a stiff polymer mesh laid between courses and rolled back into compacted fill, tying the wall to a block of soil behind it. CMHA’s design tech note for segmental walls suggests grid at least 0.6 times the wall height and never shorter than 4 ft, with layers no more than 24 in. apart. Pull it taut, compact fill over it in lifts of 8 in. or less, and never drive on it.
The engineering line comes from the code. Since the 2015 edition, IRC section R404.4 has required an engineered design for walls retaining more than 48 in. of unbalanced fill, or more than 24 in. while resisting other lateral loads; ICC names vehicles parked above and fences on top as examples. A slope above the wall, a nearby building or pool, poor soil, standing water and terraced walls set too close together are the other usual triggers.
Our Groundwork plans are drawn by builders, not engineers or landscape architects. We lay out the wall and flag every trigger, but a wall over 4 ft or under a surcharge needs a licensed engineer’s stamped design before it’s built.
Retaining wall design software
Engineers size grid and check stability in programs such as CMHA’s SRWall 5 and Allan Block’s AB Walls 3D + Terraces, which Allan Block offers free to engineers and architects. For homeowners, the useful free tools are the block makers’ installation guides and gravity-wall charts.
Step 6: Corners, curves, steps and caps
Corners use corner units, and grid needs care there: each side of an outside corner is reinforced on its own, and one layer of grid should never sit directly on another. On an outside curve, the setback tightens the radius with every course, so check the curve at the top of the wall, not just at the base.
Finish every end with a return into the slope or step it down with the grade; never leave a raw end. Steps built into a wall need equal risers of 5–7 in. and 12–16 in. treads on the same compacted base. Caps go on last, glued with a concrete adhesive made for block.
Step 7: Plan fences and railings before you build
A fence on a retaining wall is part of the design, not an add-on. Posts never get anchored to caps or bolted to block: Allan Block recommends fence footings at least 3 ft behind the back of the wall, or post sleeves set in the reinforced zone while the wall goes up. Augering through a finished wall’s geogrid weakens it.
A fence also catches wind, and the IRC counts that as an extra load, so a wall over 24 in. with a fence on top needs an engineered design. Some cities require a guardrail on walls over 30 in. that sit within 3 ft of a walking surface. A vehicle guide rail gets its own footing.
Step 8: Permits, HOA and utilities
Under the model residential code, a wall up to 4 ft tall, measured from the bottom of the footing to the top of the wall, needs no permit unless it supports a surcharge. Many towns change that limit or add setbacks from property lines, so call the building department with your plan in hand.
An HOA may need to approve the look separately, and a call to 811 a few business days before you dig gets buried utilities marked for free. You or your contractor handle all three; a design plan doesn’t replace any of them.
Retaining wall design example: a 4 ft geogrid wall under parking
Sample plan 02 is a driveway-edge wall: about 38 ft of segmental block, 4 ft exposed, holding up a parking area, with a 3 ft return and a low end that steps down with the grade. Vehicles park within 3 ft of the top, which makes it a surcharged wall, so the plan calls for stamped engineering and a permit at any height and labels its geogrid lengths as preliminary.

Here’s how the plan answers each step above:
- Base: a 6 in. compacted leveling pad, 24 in. wide, with the first course fully buried.
- Drainage: no filter fabric; a 12 in. column of clean stone and a 4 in. perforated pipe to daylight at the low end.
- Geogrid: 6 ft layers on courses 1 and 3 and 8 ft layers on courses 5 and 6 under the wheel path, pulled taut, with no splices.
- Backfill: compacted granular fill in 8 in. lifts, with only a light compactor within 3 ft of the face.
- Ends and rail: the wall steps down with grade, with no raw ends, and a guide rail, if required, gets its own footing.
- Takeoff: about 160 face sq ft of block, 7 corner units, 25 caps, 880 sq ft of geogrid, 9 tons of drain stone and 40 CY of fill.
That takeoff is what lets two contractors price the same wall. It’s the kind of drawing our online retaining wall design service produces from photos and measurements, and on a wall like this it becomes the starting point for the engineer.
Common design mistakes
Most of what we cover in why retaining walls fail starts on paper. Watch for these:
- Measuring only the exposed height, then learning the wall needed a permit or an engineer.
- A drain pipe with nowhere to go, or downspouts emptying behind the wall.
- Geogrid that’s too short, spliced or driven on during backfill.
- Fence posts augered through the grid or anchored to the caps.
- Garden-wall blocks stacked into a 3 ft retaining wall.
- Backfill dumped in one pass instead of compacted in 8 in. lifts.
FAQ
How tall can a retaining wall be before it needs an engineer?
Under IRC section R404.4, walls retaining more than 48 in. of soil, or more than 24 in. while also resisting loads like parked cars or a fence, must be designed to accepted engineering practice. CMHA also recommends an engineered design for segmental walls over 4 ft of total height, and your town may be stricter.
How deep should a retaining wall base be?
For a segmental block wall, plan on at least 6 in. of compacted crushed stone about 24 in. wide, with the first course buried at least 6 in. Block walls don’t need to reach the frost line; poured concrete walls do.
How long should geogrid be in a retaining wall?
CMHA suggests geogrid at least 0.6 times the wall height and never less than 4 ft, with layers no more than 24 in. apart. Walls with a driveway or slope above need longer grid, and final lengths should come from an engineer.
Can you put a fence on top of a retaining wall?
Yes, if it’s planned before the wall is built. Set posts at least 3 ft behind the wall or in sleeves placed during construction, never on the caps. Under the IRC, a fence on a wall over 24 in. adds wind load that calls for an engineered design.
What software do engineers use to design retaining walls?
Engineers use programs such as CMHA’s SRWall 5 and Allan Block’s AB Walls 3D + Terraces to size geogrid and check stability. For a small wall, a homeowner needs the block maker’s free installation guide and gravity-wall chart, or a scaled plan.
Do I need a permit for a retaining wall?
Under the model residential code, walls up to 4 ft tall, measured from the bottom of the footing to the top of the wall, are exempt unless they support a surcharge. Many towns change that limit or add setback rules, so call your building department first.
Groundwork Design Co. · designed by builders
Get a buildable wall plan before you dig
We’ll draw your wall to scale with block and cap picks and a materials list your contractor can price; add a retaining wall layout sheet, or go Build-Ready for wall sections and a quantity takeoff. Designed remotely from photos and measurements, anywhere in the U.S., from $349.
See design packagesSee sample plans
Building in central Pennsylvania? Our crews build this work around Lock Haven, Williamsport and State College — see our retaining walls in State College.