Skip to main content
CityRuleLookup

San Bernardino County, CA Fence Regulations: Retaining Walls (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified August 2026

Key Facts

Setback-exempt height
Under 3 feet above finished grade
Exempt wall count
Up to 4 walls per setback
Permit required
Yes, under County Code Sec. 16.0204(h)
Governing code
Development Code Sec. 83.02.070(b)(1)(B)

Summary

In unincorporated San Bernardino County, retaining walls under three feet tall are exempt from setback rules, but taller walls must meet full setback standards and need a Building Division permit under County Code Section 16.0204(h).

City-specific rules exist: Fontana, Rancho Cucamonga, Chino, Ontario, Rialto, Victorville, and Hesperia have their own retaining walls rules that differ from San Bernardino County's county-level regulations. If you live in one of those cities, check the city-specific page instead.

The minimum setback requirements of this Development Code shall apply to all uses except for the following: ... (B) Retaining walls less than three feet in height above finished grade not to exceed four such walls within the setback.

Source: SB County Building and SafetyView official code

Full Breakdown

Development Code Section 83.02.070 exempts up to four retaining walls under three feet in height above finished grade from the county's yard setback requirements. Any taller retaining wall, or a fifth wall on the same parcel, must comply with the same front, side, and rear setback distances that apply to buildings. Retaining walls also require a separate Building Division permit and inspection under County Code Section 16.0204(h), billed through the county's residential or non-residential masonry/retaining wall fee schedule, in addition to any grading permit needed for the associated cut or fill.

Violations & Fines

Building without a permit, or exceeding the setback-exempt three-foot/four-wall allowance without meeting setback distances, draws a stop-work order and correction notice from Building and Safety, plus permit fees owed retroactively.

Frequently Asked Questions

Do I need a permit for a retaining wall in San Bernardino County?
Yes. Retaining walls require a separate Building Division permit and inspection under County Code Section 16.0204(h), billed through the residential or non-residential masonry/retaining wall fee schedule, regardless of height.
How tall can a retaining wall be without meeting setback rules?
Up to four retaining walls under three feet above finished grade are exempt from setback requirements under Development Code Section 83.02.070(b)(1)(B); taller or additional walls must meet the same front, side, and rear setbacks as buildings.

Sources & Official References

Other rules in San Bernardino County

All San Bernardino County rules

California rules heatmap·Compare San Bernardino County to another location·View the California fence regulations overview

Get notified when Retaining Walls in San Bernardino County, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Retaining Walls in Cities Across San Bernardino County