Sonoma County, CA Fence Regulations: Retaining Walls (2026)
Key Facts
- Combined height
- Wall + fence cannot exceed the allowable fence height (PJR-133)
- Measurement
- Height measured from lowest existing grade to topmost point
- Wall permit (typical)
- Building permit generally required for walls over 4 ft or any wall with a surcharge
- Engineering
- Taller/surcharged walls may require engineered plans
- Other rules
- Drainage, grading and hillside/grading-permit review may apply
- Agency
- Permit Sonoma (permitsonoma.org)
Summary
A fence built on top of a retaining wall in unincorporated Sonoma County cannot exceed the allowable fence height when the wall and fence are combined. Fence height is measured from the lowest existing grade to the topmost point, so a wall counts toward the limit. Structural retaining walls require a separate building permit.
The following are exempt from a building permit. (Measured from the lowest grade to the top of the fence): Open fence (such as wood lattice or wire mesh) that is 10 feet or less in height; Solid fence (such as solid wood, concrete, or masonry) that is 7 feet or less in height; 7 feet or less solid fence topped with 3 feet or less of open fence (that is 10 feet or less in combined height); Retaining walls, which retain not more than 3 feet of material unless supporting a surcharge or impounding class I, II, IIIA liquids.
Full Breakdown
In the unincorporated county, Permit Sonoma's PJR-133 Fence Guidelines address fences combined with retaining walls. Because fence height is measured from the lowest existing grade to the topmost point of the fence, a fence set on a retaining wall is measured from the bottom of the wall - the wall and the fence together cannot exceed the allowable fence height for that yard without the appropriate approval (administrative design review, design review, or a use permit). This prevents using a retaining wall to gain extra fence height in a required setback.
Separately, retaining walls themselves are regulated as structures by the California Building Code as adopted by the county; a building permit is generally required for retaining walls that retain a surcharge or exceed the code threshold (commonly walls over 4 feet measured from the bottom of the footing to the top, or any wall supporting a surcharge). Engineered plans may be required for taller or surcharged walls. Retaining walls must also respect drainage, grading and setback rules and may trigger grading-permit review on sloped or hillside parcels.
Because thresholds and setbacks vary by site and zoning district, confirm the specific requirements for your parcel with Permit Sonoma before building a wall or a fence-on-wall combination.
Violations & Fines
Using a retaining wall to exceed the allowable combined fence height in a required yard, or building a regulated retaining wall without the required building or grading permit, can lead to a stop-work order, code-enforcement citation, fines, and an order to modify or remove the wall.
Frequently Asked Questions
Can I put a fence on top of a retaining wall in unincorporated Sonoma County?
Do I need a permit for a retaining wall?
Sources & Official References
Other rules in Sonoma County
California rules heatmap·Compare Sonoma County to another location·View the California fence regulations overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.