B
HomeLibrariesCode AISearchProjectsBookmarksAddress
FeedbackHelp Desk
Libraries
Estimate & calculate
CalculatorsChecklists
PricingLog in
Home / Code Guides / Retaining Walls

Retaining Wall Code — The 4-Foot Line, Engineering & Guards

Retaining walls have one bright line — 4 feet — and two ways to cross it: build taller, or put a load behind the wall. Either one buys you a permit and, usually, an engineer.

RequirementModel Code StandardSection
Permit thresholdWalls over 4 ft, measured from the bottom of the footing to the top of the wall, require a permit; any surcharge removes the exemption entirelyIRC R105.2
EngineeringWalls not laterally supported at the top that retain more than 48 in. of unbalanced fill must be designed by accepted engineering practice for sliding and overturningIRC R404.4
SurchargeA driveway, structure, slope, or stockpile above the wall counts as surcharge and must be included in the design loadIRC R404.4
GuardsWhere a walking surface sits more than 30 in. above grade within 36 in. of the wall edge, a 36 in. guard is required at the topIRC R312.1
DrainageRetained soil needs a drainage path — foundation-style drains or free-draining backfill — so hydrostatic pressure never joins the load caseIRC R404.1.3, R405
Stepped/tiered wallsTiers closer than roughly twice the lower wall’s height act as one tall wall with surcharge and are designed togetherengineering practice

Worth knowing

  • The measurement is bottom of footing to top of wall — a “3-foot” wall with an 18 in. footing is a 4.5 ft wall to the permit office.
  • Segmental block systems publish engineered gravity-wall limits (often 3–4 ft without geogrid); above that, the manufacturer tables assume geogrid layers that must actually be installed.
  • Wall failures are drainage failures. Weep holes plus washed stone and fabric cost less than one spring rebuild.
  • A fence on top of a retaining wall changes the load and often the guard requirement — mention it when applying, not at inspection.

Common questions

What does the code say about permit threshold for Retaining Walls?

Walls over 4 ft, measured from the bottom of the footing to the top of the wall, require a permit; any surcharge removes the exemption entirely. (IRC R105.2)

What does the code say about engineering for Retaining Walls?

Walls not laterally supported at the top that retain more than 48 in. of unbalanced fill must be designed by accepted engineering practice for sliding and overturning. (IRC R404.4)

What does the code say about surcharge for Retaining Walls?

A driveway, structure, slope, or stockpile above the wall counts as surcharge and must be included in the design load. (IRC R404.4)

Adopted edition by state

Base-code year from BuildSpec’s adoption records. States often amend the base code, and your city or county may differ, so confirm with your building department.

Related sections and guides

This guide is BuildSpec’s own summary, not code text. It cites the 2021 International Residential Code and the 2023 National Electrical Code as model standards. The IRC 2021 text itself is in the Code Library for signed-in members; BuildSpec publishes no NEC text, which is at nfpa.org.Neither is an adoption record: your state may be on a different edition with amendments — check your jurisdiction page or get an Address Report.
Deck Footings →Deck Ledger →GFCI Protection →Egress Windows →Stairs →Handrails & Guards →