Skip to main content
CityRuleLookup

Fence Regulations in Ontario, CA (2026)

7 verified fence regulations for Ontario, California, sourced directly from the municipal code and official government pages.

Verified from official government sources

Height Limits

Ontario limits residential fence heights under the Development Code. Typical maximums are 6 feet rear/side, 3 feet front, and 42 inches in sight-distance triangles at corners. Taller fences need a variance.

Ontario Fence Height Limits

Some Restrictions

Permit Requirements

Ontario requires a building permit for masonry walls and any fence over 7 feet under the California Building Code. Retaining walls over 4 feet also require permits. Standard 6-foot wood or vinyl fences typically do not.

Ontario Fence Permits

Some Restrictions

Neighbor Fence Rules

Shared Ontario fences are governed by California Civil Code 841, the Good Neighbor Fence Act. Adjoining owners are presumed to share costs equally after 30 days of written notice to the neighbor.

Ontario Neighbor Fence Rules

Some Restrictions

California Civil Code § 841 (Good Neighbor Fence Act, AB 1404)

Civil Code - CIV. 841. (a) Adjoining landowners shall share equally in the responsibility for maintaining the boundaries and monuments between them. (b) (1) Adjoining landowners are presumed to share an equal benefit from any fence dividing their properties and, unless otherwise agreed to by the parties in a written agreement, shall be presumed to be equally responsible for the reasonable costs...

Retaining Walls

Ontario requires a permit for any retaining wall over 4 feet (footing to top) or carrying a surcharge such as a slope or driveway. Engineered plans by a licensed California civil or structural engineer are required.

Ontario Retaining Wall Rules

Heavy Restrictions

Pool Barriers

Ontario pool barriers must meet CA Health and Safety Code 115920 (Pool Safety Act). A 60-inch enclosure, self-closing gate, and 2 of 7 drowning-prevention features are required on new or remodeled pools.

Ontario Pool Barrier Rules

Heavy Restrictions

California Health and Safety Code § 115920 (Swimming Pool Safety Act)

Health and Safety Code - HSC. DIVISION 104. ENVIRONMENTAL HEALTH [106500 - 119406]. PART 10. RECREATIONAL SAFETY [115725 - 116095]. CHAPTER 5. Safe Recreational Water Use [115825 - 116090.7]. ARTICLE 2.5. The Swimming Pool Safety Act [115920 - 115929]. 115920. This act shall be known and may be cited as the Swimming Pool Safety Act. (Added by Stats. 1996, Ch. 925, Sec. 3.5. Effective January 1,...

Fence Requirements

Ontario fence requirements include zoning-based heights, setbacks, sight triangles, buffer walls on industrial edges, and CBC structural standards. Pool, retaining, and masonry walls have additional requirements.

Ontario Fence Requirements

Some Restrictions

Material Restrictions

Ontario restricts fence materials by zone. Residential front-yard fences require finished materials like wrought iron, wood, or masonry. Chain link is barred in front yards; barbed wire is industrial-only.

Ontario Fence Material Restrictions

Some Restrictions

Looking for San Bernardino County county-wide rules?

County ordinances apply to unincorporated areas and may supplement Ontario city rules.

Fence Regulations in San Bernardino County