Where California's public pool fence and gate specifications come from (California Building Code Chapter 31B), how a broken enclosure can close a pool under Title 22, and Riverside County's fencing plan and closure rules.
Last verified October 28, 2026. This is a plain-language summary of public rules, not legal advice. Rules and local programs change. Confirm current requirements with the regulator for your facility, and talk with a lawyer licensed in your state before relying on this summary for a compliance or liability decision.
Where California's fence and gate rules come from
California's fence, gate, door and enclosure specifications for public pools — heights, openings, and self-closing and self-latching hardware — are building standards in the California Building Code, Title 24, Part 2, Chapter 31B. They are not in the Title 22 operating rules or the Health and Safety Code sections archived for this guide, and this guide does not restate them. Check the current Chapter 31B and your local enforcing agent for the specifications that apply to your pool.
The state health rules still reach the enclosure. Title 22 applies to “Fencing and enclosures” as ancillary facilities of every public pool (Cal. Code Regs. tit. 22, § 65503(c)(3)) and requires the whole site to be kept well-maintained (§ 65535). Plans for a new public pool need local health officer approval before construction (Health & Safety Code § 116038), and every health officer enforces the pool building standards (§ 116053). A design or construction rule adopted after a pool was built does not apply to it if the pool “as constructed is reasonably safe” (§ 116050).
Source: Cal. Code Regs. Title 22, Division 4, Chapter 20 Public Swimming Pools (§§ 65501–65551)

A broken fence or gate can close the pool
Among the conditions that let the enforcing agent close a pool are “missing or broken pool enclosures, including fencing and gates” (tit. 22, § 65545). “A public pool shall not be reopened until the unhealthful, unsafe, or unsanitary condition has been rectified and upon specific written approval from the enforcing agent” (§ 65545).
County fence rules
Riverside County requires plans for new or remodeled “pool and/or spa fencing” to be approved before construction (Riverside County Ord. 465, § 7). Its inspectors may close a pool for “inadequate pool or spa fencing (i.e., - broken or missing fencing or gate(s); not meeting State code, missing or broken self-closing device on gate(s) or door(s) etc.)” (§ 5(C)(1)(i)), and list “gates locked in open position” among the threats that can close it (§ 5(C)(1)(g)). If an immediate and severe danger is not abated within 24 hours, the county may order the area secured, including “the erection of a fence (if one does not already exist) around the pool in question” (§ 5(H)).
The Los Angeles County sections archived for this guide contain no fence or gate rules of their own.
Keeping a record of gate and fence repairs
No archived California source requires a periodic fence or gate inspection or a written record of one. Title 22 does require a written record of “routine maintenance and repairs to the public pool” at the site (§ 65523(c)). Recording gate, latch and closer repairs there, with dates, is a practical way to show that a broken enclosure was fixed.
More California pool requirements
The overview covers who California's rules apply to and the duties that matter most; the other topic guides cover the rest of Title 22, Chapter 20 and Health and Safety Code §§ 116025–116068.
Sources
- Cal. Code Regs. Title 22, Division 4, Chapter 20 Public Swimming Pools (§§ 65501–65551). Cal. Code Regs. tit. 22, §§ 65501–65551; latest amendments operative January 1, 2017
- Cal. Health & Safety Code §§ 116025–116068 (Swimming Pool Sanitation). Cal. Health & Safety Code §§ 116025–116068, updated through January 1, 2026
- Los Angeles County Code Title 11, Chapters 11.32 (Roxie's Swim Safe Ordinance) and 11.34 (Swimming Pool Services). L.A. County Code chs. 11.32 and 11.34, amended effective January 1, 2023
- Riverside County Ordinance No. 465 Public Swimming Pools and Spas (as amended through 465.6). Riverside County Ord. 465, as amended through Ord. 465.6 (effective August 29, 1996)

Less paperwork.
More poolside.
Give every pool a QR sign and every shift a clear record. Start with one pool and see how it fits your team.
Start your free trial →14 days free · No card needed · $15 per pool / month
Try the interactive demo






