FENCE RULES – DANVILLE (TOWN), CALIFORNIA
OVERVIEW
In incorporated Danville, ordinary single-family fence rules distinguish primary frontage, secondary frontage and shared interior boundaries. The primary-front maximum is three and one-half feet; a secondary-front fence may reach six feet with the required setback and landscaping. Interior shared-line fences generally may reach six feet, or seven feet with an open-lattice top foot. Sight areas can require lower obstructions, and retaining-wall combinations need separate measurement. Construction permits, approved project conditions and pool barriers are additional checks. This guide covers the Town, not unincorporated Contra Costa County. Updated November 2026.
| Quick question | Danville answer |
|---|---|
| Permit or approval | Confirm actual construction and Planning classification; do not treat the state seven-foot baseline as a universal Town exemption. |
| Typical fence height | Primary front three and one-half feet; secondary front six feet with conditions; shared interior six feet, or seven with the top foot open lattice. |
| Placement & property lines | Secondary-front six-foot fencing needs five feet from the right-of-way or access easement plus exterior landscaping. Verify sight areas and actual boundaries. |
| Common fence materials | Wood: check the actual design. Vinyl/PVC: temporary-plastic limits are not a permanent-PVC ban. Chain-link: public visibility triggers the local restriction and specified approval path. |
| Important local conditions | Fence rules may be further affected by approved development conditions, frontage, sight areas, retaining combinations, lawful older work, pool barriers and private restrictions. |
| Official local resource | Danville single-family fence and retaining-wall standards |
The detailed sections and official links below explain the conditions behind these short answers. Confirm Town jurisdiction, the actual zone, frontage, surveyed boundary, right-of-way, access easement, grades and proposed work before choosing a design.
GOVERNANCE
The Town Council adopts local requirements. Planning administers zoning, frontage and approved project conditions; Building Services administers construction and pool review. Section 32-22.11 supplies the ordinary single-family fence and retaining-wall standards. Check the actual zone and applicable approvals rather than assuming every Danville mailing address falls under Town rules.
The current published code identifies itself as 2026 S-18. Sections 10-1.1 and 10-2.1 adopt the 2025 Building and Residential Codes, and the Permit Center confirms the January 1, 2026 construction-code transition. The Town’s useful May 2023 fence handout is older; its simplified diagrams do not replace current text or later project conditions.
PERMIT AND APPROVAL REQUIREMENTS
• Construction review: Ask Building Services to classify the actual fence, wall, retaining combination and repair scope. California’s ordinary seven-foot fence construction exemption is not a universal Danville approval or a zoning height allowance. Confirm the applicable code, local amendments and permit requirements with Building Services before ordering work; do not assume every fence under seven feet is permit-free.
The Town’s Permit Center identifies structural changes and retaining walls supporting a surcharge or taller than four feet, measured from footing bottom to wall top, among work requiring permits. That construction measurement differs from zoning fence height. Work in the public right-of-way also requires the applicable encroachment approval.
• Planning conditions: Ordinary single-family standards apply alongside actual planned-development, subdivision and entitlement conditions. Fences and retaining walls are not treated as accessory structures under the fence section; do not borrow an accessory-building or ADU setback to locate a boundary fence.
• 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.
• Town pool barrier: The Town’s current pool-barrier handout requires a neighborhood-isolating barrier plus two eligible drowning-prevention features for the covered new or remodeled private-single-family pool or spa permit, subject to its stated exceptions. The neighborhood perimeter barrier is not automatically the separate home-isolating feature. Have Building Services approve the complete arrangement, not just a fence height.
The Town handout specifies a minimum sixty-inch enclosure, no more than two inches below it, openings that do not pass a sphere four inches or larger and a nonclimbable exterior. Access gates open away from the pool, self-close and self-latch, with the latch at least sixty inches above ground. Pool plans must identify the proposed fencing and safety features. Current state requirements remain a separate check.
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.
FENCE PLACEMENT RULES
• Identify the frontage: Primary frontage generally follows the orientation of the house front and/or the driveway between the street and garage. Secondary frontage concerns the other applicable road, right-of-way or access frontage. It is not automatically whichever frontage is shorter. Identify the actual required yard and approved conditions with Planning.
• Secondary frontage: A six-foot fence must be at least five feet from the adjacent right-of-way or vehicular-access easement, with landscaping installed and maintained outside it. Within five feet of that edge, the maximum is three and one-half feet. These are not universal five-foot setbacks measured from every property line.
• Street and access visibility: The current sight-triangle definition uses twenty-five-foot legs along intersecting public or private rights-of-way; rounded corners use the specified tangent points. Apply the actual visibility provision in Section 32-22.12(B). The fence section’s cross-reference to subsection A does not change where the operative visibility text appears.
The older Town fence handout labels its twenty-five-foot diagram from property lines, while the current definition uses rights-of-way. Those lines need not coincide. Have the Town identify the controlling boundary and sight area on the actual site rather than treating the drawing as a universal surveyed setback.
• 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.
• Other placement limits: Shared interior side and rear rules apply where the boundary does not abut a right-of-way or vehicular-access easement. Easements, drainage, creeks and approved plans may impose additional conditions. Neither a neighboring fence nor a building-setback chart establishes your exact fence line.
FENCE HEIGHT AND VISIBILITY RULES
• Ordinary heights: At primary frontage, a fence or hedge may not exceed three and one-half feet, measured from grade at its placement. Secondary-front fences may reach six feet only with the placement and landscaping conditions above. Shared interior side or rear fences generally may reach six feet, or seven feet when the top foot is open lattice.
• Retaining combinations: A fence on top of, or within two feet of the top of, a retaining wall is subject to the combined six-foot limit, or seven feet with the top foot open lattice. The following sentence treats a fence offset two feet or more as independently measured. Because the wording overlaps at exactly two feet, obtain the Town’s determination for that layout rather than assuming the more generous reading.
Retaining walls ordinarily have a six-foot maximum, reduced to three and one-half feet in primary and secondary fronts. Walls over three feet also have a three-foot side/rear property-line setback. Multiple walls, slopes and qualifying structural or geotechnical needs have additional conditions and Town review. These rules do not waive construction approval or create a general right to stack independent height allowances.
• Visibility height: Within the required sight triangle, obstructions are limited to two and one-half feet above curb grade, or three feet above the pavement surface at the outside edge. The tree exception requires seven feet of clearance above the sidewalk or roadway. Keep that visibility datum separate from ordinary fence-placement grade.
• 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 materials: Select wood, permanent vinyl/PVC or another proposed assembly only after checking its actual design, height, location and construction classification. The temporary-plastic restriction is not a blanket prohibition on permanent PVC fencing. A material name alone does not establish approval, and a pool enclosure needs its own compliant design.
• Visible chain-link: Chain-link visible from public areas or a right-of-way is prohibited unless Planning grants the specified approval for animal control, security or a legal requirement. The visibility qualification matters: the clause is not a blanket ban on every hidden rear-yard chain-link fence. Obtain an actual exception rather than assuming a security purpose automatically authorizes it.
• Hazardous and temporary designs: For ordinary residential fencing, the local prohibited-type rule includes barbed, razor, concertina and electric fencing unless specifically approved under the stated exception. Temporary plastic, wire-mesh, barricade and panel fences have limited construction, Town-sponsored-event or Town-approved-temporary-use exceptions. This is not a universal statement about qualifying nonresidential electric security systems under state law.
• Repair and replacement: Have Planning and Building classify partial repair, replacement, relocation and enlargement before work begins. Section 32-1.6 addresses lawful nonconforming uses and certain casualty-damaged buildings or structures. Its fifty-percent reasonable-market-value condition is not a fifty-percent fence-length replacement allowance.
The definition of structure excludes several low fences, retaining walls and combinations, so a generic structure provision cannot automatically decide every fence repair. Do not assume routine repair exempts a fence from applicable permits or current requirements. Preserve lawful status and required visibility; replacing a fence does not legalize originally unlawful work. Separate right-of-way landscaping and fence-upkeep obligations apply in their encroachment context, not automatically to every private yard.
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:
• Town jurisdiction, actual zone and project approvals; primary and secondary frontage; right-of-way or access-easement setbacks; lattice tops; retaining combinations and sight-area measurements.
• Construction classification, publicly visible chain-link, temporary or hazardous designs, lawful older work and a complete pool barrier and safety-feature arrangement.
Public approval remains separate from ownership, shared-fence costs, private design review and recorded access rights.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within the Town of Danville, 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.