The landscaper walks the slope with you, sketches a wall along the back of the yard, and says the words every homeowner wants to hear: "Under four feet, so no permit." Six months later a neighbor's complaint brings out an inspector, who measures from a spot two feet lower than anyone was looking at — the bottom of the footing — and the wall is five feet tall. That is the most common way this goes wrong, and it is entirely avoidable.
The short answer: California does not require a building permit for a retaining wall that is not over 4 feet in height, measured from the bottom of the footing to the top of the wall — and only if the wall is not supporting a surcharge (§ R105.2). Both halves of that sentence do real work, and either one can put your wall back on the permit counter.
Key numbers
| What | Threshold | Where it comes from |
|---|---|---|
| Permit exemption | Wall not over 4 feet, bottom of footing to top of wall, no surcharge | § R105.2 |
| Engineered design required (house code) | Unsupported wall retaining more than 48 inches of unbalanced fill | § R404.4 |
| Engineered design required (extra loads) | Wall over 24 inches tall that resists lateral loads in addition to soil | § R404.4 |
| Safety factor against sliding and overturning | 1.5 | § R404.4, § 1807.2.3 |
| Extra seismic earth pressure (high-seismic areas) | Walls supporting more than 6 feet of backfill | § 1807.2.2 |
| Guard required at a wall near a walkway | Walking surface more than 30 inches above the grade below, within 36 inches of the edge | § 1807.2.5.1 |
Where the 4 feet is measured from
The exemption is one line in the residential code's list of work that needs no permit:
Retaining walls that are not over 4 feet in height measured from the bottom of the footing to the top of the wall
From the bottom of the footing. Not from the dirt you are standing on, and not from the height of the soil the wall is holding back. A block wall that shows 3 feet 6 inches of face, sitting on a 12-inch-thick footing buried below grade, is a 4-foot-6-inch wall by this measurement and needs a permit. Contractors quote the visible face because that is what they build to; inspectors measure the whole structure.
Two other permit exemptions in the same list are worth knowing while you are out there, because yard projects rarely happen alone: fences not over 7 feet high, and sidewalks and driveways, also need no building permit under the state code.
The word that cancels the exemption: "surcharge"
A surcharge is any additional load pressing down on the soil the wall is holding. The wall is designed to resist the weight of the earth behind it; a surcharge adds weight the plain earth calculation never accounted for. In a residential yard, a surcharge usually means one of:
- Sloping ground that continues rising behind the wall rather than flattening out.
- A driveway, parking pad or road above the wall.
- A structure — a shed, a deck footing, a pool, or the house itself — near the top of the wall.
- Another retaining wall stepped above this one.
If any of those are in play, the exemption does not apply no matter how short the wall is, and you are back to a permit and, in practice, an engineer's design.
The code makes the same distinction from the engineering side. A retaining wall that is not laterally supported at the top and retains more than 48 inches of unbalanced fill has to be designed in accordance with accepted engineering practice — and so does a wall exceeding 24 inches in height that resists lateral loads in addition to soil (§ R404.4). That second trigger is the surcharge rule wearing engineering clothes, and it starts at two feet, not four.
Note the exclusion at the end of that section: it does not apply to foundation walls supporting buildings. A basement or crawl-space wall is a different animal with its own requirements.
What "engineered" actually means here
When a wall does need design, the code is specific about what the design has to prove. Retaining walls must be designed to ensure stability against overturning, sliding, excessive foundation pressure and water uplift (§ 1807.2.1), using a 1.5 safety factor against sliding and overturning (§ 1807.2.3).
Water uplift is the item homeowners underestimate. A wall with no drainage behind it collects water, and saturated soil pushes far harder than dry soil — most failed garden walls in California are drainage failures, not strength failures.
In the higher seismic categories that cover much of California, a wall supporting more than 6 feet of backfill height must also account for additional seismic lateral earth pressure, based on a geotechnical investigation where one is required (§ 1807.2.2). Where earthquake loads are included in the check, the minimum safety factor for sliding and overturning is 1.1.
If you are using stacked modular block, the dry-cast concrete units in a segmental retaining wall must comply with the ASTM C1372 standard (§ 1807.2.4) — one reason to buy a manufactured wall system rather than a pallet of unrated blocks.
The railing you may not have budgeted for
A retaining wall can create a drop-off, and drop-offs near walking surfaces need guards. Where a retaining wall is within 36 inches of a walking surface, and that walking surface is more than 30 inches above the grade below at any point within 36 inches of the open side, a guard is required between the two (§ 1807.2.5.1). Guards are not required at retaining walls not accessible to the public (§ 1807.2.5) — so a wall at the back of a private yard is treated differently from one along a shared path.
If your property is in a flood hazard area, retaining walls, sidewalks and driveways also have to meet the code's grading and fill requirements for those areas (§ G112.4).
Your city is the one that decides
Everything above is the 2025 statewide code, effective January 1, 2026 — and the permit exemption is a state floor that cities are free to shrink. California jurisdictions routinely amend the exemption list, and requiring a permit for retaining walls shorter than 4 feet is one of the more common local amendments, particularly in hillside areas. Grading permits are a separate track again: moving enough soil to build the wall can require its own approval even when the wall itself is exempt.
One line from the exemption list is worth ending on, because it applies to every project in it: exemption from permit requirements does not authorize work that violates the code or any other local ordinance (§ R105.2). A permit-free wall still has to be a sound wall. Call your building department with the height, the slope behind it, and what sits above — three facts that settle it in one phone call.