FENCE RULES – MARIN (COUNTY), CALIFORNIA
OVERVIEW
Marin County’s ordinary residential boundary-fence rules generally allow six-foot solid fences, with lower limits in required front and street-side yards. In those street-facing setbacks, a solid fence can generally be four feet high; a fence up to six feet needs the portion above four feet to be at least fifty percent open. Corner visibility, grade differences, planned districts and the Coastal Zone can change the result. A building-permit exemption does not waive Planning approval. This guide concerns county-administered unincorporated Marin, not the separate rules of incorporated cities and towns. Updated November 2026.
| Quick question | Marin County answer |
|---|---|
| Permit or approval | County guidance exempts fences seven feet or lower from a building permit but requires Planning approval above six feet. Planned-district, coastal and other site approvals remain separate. |
| Typical fence height | Ordinary solid boundary fences: six feet. Required front/street-side yards: four feet solid, or up to six feet with the portion above four feet at least fifty percent open. Corner visibility is lower. |
| Placement & property lines | Compliant fences may be on property lines or in required yards, subject to actual zone, grade, visibility, access, easements and coastal or conservation conditions. |
| Common fence materials | Wood: not separately classified by the general standard. Vinyl/PVC: likewise not separately classified. Chain-link: no blanket permission follows from that silence or from a qualified open-wire exemption. |
| Important local conditions | Fence rules may be further affected by planned zoning, coastal permits and public views, uneven grade, parallel walls, retaining walls, pools, gate safeguards and private restrictions. |
| Official local resource | Marin County Planning codes and property-development resources |
The detailed sections and official links below explain the conditions behind these answers, including the property-specific rules that can affect installation or replacement.
GOVERNANCE
The Board of Supervisors adopts County zoning and building rules. Community Development Agency Planning and Building divisions administer their respective approvals; Public Works and the responsible fire authority handle applicable access and site requirements. Title 22, the Development Code, supplies the general zoning framework. The County adopted the 2025 California building standards with local amendments; the statewide code cycle took effect January 1, 2026.
The Local Coastal Program and Title 20 govern development in the Coastal Zone and control a perceived conflict with Title 22. Coastal development permits are independent of other County approvals. The November 2026 coastal amendment makes its effectiveness conditional on California Coastal Commission approval and certification; local adoption alone does not make its new form-based standards operative.
PERMIT AND APPROVAL REQUIREMENTS
• Building and Planning approvals: The County’s building-permit guidance exempts fences seven feet high or lower from a building permit but says fences exceeding six feet still require a Planning Division permit. These are different approval thresholds, not an extra foot of zoning entitlement. On rural parcels of at least one acre, a building-permit waiver may be available when the fence is exempted from zoning requirements; it is conditional, not an automatic exemption for every rural fence.
• Planned districts: Physical improvements in planned zoning districts generally require Design Review unless an exemption applies. The fence exemption requires compliance with the general fence standards and its own yard conditions: front and street-side yards are at least ten feet on lots up to one acre and fifteen feet on larger lots. Fences in those yards are limited to six feet, with the portion above four feet at least fifty percent open; outside those yards the exemption limits fences and screens to six feet. Substandard-building-site rules can remove the exemption. An exemption from Design Review does not waive building, zoning or coastal requirements.
• Open fences and height relief: In the listed A-2, C1, H1, RA, RR, RE, R1, R2 and VCR zones, open fencing such as wood posts with welded wire mesh on lots greater than twenty thousand square feet can qualify for a Design Review exemption up to eight feet, outside required front and street-side setbacks and subject to visibility rules. This is not a general eight-foot privacy-fence allowance. Section 22.54.045(F) routes qualifying fence, screen and retaining-wall height or setback deviations from a variance to Design Review; approval is not automatic.
• Repair and replacement: Ordinary repairs and maintenance of an existing improvement are exempt from land-use permits when they do not change the approved use or expand or enlarge the improvement. Repair or in-kind reconstruction of legal structures is separately exempt from Design Review. Other permits and site requirements remain applicable. Establish that the fence is legal and identify the work’s scope before relying on either provision.
A lawful nonconforming structure may continue under Chapter 22.112 unless demolished. For a fence, retaining wall or other nonbuilding structure, removal of more than seventy-five percent of its length or area is defined as demolition. That definition is not permission to replace a lesser amount noncompliantly. Qualifying natural-disaster or emergency reconstruction needs proof of the prior condition, the same location, no increase in nonconformity or height, bulk or floor area, timely vesting and the stated safety conditions. The one-year discontinuance rule concerns nonconforming uses, not every idle fence.
• Coastal work: A coastal development permit is generally required unless the actual project qualifies for an exclusion, exemption or waiver. Improvements associated with an existing single-family residence can include fences, and nonexpanding repair has an exemption, but sensitive locations, construction methods, prior permit conditions and other stated exceptions can require review. Unless destroyed by a natural disaster, replacement of fifty percent or more of a structure is not treated as repair and maintenance under the coastal provision. This is a separate test from the noncoastal demolition definition; neither percentage is a blanket replacement allowance.
FENCE PLACEMENT RULES
• Lines and required yards: A fence meeting the applicable four- or six-foot limits can be in a required setback or on the property line under section 22.20.050. Confirm the surveyed line, actual yard classification, governing district, building envelope and recorded easements. Public right-of-way, access and drainage rights are not erased by a property-line fence allowance.
• Retaining walls: For walls outside a building’s footprint, the zoning limit is six feet above grade when the exposed face points toward the center of the property. An outward-facing wall is limited to four feet unless it is at least twenty-five feet from every property line, where the stated maximum is eight feet. Building-permit treatment is separate: the County’s guidance for walls four feet or lower does not cover support of sloped earth or heavy loads. Do not substitute the footing-bottom construction measurement for the above-grade zoning measurement.
• Property-specific constraints: Check applicable protected-tree, stream or wetland conservation, San Geronimo Valley, floodplain and public-access conditions before installing posts or clearing vegetation. Preserve required wildlife access where the governing stream-area agricultural provision applies. Residences adjoining a qualifying flood-control facility can have separate enclosure requirements. Road encroachments, drainage work and fire-access gates may need approval by the responsible authority; these are applicable-case checks, not one universal fence 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. County 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 height: Section 22.20.050 limits ordinary solid boundary fences and screens to six feet above grade. In required front or street-abutting side setbacks, the solid limit is four feet; a fence above four and no more than six feet must have the entire portion above four feet at least fifty percent open and unobstructed by structural elements. The separate branch allowing the same height as a detached accessory structure requires the applicable setback or building envelope. It is not a higher fence allowance on every boundary.
• Gate trellises: A trellis above a gate or opening along a fence can be up to eight feet high and six feet wide within the stated street-abutting front, side or rear setback. This narrow entry feature is not an eight-foot solid-fence entitlement.
• Corner visibility: Within the front or street-side setback triangle, fences cannot exceed two feet six inches above the street level of the adjacent intersection. The triangle joins points thirty-five feet from the intersection of the property lines. Visibility-obstruction requirements also apply to hedges and other obstructions. Do not measure this limit from a raised garden bed or substitute an unrelated driveway triangle.
• Grade and parallel walls: Grade uses the natural or finished ground elevation at the structure’s exterior, whichever is more restrictive, and natural grade within its footprint. Where adjoining lots have different ground levels, the fence or wall cannot exceed six feet measured from either side. Two approximately parallel fences or screens must be at least two feet apart or their heights are computed as one structure subject to the six-foot limit. Adding a fence beside or above a retaining wall does not automatically avoid combined-height treatment.
• Coastal sites: Title 20 similarly uses four-foot solid street-facing setback limits, with the portion above four feet at least fifty percent open for a fence up to six feet. It permits a six-foot solid fence in the stated interior and rear yard positions, retains the corner, unequal-grade and parallel-wall conditions, and subjects taller similar detached structures to the primary-structure setbacks. Fences and trellises must also protect significant public views. A building-permit exemption does not waive these coastal requirements.
• Spite fences: California Civil Code 841.4 treats a fence or fence-like structure unnecessarily exceeding ten feet, maliciously erected or maintained to annoy an adjoining owner or occupant, as a private nuisance. Ten feet is not a permitted local height, and a shorter fence is not automatically free from other restrictions.
MATERIAL AND CONSTRUCTION LIMITS
• Wood, vinyl/PVC and chain-link: The general fence standard does not separately list these products as approved or prohibited choices. Its openness, height and site requirements still control. Wood posts and welded wire mesh are examples in a specifically qualified open-fence Design Review exemption, not blanket permission for every wire or wood fence. Check applicable plans and private restrictions before choosing a system.
• Gates and fire access: Separate County gate-safeguard provisions address fall-over protection for gates wider than forty-eight inches or taller than eighty-four inches, with the stated Director-determined rural agricultural exception. Applicable building-permit final verification can require existing gates to comply. Fire-access approval is a separate issue; do not block required access or treat an ordinary pedestrian gate as a fire-apparatus gate. Applicable local and state fire requirements depend on the property and work, not a presumed countywide five-foot fence-replacement command.
• Water features: Recreational swimming pools, spas and hot tubs follow the adopted swimming-pool standards and applicable state law. Decorative pools, fish ponds and other non-swimming artificial water have a separate local enclosure chapter. Its scope, alternatives and exemptions are not substitutes for the swimming-pool safety requirements below. Use the County’s applicable water-feature provisions for the actual feature.
• Private single-family pools and spas: California’s Swimming Pool Safety Act generally requires at least two qualifying drowning-prevention features when a permit is issued for construction or remodeling of a pool or spa at a private single-family home, subject to its exceptions and distinct licensed-child-care rules. The qualifying recreational-water definition reaches 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 must satisfy its actual 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 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 that passes a sphere four inches or larger. Its outside must not provide handholds or footholds enabling a child under five to climb over. Gates open away from the pool, self-close and self-latch, with the latch at least sixty inches above ground. That latch height differs from the fifty-four-inch release height for the separate qualifying home-door feature. An ordinary perimeter fence alone does not prove compliance. Licensed family child-care homes with in-ground pools have additional isolation, protection, documentation and inspection requirements.
• 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.
PRIVATE RESTRICTIONS
Recorded declarations, association design standards, private easements and boundary agreements can restrict a fence independently of public requirements. Obtain any required private approval separately. A public permit does not override recorded access rights or determine 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 a written decision. 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:
• Building and Planning approval, yard height and openness, corner visibility, grade differences, retaining walls and lawful replacement.
• Coastal approvals and views, pool or water-feature barriers, gate safeguards and applicable access or site conditions.
Association decisions, shared-fence contributions, ownership and recorded access rights remain separate from County public-code enforcement.
USING THIS INFORMATION
This page provides general orientation on how residential fence rules are structured and applied within unincorporated, county-administered Marin 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, coastal or design districts, pool and home uses, agricultural 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.