Pool barrier planning
Pool Fence Requirements: Height, Gaps & Gates
A picket gap alone does not make a pool fence safe. CPSC recommends a barrier at least 48 inches high and openings that cannot pass a 4-inch-diameter sphere. Climbable rails can require smaller gaps. CPSC guidance is not law; model codes apply through local adoption. Check with your building department before building.
US federal guidance: CPSC recommendations
The CPSC Safety Barrier Guidelines for Residential Pools, Pub. 362, are voluntary guidelines, not a mandatory federal fence standard. Barriers do not replace adult supervision.
- Height: at least 48 inches, measured from the ground outside the pool enclosure.
- Openings: a 4-inch-diameter sphere must not pass. Bottom clearance: no more than 4 inches over a solid surface, reduced to 2 inches over grass or pebbles.
- Rails: when their tops are less than 45 inches apart vertically, put horizontal members on the pool side and keep picket gaps to 1¾ inches maximum. Decorative cutouts also have a 1¾-inch maximum.
- Chain link: mesh no larger than 1¼ inches square, or slats fastened at the top or bottom reducing openings to 1¾ inches maximum.
- Pedestrian gates: open away from the pool, close themselves and latch themselves; provide a locking device.
- Latch release below 54 inches from the gate bottom: place it on the pool side at least 3 inches below the gate top, with no opening larger than ½ inch within 18 inches of the release.
Model codes: ISPSC and IRC Appendix G
These are model provisions for jurisdictions to adopt or amend. Use the edition your building department enforces.
International Swimming Pool and Spa Code (ISPSC)
The linked ICC text is the 2024 ISPSC. Its barrier rules include:
- §305.2.1: minimum height 48 inches, maintained around the perimeter and for 3 feet horizontally outside. Maximum bottom gaps: 2 inches over grass or gravel; 4 inches over solid surfaces.
- §305.2.2: openings must stop a 4-inch-diameter sphere.
- §§305.2.6–305.2.7: rail tops less than 45 inches apart vertically require pool-side rails and 1¾-inch maximum picket gaps. At 45 inches or more, picket gaps may be up to 4 inches, subject to the sphere rule. Cutouts remain limited to 1¾ inches.
- §305.2.8: chain link openings cannot exceed 1¾ inches. This differs from CPSC's mesh recommendation.
- §305.3: pedestrian gates open away from the pool, self-close and self-latch, with provision for locking.
§305.3.3 distinguishes residential latch types: an outside release without a self-locking lock is at least 54 inches above finished ground or floor; key, electronic or combination self-locking controls/releases are at most 54 inches. An inside-only private-pool release is at least 3 inches below the gate top. Under §305.3.4, inside releases require openings no larger than ½ inch within 18 inches.
International Residential Code (IRC), Appendix G
The older 2012 IRC Appendix G applies only when specifically referenced in the adopting ordinance. §AG105.2, items 1–2, specifies 48-inch minimum height, 2-inch maximum ground clearance and the 4-inch sphere test. Items 4–5 distinguish closely and widely spaced rails; item 8 covers gates and protected latch releases. Do not substitute this older appendix for your locally adopted code.
Local rules govern
Ask your building department which code edition and amendments apply, what permits are needed and how the barrier will be inspected. States, counties and cities can change model requirements. Check HOA restrictions separately; HOA approval does not replace code approval. If the house forms part of the enclosure, ask about protection for doors and windows leading to the pool.
Check an existing or planned picket fence
Measure clear gaps edge to edge, including end gaps beside posts, gate hinges and latches. Inspect the largest opening under each bay, especially on slopes. Measure rail spacing vertically from top to top before choosing a picket gap: the 45-inch rail threshold in ISPSC §§305.2.6–305.2.7 can change the permitted opening.
Use the picket spacing calculator to plan equal gaps with your actual board width and the limit your building department confirms. Check finished openings and gate operation on site. The calculator does not approve a pool barrier. For budgeting, use the fence installation cost guide.
Is a 4-inch gap safe for a pool, child or small dog?
For a pool, follow the whole barrier rule. An opening that passes a 4-inch sphere fails CPSC's opening recommendation; climbable rails can call for tighter spacing. Do not treat a nominal gap measurement as proof of compliance.
For small children, CPSC bases that 4-inch test on a young child's head breadth and chest depth. It is intended to restrict passage, not make a fence childproof.
For dogs, there is no dog-containment gap rule in these pool-barrier provisions. Do not use the child-barrier test as a pet guarantee. Check your actual dog's ability to squeeze through, dig under or climb over the complete fence, including gates.