Pool fence rules
The federal safety guidelines for a fence around a home pool, hot tub or spa: height, gaps, slats and mesh, and self-closing, self-latching gates.
Updated November 3, 2026 · 1 official source
On this page: 2 sections
The US Consumer Product Safety Commission publishes guidelines for a barrier around a home pool, hot tub or spa. They aren't a federal law, but some states and towns have put them into their building codes, so check what yours requires.1
What the guidelines say
For an outdoor pool, hot tub or spa, the guidelines say:1
- The top of the barrier should be at least 48 inches above the ground, measured on the side away from the pool.
- The gap under the barrier should be no more than 4 inches, measured on the outside. Over grass or pebbles it should be no more than 2 inches, and 1 inch for a removable mesh fence.
- No opening should let a 4-inch ball through.
- Chain link mesh should be no more than 1¼ inches square, unless slats bring the openings down to 1¾ inches.
- Where the rails are less than 45 inches apart, they should be on the pool side, so a child can't use them to climb, and the space between vertical boards or pickets should be no more than 1¾ inches. Where they're more than 45 inches apart, the rails can be on the outside, and the space between boards or pickets should be no more than 4 inches.
- A gate people walk through should open outward, away from the pool, close by itself and latch by itself. Any other gate should latch by itself.
- Where the latch release is less than 54 inches from the bottom of the gate, it should be on the pool side, at least 3 inches below the top.
What to ask before work starts
- Does my town have its own pool barrier rules, and does the fence need a permit?
- Will the gate close and latch on its own, and which way will it swing?
- How big are the gaps under the fence and between the boards or pickets?
Pool barrier guidelines from the US Consumer Product Safety Commission, checked November 2026.
