FENCE RULES – ONTARIO (CITY), CALIFORNIA

OVERVIEW

Updated November 2026. Residential fencing in the City of Ontario is governed by zoning, Planning approval, building requirements and the conditions affecting the particular lot. Ordinary residential limits are three feet in the front yard and six feet at street-side yards and interior side or rear property lines, but visibility, retaining walls, through lots and approved development plans can change the answer. Planning reviews the design and location of all walls, fences and gates even when a building permit is not required. Confirm the parcel’s zoning, boundaries and required approvals before replacing an older fence or choosing materials.

Quick questionOntario answer
Permit or approvalPlanning approval applies to all wall, fence and gate designs and locations. The City FAQ identifies specified fencing over three feet and retaining walls over two feet for building permits; confirm the current classification.
Typical fence heightOrdinarily three feet in front and six feet at street-side yards and interior side/rear property lines. Buildable-area fencing, retaining combinations and approved project walls have distinct rules.
Placement & property linesCommon side/rear property lines may be used, subject to access and sight limits. Through-lot rear fencing is five feet behind the rear property line; specified new-development walls use a separate sidewalk datum.
Common fence materialsWood: expressly permitted, subject to design approval. Vinyl/PVC: PVC is expressly permitted. Chain-link: front/street-side use in existing single-family neighborhoods depends on the Director’s predominant-material finding.
Important local conditionsFence rules may be further affected by frontage, approved development walls, grade and retaining work, visibility, rights-of-way, older lawful setbacks, pools and private restrictions.
Official local resourceOntario development regulations, Chapter 6

The detailed sections below explain the main residential rules and link to official local resources. They distinguish public approvals from shared-fence obligations, private restrictions and the additional protection required around pools.

GOVERNANCE

The City Council adopts Ontario’s development and construction requirements. The Planning Director reviews fence design, location and zoning exceptions; Building determines construction permits and inspections; the City Engineer addresses street rights-of-way and applicable sight clearances. These are City rules, not the rules for unincorporated San Bernardino County. Start with the City’s published Chapter 6 development regulations and confirm the property’s current zoning and approved plans with Planning.

PERMIT AND APPROVAL REQUIREMENTS

Division 6.02 applies to construction, additions and remodeling of walls, fences and related obstructions. The design and location of all walls, fences and gates require Planning Director review and approval regardless of whether Building requires a permit. A low fence is not automatically free of public review.

The City’s building-permit FAQ identifies block walls, pilasters, chain-link fencing, open or screened wrought-iron fences and gates, and wood fencing over three feet above grade for permits. It separately identifies retaining walls over two feet, measured from the bottom of the footing to the top. Obtain Building’s current classification for the actual material and work; do not substitute a general State seven-foot exemption for this local guidance.

Ontario has adopted the 2025 construction-code editions. Have Building confirm the current amendments and approved detail for the project. Its wood-fence bulletin dated November 7, 2024 is a useful design and application reference, not a substitute for current approval or a promise that all of its older code and pool-hardware details apply today.

• 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

A wall or fence may follow a common interior side or rear property line for property division or security. Locate the actual boundary first; a sidewalk edge, old fence or assessor’s sketch does not establish ownership. For the corner and reverse-corner configuration described in Section 6.02.020D2, fencing may follow the street-side property line, with the area between the fence and sidewalk or curb landscaped and maintained. Within the front-yard area, a fence up to three feet may follow the front or street-side property line, with that intervening area landscaped and maintained.

A through lot has a front yard at one street frontage and a rear yard at the opposite frontage for wall placement. Its rear wall or fence must be at least five feet behind the rear property line, with landscaping toward the sidewalk. Separately, the required street-side and through-lot rear masonry walls for single-family development projects and subdivisions must be at least five feet behind the sidewalk. These are different reference lines and project scopes.

Do not place fencing in a sidewalk or parkway except as the City’s standards allow. Fencing and other construction in a street right-of-way need the City Engineer’s encroachment permission. Preserve easements, access and drainage. The City’s standard wood detail also calls for written adjoining-owner permission before a permit where a fence or its footing encroaches over the property line; public approval itself never supplies that permission.

• 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 DigAlert’s Southern 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

Section 6.02.020 ordinarily limits residential front-yard walls and fences to three feet, street-side yard fencing to six feet, and interior side and rear property-line fencing to six feet. Subdivision perimeter walls also have a six-foot limit, subject to the specified retaining and sound-attenuation exceptions. Fencing inside the buildable area behind required setbacks instead follows the applicable base-zone height limitation; six feet is not the rule for every point on every lot.

The residential wall-height provision measures on the street or exterior side, from the top to the lowest adjacent finished grade. Do not use an average or the higher neighbor’s ground to gain height. A separate required wall separating multifamily development from neighboring residential development has a six-foot minimum measured from the highest adjacent grade; that project-specific minimum is not the ordinary residential maximum or its measurement rule.

The Planning Director may approve a combined retaining wall and fence above the ordinary maximum to accommodate grade differences. Adjacent to a public right-of-way, the retaining portion is limited to three feet and the free wall remains subject to the ordinary applicable limit. More than three feet of earth retention there requires tiering. The City’s retaining-wall illustration is an approval concept, not automatic permission for a nine-foot front fence. Have Planning and Building review the actual grades, tiers and structural work.

A sound-attenuation wall supported by an acoustic engineer’s impact study must be only as high as necessary. A design above six feet needs Planning Director approval before the building permit. This is a special noise-study route, not a general taller privacy-fence exception.

Intersection-visibility rules treat fencing, obstacles and mature landscaping over three feet above the nearest street-pavement surface as visual obstructions. Street-corner clearance follows the Engineering Department’s Traffic and Transportation Guidelines; obtain the actual clearance for the intersection instead of assuming a universal property-line triangle. The general fence rules also restrict front and street-side fencing to three feet where Planning or Engineering determines that it would create unsafe ingress or egress.

Where a private driveway meets a street or alley, the Planning Director or City Engineer may require a clear corner cutoff. The written definition uses a horizontal line at forty-five degrees to the street or alley, passing through a point on that street or alley twenty feet from the intersection. This is conditional and is not an automatic triangle with two twenty-foot property-line legs. A specified key-lot driveway beside a reverse-corner lot can also require clearance on the reverse-corner lot.

• 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

Residential fences may use ornamental steel or iron, wood or PVC consistent with industry standards. Other materials need the Planning Director’s compatibility determination. Publicly visible walls and fences must fit the architecture of the lot’s buildings, with special attention to front yards and street-visible areas. Publicly visible walls require decorative masonry or another approved compatible material and a decorative cap; grout caps are prohibited.

In existing single-family neighborhoods, chain-link may be used in front and street-side yards only if the Planning Director determines that it is the predominant neighborhood material. Do not treat the general list of permissible metal fencing as overriding this residential design condition or as automatic approval for a particular location.

Razor wire and applications determined unsafe are prohibited. Barbed wire is prohibited in the specified residential, commercial and residential-or-commercial mixed-use settings. Electrified fencing is prohibited for ordinary residential fencing and residential development in the specified mixed-use overlay. These homeowner restrictions are not a statement that every qualifying nonresidential security system is prohibited statewide.

Single-family development projects and subdivisions have separate required masonry-wall provisions along specified boundaries and street frontages. Existing approved walls and development conditions may therefore matter, but those project requirements do not mean every ordinary homeowner replacing a wood fence must automatically build masonry.

• Repair and replacement: Lawful nonconforming structures and improvements may continue subject to the nonconforming chapter and its conditions; the owner must establish lawful status. An important positive rule allows a street-side fence or wall lawfully built before 1998 that is nonconforming as to setback to be replaced with block or another fence at the same setback, provided visual evidence of its location is supplied before the building permit. Obtain that permit before removal: demolition or removal before the permit requires the replacement to meet current setbacks. This preserves a qualifying setback, not every old height or material.

Have Planning classify ordinary repairs, alterations and replacement before dismantling older work. Do not increase the discrepancy with current standards, and check any historic approval. The chapter’s separate disaster-restoration and interior-repair tests are not a general percentage-of-fence-boards replacement allowance.

• Pool protection: Section 6.02.020A3 requires any swimming pool, hot tub, spa, pond or decorative body of water more than one and one-half feet deep, above or below ground, to be fully enclosed by a decorative nonclimbable fence or wall at least five feet high, with decorative entrance and exit gates and construction meeting building requirements. This local enclosure duty remains separate from the State’s qualifying safety features. Obtain approval of the complete barrier and gate arrangement, not just the perimeter height.

Do not use the fifty-four-inch pool-gate release note in the City’s dated 2024 wood detail as a substitute for the State isolation-enclosure latch rule below. That older detail and current State requirements use different measurements. Building must approve the complete current installation; two selected State features do not by themselves dispense with Ontario’s local enclosure.

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 approval for all fence and gate designs and locations; material-specific building permits; frontage and through-lot placement; retaining-wall grades; street and driveway visibility; and rights-of-way.

• Street-visible materials, chain-link eligibility, hazardous fencing, lawful older setback replacements before demolition, complete pool protection, shared-fence notice and private restrictions.

USING THIS INFORMATION

This page provides general orientation on how residential fence rules are structured and applied within the City of Ontario, 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.