Hayward, CA Fence Regulations: Material Restrictions (2026)
Key Facts
- Prohibited materials
- Barbed wire, razor wire, electrified fencing
- Applies to
- RNP, RL, RM, RH residential zones
- Fence height cap
- 4 ft front, 7 ft rear/side
- Visibility triangle limit
- 3 ft at street corners
- Violation class
- Infraction, misdemeanor on 3rd offense
Summary
Hayward's zoning code bans barbed wire, razor wire, and electrified fencing outright in the city's residential districts. The same subsection caps any fence, hedge, or wall over 3 feet within corner-lot visibility triangles. Code enforcement treats a violation as a Municipal Code infraction under the general penalty article, Section 1-3.00.
f.Fences, Hedges and Walls. (See also Section 10-1.2725(g).)(1)Where a lot is situated at the intersection of two or more streets, fences, hedges and walls exceeding 3 feet shall not be permitted within the triangle of visibility.(2)Barbed wire, razor, or electrified fences are prohibited.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Municipal Code: Supplement 28 Update 1 | Charter: Supplement 1).
Full Breakdown
' The ban applies regardless of fence height or location on the lot, so property owners cannot use these materials even along a rear property line or to top an otherwise conforming fence. The same subsection (f)(1) requires that any fence, hedge, or wall over 3 feet be kept out of the visibility triangle where two streets intersect, protecting sightlines for turning vehicles. 203: 4 feet in front and side-street yards and 7 feet in side and rear yards for RNP, RL, RM, and RH lots, so a compliant fence built of chain-link, wood, wrought iron, or masonry can still reach 7 feet without triggering the material ban.
Retaining walls, addressed separately in subsection (f)(3), are capped at 6 feet and are not covered by the barbed-wire prohibition. Because the rule sits inside the residential design-standards article, it governs single-family and multifamily lots citywide in those four zones; commercial and industrial parcels fall under their own district chapters. An older barbed-wire or electrified fence predating the current code does not get a blanket exemption, and the Planning Division can require removal as part of any permit review, addition, or code-enforcement case tied to the property.
Violations & Fines
A barbed-wire, razor-wire, or electrified fence is a Municipal Code violation enforceable as an infraction under Section 1-3.00, escalating to a misdemeanor after a third conviction for the same violation within twelve months. Each day the fence remains up counts as a separate offense under Section 1-3.01. The Community and Economic Development Director's code enforcement staff can order removal, and Section 1-3.03 lets the City treat the fence as a public nuisance subject to summary abatement.
Frequently Asked Questions
Can I put barbed wire on top of my backyard fence in Hayward?
Are electric fences legal for keeping pets in a Hayward yard?
What fence materials are allowed instead?
Sources & Official References
Other rules in Hayward
California rules heatmap·Compare Hayward 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.
Material Restrictions in Nearby Cities
How other cities in Alameda County handle material restrictions.