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.

Written by DueRivaLast reviewed: 2026-09-28Review standard

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.

Pool barrier lines
LineModel codeAustinCalifornia and Los Angeles
HeightAt least 48 in, measured outsideAs in the model code; at least 60 in for chain linkAt least 60 in: California’s enclosure, and Los Angeles’s barrier on a lot with one to three homes
Gap under it2 in over grass or gravel, 4 in over concreteAs in the model code2 in
OpeningsNo 4 in sphere; 1¾ in between close-set verticals, in chain link and between diagonalsAs in the model code, with Austin’s own chain link ruleNo 4 in sphere (California’s enclosure)
GateOpens 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 higherAs in the model codeOpens 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 wallAlarms, a listed cover or self-closing doors where doors and windows open to the poolAs in the model codeAt least two of seven drowning prevention features for a new or remodeled pool at a single-family home

A pool barrier and its gate

BARRIERGATE1234
  1. 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.
  2. 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.
  3. 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.
  4. 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.

Primary sources

What this page was checked against

  • 2024 International Swimming Pool and Spa Code, Section 305: Barrier requirements

    International Code Council · checked 2026-09-28

    Used for: A barrier at least 48 in high outside, 2 in under it over soft ground and 4 in over a solid surface, no opening a 4 in sphere passes, 1 3/4 in between close-set verticals, in chain link and between diagonals; gates that open outward, self-close and self-latch, with an outside latch that is not self-locking at least 54 in up at a residential pool and a self-locking one no higher; alarms, a listed cover or self-closing doors where the house is part of the barrier; an above-ground pool's wall as the barrier; listed safety covers in place of a barrier; 4 ft construction fencing.

  • Austin City Code, §§ 25-12-301 and 25-12-303: Swimming Pool and Spa Code and local amendments

    City of Austin · checked 2026-09-28

    Used for: Adopts the 2024 International Swimming Pool and Spa Code (Ord. No. 20250410-043, effective 7-10-25), the building official enforcing it for residential pools; replaces 305.2.7 with a chain link rule: openings of 1 3/4 in or less, slatted or not; a top rail, and a bottom rail or tension wire; any tension wire keeping a 4 in sphere from passing under at 100 lb of upward force; at least 60 in high; designed for wind.

  • Fencing Regulations

    City of Austin Development Services · checked 2026-09-28

    Used for: A fence used as a swimming pool barrier follows the pool code and the safe fencing rules.

  • Texas Health and Safety Code, Chapter 757: Pool Yard Enclosures

    State of Texas · checked 2026-09-28

    Used for: 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 dwellings opening into the pool yard of a multiunit rental complex or a condominium, cooperative or town home project (757.002).

  • California Health and Safety Code § 115922: Drowning prevention safety features

    State of California · checked 2026-09-27

    Used for: A new or remodeled pool or spa at a single-family home, when a building permit is issued, has at least two of seven drowning prevention features, inspected before final approval; some pairs do not count.

  • California Health and Safety Code § 115923: Pool enclosures

    State of California · checked 2026-09-27

    Used for: An enclosure at least 60 in high, gates opening away from the pool with a self-latching device no lower than 60 in, 2 in at most under it, no gap a 4 in sphere passes, nothing a young child can climb.

  • 2025 California Building Code, Section 3109.2: California Swimming Pool Safety Act

    California Building Standards Commission · checked 2026-09-28

    Used for: The act's definition of a pool, over 18 in deep, hot tubs and spas included (115921), and its exceptions: public pools, hot tubs and spas with locking safety covers to ASTM F1346, and any residential setting other than a single-family home (115925).

  • Los Angeles Municipal Code, Secs. 91.3109 and 91.6109: Swimming pool enclosures

    City of Los Angeles · checked 2026-09-28

    Used for: A residential pool completely enclosed; on a lot with one to three homes, a barrier at least 60 in above grade outside, 2 in at most under it, or 4 in above a pool wall it is mounted on; gates that take a lock (91.3109, Ord. No. 188,797, effective 12/31/25); an existing pool or other water 18 in deep or more fenced at least 4 1/2 ft, latched at least 4 1/2 ft up, and a new one under the stricter rule (91.6109).

  • Los Angeles Municipal Code, Sec. 91.106: Permits

    City of Los Angeles · checked 2026-09-27

    Used for: The fence exemption of 91.106.2 item 13 leaves swimming pool barriers out.