FENCE RULES – MODESTO (CITY), CALIFORNIA

OVERVIEW

Modesto generally limits walls and fences to forty-two inches in front and street-side yard areas and eight feet elsewhere, subject to required screening and other site conditions. In the R-1 zone, a street-side fence taller than forty-two inches must meet a ten-foot setback. The ordinary Building permit exemption stops at seven feet and does not override zoning, visibility or required-development conditions. Fence height and corner sight clearance use different grade rules. Confirm the actual district, legal lines, proposed assembly, lawful older work and any pool protection before installation or replacement. This guide concerns the City of Modesto, California, not unincorporated Stanislaus County. Updated November 2026.

Quick questionModesto answer
Permit or approvalThe ordinary Building exemption covers fences not over seven feet, not an eight-foot zoning allowance. Required-development walls, pool barriers, retaining work and safety-related repairs need separate classification; check setbacks with Planning.
Typical fence heightForty-two inches in front/street-side yard areas; generally eight feet elsewhere. In R-1, a street-side fence taller than forty-two inches must meet a ten-foot setback. Required screening can impose a different minimum.
Placement & property linesConfirm legal lines, corner frontage, setbacks, access and easements. The corner vision triangle is twenty-five feet along property lines, with a three-to-eight-foot clear band above the front curb.
Common fence materialsWood: check location and any required original-material repair. Vinyl/PVC: confirm project and screening conditions. Chain-link: check the complete approved assembly, especially any pool-barrier use.
Important local conditionsFence rules may be further affected by corner visibility, higher-side grade measurement, required rear masonry walls, development conditions, lawful older work, pool protection and private restrictions.
Official local resourceModesto: Fence Permits and Regulations

The detailed sections and official links below explain the conditions behind these short answers.

GOVERNANCE

The City Council adopts Modesto ordinances. Planning administers zoning, setbacks and site conditions; Building Safety administers construction permits, and the Traffic Engineer addresses visibility hazards. General development standards apply across zones unless specified otherwise and control conflicting standards within the article. Confirm the actual zone and any planned-development or project approval conditions.

The retained code is Supplement 72, dated September 2026. Its cover and the construction-adoption notes describe different ordinance-effective dates, so have the City identify current requirements for the actual application. The relevant local text adopts the 2025 California construction codes; a dated design handout is not a complete current construction specification.

PERMIT AND APPROVAL REQUIREMENTS

• Building permit: Local Section 9-1.502 exempts fences not over seven feet from the ordinary Building permit requirement, but expressly does not authorize violations of other law. The City’s current Building Safety FAQ repeats the seven-foot guidance and directs applicants to check setbacks with Planning. An eight-foot zoning limit is not an eight-foot permit exemption.

• Required walls and special work: A specific table footnote requires a Building permit and approved structural standards for a six-foot fence or wall required as a condition of new development. Pool barriers, retaining walls, powered gates and work affecting health or general safety also need their own classification. Show the entire assembly rather than relying only on its nominal fence height.

• Retaining walls and repairs: The separate retaining-wall exemption uses four feet measured from the bottom of the footing to the top and does not cover surcharge support or the listed liquid-impounding conditions. Repairs affecting public health or general safety require a Building permit. Confirm both the Building and Planning treatment before replacing structural components or changing a lawful older 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.

FENCE PLACEMENT RULES

• Confirm the legal boundary: Establish the property line, public right-of-way, district setbacks and any recorded access or utility easements. On a corner lot, the front lot line is the narrower street frontage and the street-side line is the wider frontage. Do not assume that an existing fence, sidewalk or curb marks the boundary.

• R-1 street-side placement: A fence taller than forty-two inches must meet the ten-foot street-side setback in the R-1 zone. This is not a universal ten-foot front setback or a rule for every zoning district. Have Planning classify an irregular, through or planned-development lot before laying out the fence.

• Access, drainage and required screening: Keep required access, drainage routes and recorded rights clear. Required screening, sound walls and approved development plans can dictate a particular location, material or minimum height. A private boundary agreement does not waive City requirements or authorize construction in a public right-of-way.

• 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

• Ordinary height limits: Walls and fences cannot exceed forty-two inches in front and street-side yard areas. The general maximum is eight feet, unless additional height is required by a condition of a zone, variance, use permit, development review, map, noise mitigation or similar action. This does not create an automatic homeowner-selected noise exception.

• Required rear screening: A single-family residential lot backing onto an arterial street or expressway, where vehicular access to that street is not allowed, must have a solid decorative masonry wall at least seven feet high along the rear property line. Other adjoining-use requirements have their own table conditions. Required minimum screening is distinct from ordinary maximum height.

• Grade measurement: The fence grade definition uses the lowest finished ground, paving or sidewalk elevation within one foot perpendicular to the corresponding point along the fence or wall. Height extends vertically to its highest point. Where grade differs on the two sides, the specific height rule measures from the higher grade, as Figure 2.1-4 illustrates. Do not use the separate five-foot building-footprint datum for a fence. Show both sides and any retaining condition to the City.

• Corner visibility: In zones requiring a front setback, corner lots have a clear-view triangle bounded by the front and street-side property lines and the line connecting points twenty-five feet from their intersection. Within it, the area between three and eight feet above the top of the curb adjacent to the front yard must remain clear. If there is no curb, the City Engineer establishes the curb grade.

The visibility band can limit a fence that would otherwise meet the forty-two-inch height rule. Trees have a specific clearance and nonhazard condition, and the Traffic Engineer may require removal of landscaping or structures on other lots when they present a traffic hazard. Have the City assess the actual driveway, gate and street sight lines; the corner rule is not a universal twenty-five-foot 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

• Ordinary materials: Check wood, vinyl/PVC, metal, masonry and chain-link against the actual location, required screening and project conditions. The general residential fence provision does not establish one Citywide material ban for every fence. Commercial and industrial front-fence decorative-metal standards and adjoining-use screening tables have separate scopes.

• Barbed wire: The misdemeanor-code provision prohibits using barbed wire in fence construction, repair or maintenance except at the top of a fence at least six feet high, for an additional height no greater than eighteen inches, and without extending outward away from the enclosed premises. That exception does not override zoning height, visibility, safety, permit or private restrictions. Obtain the City’s classification before proposing hazardous security materials.

• Upkeep: Required fencing must remain in good repair and match the materials used when originally constructed. This includes fencing required by a permit, approved plans or development approval, such as pool, sound or thoroughfare fencing. Hazardous public-view perimeter fences and walls are subject to nuisance enforcement; the partial-construction provision is not permission to leave an immediate safety hazard uncorrected.

• Older work: Legal nonconforming status and replacement scope need Planning review. Title 10 expressly excludes walls and fences seven feet or less from its definition of a structure. Do not automatically apply a building’s alteration or casualty-reconstruction allowance to every ordinary fence. The structure-and-site provisions allow qualified maintenance but distinguish replacement and expansion; the fence-specific upkeep requirements still matter.

• Pool protection: The local property-maintenance provision requires pools, spas, hot tubs and their enclosure systems to remain clean, sanitary and in good repair, with the applicable construction-era code and current State health-and-safety requirements. The City’s served pool-barrier overview describes additional protection and inspection requirements. Have Building approve the complete current barrier and feature combination, rather than treating an ordinary fence permit exemption or an older code-section reference as a pool waiver.

The City’s overview describes sixty-inch isolation enclosures and gates that open away from the pool, self-close and self-latch with a latch at least sixty inches above ground. It separately describes a fifty-four-inch release for the home-door feature and calls for chain-link enclosure slats held in place. Follow current approved details and the actual State feature requirements; these are not interchangeable gate and door dimensions or a complete construction recipe.

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:

• Actual zone and corner-lot classification, forty-two-inch and eight-foot limits, the R-1 street-side setback, required masonry screening, fence grade and the curb-based clear-view band.

• Building and development conditions, unsafe or mismatched required fencing, lawful older work, pool barriers and safety features, hazardous materials, 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 the City of Modesto, 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.