Fence Regulations in Oakland, CA (2026)
5 verified fence regulations for Oakland, California, sourced directly from the municipal code and official government pages.
Verified from official government sources
Height Limits
Oakland's Building Code amendment at § 15.04.2.214 sets the fence heights that stay building-permit-exempt: masonry or concrete fences up to 3 feet, and fences of other materials (except swimming-pool barriers) up to 7 feet. Anything taller, or any pool barrier, needs a building permit before it goes up.
Oakland Fence Height Permit Trigger
Some RestrictionsOakland, CA, Municipal Code § 15.04.2.214 (Section 105.2 of CBC Chapter 1 amended)
Delete and replace subparagraph number 2 in its entirety with the following: "Concrete or masonry fences not over 3 feet high and fences, other than swimming pool barriers, constructed of other materials when not over 7 feet high, gates or fences without automatic openers."
Fence Permit Requirements
Oakland exempts residential concrete or masonry fences up to 3 feet high, and fences of other materials up to 7 feet high, from a building permit under Municipal Code § 15.04.2.2505's local rewrite of California Residential Code § R105.2. Taller fences need a permit.
Fence Permit Exemption Rules in Oakland
Light RestrictionsOakland Municipal Code § 15.04.2.2505 (CRC § R105.2, subpara. 2)
Replace subparagraph number 2 in its entirety with the following: "Concrete or masonry fences not over 3 feet high and fences constructed of other materials when not over 7 feet high."
Neighbor Fence Rules
Oakland Municipal Code § 8.18.070 bans 'spite fences': any fence or fence-like structure erected or maintained maliciously to annoy an adjoining owner or occupant that unnecessarily exceeds six feet in height is an infraction and is deemed a private nuisance the neighbor can also pursue in civil court.
Oakland Spite Fence Nuisance Law
Some RestrictionsOakland, CA, Municipal Code § 8.18.070 (Fences)
Every person who shall maliciously erect or maintain in the city, for the purpose of annoying the owners or occupants of adjoining property, any fence, or other structure in the nature of a fence, unnecessarily exceeding six feet in height, is guilty of an infraction, punishable as provided in this code and such fence or structure shall be deemed a private nuisance.
Retaining Walls
Oakland caps retaining wall height at 8 feet under Planning Code Section 17.108.150, with narrow exceptions for driveway-flanking walls on steep lots and design-reviewed walls screened from view. Multiple walls must sit at least 4 feet apart, and any wall visible from the street needs a decorative finish.
Oakland Retaining Wall Height and Design Rules
Some RestrictionsOakland Planning Code § 17.108.150(A)-(C)
A. No retaining wall shall exceed eight (8) feet in height, except in the following cases: 1. Retaining walls flanking driveways that are nineteen (19) feet or less in width on lots with a street-to-setback gradient of twenty percent (20%) or more may exceed eight (8) feet in height if both of the following provisos are met: a. The garage floor is at the highest possible elevation based on the ...
Material Restrictions
Oakland prohibits barbed wire, razor wire, and electrified wire on residential fences and walls under Planning Code § 17.108.140(B)(3). Chain-link is also capped at 42 inches in street-facing and near-front side yards, and bare concrete block fencing must be capped and finished with stucco or another approved material.
Oakland Bans Barbed Wire Residential Fences
Significant RestrictionsOakland Planning Code § 17.108.140(B)(3)
B. Residential Zones and Residential Facilities. The provisions of this Section apply to all properties located in all Residential Zones, and to all properties located in any zone containing Residential Facilities. ... 3. Restricted Materials. The following materials are restricted in constructing or rebuilding walls or fences: a. Barbed wire, razor wire, or electrified wire is not allowed to b...
Looking for Alameda County county-wide rules?
County ordinances apply to unincorporated areas and may supplement Oakland city rules.
Fence Regulations in Alameda County →