FENCE RULES – CONTRA COSTA (COUNTY), CALIFORNIA
OVERVIEW
Updated November 2026. In unincorporated Contra Costa County, qualifying fences up to seven feet and certain low retaining-wall combinations may occupy required setbacks without ordinary Planning approval. That does not make every wall or pool barrier permit-exempt: Building distinguishes concrete and masonry walls from fences. Street-corner visibility, retaining-wall conditions, unequal ground levels, protected trees, private restrictions and applicable fire requirements can change a project. Confirm the actual property boundary and classification before replacing an older enclosure or adding height. These County zoning rules do not apply automatically inside incorporated cities.
| Quick question | Contra Costa County answer |
|---|---|
| Permit or approval | Qualifying enclosures generally avoid ordinary Planning approval, but Building treats concrete and masonry walls separately. Confirm current permits for the actual material, retaining work and pool barrier. |
| Typical fence height | County Planning guidance allows a qualifying seven-foot fence, three-foot retaining wall, or seven-foot combination with retaining portion no more than three feet. Visibility and site requirements remain. |
| Placement & property lines | Qualifying enclosures may be within required setbacks. Keep rights-of-way, easements, protected trees and intersection visibility clear; confirm boundaries before work. |
| Common fence materials | Wood: confirm site and fire conditions. Vinyl/PVC: the general height allowance is not automatic material approval. Chain-link: confirm applicable screening and site conditions. Concrete and masonry walls have a separate Building permit classification. |
| Important local conditions | Fence rules may be further affected by retaining walls, unequal grades, intersection visibility, protected trees, scoped WUI rules, older lawful work, private restrictions and pools. |
| Official local resource | Contra Costa County Planning fence guidance |
The detailed sections below explain the main homeowner requirements and link to official local resources. Planning allowances, construction permits, lawful older work and pool protection are separate questions.
GOVERNANCE
The Board of Supervisors adopts the County zoning and construction ordinances. County Planning applies land-use requirements in unincorporated areas, while Building reviews construction permits and inspections. A County contract to provide building services inside a city does not replace that city’s zoning with County zoning. Start with the County Planning fence guidance and verify whether the parcel is unincorporated.
PERMIT AND APPROVAL REQUIREMENTS
Section 82-4.270 excludes from the zoning definition of structure fences not exceeding seven feet, retaining walls not exceeding three feet, and combinations not exceeding seven feet overall with the retaining portion not exceeding three feet. The County’s Planning FAQ says these qualifying enclosures may be within required setbacks and generally do not need Planning approval or permits. Taller or otherwise nonqualifying work needs review under the actual zone and site conditions.
Building permits remain a separate question. The County’s published work-exempt handout, labeled for the 2022 Residential Code, lists fences not over seven feet as exempt but expressly says concrete and masonry walls are walls, not fences, and require building permits. General County construction provisions cover erection, alteration, repair and removal unless an applicable exemption applies. Ask Building to confirm the current material-specific classification, especially for masonry, retaining combinations and pool barriers.
The County has adopted the 2025 California construction codes with local amendments. Its current retaining-wall exemption uses a three-foot measurement from the TOP of the footing to the wall top, not the footing bottom, and requires the downward ground slope at the bottom to be no steeper than one vertical to ten horizontal. Surcharge, a supported slope exceeding one vertical to two horizontal, and impounding hazardous liquids are exceptions. Have Building classify the proposed wall rather than treating every three-foot wall as permit-free.
• 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
The qualifying seven-foot fence, three-foot retaining wall and combined seven-foot enclosure route applies within required setbacks. It is not permission to occupy a public right-of-way, obstruct access, cross a boundary or disregard a pool enclosure requirement. Obtain Planning review before assuming that a taller fence can use the same location.
Check recorded easements and approved plans before placing posts. The County’s Planning guidance also identifies protected-tree and dripline restrictions that may require a tree permit. A construction permit does not establish ownership or authorize work on another person’s property.
• 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. Upon discovering or causing installation damage, immediately notify the operator. Call 911 first for a gas or hazardous-liquid pipeline release of flammable, toxic or corrosive material, or damage to a high-priority installation, subject to the narrow operator-maintenance exception. Notify the regional notification center within forty-eight hours unless its separate operator-maintenance exception applies.
FENCE HEIGHT AND VISIBILITY RULES
The ordinary County Planning guidance is seven feet for a fence, three feet for a retaining wall, or seven feet for the combined enclosure with no more than three feet of retaining wall. Do not assume a separate universal three-foot front-yard fence rule or an automatic taller-fence entitlement. Visibility, applicable site approvals and construction requirements can still limit the design.
Have Planning and Building confirm how the fence and retaining combination will be measured where ground levels differ. The code’s building-height definition is not a substitute for an ordinary fence measurement rule: qualifying fences are excluded from the zoning definition of structure. The retaining permit exemption’s top-of-footing measurement likewise does not establish a general fence-height datum.
At street, highway or road intersections, Section 82-18.002 restricts fences, gateways and vegetation obstructing drivers’ views above two and one-half feet over curb grade, or three feet over the edge of pavement. The triangular area uses twenty-five-foot legs along the intersecting RIGHT-OF-WAY lines from their intersection, not along curb lines or private property lines. At rounded corners the provision uses tangents to the right-of-way curve, with the stated twenty-five-foot distances from their intersection at the beginning and end of the curve. Have the County confirm the surveyed geometry.
The chapter contains exceptions for specified existing utility poles, permanent structures and supports, official traffic signs and locations where terrain prevents visibility. Its restrictions also extend to setback or front-yard areas within seventy-five feet of a railroad crossing. Do not assume that these exceptions excuse a proposed obstructing fence, or turn the street-intersection triangle into a universal driveway formula.
• 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
Do not choose wood, vinyl or chain-link solely from the general height allowance. Confirm the actual site, screening conditions and construction classification with Planning and Building. The ordinary fence definition and Planning FAQ do not establish a blanket ban on those three materials, but neither provides automatic approval for every design. In particular, the Building handout’s separate concrete and masonry wall classification still matters.
For ordinary residential fencing, the electrical provision prohibits devices intended to shock or injure people or animals. Its livestock exception is tied to a person principally engaged in handling livestock as a business and primary source of income, with additional conditions; it is not an automatic backyard-pet exception. Qualifying nonresidential security systems have a separate State-law context and should not be treated as ordinary backyard fencing.
The County’s WUI fence amendment has a specific development scope: new residential subdivisions with at least thirty dwelling units when any portion is within or abuts the designated wildland-urban interface. Within that scope, it requires noncombustible or approved one-hour construction for the specified perimeter, abutting and structure-adjacent fences. It does not impose that subdivision rule on every existing home. Confirm mapped fire jurisdiction and approved project conditions before choosing combustible materials.
• Repair and replacement: Section 82-8.002 allows a lawful existing use to continue while it remains nonviolating and has not ceased or been discontinued. That does not establish unrestricted replacement of every older fence at its existing dimensions. Have Planning and Building classify the proposed repair, alteration or reconstruction against the fence’s height, material, location and permit requirements before demolition.
The chapter’s separate accident-or-catastrophe rebuilding provisions use reasonable market value and include a six-month use-resumption condition. They are not an ordinary percentage-of-boards repair allowance. Qualifying low fences are excluded from the structure definition, so do not automatically apply a generic nonconforming-structure disaster rule to every fence repair.
• Pool protection: The County’s Code Enforcement FAQ requires damaged or missing pool barriers to be restored and compliant protection maintained at all times, including during construction. Plan safe temporary protection before removing a pool-side fence. Ordinary repair classification or a fence permit exemption does not authorize leaving a pool accessible.
Use the County’s pool and spa installation guidance and obtain Building approval of the complete current enclosure, gates and protective features. Published older handouts do not replace the adopted current codes. The work-exempt guidance separately warns that water over eighteen inches deep needs a protective barrier even where a prefabricated pool might qualify for a construction-permit exemption. A self-selected pair of State features alone does not establish compliance with all local protection requirements.
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:
• Planning structure exclusions and setbacks versus material-specific Building permits, retaining conditions, unequal grades, street visibility, protected trees and recorded access.
• Scoped electric and WUI requirements, older lawful work and reconstruction, private restrictions, and prompt restoration and continuous maintenance of pool protection.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within unincorporated Contra Costa 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.