A retaining wall is a dam for soil. On a sloped lot it can turn an unusable bank into a flat lawn or a level driveway, which is why so many new builds end up needing one. It is also a structure that is always being pushed, and the push grows faster than the wall does: double the height and the load behind it more than doubles.
That is why the most useful number in retaining wall planning isn't a price. It is 48 inches.
Key takeaways
- Under the International Residential Code, a wall retaining more than 48 inches of unbalanced fill must be engineered.
- Walls over 24 inches that also carry other loads, such as a driveway or a fence, need engineering too.
- Engineered walls are designed for a safety factor of 1.5 against sliding and overturning.
- Drainage behind the wall is what keeps most walls standing; make sure it is in the quote.
What the code says
Section R404.4 of the 2021 International Residential Code, which most US towns use as the basis of their residential code, says retaining walls that are not supported at the top and hold back more than 48 inches of unbalanced fill must be designed using accepted engineering practice. The same applies to walls taller than 24 inches that resist other lateral loads in addition to soil. The design has to check overturning, sliding, foundation pressure and water uplift, with a safety factor of 1.5 against sliding and overturning.[1]
In practice, that splits retaining walls into two jobs. Below about four feet, with nothing heavy above it, a wall is usually a landscaping project. Above it, or with a driveway or parking area on top, it is a structural project with drawings, and your local building department may require a permit and inspections. Some towns set lower limits, so check before you design.
Two short walls instead of one tall one
If your slope needs six feet of retained height, a common approach is to terrace it: two shorter walls with a level step between them. Each wall may then stay under the engineering threshold, and the terrace becomes a planting bed. It uses more of the yard, so it only works where you have the depth. Ask your contractor or engineer whether the upper wall's soil still loads the lower one at your spacing.
Water is the real enemy
Soil gets much heavier when it is wet, and water that can't escape builds pressure behind the wall. A properly built wall has free-draining gravel behind it, a perforated pipe at the base that carries water away, and in many designs weep holes through the face. If a quote doesn't mention drainage, ask, because it is the part most often skipped to win a job.
Signs a wall is in trouble
Leaning, bulging, cracks that widen over time, and soil washing out at the base all mean water or load is winning. Get an engineer to look before you rebuild, because simply replacing the face rarely fixes the cause.
Budgeting
HomeAdvisor reports a typical retaining wall project at about $3,191 to $9,202, and a structural engineer at $350 to $750 when the wall needs one.[2] Height, length, access for equipment and the drainage work move the total far more than the choice between block, stone and timber.
On a new build, coordinate the wall with the grading plan so you don't pay to move the same soil twice. Our guide to land clearing and site prep covers that earlier stage.
Block, stone, timber or concrete
The facing material changes the look more than it changes the engineering, but each one has a different personality.
- Segmental concrete block is the most common choice for home walls. The blocks lock together and step back slightly as they rise, and a short wall is within reach of a careful DIYer. Taller block walls use layers of geogrid buried in the backfill, laid exactly as the block maker specifies.
- Natural stone looks right in older neighborhoods and on rural lots. Dry-stacked stone drains well but takes skilled labor to build tight.
- Timber is the cheapest up front and the shortest-lived. Even ground-contact lumber eventually rots, and a failing timber wall is hard to repair in place.
- Poured concrete needs forms, reinforcement and a footing. It is the usual answer for tall engineered walls and walls that carry a driveway.
- Gabions, wire baskets filled with stone, drain freely and suit a modern or rustic look where there is room for their width.
The part you never see: the base
Walls rarely fail at the top. They fail because the bottom course moved. A well-built block or stone wall starts with a trench dug into firm soil, a compacted gravel leveling pad, and a first course buried partly below the finished ground so the wall can’t kick out at the toe. Block manufacturers publish exactly how deep to bury that first course and how thick the pad should be for a given wall height. Ask your contractor which manufacturer’s instructions they are following, and expect them to name one.
The backfill matters just as much. Clay dug out of the trench and shoveled straight back behind the wall holds water. Clean gravel directly behind the blocks, compacted in thin layers, lets the drain pipe do its job.
Before anyone digs
Call 811 so buried utility lines are marked, and confirm the property line if the wall runs anywhere near it. Think about where the water goes too. A new wall and drain pipe change how water leaves your yard, and an outlet that empties onto the neighbor’s lot is a dispute waiting to happen. The pipe should discharge somewhere on your land that can take it, or into a system your town allows.
Questions for every contractor
- Whose installation instructions are you following, and can I see them?
- How deep is the base, and what gravel goes in it?
- Where does the drain pipe outlet go?
- Does this wall need an engineer or a permit here, and who arranges it?
- What happens to the soil you dig out?
Looking after a wall once it is built
A well-built wall needs very little, but the little it needs is easy to forget. Keep the weep holes and the drain pipe outlet clear of mulch, soil and leaves, and check after a heavy storm that water is actually coming out. Keep downspouts from emptying right behind the wall. Don’t let large trees grow close to it, because roots push and lift blocks over the years. Once a year, sight along the top of the wall: a line that was straight and has started to bow is easier to deal with early.
Plug your house size, land price and quotes into the free calculator. It uses the same NAHB 2024 averages as this guide.
Frequently asked questions
How tall can a retaining wall be without an engineer?
Under IRC R404.4, walls retaining more than 48 inches of unbalanced fill, or over 24 inches with extra loads such as a driveway, must be engineered. Your town may set a lower limit.
Why do retaining walls fail?
Most often water. Wet soil is heavier, and water trapped behind the wall adds pressure. Gravel backfill, a drain pipe and weep holes relieve it.
How much does a retaining wall cost?
HomeAdvisor reports a typical project at about $3,191 to $9,202. Height, drainage and engineering requirements matter more than the facing material.
Can I build a retaining wall myself?
A short wall with nothing heavy above it is a reasonable DIY project if you follow the block maker’s instructions for the base, buried first course and drainage. Taller walls and walls under driveways need an engineer.
What is the best material for a retaining wall?
Segmental concrete block suits most home walls. Poured concrete is common for tall engineered walls, stone for a natural look, and timber only where a shorter life is acceptable.
Sources
- International Code Council, 2021 International Residential Code, Section R404.4 Retaining walls Verified
- HomeAdvisor, "How Much Does a Retaining Wall Cost?", updated June 19, 2026 Verified
Figures last checked October 19, 2026. National averages are a planning guide, not a quote. See our editorial policy and data sources.