Skip to content

Title 16 — BUILDING REGULATIONS

Chapter 16.24 — FENCES

Palo Alto Municipal Code · 2026-09 edition · updated 2026-09-29 · Palo Alto

16.24.090 Variances.

  • Editor's Note: Prior ordinance history: Prior code §§ 34.501 - 34.510, and Ordinance Nos. 2104, 2863, 2865 and 2960.

16.24.010 Definitions.

Throughout this chapter, the following definitions shall apply:

(a) Height Measurement. Except as otherwise provided in this chapter, height of fences or walls between the setback line and lot line shall be measured from natural grade, as determined by the chief building official or Director of Planning and Development Services or designee.

(b) "Lot line" means any boundary of a lot. Definitions of front, interior, rear, side and street lot lines shall be those contained inChapter 18.04 of this code.

(c) "Street setback line" means a line established by this code or any ordinance of the city of Palo Alto to govern the placement of buildings with respect to streets and alleys, and shall be measured from the lot line.

(d) Definitions of all "yards" (front, interior, rear, side and street yards) shall be those contained inChapter 18.04 of this code, or as required by the special setbacks of Chapter 20.08 of this code.

(Ord. 5494 § 3, 2020: Ord. 5373 § 2 (part), 2016; Ord. 3754 § 1 (part), 1987)

16.24.020 Standard fences - Height and location regulations.

(a) Fences Between the Street Setback Line and the Lot Line. A fence, wall, or other structure in the nature of a fence located between the street setback line and the lot line, shall be permitted up to four feet in height, except as otherwise provided in this chapter. Support posts or columns, not exceeding five feet in height or eighteen inches in width, and pedestrian gates and trellises used as entryway features, not exceeding eight feet in height, three feet in depth or five feet in width shall be permitted.

(b) Fences Beyond Setback Line.

(1) Front Yards and Street Side Yards. A fence, wall, or other structure in the nature of a fence, located beyond the street setback line in a front yard or other street side yard shall not exceed six feet in height, except that, where a street setback line exceeds sixteen feet, such fences or walls may be constructed to within sixteen feet of the lot line.

(2) Interior Side Yards and Rear Yards. A fence, wall or other structure in the nature of a fence, located beyond the street setback line in an interior side yard or rear yard, shall not exceed seven feet in height, except that where a street setback line exceeds sixteen feet, such fences or walls may be constructed to within sixteen feet of the lot line.

(c) Fences on University Avenue. A fence, wall or other structure in the nature of a fence, up to six feet in height, except as otherwise provided in Section 16.24.040, may be located within the front and street side yard setbacks on residential property having street frontage on University Avenue, between Middlefield Road and the eastern city limit, provided that the fence complies with the following:

(1) Fences shall be located on private property, no closer than five feet from the edge of the sidewalk nearest the house;

(2) Structural and decorative posts or columns, not exceeding seven feet in height or eighteen inches in width, and spaced no closer than six feet apart, from center to center, shall be permitted;

(3) The color, material and design of the fence shall be compatible with the architecture of the main dwelling unit on the site;

(4) Screen landscaping and associated irrigation shall be installed and maintained on the street side of the fence;

(5) Fences exceeding four feet in height shall not be located within a triangular area (a "sight distance triangle") measured from a driveway, as shown in Figure 1*. Gates, which when in an open position, are entirely outside of the "sight distance triangle" shall be permitted.

(d) Fences Adjacent to San Francisquito Creek Flood Control Expansion Area. A fence or wall up to ten feet in height may be located at the rear of any single family residential site adjacent to San Francisquito Creek and fronting on Edgewood Drive if the portion of the site subject to a permanent easement in favor of the Santa Clara Valley Water District (or its successor in interest) for flood control purposes is reconfigured after January 1, 2002.

(Ord. 4751 § 2, 2002: Ord. 4224 § 1, 1994: Ord. 3754 § 1 (part), 1987)

  • Editor's Note: Figure 1, referred to herein, may be found at this point in a printed edition of this code.

16.24.030 Special fences - Height and regulations.

The following special fences are permitted in accordance with the regulations contained in each subsection:

(a) Fences Around Tennis Courts. Fences not to exceed twelve feet in height may be located around tennis courts, badminton courts, basketball or volleyball courts and similar play areas, providing that all parts of the fence over six feet are made of open wire construction of galvanized steel or other corrosion-resistant material, and that the fences are behind the zoning setback line.

(b) School Fences. School play areas may be fenced to the street line; provided, that the fence is made of open wire construction and does not exceed ten feet in height.

(c) Security Fences. Fences not to exceed eight feet in height may be located around industrial, manufacturing, or research uses where required for security purposes, screening, or containing hazardous materials.

(Ord. 3754 § 1 (part), 1987)

16.24.040 Fences at intersections.

A fence, wall or structure in the nature of a fence located at the intersection of any street improved for vehicular traffic, shall not exceed three feet in height above the adjacent curb grade, within a triangular area formed by the curblines, and their projection, and a line connecting them at points thirty-five feet from the intersection of the projected curblines.

(Ord. 3754 § 1 (part), 1987)

16.24.050 Fences on residential lots abutting frontage roads.

Where residential properties abut frontage roads, railroad rights-of-way, industrial or commercial areas, or public property other than a public street, fences of solid board or similar materials may be constructed to a height not to exceed eight feet. The height of such fences behind a sixteen- foot setback line shall be measured from natural grade.

(Ord. 3754 § 1 (part), 1987)

16.24.060 Fences on corner lots.

Where corner lots are adjacent to each other with rear yards joining, a six-foot fence is permitted on the street side yard lot line at a point beginning fifty feet from the radius point of the corner, except that where a driveway occurs in that area, no fence may be constructed for a clear distance of twelve feet from the point of intersection of driveway and property lines. This provision shall not apply to corner lots whose rear or side yard abuts an interior side yard of an adjacent property.

(Ord. 3754 § 1 (part), 1987)

16.24.065 Fences on through lots.

On a through lot, a six-foot fence is permitted on the rear lot line. The rear lot line is the property line abutting the street that does not provide the primary access to the lot.

(Ord. 4081 § 2, 1992)

16.24.070 Prohibited fences.

The following type fences are prohibited and are a nuisance constituting an unsafe and unlawful condition, and may be abated pursuant to Chapter 9.56 of this code:

(a) Barbed wire fences;

(b) All wire, twine or rope fences consisting of one or more strands of wire, twine or rope less than three feet in height and within three feet of any public sidewalk.

(Ord. 3754 § 1 (part), 1987)

16.24.080 Violations - Penalty - Enforcement.

(a) No person shall erect, construct or maintain any fence, wall or structure in the nature of a fence which does not meet the requirements of this section.

(b) Violation of any provision of this chapter is an infraction, punishable as provided in this code. Each day of violation constitutes a separate offense and may be separately punished.

(c) Persons employed in the following designated employee positions are authorized to exercise the authority provided in Penal Code Section 836.5 and are authorized to issue citations for violations of this chapter: chief building official, assistant building official, PCE Director or designee,

and code enforcement officer.

(Ord. 5373 § 2 (part), 2016; Ord. 4305 § 8, 1995: Ord. 3754 § 1 (part), 1987)

16.24.090 Variances.

A variance to any of the requirements of this chapter may be granted in accordance with the provisions and procedures set forth inChapter 18.76 (Permits and Approvals) of this code, except that no variance may be granted to the requirements contained in Sections 16.24.040 or 16.24.070.

(Ord. 4826 § 16, 2004: Ord. 3754 § 1 (part), 1987)

Get a plain-English answer with a citation back to this text.

Ask AI about this code
▸Contents — Palo Alto Municipal Code
Palo Alto Municipal Code
  1. Article VIII — A. Board of Education
  2. Title 1 — GENERAL PROVISIONS
  3. Title 2 — ADMINISTRATIVE CODE
  4. Title 4 — BUSINESS LICENSES AND REGULATIONS
  5. Title 5 — HEALTH AND SANITATION
  6. Title 6 — ANIMALS
  7. Title 8 — TREES AND VEGETATION
  8. Title 9 — PUBLIC PEACE, MORALS AND SAFETY
  9. Title 10 — VEHICLES AND TRAFFIC
  10. Title 11 — ENVIRONMENTAL IMPACT PROCEDURE
  11. Title 12 — PUBLIC WORKS AND UTILITIES
  12. Title 13 — IMPROVEMENT PROCEDURE
  13. Title 15 — FIRE PREVENTION
  14. ▸Title 16 — BUILDING REGULATIONS
    Overview
    1. 16.04 California Building Code, California Code of Regulations…
    2. 16.05 California Mechanical Code, California Code of Regulatio…
    3. 16.08 California Plumbing Code, California Code of Regulations…
    4. 16.09 Sewer Use Ordinance
    5. 16.10 Private Sewage Disposal Systems
    6. 16.11 Stormwater Pollution Prevention
    7. 16.12 Recycled Water
    8. 16.13 Requirements for Food Facilities Related to Water Pollut…
    9. 16.14 California Green Building Standards Code, California Cod…
    10. 16.15 Electric Vehicle Charging Stations
    11. 16.17 California Energy Code, California Code of Regulations, …
    12. 16.19 California Historical Building Code, California Code of …
    13. 16.20 Signs
    14. 16.24 Fences
    15. 16.28 Excavations, Grading and Fills
    16. 16.32 Moving and Relocating Buildings
    17. 16.36 House Numbering
    18. 16.38 Certificate of Use and Occupancy for Community Housing
    19. 16.40 Unsafe Buildings
    20. 16.42 Seismic Hazards Identification Program
    21. 16.44 Fallout Shelters
    22. 16.45 Transportation Impact Fee for New Nonresidential Develop…
    23. 16.46 Approval of Projects with Impacts on Traffic in the San …
    24. 16.47 Reserved
    25. 16.48 Reserved
    26. 16.49 Historic Preservation
    27. 16.50 Reserved
    28. 16.52 Flood Hazard Regulations
    29. 16.56 Handicapped Access Regulations - Appeal
    30. 16.57 In-Lieu Parking Fee for New Nonresidential Development i…
    31. 16.58 Development Impact Fees
    32. 16.59 Citywide Transportation Impact Fee
    33. 16.60 Charleston Arastradero Corridor Pedestrian and Bicyclist…
    34. 16.61 Public Art for Private Developments
    35. 16.62 Expired Permits for Residential Construction and Demolit…
    36. 16.63 Small Residential Rooftop Solar Energy Systems
    37. 16.64 Development Fee and In-lieu Payment Administration
    38. 16.65 Citywide Affordable Housing Requirements
    39. 16.66 Hauled Liquid Waste
    40. Chapter 16.04 — CALIFORNIA BUILDING CODE, CALIFORNIA CODE OF
    41. Chapter 16.05 — CALIFORNIA MECHANICAL CODE, CALIFORNIA CODE OF
    42. Chapter 16.08 — CALIFORNIA PLUMBING CODE, CALIFORNIA CODE OF
    43. Chapter 16.09 — SEWER USE ORDINANCE
    44. Chapter 16.10 — PRIVATE SEWAGE DISPOSAL SYSTEMS
    45. Chapter 16.11 — STORMWATER POLLUTION PREVENTION
    46. Part 2 — General Provisions
    47. Part 3 — Development Projects
    48. Part 10 — Copper Controls
    49. Part 3 — Development Projects
    50. Part 4 — Required Best Management Practices for All Dischargers
    51. Part 5 — Illicit Discharge Detection and Elimination and Mobil…
    52. Part 6 — Pesticides Toxicity Control
    53. Part 7 — Trash Load Reductions
    54. Part 8 — Mercury Controls
    55. Part 9 — Polychlorinated Biphenyls (PCBs) Controls
    56. Part 10 — Copper Controls
    57. Chapter 16.12 — RECYCLED WATER
    58. Chapter 16.13 — REQUIREMENTS FOR FOOD FACILITIES RELATED TO WA…
    59. Part 6 — Rooftop Grease Containment System Requirements
    60. Part 11 — Food Facility Closure or Ownership Change
    61. Part 3 — Authority to Inspect and Enforce
    62. Part 4 — Prohibited Discharges, Devices, and Connections
    63. Part 5 — Grease Control Device Requirements
    64. Part 6 — Rooftop Grease Containment System Requirements
    65. Part 7 — Waste Oil Management Requirements
    66. Part 8 — Spill Response Requirements
    67. Part 9 — Best Management Practices for Existing Facilities
    68. Part 10 — Mobile Food Facilities
    69. Part 11 — Food Facility Closure or Ownership Change
    70. Chapter 16.14 — CALIFORNIA GREEN BUILDING STANDARDS CODE,
    71. Part 1 — General
    72. Chapter 4 — RESIDENTIAL
    73. Chapter 7 — INSTALLER AND SPECIAL
    74. Part 7 — Local Modifications to
    75. Chapter 5 — NONRESIDENTIAL
    76. Part 9 — Local Modifications to
    77. Part 1 — General
    78. Chapter 1 — ADMINISTRATION
    79. Chapter 2 — DEFINITIONS
    80. Chapter 3 — GREEN BUILDING
    81. Chapter 4 — RESIDENTIAL MANDATORY MEASURES
    82. Chapter 7 — INSTALLER AND SPECIAL INSPECTOR QUALIFICATIONS
    83. Part 7 — Local Modifications to
    84. Chapter 5 — NONRESIDENTIAL MANDATORY MEASURES
    85. Part 9 — Local Modifications to
    86. Chapter 16.16 — CALIFORNIA ELECTRICAL CODE, CALIFORNIA CODE OF
    87. Chapter 16.17 — CALIFORNIA ENERGY CODE, CALIFORNIA CODE OF
    88. Chapter 16.19 — CALIFORNIA HISTORICAL BUILDING CODE, CALIFORNI…
    89. Chapter 16.20 — SIGNS
    90. Chapter 16.20 — Table 1
    91. Chapter 16.20 — Table 2
    92. Chapter 16.20 — Table 2
    93. Chapter 16.20 — Table 3
    94. Chapter 16.24 — FENCES
    95. Chapter 16.28 — GRADING AND EROSION AND SEDIMENT CONTROL
    96. Chapter 16.32 — MOVING AND RELOCATING BUILDINGS
    97. Chapter 16.36 — HOUSE NUMBERING
    98. Chapter 16.38 — CERTIFICATE OF USE AND OCCUPANCY FOR COMMUNITY
    99. Chapter 16.40 — UNSAFE BUILDINGS
    100. Chapter 16.44 — FALLOUT SHELTERS
    101. Chapter 16.45 — TRANSPORTATION IMPACT FEE FOR NEW NONRESIDENTIAL
    102. Chapter 16.46 — APPROVAL OF PROJECTS WITH IMPACTS ON TRAFFIC I…
    103. Chapter 16.48 — RESERVED
    104. Chapter 16.49 — HISTORIC PRESERVATION
    105. Chapter 16.50 — RESERVED
    106. Chapter 16.52 — FLOOD HAZARD REGULATIONS
    107. Chapter 16.56 — HANDICAPPED ACCESS REGULATIONS - APPEAL
    108. Chapter 16.57 — IN-LIEU PARKING FEE FOR NEW NONRESIDENTIAL DEV…
    109. Chapter 16.58 — DEVELOPMENT IMPACT FEES
    110. Chapter 16.59 — CITYWIDE TRANSPORTATION IMPACT FEE
    111. Chapter 16.60 — CHARLESTON ARASTRADERO CORRIDOR PEDESTRIAN
    112. Chapter 16.61 — PUBLIC ART FOR PRIVATE DEVELOPMENTS
    113. Chapter 16.62 — EXPIRED PERMITS FOR RESIDENTIAL CONSTRUCTION AND
    114. Chapter 16.63 — SMALL RESIDENTIAL ROOFTOP SOLAR ENERGY SYSTEMS
    115. Chapter 16.64 — DEVELOPMENT FEE AND IN-LIEU PAYMENT ADMINISTRA…
    116. Chapter 16.66 — HAULED LIQUID WASTE
  15. Title 17 — HAZARDOUS MATERIALS STORAGE
  16. Title 18 — ZONING
  17. Title 19 — MASTER PLAN
  18. Article 7 — AUTHORITY FOR AND SCOPE OF MASTER OR GENERAL PLANS.
  19. Article 8 — PROCEDURE FOR ADOPTION OF MASTER OR GENERAL PLAN.
  20. Chapter 19.06 — SPECIFIC PLANS
  21. Chapter 19.10 — COORDINATED AREA PLANS
  22. Title 20 — PRECISE PLANS
  23. Title 21 — SUBDIVISIONS AND OTHER DIVISIONS OF LAND
  24. Title 22 — PARKS

GoCodebook provides public access, search, citation, multilingual explanation, and practical interpretation of legally adopted building regulations. It is not a substitute for the official ICC or California code publications.