Hayward Permit Requirements Rules (2026): What You Need to Know
Some RestrictionsKey Facts
- Permit exemption
- Standard wood, vinyl, or chain-link fences up to 6 feet generally exempt from building permit
- Permit required
- Fences over 6 feet, retaining walls over 30 inches, masonry walls, electric gates
- Zoning compliance
- All fences must meet height, setback, and material standards regardless of permit status
- Right-of-way fences
- Fences in or near the public right-of-way require an encroachment permit
- Hillside properties
- Additional geotechnical and grading requirements may apply for hillside fence footings
- Zoning clearance
- Recommended before installation — contact Hayward Planning at (510) 583-4200
The Short Version
Hayward generally does not require a building permit for standard residential fences up to 6 feet in height, consistent with the California Building Code exemption. However, permits are required for fences over 6 feet tall, retaining walls over 30 inches in height, fences with electrical components (electric gates, automated openers), masonry or concrete block walls requiring a footing, and fences in the public right-of-way or easements. All fences — whether a permit is required or not — must comply with the Hayward Zoning Ordinance height, setback, and material requirements. A zoning clearance review is recommended before installation to confirm compliance.
Full Breakdown
Under the California Building Code (CBC) Section 105.2 and the Hayward Municipal Code, standard residential fences and freestanding walls that do not exceed 6 feet in height above the finished grade are generally exempt from building permit requirements. This exemption covers typical wood privacy fences, vinyl fences, chain-link fences, and similar lightweight construction that does not require a structural footing. The exemption from a building permit, however, does not constitute an exemption from zoning compliance — all fences must meet the Hayward Zoning Ordinance requirements for height, setback, sight-triangle clearance, and materials regardless of whether a permit is pulled.
A building permit is required for the following fence and wall types: fences and walls exceeding 6 feet in height; retaining walls exceeding 30 inches in exposed height; masonry, concrete block, or stone walls that require a footing or foundation; fences incorporating electrical components such as automatic gates, electric gate openers, or security systems requiring electrical wiring; and any fence or wall involving structural engineering or geotechnical considerations, such as fences on steep hillside properties that require graded footings or engineered retaining systems.
Fences proposed within or adjacent to the public right-of-way, utility easements, or drainage easements require an encroachment permit from the Hayward Public Works Department in addition to any building permit. Encroachment permits ensure that the fence will not interfere with public utilities, stormwater drainage, or maintenance access. Fences along public sidewalks or street frontages must also comply with sight-triangle requirements at intersections and driveways.
Hayward's hillside residential areas present unique challenges for fence construction. Properties with significant grade changes may require retaining walls as part of the fence installation, triggering both building permit and potentially grading permit requirements. Retaining walls over 4 feet in height require engineered plans stamped by a licensed California engineer. Residents in the Hayward hills should consult with the Building Division before beginning any fence or wall construction.
The Hayward Planning Division at (510) 583-4200 can provide a zoning clearance review — a quick pre-construction check to confirm that the proposed fence complies with all zoning requirements. This is not required but is strongly recommended, particularly for front-yard fences, corner lots, and properties with unusual configurations.
What Happens If You Violate This?
Fences built without required permits are subject to a notice of violation and a stop-work order. The property owner must apply for a retroactive permit and pay double the standard permit fee as a penalty. If the fence does not meet code requirements, it must be modified or removed at the owner's expense. Fences in the right-of-way without an encroachment permit may be removed by the city with costs billed to the property owner.
Frequently Asked Questions
Do I need a permit for a 6-foot wood privacy fence in Hayward?
When do I need a fence permit in Hayward?
What if I build a fence without the required permit?
Sources & Official References
How does Hayward compare?
See how Hayward's permit requirements rules stack up against other locations.