Retaining Wall: When Does It Need a Permit?

A wall that holds back soil, and the height at which a permit and an engineer usually come into play.

Updated November 2026 Glossary Term

Retaining Wall: A wall built to hold back soil where the ground changes level, which cities regulate by its height, the load behind it and what sits near it.

What a Retaining Wall Does

A retaining wall resists the sideways push of soil, and water in it. That push grows quickly as the wall gets taller, which is why a short garden wall and a tall wall are treated so differently. Failure is expensive: a wall that leans or collapses can damage a neighbor's property and the drainage that was built around it.

Walls are built of block, timber, stone, poured concrete and masonry, and the material matters less to the city than height, soil and drainage. Homeowners often meet the term on a fence or deck permit, when the plan reviewer asks whether the grade change on the lot needs a wall.

The Common Four-Foot Rule

The model building and residential codes (IBC and IRC) commonly exempt a retaining wall from a permit if it is four feet or less in height, measured from the bottom of the footing to the top of the wall, unless it supports a surcharge. Surcharge means extra load behind the wall, such as a driveway, a building, a slope or a parked vehicle. Local adoption varies, and many cities set a lower number or require a permit for any wall.

Terraced walls close together can be treated as one tall wall, and some cities count the height from the lower grade. Ask your city how it measures a stepped or terraced wall before you design it, since splitting one tall wall into two short ones does not always avoid the rule.

Engineering, Drainage and Setbacks

Above the exemption height, cities usually ask for engineered drawings that show the footing, reinforcing, backfill and drainage. Water is the main reason walls fail, so a drain pipe and gravel behind the wall are standard. A wall near a property line may need a neighbor's easement for construction, and a wall within the setback may be restricted.

A wall that also carries a fence, a deck or a driveway is evaluated for those loads too. If your wall holds up soil under or beside a house, a pool or a driveway, expect the reviewer to treat it as structural and to ask for an engineer's stamp.

Where Retaining Walls Come Up on This Site

Retaining walls appear alongside fence permit rules, since a fence on a wall is measured together in many cities, and in the home addition and ADU guides when site work changes the grade. Our fence fee research notes that cities publish fees to exceed height limits, which can apply when a wall and fence are combined. See the fence project page. Because no research page here compares retaining wall rules across cities, read your own city's page or call the building department.

Frequently Asked Questions

Often not for a wall of four feet or less in the model codes, as long as it does not carry a surcharge such as a driveway or building, but many cities set their own rule or require a permit for any wall. Check with your building department.
In the model codes it is measured from the bottom of the footing to the top of the wall, not from the visible ground line. So a wall that shows three feet may be counted as taller. Cities may use their own method.
Typically for taller walls, walls with surcharge, or walls on poor soil. Short garden walls under the exemption usually need none. If a city requires a permit, it will say whether engineered drawings are needed. Drainage design is part of that review.
Stay up to date
Get notified when we add new cities or update permit fees.