Skip to main content
CityRuleLookup

Modesto, CA Fence Regulations: Retaining Walls (2026)

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

Key Facts

Permit-exempt height
4 feet, footing to top
Exception
Surcharge or Class I/II/IIIA liquids
Governing section
Modesto Code § 9-1.502(d)
Permit needed above
4 feet in height
Enforcing office
Building Safety Division

Summary

Modesto exempts retaining walls up to four feet tall, measured from the bottom of the footing to the top of the wall, from a building permit. Anything taller, or any wall holding back a surcharge or Class I, II, or IIIA liquids, needs Building Safety Division review regardless of height.

(d) Retaining walls that are not over four (4) feet (1,219 mm) in height measured from the bottom of the footing to the top of the wall, unless supporting a surcharge or impounding Class I, II or IIIA liquids.

View official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 71).

Full Breakdown

502 of the Modesto Municipal Code lists work exempt from permit requirements under the adopted 2022 California Building Code, and subsection (d) specifically covers retaining walls: those not over four feet in height, measured from the bottom of the footing to the top of the wall, do not need a building permit, unless the wall supports a surcharge or impounds Class I, II, or IIIA liquids, in which case a permit is required no matter the height. The exemption sits alongside similar height-based carve-outs in the same section, such as fences not over seven feet and water tanks under five thousand gallons with a 2:1 height-to-diameter ratio, all adopted under Ord.

No. and amended through Ord. No. S. 502 opens by clarifying that a permit exemption never authorizes work that otherwise violates the Code or any local, state, or federal law: an exempt retaining wall must still meet structural, drainage, and property-line standards. 501 and submit construction documents under Article 6, and taller walls typically require engineered plans given the added lateral soil and surcharge loads the Building Official reviews. 507 and rejecting incomplete submittals in writing.

Violations & Fines

Building a retaining wall over four feet without a permit, or building any height wall that supports a surcharge or impounds hazardous liquids without one, is unpermitted construction under the Building Code. The Building Official can order corrective permitting and, under Section 9-1.511, can suspend or revoke any permit issued on inaccurate information about wall height or loading conditions.

Frequently Asked Questions

Do I need a permit for a backyard retaining wall in Modesto?
Not if it is four feet or less in height, measured from the bottom of the footing to the top of the wall, per Section 9-1.502(d). Once it exceeds four feet, or if it holds back a surcharge or impounds Class I, II, or IIIA liquids, a building permit is required regardless of height.
What counts as a surcharge that removes the exemption?
The code does not define surcharge numerically in this section, but it means an added load behind the wall beyond ordinary soil, such as a driveway, structure, or sloped fill pressing against it. Any surcharge condition triggers permit review even for walls under four feet.
Does an exempt wall still have to meet safety standards?
Yes. Section 9-1.502 states that permit exemptions do not authorize work done in violation of the Building Code or any other local, state, or federal law, so an exempt retaining wall must still be built safely and within property boundaries.

Sources & Official References

Other rules in Modesto

All Modesto rules

California rules heatmap·Compare Modesto to another location·View the California fence regulations overview

Get notified when Retaining Walls in Modesto, 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.