FENCE RULES – SAN MATEO (COUNTY), CALIFORNIA
OVERVIEW
In unincorporated San Mateo County, the usual zoning limits are four feet in front yards and six feet in qualifying side and rear yards. Street-facing corner areas, larger-lot districts and abrupt changes in elevation have their own conditions. The County’s 2026 building ordinance separately exempts fences not over seven feet, but some County fence guidance still gives a six-foot threshold. Coastal review, retaining walls, road rights-of-way and mapped district standards can change the project even when a fence is building-permit-exempt. This guide concerns County-administered unincorporated property, not the City of San Mateo or other incorporated cities. Updated November 2026.
| Quick question | San Mateo County answer |
|---|---|
| Permit or approval | The adopted 2026 building ordinance exempts fences not over seven feet. Some County guidance still says fences above six feet and masonry fences need permits. Zoning, retaining-wall, road, coastal, historic and pool approvals remain separate. |
| Typical fence height | Usually four feet in front yards and six feet in qualifying side and rear yards. Corners, larger-lot districts, elevation changes and named mapped districts have separate rules. |
| Placement & property lines | Verify the boundary, required front and street-side yards, the corner’s 50-foot area, easements, drainage and road rights-of-way. |
| Common fence materials | Wood: recognized in County guidance. Vinyl/PVC: not specifically addressed in the general fence provision. Chain-link: cyclone fencing is recognized in guidance, but named district standards restrict it. |
| Important local conditions | Fence rules may be further affected by coastal location, mapped zoning and design districts, corners, grade changes, retaining walls, historic resources, protected trees, flood hazards, animal keeping, pools and private restrictions. |
| Official local resource | San Mateo County fence guidance and permit resources |
The detailed sections and official links below explain the conditions behind these quick answers, including the separate approvals and property-specific rules.
GOVERNANCE
The Board of Supervisors adopts County ordinances. Planning and Building administers County zoning and building approvals for unincorporated property; Public Works handles applicable County road rights-of-way. Fire protection and utility administration depend on the actual serving authority. A city mailing address does not determine whether the parcel is incorporated or which agency controls a particular issue.
The County reorganized its planning and building regulations into new titles beginning in 2024. Its official zoning resources provide Title 8 and the older zoning text, while the County’s update notice says the reorganization is not yet effective in the Coastal Zone pending certification. The ordinary fence provisions in restated section 8.332 and older section 6412 align, but the operative coastal sources and coastal permit procedures must still be distinguished. Separately, Ordinance 4916, adopted March 10, 2026 and effective 30 days later, adopted the 2025 construction codes and local amendments.
PERMIT AND APPROVAL REQUIREMENTS
• Building-permit exemption: Section 10.04.070 of adopted Ordinance 4916 lists fences not over seven feet as exempt from a building permit. It expressly preserves other laws and requirements. This does not increase the usual four- or six-foot zoning limit or eliminate another permit system.
• Conflicting County guidance: The County’s fence-height-exception page and older fence brochure say fences over six feet and masonry fences of any height require a building permit. The general fence webpage also identifies fences above retaining walls as requiring permits and recognizes wooden or cyclone fences meeting zoning requirements as exempt. The adopted seven-foot provision and these guidance statements are not identical. Use the current ordinance for its stated exemption, but resolve masonry, retaining-wall combinations and a project caught by the differing guidance before treating it as entirely permit-free.
• Retaining walls: The adopted exemption covers walls retaining not more than three feet of material unless they support a surcharge or impound the specified Class I, II or IIA liquids. This measures retained material, not three feet from the footing bottom. A surcharge includes a wall retaining more than one foot where the retained ground slopes steeper than two horizontal to one vertical within twice the wall’s height above the lowest existing grade. It also includes a wall retaining more than one foot where a road or structure lies on the retained material within that distance. A fence above a wall needs its own classification; do not simply stack a seven-foot fence exemption onto a retaining-wall allowance.
• Applications and inspections: Building applications are submitted online with the project’s required PDF plans and supporting information. Identify the parcel and show the proposed fence, property lines, nearby structures, access, easements and relevant drainage. Obtain separate planning approval first where required, pay applicable fees and arrange required footing and final inspections. The Public Works fence fee is not a universal fee for a fence entirely on private property.
• Height-exception process: Outside the Coastal Zone, the Director of Planning and Building may approve up to two additional feet for a fence or hedge under section 8.332.040, formerly 6412.2. This is discretionary and does not expressly extend the same exception to every wall. Submit the prescribed application, fee, site plan and elevation identifying location, height, design, materials and color. The rule requires notices to owners within 300 feet and requested recipients, including qualifying neighborhood organizations. Recognized organizations must have existed at least six months and hold scheduled meetings.
At least ten days before the Director acts, the required written notice is sent and a notice is prominently posted in the front yard. An objection must arrive in writing before the stated decision date and time. Approval requires no written objection, consultation with Public Works and findings addressing safety, neighborhood compatibility, public welfare and good design under General Plan policy 4.14. Design, location, material, color and landscaping conditions may be imposed. The Director’s decision needs no public hearing, but may be appealed to the Planning Commission within ten working days with the fee. The Commission hears an appeal publicly and applies its required safety, compatibility, welfare and design findings; its decision may then be appealed to the Board of Supervisors under the prescribed procedures.
• Repair and replacement: Where the County classifies a lawful existing fence as a nonconforming structure, section 8.388.050, corresponding to older section 6135, permits minor repair, remodel or upgrade and allows portions to be replaced as they previously existed. An enlargement must conform, and the nonconforming portion may not be enlarged. Major work, voluntary demolition or removal, and unintended casualty damage have different conditions; the minor-repair rule is not blanket permission to remove and rebuild a whole noncompliant fence. Establish the lawful status and work classification before relying on it. Public Works separately requires an encroachment permit to build or replace a fence within a County right-of-way. Coastal and historic requirements remain separate.
FENCE PLACEMENT RULES
• Ordinary yards: Six-foot side- and rear-yard fences, walls and hedges must stay out of the required front yard. On a corner lot they also must stay out of the required street-side yard and the rear-yard portion next to that street equal to the required street-side-yard width. Identify the actual district’s required yards rather than treating the older brochure’s example dimensions as universal setbacks.
• Boundaries and roads: Establish the boundary through the appropriate survey and recorded documents. The County expressly warns that existing fences are unreliable evidence of a property line. The Public Works Fence Permit concerns encroachments in the right-of-way, not a general zoning permit for every private fence. Preserve public travel, private access rights and utility easements; an approval does not decide ownership or authorize a neighbor’s land to be occupied.
• Work in a County right-of-way: The July 2026 instructions require online application through Accela with the site plan and applicable details. Payment follows review; the instructions identify a credit-card surcharge and a check alternative. The permit’s special provisions require at least 48 hours’ notice before starting, a copy of the permit at the site and compliance with other required agency approvals. A permitted installation may later have to be moved at the permittee’s expense for road work. Keep materials out of ditches, swales and watercourses, maintain drainage and restore the affected area. These conditions concern the permitted right-of-way work, not every fence post in a private yard.
• Coastal property: Older sections 6328.4 and 6328.5 govern the County’s coastal-development permit requirement and exemptions while the reorganization awaits coastal certification. A new fence can be development even without a building permit. Single-family improvement and repair exemptions have environmental, location and work-scope limits. Significant detached fences in specified near-shore areas or scenic road corridors can require review, and work affecting bluff landforms, sensitive resources or public access has separate implications. An ordinary repair exemption is not permission to enlarge a barrier, block access or use a different hazardous shoreline repair method. Obtain the applicable coastal determination before relying on an exemption.
• Historic and design-controlled property: Construction, placement, alteration or relocation of a fence on a designated landmark, landmark site or within a historic district requires the applicable historic-preservation permit. Coastal approval remains separate where applicable. The Midcoast design standards require compatible fence and wall design in their actual scope and say it should blend with the neighborhood. Mapped design and district requirements should not be extended to every unincorporated property.
• Drainage, grading and protected trees: Check mapped flood hazards, watercourses, sensitive habitat and protected-tree conditions before changing grades or excavating posts. County grading and clearing requirements are separate from a fence building-permit exemption. The footing-excavation exemption tied to a valid building permit does not generally exempt disposal fill or every unsupported cut. Work in a natural drainage channel is not covered by the listed grading exemptions. Protect required drainage and tree-protection areas; obtain any applicable flood-development, grading, clearing or tree approval.
• Shared boundary fences: 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. Before incurring covered costs, give each affected adjoining owner 30 days’ prior written notice stating the presumption, the problem, proposed solution, estimated cost, proposed sharing and timeline. This is not automatic permission to select an upgrade and charge the neighbor half.
The presumption is rebuttable by a preponderance of the evidence. A court may reduce or eliminate a contribution after considering disproportionate benefit or burden, cost compared with added property value, proven hardship, unnecessary or excessive expense, personal aesthetic preferences and other equitable factors. The statute excludes public bodies from its landowner definition. Resolve ownership and removal rights before changing a boundary fence.
• Before digging: Use USA North 811’s California utility-location guidance and account for private lines that 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 by excavation not requiring a permit, and an owner contracting with a licensed contractor for permit-exempt excavation. They do not excuse the hired excavator’s duties. Locating utilities remains sound safety practice even where an owner exception applies.
Covered excavators delineate the area and ordinarily notify the regional center at least two working days, and no more than 14 calendar days, before excavation, excluding the notice day from the two-working-day count. Obtain an actual ticket, observe the legal start and operator responses, and preserve the marks. Tickets generally last 28 calendar days from issuance and need revalidation before expiration for continuing work. Follow exact-location and safe-exposure requirements; the tolerance zone generally extends 24 inches from each outside edge of an installation, not just from a painted centerline.
FENCE HEIGHT AND VISIBILITY RULES
• General zoning limits: Fences, walls and hedges may occupy the front yard up to four feet and qualifying side and rear yards up to six feet. Section 8.332.010 restates the ordinary rule in older section 6412. The County’s fence guidance measures height from the lowest adjacent natural grade and includes lattice in total height. Separate grade-change and district provisions must be considered before applying that general measurement.
• Corner lots: Within 50 feet of the intersected street lines, fences, walls, hedges and growth may not exceed four feet, except that the rule does not prevent a fence, wall or hedge from occupying an area where the main residence may be located under the zoning provisions. Tree trunks in that area must be cleared of branches to seven and one-half feet above curb grade. This is distinct from the required street-side-yard restriction.
• Larger-lot district exception: A parcel with at least 100 feet of street frontage in an S district requiring a minimum building site of at least 20,000 square feet may have a fence, hedge or wall up to six feet in any yard, subject to the corner-lot limitation. Parcel size alone does not establish this exception; both the frontage and district requirements matter.
• Abrupt boundary grade changes: Older section 6412.1, restated as section 8.332.020, allows the lower owner to erect a boundary fence, wall or hedge to the applicable ordinary height where the ground shifts abruptly at the boundary, but never more than 12 feet high. The brochure’s six-foot retaining wall plus six-foot fence is an illustration of that special situation, not a universal 12-foot fence allowance or a retaining-wall permit exemption.
• Named district standards: In the North Fair Oaks CMU-1, CMU-2, CMU-3, NMU and NMU-ECR districts, applicable site-design standards call for six- to eight-foot interior masonry walls except within 15 feet of a street-facing property line. Where visible within that street-facing area, fences are limited to four feet and masonry walls are prohibited. These are district and development-scope rules, not ordinary County-wide yard allowances.
The R-3-M-D, PC-HD and TS-MU districts adopted in April 2026 have additional scoped development standards. Where those provisions apply, fencing in a building setback adjoining a street right-of-way may not exceed three feet six inches, measured from the adjacent sidewalk grade. Confirm the actual mapped district and project applicability rather than applying the ordinary four-foot front-yard figure to every site.
MATERIAL AND CONSTRUCTION LIMITS
• Wood, vinyl/PVC and chain-link: County guidance recognizes wooden and cyclone fencing, but that does not override a district’s material restriction or prove every configuration is permit-exempt. The general fence provision does not specifically address vinyl/PVC. Assess the proposed design under the actual district, any design review, structural requirements and special uses rather than treating silence as permission.
• District restrictions: The five North Fair Oaks mixed-use districts identified above prohibit chain-link and corrugated fencing in their specified visible street-facing areas. The applicable R-3-M-D, PC-HD and TS-MU development standards prohibit chain-link and corrugated-metal fences. Keep these restrictions tied to their actual district and development scope; they are not a general County-wide chain-link ban.
• Confined large animals: The confined-animal chapter can affect a rural home’s enclosure. Its definition concerns domesticated animals generally exceeding 300 pounds as adults, generally not used for agriculture, and regularly kept in a confined-animal structure rather than solely in pasture or range. In its applicable permitted-use setting, animals must be enclosed by a strong, substantial fence with at least one gate, kept in good repair, with height and materials sufficient to contain them. A fence meeting Food and Agricultural Code 17121 conforms to that standard. Fencing enclosing pasture, range or other areas outside confined-animal structures is exempt from the chapter’s specified animal-structure setbacks, not from all zoning.
• Domestic poultry: For poultry kept under the residential-district provisions, the side and rear yards must have a good, substantial fence at least six feet high. The provision expressly does not exempt the owner from other fence height or location requirements. It does not authorize a six-foot obstruction where a lower street or corner rule controls.
• Fire access: Under the adopted fire amendment, when required by the County Fire Department, an electric gate used for fire access must have the specified key switch. The Fire Code Official may require keyed padlocks at access gates. Confirm the actual serving fire authority and required access arrangement before installing a powered gate. Pending statewide Zone 0 rulemaking is not a universal immediate ban on wooden yard fences, and does not remove applicable local fire requirements.
• Private home pools and spas: The County adopted the 2025 California Residential Code and its swimming-pool appendix. For covered construction or remodeling of a pool or spa at a private single-family home, state law generally requires at least two qualifying drowning-prevention features, subject to statutory exceptions and separate licensed-child-care rules. Options include a compliant isolation enclosure, qualifying removable mesh fencing, an approved safety cover, exit alarms, qualifying self-closing/self-latching home doors, a qualifying pool alarm or an independently tested equivalent. Each has its actual technical standard. An ordinary perimeter fence alone does not establish compliance.
For the statutory isolation enclosure, height is at least 60 inches, ground clearance no more than two inches, and openings must not pass a sphere four inches or larger. Its exterior must not provide handholds or footholds allowing a child under five to climb over. Gates open away from the pool, self-close and self-latch, with the latch at least 60 inches above ground. The separate qualifying home-door feature uses a different 54-inch latch standard. An exit alarm plus latch on the same door, an exit alarm plus latch on separate doors, or a safety cover plus the specified water alarm is not a qualifying two-feature pair. Final inspection is required. Licensed family child-care homes with in-ground pools have additional enclosure, protective-feature, documentation and inspection requirements.
PRIVATE RESTRICTIONS
Recorded covenants, association standards, private easements and boundary agreements may constrain a fence independently of County approvals. Obtain required private approvals and preserve access rights. Public permission does not establish a boundary, settle ownership or authorize removal of another owner’s property.
Where association governing documents require approval of a physical change, Civil Code 4765 requires a fair, reasonable and expeditious process, good faith and a decision consistent with governing law. The procedure must provide prompt deadlines and state the maximum response time for an application or board reconsideration request. The decision, whether approval or denial, must be in writing. A denial must explain its reasons and the applicable reconsideration procedure. This is not automatic approval or a universal statutory 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:
• Yard and corner heights, grade-change conditions, mapped district restrictions, height exceptions and separate construction approvals.
• County road encroachments, coastal and historic conditions, drainage, protected trees, animal enclosures, fire access and pool barriers.
Private association decisions, shared-fence cost disputes and ownership claims remain distinct from County public-code review.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within County-administered unincorporated San Mateo County, 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.