FENCE RULES – SUNNYVALE (CITY), CALIFORNIA

OVERVIEW

Sunnyvale’s ordinary Planning table permits front-yard fences up to four feet and side or rear fencing up to eight feet, subject to visibility and other requirements. Taller front fencing needs the appropriate approval. A classified reducible front yard has a separate height-and-setback route, while an open fence’s vision-triangle exception does not waive the front-yard approval table. Construction permits, property boundaries, street-facing grade measurements, public rights-of-way, upkeep and pool protection remain separate questions. Confirm the actual yard and complete design before replacing an older fence or adding height. This guide concerns the City of Sunnyvale, California, not unincorporated Santa Clara County or Sunnyvale in another state. Updated November 2026.

Quick questionSunnyvale answer
Permit or approvalOrdinary front fencing above four feet needs the specified Planning approval. The City’s work-exempt guidance separately lists fences not over seven feet except pool barriers; confirm current Building classification.
Typical fence heightFront: four feet under the ordinary permitted table. Side/rear: through eight feet, subject to other rules. A reducible front yard has a separate six-to-eight-foot setback and approval route.
Placement & property linesVerify the legal yards and right-of-way. Apply forty-foot property-line corner and ten-foot sidewalk/driveway sight layouts, with the actual exceptions and original-driveway-edge rule.
Common fence materialsWood: check height, openness and construction. Vinyl/PVC: confirm the approved design and complete assembly. Chain-link: new front and reducible-front fencing is prohibited for residential uses and zones; other locations need separate classification.
Important local conditionsFence rules may be further affected by reducible front yards, open-fence criteria, adjoining and curb grades, vision triangles, rights-of-way, special-plan areas, lawful older work, pool protection and private restrictions.
Official local resourceSunnyvale: Chapter 19.48, fence requirements

The detailed sections and official links below explain the conditions behind these short answers.

GOVERNANCE

The City Council adopts Sunnyvale ordinances. Planning administers the zoning fence table and land-use approvals, Building administers construction requirements, and Public Works addresses right-of-way and applicable access conditions. Start with the actual district, parcel boundaries, front and reducible front yards and any specific-plan or approved-project conditions.

Chapter 19.48 regulates fences in all zoning districts and may treat vegetation as a fence. Its Planning permissions are not construction-permit exemptions. The City has adopted the 2025 California construction codes with local amendments; use current City requirements for the complete assembly rather than relying on an older project report or a neighboring jurisdiction’s height rule.

PERMIT AND APPROVAL REQUIREMENTS

• Planning table: In an ordinary front yard, fences four feet or less are permitted; above four through six feet requires a miscellaneous plan permit, and above six feet requires a use permit. Side and rear fencing through eight feet is permitted under the table; above eight feet requires a use permit. The front-yard category includes the area between the building face and the street. Other site rules still apply.

• Reducible front yard: Have Planning identify this category before using it. Fencing through six feet is permitted under the table. Above six through eight feet may be allowed as of right only with two feet of property-line setback for each foot above six; a seven-foot fence therefore needs two feet and an eight-foot fence four feet. Section 19.48.020(h) requires a miscellaneous plan permit where that setback is not met. Above eight feet requires a use permit.

• Building review: The City’s published work-exempt guidance lists fences not over seven feet, except swimming-pool barriers, as not requiring a Building permit. Confirm the current exemption and complete construction classification with Building, especially for walls, retaining work, gates and pool protection. Planning’s eight-foot side/rear allowance is not an eight-foot Building exemption, and an exemption never approves a prohibited material or obstructed sight area.

• Hired fence work: Verify the contractor’s applicable license and scope. The Business and Professions Code 7048 exception covers casual, minor or inconsequential work below $1,000 in aggregate labor, materials and other costs only when no building permit is required and no one is employed to perform or assist. It excludes work that is part of a larger operation, splitting projects to fit the limit, and persons advertising as contractors or qualified to contract. It is not an exemption for every low-cost fence job.

FENCE PLACEMENT RULES

• Establish the yards: Confirm the surveyed property lines, required yards, access rights and recorded easements. At qualifying corner lots in the specified residential districts, the longer street frontage can have a reducible front yard. Do not assume that every street-side fence is an ordinary interior-side fence or that an existing fence establishes the legal boundary.

• Sidewalk and right-of-way: Section 19.48.020 allows fences or walls to the existing sidewalk, or to the existing property line where the sidewalk is monolithic or no sidewalk exists. It expressly preserves City right-of-way and easement rights and does not make the City responsible for the fence. Chapter 13.08 separately prohibits right-of-way fencing without the applicable permit, fencing across existing walkways and encroachments obstructing travel or sight distance. Obtain Public Works confirmation before using that area.

• Shared fences: California Civil Code 841 presumes adjoining landowners benefit equally from a dividing fence and, absent a contrary written agreement, share reasonable construction, maintenance and necessary replacement costs. The presumption is rebuttable, not a right to choose an expensive upgrade and automatically bill a neighbor for half. Before incurring covered costs, give each affected adjoining owner thirty days’ prior written notice stating the presumption, the problem, proposed solution, estimated costs, proposed sharing and timeline.

A court can reduce or eliminate a contribution if the presumption is rebutted by a preponderance of the evidence. It considers disproportionate benefit or burden, cost compared with added property value, proven financial hardship, unreasonable or excessive expense, personal aesthetic preferences and other equitable factors. The statute’s landowner definition excludes public bodies. Public approval does not resolve ownership or authorize removal of someone else’s property.

• Before digging: Use USA North 811’s California utility-location guidance before post holes and check responses and markings. Private irrigation and other owner-installed lines may need a private locator. California’s owner exceptions include a residential owner, not acting as a licensed contractor, improving the principal residence or its appurtenances through excavation that does not require a permit, and an owner contracting with a licensed contractor for permit-exempt excavation. Those exceptions do not excuse a hired excavator’s own duties; locating utilities remains sound safety practice.

Covered excavators delineate the work area and ordinarily notify at least two working days, and no more than fourteen calendar days, before excavation, excluding the notice day from the two-working-day count. Obtain an actual ticket, observe its legal start and operator responses, and preserve markings. Tickets generally remain valid twenty-eight calendar days from issuance and must be revalidated before expiration if work continues. Follow the exact-location and safe-exposure requirements; the tolerance zone generally extends twenty-four inches from each outside edge of the installation. On discovering or causing damage, immediately notify the operator. Call 911 first when Government Code 4216.4(c)(1) requires it, including a gas or hazardous-liquid pipeline releasing flammable, toxic or corrosive gas or liquid, or damage to a high-priority installation, subject to its narrow operator-maintenance exception. Notify the regional notification center within forty-eight hours unless the statutory exception applies.

FENCE HEIGHT AND VISIBILITY RULES

• Separate height and openness: The ordinary Planning thresholds are four feet in front and eight feet at the side or rear, with the approval routes described above. An “open fence” is a separately defined design for visibility purposes. Meeting that definition does not automatically exempt a four-and-one-half-foot front fence from the miscellaneous plan permit required above four feet.

• Open-fence design: The definition allows up to four and one-half feet, with posts at least eight feet apart. The portion above three and one-half feet must be no more than fifty percent solid, and posts or other decorations cannot exceed twelve inches in width or thickness. The City’s illustration shows that upper open portion and minimum post spacing. An arbitrary partially open fence is not necessarily a qualifying open fence.

• Measure from the correct grade: Rear and side-yard fence height, where not on a street, runs from the highest adjoining grade to the highest point of the fence. Front and reducible front-yard height runs from the top of curb, or the street where there is no curb. Show the actual ground and street levels before selecting height; a street-facing fence can measure differently from its apparent height above the yard.

• Corner triangle: Extend the front property lines to their intersection, then locate points forty feet along each line and connect them to form the triangle. This is a property-line layout, not forty feet from the curb. Structures, vegetation and parking are subject to the applicable vision requirements unless an actual exception applies.

• Driveways, alleys and paths: The ordinary driveway triangle uses ten-foot legs from the intersection of the inside sidewalk edge and driveway edge. With no sidewalk, use the property line. The definition also covers alleyways and multi-use paths. If a driveway was widened without a corresponding curb-approach widening, use the original driveway edge. Have the City confirm the layout for a changed driveway.

• Clearance and exceptions: Structures and vegetation within a vision triangle generally cannot exceed three and one-half feet. Qualifying open fences have an express exception. Certain specified downtown blocks, controlled intersections or driveways in the listed plan areas, and the public parking district have location-specific exemptions; the Director may require additional safety setbacks. The extended forty-foot sidewalk and fifteen-foot driveway triangle applies to new structures on lots with more than one hundred parking spaces, not every home.

• Spite fences: Civil Code 841.4 treats an unnecessarily over-ten-foot fence or fence-like structure maliciously erected or maintained to annoy an adjoining owner or occupant as a private nuisance. Ten feet is not a zoning allowance.

MATERIAL AND CONSTRUCTION LIMITS

• Ordinary residential materials: The fence definition includes wood, masonry, stone, wire, metal and other materials, subject to prohibited-material and approval rules. Confirm vinyl/PVC and the actual design through Planning and Building. Electrically charged fences, barbed or razor wire and other materials designed to cause injury on contact are prohibited on or adjacent to residential uses regardless of the underlying zone.

• Chain-link: Chain-link constructed after January 1, 2010 is not allowed in the front or reducible front yard of residential uses or residential zoning districts. This is not an automatic ban on every side or rear chain-link fence, nor approval for a particular pool enclosure or screening design. Check the actual location and use.

• Positive upkeep: A fence on private property abutting, fronting upon or visible from a public street, sidewalk or place is a nuisance when sagging, leaning, fallen, decayed, dilapidated or unsafe. Keep fencing safe and maintained. For landscaping walls and fences next to a right-of-way, the permittee or adjacent owner must also keep them neat and orderly and prevent encroachment. The City Engineer can require removal and restoration for noncompliance.

• Repair and older work: Before replacement, have Planning and Building confirm lawful status, approved height, material, location and whether new approvals are needed. Chapter 19.50 provides qualified repair and alteration routes for nonconforming buildings; those building provisions and their casualty valuations are not a percentage-of-boards rule or automatic permission to reconstruct an older fence unchanged. Maintenance duties continue even where replacement needs review.

• Pool protection: New pool or spa installations require covers under Section 19.48.090. That zoning requirement does not make any cover an approved drowning-prevention feature or waive a required enclosure. Obtain Building approval of the complete current system, including gates, openings and feature combinations. The published construction provision references the International Swimming Pool and Spa Code and California Residential Code Appendix CI, but its printed model-year reference is irregular; confirm the applicable technical edition with Building rather than selecting a different edition yourself.

For covered construction or remodeling of a pool or spa at a private single-family home, California generally requires at least two qualifying drowning-prevention features, subject to statutory exceptions and distinct licensed-child-care rules. The Act covers qualifying recreational-water structures containing water more than eighteen inches deep, including spas and hot tubs. Alternatives include a compliant isolation enclosure, qualifying removable mesh fencing, an approved safety cover, exit alarms, qualifying self-closing and self-latching home doors, a qualifying water alarm, or independently tested equivalent protection. Each feature must meet its actual technical standard. An exit alarm and latch on the same door, an exit alarm and latch on separate doors, or a safety cover and the specified water alarm do not make a qualifying two-feature pair. Final inspection is required.

A statutory isolation enclosure must be at least sixty inches high, with no more than two inches of ground clearance and no opening passing a sphere four inches or larger. Its outside must not provide handholds or footholds enabling a child under five to climb over. Gates must open away from the pool, self-close and self-latch, with the latch at least sixty inches above ground. That differs from the fifty-four-inch release height for the separate qualifying home-door feature. Licensed family child-care homes with in-ground pools have additional isolation, protective-feature, documentation and inspection requirements. An ordinary perimeter fence alone does not establish pool compliance.

PRIVATE RESTRICTIONS

Recorded covenants, association design standards, private easements and boundary agreements may restrict a fence independently of public requirements. Obtain any required private approval separately. A public permit does not override recorded access rights or settle ownership.

Where association governing documents require approval of a physical change, Civil Code 4765 requires a fair, reasonable and expeditious process, good-faith decisions consistent with law, and all decisions in writing, including approvals. The procedure must provide prompt deadlines and state the maximum response time for an application or board reconsideration request. A denial must explain its reasons and the applicable reconsideration procedure. The statute does not create automatic approval or one universal deadline for every fence request.

REVIEW AND ENFORCEMENT CONTEXT

Fence issues are typically reviewed during permit or approval review when required, and through complaint-based code enforcement. Examples include:

• Actual front or reducible front-yard classification, Planning versus Building approval, height and openness, curb or adjoining-grade measurements, sidewalk placement and corner or driveway sight areas.

• Materials, safe upkeep, lawful older work and replacement, public access, pool protection, excavation, shared-fence costs and private restrictions.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the City of Sunnyvale, California. Updated November 2026.

In addition to local fence rules, certain California laws apply statewide. See Statewide Fence Laws in California.

It is not legal advice and does not replace official statutes, regulations, ordinances, orders, permits, surveys, recorded documents or professional guidance. Rules and interpretations may change. Applicable requirements depend on the property’s actual location, the authority responsible for each issue, current adopted codes and amendments, zoning and site conditions, rights-of-way, easements, drainage and floodplain conditions, historic or design districts, pool and home uses, agricultural and livestock conditions, shared-fence rights, excavation and private restrictions. Government approval does not resolve ownership, private agreements or recorded access rights. If this page conflicts with controlling law or official requirements, the controlling authorities govern.