Pools
Pool Fence Requirements: Height, Gates and Latches
7 min · Updated 2026-09-28
How tall a pool fence must be, how its gates and latches work, and what Austin, California and Los Angeles add to the model pool code's barrier rules.
A pool fence has one job, keeping a small child out, so the rules are about height, gaps and gates. The model pool code, the 2024 International Swimming Pool and Spa Code, wants a barrier at least 48 inches high on the side away from the pool, no opening a 4-inch sphere passes, and pedestrian gates that open outward, close by themselves and latch by themselves. Austin adopts that code and asks 60 inches of a chain link barrier. Los Angeles asks 60 inches at a house, as California’s enclosure option does, and California makes a new or remodeled pool at a single-family home carry at least two of seven drowning prevention features.
| Line | Model code | Austin | California and Los Angeles |
|---|---|---|---|
| Height | At least 48 in, measured outside | As in the model code; at least 60 in for chain link | At least 60 in: California’s enclosure, and Los Angeles’s barrier on a lot with one to three homes |
| Gap under it | 2 in over grass or gravel, 4 in over concrete | As in the model code | 2 in |
| Openings | No 4 in sphere; 1¾ in between close-set verticals, in chain link and between diagonals | As in the model code, with Austin’s own chain link rule | No 4 in sphere (California’s enclosure) |
| Gate | Opens outward, self-closing and self-latching; at a house, an outside latch that is not self-locking at least 54 in up, a self-locking one no higher | As in the model code | Opens away from the pool and self-closing, with a self-latching device at least 60 in up (California’s enclosure); Los Angeles’s gates take a lock |
| House wall | Alarms, a listed cover or self-closing doors where doors and windows open to the pool | As in the model code | At least two of seven drowning prevention features for a new or remodeled pool at a single-family home |
A pool barrier and its gate
- Height, measured on the side away from the pool: at least 48 inches under the model code, 60 inches for a chain link barrier in Austin, and 60 inches for California’s enclosure and a Los Angeles barrier at one to three homes.
- The gap under it: 2 inches over grass or gravel and 4 over concrete under the model code, 2 inches in California and Los Angeles.
- No opening may pass a 4-inch sphere; where the horizontal rails are less than 45 inches apart, the verticals are no more than 1¾ inches apart.
- Gates open outward, away from the pool, and close and latch by themselves. At a house, an outside latch that is not self-locking sits at least 54 inches up under the model code; California’s enclosure puts the self-latching device at least 60 inches up.
Not to scale. The model pool code’s barrier section and the Austin, California and Los Angeles rules in the sources below.
Height and gaps
The model code measures the barrier on the side facing away from the pool: at least 48 inches above grade around the whole perimeter, and for 3 feet out from it. The gap under it may be 2 inches over grass or gravel and 4 inches over concrete, and a barrier mounted on top of an above-grade pool may sit no more than 4 inches above it. No opening may pass a 4-inch sphere. Where the horizontal rails are less than 45 inches apart, they go on the pool side and the verticals are no more than 1¾ inches apart; with rails 45 inches or more apart, verticals may be 4 inches apart. Chain link and diagonal openings are held to 1¾ inches, diagonals lean no more than 45 degrees from vertical, and a solid barrier may have no handholds or footholds beyond normal construction tolerances. A mesh fence follows ASTM F2286, stays at least 20 inches from the water and does not go on top of an onground pool, and pool equipment outside the barrier stays 36 inches from it.
Gates and latches
Pedestrian gates open outward, away from the pool, close by themselves and latch by themselves, can take a lock and do not swing over stairs. At a residential pool, an outside latch that is not self-locking sits at least 54 inches up; a self-locking one, worked by a key, a code or an electronic opener, sits no higher than 54 inches. Where a latch release is on the pool side, no opening in the gate or barrier within 18 inches of it may be wider than ½ inch, and at a private pool where that is the only release, it sits at least 3 inches below the top of the gate. Utility gates stay locked when not in use, and double gates keep one leaf secured.
When the house or the pool is the barrier
Where a wall of the house is part of the barrier and has doors or windows opening to the pool, the model code wants one of these: a listed water hazard entrance alarm on those doors and on operable windows with sills less than 48 inches above the floor; a safety cover listed to ASTM F1346; or another approved means, such as self-closing doors with self-latching devices, as protective as the alarm. An above-ground pool’s own wall can be the barrier if it stands on grade, is at least 48 inches high all around, meets the barrier rules and its maker allows it, and its ladder or steps can be secured, locked or removed, or are surrounded by a barrier. A pool with a powered safety cover, or a spa or hot tub with a lockable safety cover, that complies with ASTM F1346 needs no barrier under the code’s barrier sections, and an in-ground pool’s site needs construction fencing at least 4 feet high from the first excavation until the permanent barrier is up.
Austin
Austin adopts the 2024 International Swimming Pool and Spa Code, and its building official enforces it for residential pools. It deletes the model code’s rule for widely spaced rails and puts its own chain link rule in its place: openings of 1¾ inches or less, with or without slats fastened top and bottom; a top rail, and a bottom rail or a tension wire, with any tension wire keeping a 4-inch sphere from passing under when the fence is pushed up with 100 pounds at mid-span; a height of at least 60 inches; and a design for the wind speed. The city’s fencing page adds that a pool barrier also meets Austin’s safe fencing rules. Texas’s state law on pool yard enclosures applies only to pools owned, controlled or maintained by the owner of a multiunit rental complex or by a property owners association, and to the doors and windows of rental homes that open into such a pool yard, not to a house’s own pool. A house’s pool elsewhere in Texas follows its own city’s or county’s code, which this guide has not read; ask the building department there before you build.
California and Los Angeles
Under California’s Swimming Pool Safety Act, when a building permit is issued for a new pool or spa, or for remodeling one, at a private single-family home, it must carry at least two of seven drowning prevention features: an enclosure that isolates the pool from the house; removable mesh fencing to ASTM F2286 with a self-closing, self-latching gate that takes a key lock; a safety cover labeled to ASTM F1346-23; exit alarms on the house’s doors and windows that open straight to the pool; self-closing, self-latching devices with releases at least 54 inches up on those doors; a pool alarm certified to ASTM F2208, which a child-worn alarm does not satisfy; or another means independently verified as equal. An exit alarm and a self-closing device on the same door do not make two, nor do an exit alarm and a latch on separate doors, nor a safety cover and a pool alarm. The building official inspects the features before final approval. The act does not apply to public pools, to hot tubs and spas with locking safety covers that comply with ASTM F1346, or to any residential setting other than a single-family home, and it counts any structure for swimming or bathing with water over 18 inches deep, hot tubs and spas included, as a pool. The act’s enclosure is at least 60 inches high, with gates that open away from the pool and close by themselves, a self-latching device at least 60 inches up, no more than 2 inches under it, no gap a 4-inch sphere passes and no handhold or foothold a child under five could climb.
Los Angeles adopts the state building code’s pool section and adds its own: a residential pool is completely enclosed, and on a lot with one to three homes the barrier is at least 60 inches above grade on the outside, with no more than 2 inches under it, or 4 inches above an above-grade pool wall it is mounted on; gates take a lock. An existing pool, pond or other water 18 inches deep or more has a fence at least 4½ feet high, gates included, with self-latching gates latched at least 4½ feet up, and a new one follows whichever rule is stricter. The city’s fence exemption, for masonry or concrete fences up to 3½ feet and other fences up to 10 feet, leaves pool barriers out.
The pool permit brief covers the pool’s own permit, the pool volume calculator its gallons, and the fence permit guide the rules for fences that are not pool barriers.