Describe your pool fence and its gate: the kind, the height from the ground outside, the gap under it and between its parts, and how the gate closes and latches. You get pass or fail on every rule of the pool-barrier code, each with its section number.
Your pool fence
Your fence passes all 7 checks of the pool barrier codeISPSC 2021 §305 and CPSC Pub. 362 · 48″ high, 48″ needed
Quick answer: under the pool code (ISPSC 2021 §305) and CPSC’s barrier guidelines, a pool fence is at least 48 inches high, measured from the ground outside; leaves no more than 2 inches under it over grass or gravel (4 over concrete); lets no 4-inch ball through; keeps pickets no more than 1¾ inches apart when its rails are less than 45 inches apart; and has a gate that opens out, closes and latches by itself, with the latch release at least 54 inches up. Where a wall of the house is part of the barrier, its doors, gates and low windows onto the pool need UL 2017 pool alarms, a listed ASTM F1346 safety cover, or approved protection (§305.4). Your town may ask more.
How to use the pool fence checker
- Pick the kind of fence: pickets and rails (wood, aluminum, vinyl), chain link, a removable mesh fence, or a solid fence or glass panels.
- Measure from the outside: the height from the ground to the top, the gap under it, and the gaps between its parts. Measure where the ground is lowest.
- Describe the gate: which way it opens, whether it closes and latches by itself, and where the latch release is. Enter your town’s height if it is not 48.
- Is the house part of the barrier? If a wall with doors or windows onto the pool closes one side, say what protects them: pool alarms, a safety cover, or self-closing doors.
Building a deck at an above-ground pool? The pool deck calculator sizes the deck, its railing and its steps.
The rules, and where they come from
Height. ISPSC 2021 §305.2.1: “The top of the barrier shall be not less than 48 inches … above grade where measured on the side of the barrier that faces away from the pool”, and that height must hold “for a distance of 3 feet … measured horizontally from the outside”. Some towns amend it: Denver asks 60 inches.
Under it. The gap at the bottom “shall not exceed 2 inches” over grass or gravel and 4 inches over concrete. CPSC Pub. 362 adds “1 inch for removable mesh fences”.
Openings. §305.2.2: openings “shall not allow passage of a 4-inch-diameter sphere”. §305.2.5: where the horizontal members are less than 45 inches apart (top to top), they go “on the pool or spa side”, and vertical members are at most 1¾ inches apart. §305.2.6: 45 inches or more apart, verticals may be up to 4 inches apart. CPSC: the 1¾ inches “is based on the foot width of a young child”.
Chain link. §305.2.7: openings “not more than 1 3/4 inches”. CPSC is stricter: “Maximum mesh size for chain link fences should not exceed 1¼ inch square unless the fence is provided with slats”.
Gates. §305.3: pedestrian gates “shall open outward away from the pool or spa, shall be self-closing and shall have a self-latching device”. §305.3.3: a latch released from outside is “not less than 54 inches” up at a home pool; one released only from the pool side sits “at least 3 inches … below the top of the gate”, with openings within 18 inches of it no wider than ½ inch (§305.3.4).
The house wall. §305.4: “Where a wall of a dwelling or structure serves as part of the barrier and where doors, gates or windows provide direct access to the pool or spa through that wall, one of the following shall be required”: 1. “Operable windows having a sill height of less than 48 inches … above the indoor finished floor, doors and gates shall have an alarm that produces an audible warning when the window, door or their screens are opened. The alarm shall be listed and labeled as a water hazard entrance alarm in accordance with UL 2017.” Its off switches go “not less than 54 inches” above the floor, or 48 to 54 inches in an Accessible, Type A or Type B unit. 2. “A safety cover that is listed and labeled in accordance with ASTM F1346”. 3. “An approved means of protection, such as self-closing doors with self-latching devices”, at least as protective as the first two.
Pool fence requirements at a glance
| What | The rule | Section |
|---|---|---|
| Height, from the ground outside | at least 48″ | ISPSC 305.2.1 |
| Gap under it, grass or gravel | at most 2″ | ISPSC 305.2.1 |
| Gap under it, concrete | at most 4″ | ISPSC 305.2.1 |
| Any opening | no 4″ ball through | ISPSC 305.2.2 |
| Pickets, rails under 45″ apart | at most 1¾″ apart, rails on the pool side | ISPSC 305.2.5 |
| Pickets, rails 45″ or more apart | at most 4″ apart | ISPSC 305.2.6 |
| Chain link opening | at most 1¾″ (CPSC: 1¼″ without slats) | ISPSC 305.2.7 |
| Removable mesh fence | at most 1″ under it, 20″ from the water | ISPSC 305.2.4 |
| Gate | opens out, self-closing, self-latching | ISPSC 305.3 |
| Latch release from outside | at least 54″ up | ISPSC 305.3.3 |
| House wall: doors, gates, windows under a 48″ sill | UL 2017 alarm, off switch at least 54″ up | ISPSC 305.4 |
| House wall, instead of alarms | a listed ASTM F1346 safety cover, or approved protection | ISPSC 305.4 |
From the International Swimming Pool and Spa Code 2021, section 305, and CPSC Publication 362. Your town or state adopts the code, sometimes amended: ask the building department.
Worked examples
Your fence passes all 7 checks of the pool barrier code: a 48″ aluminum fence, pickets 3¾″ apart with its rails 46″ apart, 2″ above the grass, and a gate that opens out, closes and latches itself with the latch at 54″.
Your fence fails 2 of 8 checks: the rails face out, pickets too far apart: a wood picket fence with rails 30″ apart is a ladder from outside. Turn the rails to the pool side and close the gaps to 1¾″.
Your chain link fence fails 1 of 7 checks: chain link too open: common 2¼″ chain link. Slats can bring the openings down to 1¾″.
Your fence fails 4 of 7 checks: too low, too much gap under it, the gate opens in, the latch is too low: a garden fence is not a pool barrier.
Your fence and house wall fail 1 of 10 checks: low windows have no alarm: the patio door has its pool alarm, but a kitchen window 36″ off the floor opens onto the pool too.
Common mistakes
- Measuring from the pool side. The code measures from the side facing away from the pool, where a child would climb. A slope or a raised bed outside makes the fence shorter.
- Rails on the outside. Under 45″ apart, they are steps. §305.2.5 puts them on the pool side.
- A latch a child can reach. From outside, 54″ or higher. And check the gate swings shut and latches from every angle: CPSC: “The weak link in the strongest and highest fence is a gate that fails to close and latch completely.”.
- Something to climb outside it. Pool equipment, planters or furniture within 36″ outside the fence (§305.2.9).
- Alarming only the door. Opening windows with a sill under 48″ from the floor inside need alarms too (§305.4).
- Assuming the model code. Towns amend it. Ask before you build.
More on pools at Dreamy Home Style
Planning the yard around it? Draw it to scale in the free 2D floor planner.
Pool fence questions
What are the pool fence requirements?
Under ISPSC 2021 §305: at least 48″ high from outside, at most 2″ under it on grass (4″ on concrete), no opening a 4″ ball passes, and a gate that opens out, closes and latches itself. Towns may ask more.
What does the pool fence code say about height?
Not less than 48 inches, measured on the side facing away from the pool, all the way round and for 3 feet out from the fence. Denver amends it to 60.
How high does a pool fence have to be?
48 inches under the model code and CPSC’s guidelines, measured from the ground outside the fence. Check your town: an amendment can raise it.
How high does a pool gate latch have to be?
A latch released from outside: at least 54 inches above the ground. One released only from the pool side: at least 3 inches below the top of the gate, with no opening over ½ inch within 18 inches of it.
Does a pool gate have to be self-closing?
Yes. ISPSC §305.3: pedestrian gates open outward away from the pool, are self-closing and have a self-latching device.
Is a chain link fence allowed around a pool?
Only with small openings: the code allows 1¾″, CPSC 1¼″ unless slats close it to 1¾″. Ordinary 2″ to 2¼″ chain link fails both.
Do I need a door alarm for my pool?
When a wall of the house is part of the pool barrier and a door opens onto the pool, yes, unless the pool has a listed ASTM F1346 safety cover or another approved protection (ISPSC §305.4). The alarm is “listed and labeled as a water hazard entrance alarm in accordance with UL 2017”.
What are the pool door alarm requirements?
An audible warning when the door, gate, window or their screens open; listed to UL 2017; on every door and gate in the wall and every opening window with a sill under 48″; the off switch at least 54″ above the floor (48–54″ in an accessible unit). §305.4.
