FENCE RULES – ALAMEDA (COUNTY), CALIFORNIA
OVERVIEW
Alameda County’s general zoning rules allow four-foot fences in required front yards and six feet in agricultural or residential districts elsewhere, subject to important corner and key-lot limits. A required corner yard within thirty feet of the street-lot-line intersection can be limited to two feet measured from street-centerline grade. Building exemptions are separate and depend on material, while retaining walls can reduce the fence allowance. Confirm the parcel’s district, applicable plan and complete design before construction or replacement. This guide concerns unincorporated Alameda County, California, not the City of Alameda or another incorporated city. Pool barriers, public access, upkeep and private rights remain separate requirements. Updated November 2026.
| Quick question | Alameda County answer |
|---|---|
| Permit or approval | The local Building exemption distinguishes heavy-material fences through five feet nine inches from light fences through seven feet other than pool barriers. Zoning, flood and other approvals remain separate. |
| Typical fence height | Required front yard: four feet except the two-foot corner rule. Other agricultural or residential locations generally six feet; key-lot and specific exceptions require classification. |
| Placement & property lines | Verify boundaries, required yards and road jurisdiction. The corner rule uses street lot lines and street-centerline grade; retaining walls and road walking space have separate rules. |
| Common fence materials | Wood: confirm design, location and light-material classification. Vinyl/PVC: confirm the actual assembly and applicable plan. Chain-link: check openness, location and any specific material or pool requirements; an open-wire exception is not universal approval. |
| Important local conditions | Fence rules may be further affected by corner and key lots, retaining walls, specific plans, road access, flood hazards, material classification, lawful older work, pools and private restrictions. |
| Official local resource | Alameda County: General Ordinance Code |
The detailed sections and official links below explain the conditions behind these short answers.
GOVERNANCE
The Board of Supervisors adopts County ordinances. County Planning administers zoning and land-use approvals; the Public Works Building Inspection Division administers construction requirements, with separate road and flood responsibilities. These zoning rules govern unincorporated territory. An address within Alameda County does not establish that the property is outside an incorporated city.
Start with the parcel’s actual district, required yards, specific-plan or design requirements, approved project conditions and lawful existing approvals. The County has adopted the 2025 California construction codes with local amendments. General zoning allowances and construction-permit exemptions answer different questions, and neither overrides a more specific applicable requirement.
PERMIT AND APPROVAL REQUIREMENTS
• Material-specific Building exemptions: Section 15.08.060 lists fences of concrete, masonry or similar heavy materials not over five feet nine inches, and fences of light materials not over seven feet other than swimming-pool barriers, as exempt from that Building permit requirement. Confirm the applicable code path and complete assembly with Building Inspection. The seven-foot light-fence threshold is not a seven-foot zoning allowance or an exemption for every wall.
• Other approvals remain: An exemption does not authorize work violating zoning or other County requirements. Flood-hazard properties remain subject to Sections 15.08.300 and Chapter 15.40. Retaining walls have a separate footing-to-top exemption with surcharge and liquid-impoundment exceptions. Ask Planning and Building Inspection about the proposed fence, wall, gate and site conditions before work.
• Height relief: A higher fence required by another applicable ordinance or State or federal rule has an express exception. A higher fence made a condition of conditional-use or variance approval cannot exceed twelve feet under Section 17.52.440. That is a conditioned approval route, not a by-right twelve-foot residential allowance.
• 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
• Yards and boundaries: The general fence provisions allow fences, walls and hedges in yards subject to their limits and other requirements. Establish surveyed boundaries, the required front and street-side yards, any key lot at the rear, recorded easements and official right-of-way, future-width or special building lines. The existing fence or curb does not establish the legal line.
• Roadside walking space: Where no sidewalk exists, Section 12.08.580 prohibits fences and other listed obstructions within five feet of the curbline or roadway pavement edge. With an existing roadside swale or ditch, measure from its edge nearest the adjacent property. Confirm road jurisdiction and any encroachment permit with Public Works. This road-walkway provision is not a universal five-foot setback from every private property line.
• Drainage and local plans: Keep access, drainage and recorded rights clear, and have the County identify applicable flood, specific-plan and approved-project conditions. A retaining-wall profile or fence material that fits the general code may still need a different treatment under a parcel-specific requirement. Do not use a draft plan or a neighboring property’s approval as permission for your own work.
• 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
• General front and other yards: Section 17.52.430 limits fences, walls and hedges in a required front yard to four feet except where its lower corner rule applies. In an agricultural or residential district elsewhere, the general limit is six feet unless another specified limit or exception controls. These are not the City of Alameda’s fence rules.
• Street corner: In a required yard on a corner lot and within thirty feet of the intersection of the street lot lines or their projections, the maximum is two feet, measured upward from the centerline grade of the street opposite. Do not substitute curb grade or assume that the ordinary four-foot front allowance applies there. Have the County confirm the actual lot-line layout and street elevation.
• Key-lot relationship: A required rear or street-side yard of a corner lot has a four-foot limit within twenty feet of the corner common to that lot and a key lot at the rear. A street-side fence therefore is not automatically eligible for the general six-foot allowance. Show the adjoining lots and required yards when asking Planning to confirm the design.
• Ordinary and retaining-wall measurement: Except for the special street-corner datum, measure upward from the ground beneath the fence. Where fencing in a required yard or along a lot line rises directly above, or runs parallel to and within six feet of, the supporting portion of a retaining wall, deduct half that supporting height from the permitted fence height and measure the remainder upward from the higher ground fill. No fence or hedge may extend upward from a retaining wall within thirty feet of a street corner. Obtain review of the complete profile, including any applicable plan-specific rule.
• Openness exceptions: An open-wire fence up to six feet in an agricultural district has a specific height exception. Tennis-court, playground and swimming-pool fencing has another exception where at least the part above the applicable height limit is open wire or steel mesh admitting at least ninety percent light under the specified measurement. This zoning exception does not establish compliance with pool-barrier construction and child-safety standards.
• Visibility: Keep public-street and private-driveway views and sidewalk use unobstructed. The nuisance code expressly addresses objects or vegetation blocking those views or access. Obtain the applicable driveway and road-clearance layout from the County rather than treating the thirty-foot corner provision as a universal driveway triangle.
• 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
• Choose a classified assembly: Confirm wood, vinyl/PVC, chain-link, masonry and other materials against the actual district, applicable design or specific-plan standards, screening duties and approved project conditions. The general height provisions do not amount to approval of every product or hazardous design. Heavy versus light material also changes the Building exemption, and open-wire exceptions have their own criteria.
• Affirmative upkeep: The unincorporated-property nuisance code prohibits fences, gates and similar structures that sag, lean, have missing boards, are unsafe, remain in partial construction or disrepair, or contribute to blight. It also addresses deteriorated materials, unsafe paint conditions and graffiti affecting neighboring property. Repair unsafe deterioration and keep views and access clear; an older fence is not exempt from these duties.
• Lawful continuation and repair: Section 17.52.610 allows qualified continuation of lawful nonconforming uses and buildings or structures. Section 17.52.670 separately permits ordinary maintenance and minor repair of a nonconforming building, with specific interior-work valuation and other conditions. Its wording is not a universal fence-replacement right, and its twenty-five-percent assessed-value provision is not a percentage-of-fence-boards quota. Have Planning classify the lawful fence and proposed repair, alteration or reconstruction; safe upkeep remains necessary.
• Pool protection: Have Building Inspection approve the complete current pool enclosure and protective-feature system. The County adopts Residential Code Appendix CI, and its light-fence Building exemption expressly excludes swimming-pool barriers. The separate prefabricated-pool exemption requires all listed depth, capacity and above-ground conditions and does not waive the broader State drowning-prevention requirements. An ordinary zoning fence or generic cover is not proof of pool compliance.
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:
• Unincorporated jurisdiction, the actual district and plan, Building versus land-use approvals, front, corner and key-lot heights, street-centerline or retaining-wall measurements, road walking space and visibility.
• Materials, safe upkeep, lawful older work and replacement, flood conditions, pool protection, shared-fence costs, excavation and private restrictions.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within unincorporated Alameda 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.