FENCE RULES IN CALIFORNIA
FENCES ON RESIDENTIAL PROPERTY
California fence projects start with the property’s actual location and the proposed work. Local rules may address height, yard placement, materials, visibility, gates, walls and approvals. State construction standards and laws concerning adjoining owners, underground utilities, pools, wildfire areas and coastal development add separate layers. Updated November 2026.
An ordinary privacy fence, a pool enclosure and a livestock fence can have different requirements. Recorded easements, association documents and private agreements also matter. A public permit does not establish a boundary or determine a neighbor’s contribution.
USING A FENCE CONTRACTOR
A contractor can plan construction and coordinate applications within the agreed scope. Before work, establish who will obtain required approvals, arrange utility locating and verify placement. Hiring a contractor does not remove the homeowner’s need to resolve uncertain boundaries or applicable private restrictions.
California’s contractor licensing and home-improvement contract rules can apply to fence work. The narrow minor-work licensing exception and the written-contract threshold are different. Verify the contractor’s actual license and scope, the written work description, payment schedule and required notices. Paying a direct contractor does not automatically resolve every subcontractor or supplier lien issue.
WHEN RULES APPLY
Check requirements before buying materials or setting posts, whether the work is owner-installed or contractor-built. New construction, replacement, repair, relocation, a gate or a change to pool-barrier function can engage different provisions. An existing fence does not prove that its present design can be rebuilt unchanged.
Corner lots, street frontage, driveways, rights-of-way, easements, drainage paths, floodplains and historic areas can affect the design. Fences near pools or attached to homes in wildfire-prone areas need attention to the applicable safety system. A coastal fence or gate can require review even if a building permit is not required.
Rural homes may have livestock, declared grazing-area, road or utility issues in addition to ordinary local yard rules. Shared-fence notice and reasonable-cost questions are separate from whether the city or county approves the design.
HOW FENCE RULES ARE ORGANIZED
California has statewide building standards, but it does not answer every residential fence question with one permitted height, setback or material list. State law, the applicable city/town or unincorporated county rules, and private property documents must be read together.
The 2025 California Building Standards Code became effective January 1, 2026. A building-permit exemption does not eliminate zoning, pool, coastal, fire, electrical, road or other requirements. Actual local amendments and their statutory authority matter; construction-code modifications and land-use regulation are not interchangeable.
A mailing address does not establish city limits. Building administration, planning, roads, fire protection, coastal review and drainage may involve different bodies. Special regional programs can apply only within their defined territory. Verify the responsible authority for the particular issue rather than assuming one office’s approval covers all of them.
Association approval and recorded access rights are separate from government approval. Neither a fence contractor nor a permit can settle a disputed property line simply by selecting a construction location.
STATEWIDE FENCE LAWS THAT MAY APPLY IN CALIFORNIA
California laws and statewide programs can affect these subjects:
• Adjoining owners: Shared-fence reasonable costs, advance notice, rebuttable contribution duties and malicious fence nuisances.
• Fence-post excavation: Regional utility notification, owner exceptions, marking, safe exposure and damage reporting.
• Pools and licensed homes: Qualifying drowning-prevention features, enclosure and gate dimensions, feature combinations and separate child-care obligations.
• Construction and wildfire: Current Title 24, local amendments, defensible-space geography and the operative status of Zone 0 rules.
• Coastal and site conditions: Coastal development review, public access, rights-of-way, easements, drainage and location-specific environmental programs.
• Rural property: Livestock-sufficiency standards, declared grazing territory and distinct highway duties.
• Private restrictions and paid work: Association review, applicable housing rights, contractor licensing, written contracts, payment protections and liens.
Each subject has its own coverage and exceptions. Pool-barrier heights, agricultural fence specifications and specialized nonresidential security-fence protections are not universal yard-fence standards. See Statewide Fence Laws in California.
FIND FENCE RULES BY LOCATION
A – C
- Adelanto (City)
- Agoura Hills (City)
- Alameda (City)
- Alameda (County)
- Albany (City)
- Alhambra (City)
- Aliso Viejo (City)
- Amador (County)
- American Canyon (City)
- Anaheim (City)
- Anderson (City)
- Antioch (City)
- Apple Valley (Town)
- Arcadia (City)
- Arcata (City)
- Arroyo Grande (City)
- Artesia (City)
- Arvin (City)
- Atascadero (City)
- Atwater (City)
- Auburn (City)
- Avenal (City)
- Azusa (City)
- Bakersfield (City)
- Baldwin Park (City)
- Banning (City)
- Barstow (City)
- Beaumont (City)
- Bell (City)
- Bell Gardens (City)
- Bellflower (City)
- Belmont (City)
- Benicia (City)
- Berkeley (City)
- Beverly Hills (City)
- Blythe (City)
- Brawley (City)
- Brea (City)
- Brentwood (City)
- Buena Park (City)
- Burbank (City)
- Burlingame (City)
- Butte (County)
- Calabasas (City)
- Calaveras (County)
- Calexico (City)
- California City (City)
- Calimesa (City)
- Camarillo (City)
- Campbell (City)
- Canyon Lake (City)
- Capitola (City)
- Carlsbad (City)
- Carpinteria (City)
- Carson (City)
- Cathedral City (City)
- Ceres (City)
- Cerritos (City)
- Chico (City)
- Chino (City)
- Chino Hills (City)
- Chowchilla (City)
- Chula Vista (City)
- Citrus Heights (City)
- Claremont (City)
- Clayton (City)
- Clearlake (City)
- Cloverdale (City)
- Clovis (City)
- Coachella (City)
- Coalinga (City)
- Colton (City)
- Colusa (County)
- Commerce (City)
- Compton (City)
- Concord (City)
- Contra Costa (County)
- Corcoran (City)
- Corona (City)
- Coronado (City)
- Corte Madera (Town)
- Costa Mesa (City)
- Covina (City)
- Cudahy (City)
- Culver City (City)
- Cupertino (City)
- Cypress (City)
D – G
- Daly City (City)
- Dana Point (City)
- Danville (Town)
- Davis (City)
- Del Norte (County)
- Delano (City)
- Desert Hot Springs (City)
- Diamond Bar (City)
- Dinuba (City)
- Dixon (City)
- Downey (City)
- Duarte (City)
- Dublin (City)
- East Palo Alto (City)
- Eastvale (City)
- El Cajon (City)
- El Centro (City)
- El Cerrito (City)
- El Dorado (County)
- El Monte (City)
- El Paso De Robles (Paso Robles) (City)
- El Segundo (City)
- Elk Grove (City)
- Emeryville (City)
- Encinitas (City)
- Escondido (City)
- Eureka (City)
- Exeter (City)
- Fairfield (City)
- Farmersville (City)
- Fillmore (City)
- Firebaugh (City)
- Folsom (City)
- Fontana (City)
- Fortuna (City)
- Foster City (City)
- Fountain Valley (City)
- Fremont (City)
- Fresno (City)
- Fresno (County)
- Fullerton (City)
- Galt (City)
- Garden Grove (City)
- Gardena (City)
- Gilroy (City)
- Glendale (City)
- Glendora (City)
- Glenn (County)
- Goleta (City)
- Grand Terrace (City)
- Grass Valley (City)
- Greenfield (City)
- Grover Beach (City)
- Guadalupe (City)
H – M
- Half Moon Bay (City)
- Hanford (City)
- Hawaiian Gardens (City)
- Hawthorne (City)
- Hayward (City)
- Healdsburg (City)
- Hemet (City)
- Hercules (City)
- Hermosa Beach (City)
- Hesperia (City)
- Highland (City)
- Hillsborough (Town)
- Hollister (City)
- Humboldt (County)
- Huntington Beach (City)
- Huntington Park (City)
- Imperial (City)
- Imperial (County)
- Imperial Beach (City)
- Indio (City)
- Inglewood (City)
- Inyo (County)
- Ione (City)
- Irvine (City)
- Jurupa Valley (City)
- Kerman (City)
- Kern (County)
- King City (City)
- Kings (County)
- Kingsburg (City)
- La Cañada Flintridge (City)
- La Habra (City)
- La Mesa (City)
- La Mirada (City)
- La Palma (City)
- La Puente (City)
- La Quinta (City)
- La Verne (City)
- Lafayette (City)
- Laguna Beach (City)
- Laguna Hills (City)
- Laguna Niguel (City)
- Laguna Woods (City)
- Lake (County)
- Lake Elsinore (City)
- Lake Forest (City)
- Lakewood (City)
- Lancaster (City)
- Larkspur (City)
- Lassen (County)
- Lathrop (City)
- Lawndale (City)
- Lemon Grove (City)
- Lemoore (City)
- Lincoln (City)
- Lindsay (City)
- Live Oak (City)
- Livermore (City)
- Livingston (City)
- Lodi (City)
- Loma Linda (City)
- Lomita (City)
- Lompoc (City)
- Long Beach (City)
- Los Alamitos (City)
- Los Altos (City)
- Los Angeles (City)
- Los Angeles (County)
- Los Banos (City)
- Los Gatos (Town)
- Lynwood (City)
- Madera (City)
- Madera (County)
- Malibu (City)
- Manhattan Beach (City)
- Manteca (City)
- Marin (County)
- Marina (City)
- Mariposa (County)
- Martinez (City)
- Marysville (City)
- Maywood (City)
- Mcfarland (City)
- Mendocino (County)
- Mendota (City)
- Menifee (City)
- Menlo Park (City)
- Merced (City)
- Merced (County)
- Mill Valley (City)
- Millbrae (City)
- Milpitas (City)
- Mission Viejo (City)
- Modesto (City)
- Monrovia (City)
- Montclair (City)
- Montebello (City)
- Monterey (City)
- Monterey (County)
- Monterey Park (City)
- Moorpark (City)
- Moraga (Town)
- Moreno Valley (City)
- Morgan Hill (City)
- Morro Bay (City)
- Mountain House (City)
- Mountain View (City)
- Murrieta (City)
N – S
- Napa (City)
- Napa (County)
- National City (City)
- Nevada (County)
- Newark (City)
- Newman (City)
- Newport Beach (City)
- Norco (City)
- Norwalk (City)
- Novato (City)
- Oakdale (City)
- Oakland (City)
- Oakley (City)
- Oceanside (City)
- Ontario (City)
- Orange (City)
- Orange (County)
- Orange Cove (City)
- Orinda (City)
- Oroville (City)
- Oxnard (City)
- Pacific Grove (City)
- Pacifica (City)
- Palm Desert (City)
- Palm Springs (City)
- Palmdale (City)
- Palo Alto (City)
- Palos Verdes Estates (City)
- Paradise (Town)
- Paramount (City)
- Parlier (City)
- Pasadena (City)
- Patterson (City)
- Perris (City)
- Petaluma (City)
- Pico Rivera (City)
- Piedmont (City)
- Pinole (City)
- Pittsburg (City)
- Placentia (City)
- Placer (County)
- Placerville (City)
- Pleasant Hill (City)
- Pleasanton (City)
- Plumas (County)
- Pomona (City)
- Port Hueneme (City)
- Porterville (City)
- Poway (City)
- Rancho Cordova (City)
- Rancho Cucamonga (City)
- Rancho Mirage (City)
- Rancho Palos Verdes (City)
- Rancho Santa Margarita (City)
- Red Bluff (City)
- Redding (City)
- Redlands (City)
- Redondo Beach (City)
- Redwood City (City)
- Reedley (City)
- Rialto (City)
- Richmond (City)
- Ridgecrest (City)
- Rio Vista (City)
- Ripon (City)
- Riverbank (City)
- Riverside (City)
- Riverside (County)
- Rocklin (City)
- Rohnert Park (City)
- Rosemead (City)
- Roseville (City)
- Sacramento (City)
- Sacramento (County)
- Salinas (City)
- San Anselmo (Town)
- San Benito (County)
- San Bernardino (City)
- San Bernardino (County)
- San Bruno (City)
- San Buenaventura (Ventura) (City)
- San Carlos (City)
- San Clemente (City)
- San Diego (City)
- San Diego (County)
- San Dimas (City)
- San Fernando (City)
- San Francisco (City)
- San Gabriel (City)
- San Jacinto (City)
- San Joaquin (County)
- San José (City)
- San Juan Capistrano (City)
- San Leandro (City)
- San Luis Obispo (City)
- San Luis Obispo (County)
- San Marcos (City)
- San Marino (City)
- San Mateo (City)
- San Mateo (County)
- San Pablo (City)
- San Rafael (City)
- San Ramon (City)
- Sanger (City)
- Santa Ana (City)
- Santa Barbara (City)
- Santa Barbara (County)
- Santa Clara (City)
- Santa Clara (County)
- Santa Clarita (City)
- Santa Cruz (City)
- Santa Cruz (County)
- Santa Fe Springs (City)
- Santa Maria (City)
- Santa Monica (City)
- Santa Paula (City)
- Santa Rosa (City)
- Santee (City)
- Saratoga (City)
- Scotts Valley (City)
- Seal Beach (City)
- Seaside (City)
- Selma (City)
- Shafter (City)
- Shasta (County)
- Shasta Lake (City)
- Sierra Madre (City)
- Signal Hill (City)
- Simi Valley (City)
- Siskiyou (County)
- Solana Beach (City)
- Solano (County)
- Soledad (City)
- Sonoma (City)
- Sonoma (County)
- South El Monte (City)
- South Gate (City)
- South Lake Tahoe (City)
- South Pasadena (City)
- South San Francisco (City)
- Stanislaus (County)
- Stanton (City)
- Stockton (City)
- Suisun City (City)
- Sunnyvale (City)
- Susanville (City)
- Sutter (County)
T – Z
- Tehachapi (City)
- Tehama (County)
- Temecula (City)
- Temple City (City)
- Thousand Oaks (City)
- Tiburon (Town)
- Torrance (City)
- Tracy (City)
- Trinity (County)
- Truckee (Town)
- Tulare (City)
- Tulare (County)
- Tuolumne (County)
- Turlock (City)
- Tustin (City)
- Twentynine Palms (City)
- Ukiah (City)
- Union City (City)
- Upland (City)
- Vacaville (City)
- Vallejo (City)
- Ventura (County)
- Victorville (City)
- Visalia (City)
- Vista (City)
- Walnut (City)
- Walnut Creek (City)
- Wasco (City)
- Waterford (City)
- Watsonville (City)
- West Covina (City)
- West Hollywood (City)
- West Sacramento (City)
- Westminster (City)
- Whittier (City)
- Wildomar (City)
- Windsor (Town)
- Woodland (City)
- Yolo (County)
- Yorba Linda (City)
- Yuba (County)
- Yuba City (City)
- Yucaipa (City)
- Yucca Valley (Town)