
In California, a retaining wall generally needs a building permit when it is more than 4 feet tall, measured from the bottom of the footing to the top of the wall, or when it holds back a surcharge such as a slope, a driveway or a building, at any height. Some cities set a lower limit near steep slopes. A wall that needs a permit almost always needs structural calculations, and most are designed by an engineer.
This article explains how the permit threshold works, why surcharges matter, and what an engineered retaining wall design includes.
The 4-Foot Rule and How Height Is Measured
The exemption comes from Section 105.2 of the 2025 California Building Code, which California cities apply through their building permit rules. It exempts retaining walls that are not over 4 feet in height measured from the bottom of the footing to the top of the wall, unless the wall supports a surcharge or impounds flammable or combustible liquids. The City of Oakland and the City of Rancho Palos Verdes both list that exception in their retaining wall guidance.
The measurement surprises many owners. Height includes the footing below grade, not just the part of the wall you can see. Rancho Palos Verdes’ handout separates the two clearly: the retaining wall height is the combined height of the wall and the depth of its footing, while the exposed height is only what shows above the lower grade. A wall that looks 3 feet tall on a 1-foot-deep footing is already 4 feet tall for the permit rule.
Surcharges: Why a Short Wall Can Still Need a Permit

A surcharge is extra vertical load on the soil behind the wall, which pushes sideways on the wall in addition to the soil itself. Rancho Palos Verdes’ handout gives typical examples: sloping soil above the wall, building footings supported by the retained soil, and vehicle loads on a driveway or parking area behind it. Pools near the wall can add one too.
Because the exemption does not apply to walls that support a surcharge, a 3-foot wall below a sloping yard, a driveway or the corner of a house can need a permit and an engineered design even though it is under 4 feet.
Lower Limits Near Slopes
Some cities go further than the state exemption. Rancho Palos Verdes requires a permit for any retaining wall over 30 inches tall, measured from the bottom of the footing, when it is built on or within 10 feet of a slope of 5:1 (20 percent) or steeper. It also requires a geology site visit for every retaining wall that needs a permit, to decide whether a soils report is necessary. Other hillside cities have similar local rules, so check your city’s retaining wall handout before you build, and remember that planning or grading approval can apply even when a building permit does not.
When You Need a Structural Engineer
A retaining wall that needs a permit has to be designed to resist the soil and any surcharge “in accordance with acceptable engineering practices,” as Rancho Palos Verdes’ handout puts it. In practice, these walls are usually engineered:
- Walls over 4 feet from the bottom of the footing, or over the lower local limit near slopes.
- Walls with a surcharge: sloping ground, a driveway, parking, a pool or a building above.
- Terraced walls, where an upper wall loads the soil behind a lower one.
- Walls that carry something else, such as a fence, guardrail or sound wall on top, which adds wind and overturning forces.
- Walls on poor or expansive soil, or where the city requires a soils report.
- Walls near property lines, where the footing, drainage and access for construction need careful planning.
What an Engineered Retaining Wall Design Includes
- Calculations for soil pressure, surcharge, overturning, sliding and bearing, based on the soils report where there is one.
- Wall type and reinforcement: reinforced masonry (CMU), cast-in-place concrete or another approved system.
- Footing size, depth and reinforcing, including any key below the footing.
- Drainage behind the wall, such as a perforated drain and gravel, plus weep holes or outlets so water pressure does not build up.
- Sections and elevations showing the top of wall, finish grade and top of footing along the wall, which many cities require on the site plan.
- Structural drawings and calculations for the permit set, and responses to plan check comments.
Real Examples From Our Work
In Redlands, we engineered the foundation and retaining walls for a 40-foot shipping-container pool and spa on a terraced hillside lot. A filled container pool puts a large, concentrated load close to the slopes, so the reinforced concrete support pad, the reinforced masonry retaining walls and their continuous footings had to work together to keep the pool level and the terraces stable. Read the Redlands pool and retaining wall case study.
In Ontario, we prepared structural plans for a 161-foot steel fence standing 8 feet above an existing masonry retaining wall at an industrial site. The existing wall was never designed for the overturning forces of a tall fence catching wind, so the steel posts got their own concrete foundations and the masonry wall stayed in place. Read the Ontario fence and retaining wall case study.
How to Start
Find your city’s retaining wall handout, or ask the building division whether your wall needs a permit, a soils report or planning review. Then send your engineer the address, a site plan or photos showing the grades, the wall length and the tallest point, and what sits above the wall. Our structural engineering services in California include retaining walls statewide, with local pages for San Diego, Los Angeles, Orange County and Riverside and the Inland Empire.
Frequently Asked Questions
Does a 4-foot retaining wall need a permit in California?
A wall not over 4 feet, measured from the bottom of the footing to the top, is generally exempt from a building permit if it does not support a surcharge. Some cities use a lower limit near slopes, so check your city’s rules.
Is retaining wall height measured from the ground?
No. For the permit rule, it is measured from the bottom of the footing to the top of the wall, so the buried footing counts toward the height.
What counts as a surcharge?
Any extra load on the soil behind the wall: sloping ground above it, a driveway or parking area, a pool, or the footings of a building. A wall that supports a surcharge needs a permit at any height.
Can I put a fence on top of an existing retaining wall?
Only if the wall, or a separate foundation, can carry the fence’s wind and overturning forces. Tall fences on old walls often need their own post foundations, as on our Ontario project.
Sources
- City of Rancho Palos Verdes Building & Safety, When Does a Retaining Wall Need a Permit?
- City of Oakland, Retaining Wall Permits
We post one project and one code or engineering note every week on LinkedIn. Follow Chrome Stone on LinkedIn