State guides · Pools · Fences and barriers
Pool fence laws by state: height, gate and latch rules
The barrier rules most states use (48-inch fence, self-closing gate, latch at 54 inches), which code your state runs, and the states with their own pool laws: Arizona, California, Florida, New York and Texas. Check your own fence against the numbers below.
Most state residential codes based on the 2015 or later IRC send pools to the International Swimming Pool and Spa Code (ISPSC), whose Section 305 sets the barrier rules. States and towns can amend them, and many towns are stricter, so your local code office has the final word. Checked Nov. 12, 2026; not legal advice.
Will my pool fence pass?
Checks the ISPSC Section 305 numbers (Arizona’s 5-foot rule if you pick Arizona). Your town can be stricter; this isn’t an inspection.
| Enter your fence and gate details |
The barrier rules most states use (ISPSC Section 305)
| Item | Rule |
|---|---|
| Height | At least 48 inches above grade, measured on the side away from the pool. |
| Gap at the bottom | 2 inches max over grass, soil or gravel; 4 inches max over concrete or another solid surface. |
| Openings | No opening a 4-inch sphere can pass through. |
| Rails and pickets | If the tops of the horizontal rails are less than 45 inches apart, the rails go on the pool side and pickets can be no more than 1 3/4 inches apart. At 45 inches or more apart, pickets can be up to 4 inches apart. |
| Chain link | Mesh openings no bigger than 1 3/4 inches (slats can be used to get there). |
| Gates | Open outward, away from the pool; self-closing and self-latching. A release lower than 54 inches goes on the pool side, at least 3 inches below the top, with no opening over 1/2 inch within 18 inches of it. |
| House as part of the barrier | One of: listed entrance alarms on doors and low windows that open toward the pool, an ASTM F1346 safety cover on the pool, or another approved means such as self-closing, self-latching doors. |
| Clear zone | At least 36 inches clear outside the barrier, so pumps, filters, heaters and other permanent equipment can’t be used to climb it. |
| Spas and hot tubs | Exempt from the barrier rules with a lockable safety cover that meets ASTM F1346. |
From the 2018 ISPSC Section 305 text as published by Buckingham Township, PA; see the 2021 ISPSC for your edition. Arizona, California, Florida and Texas have their own statutes (below).
Pool barrier rules, state by state
| State | Residential code | Where pool barrier rules come from | State pool law we found |
|---|---|---|---|
| Alabama | 2015 IRC with Alabama amendments (some areas only) | ISPSC through the state code, but only where it’s enforced locally | — |
| Alaska | No statewide residential code | No statewide residential code; your city or county decides | — |
| Arizona | No statewide residential code | No statewide residential code; your city or county decides | At a home where a child under 6 lives: a 5-foot wall, fence or barrier at least 20 inches from the water, gates that open outward and are self-closing and self-latching, with the latch placement the statute sets. Cities and counties can set their own rules. A.R.S. 36-1681, AZDHS |
| Arkansas | 2021 IRC amended by the State Fire Marshal | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| California | 2025 California Residential Code (2024 IRC) | California codes plus the Swimming Pool Safety Act | A new or remodeled pool or spa at a single-family home needs at least two of seven drowning prevention features: an isolation enclosure, removable mesh fence, safety cover, exit alarms, self-closing self-latching doors, a pool alarm, or another approved means. HSC 115922 |
| Colorado | No statewide residential code | No statewide residential code; your city or county decides | — |
| Connecticut | 2021 IRC with Connecticut amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Delaware | No statewide residential code | No statewide residential code; your city or county decides | — |
| District of Columbia | 2015 IRC with D.C. amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Florida | Florida Building Code, Residential, 8th Ed. (2021 IRC) | Florida Building Code plus Chapter 515 | A new residential pool must have at least one safety feature to pass final inspection: a barrier at least 4 feet high outside with outward-opening, self-closing, self-latching gates; an approved safety cover; exit alarms; self-closing, self-latching doors with the release at least 54 inches up; or a pool alarm. Fla. Stat. ch. 515 |
| Georgia | 2024 IRC with Georgia amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Hawaii | State residential code (2018 IRC); counties enforce their own | ISPSC through the state code, but only where it’s enforced locally | — |
| Idaho | 2018 IRC with Idaho amendments (where locally enforced) | ISPSC through the state code, but only where it’s enforced locally | — |
| Illinois | No statewide residential code | No statewide residential code; your city or county decides | — |
| Indiana | 2018 IRC with Indiana amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Iowa | 2024 IRC with Iowa amendments (some areas only) | ISPSC through the state code, but only where it’s enforced locally | — |
| Kansas | No statewide residential code | No statewide residential code; your city or county decides | — |
| Kentucky | 2018 Kentucky Residential Code (2015 IRC) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Louisiana | 2021 IRC with Louisiana amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Maine | 2021 IRC with Maine amendments (some areas only) | ISPSC through the state code, but only where it’s enforced locally | — |
| Maryland | 2021 IRC (local amendments allowed) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Massachusetts | 2021 IRC with Massachusetts amendments (780 CMR) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Michigan | 2021 Michigan Residential Code | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Minnesota | 2020 Minnesota Residential Code (2018 IRC) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Mississippi | Local codes | No statewide residential code; your city or county decides | — |
| Missouri | No statewide residential code | No statewide residential code; your city or county decides | — |
| Montana | 2024 IRC with Montana amendments (where locally enforced) | ISPSC through the state code, but only where it’s enforced locally | — |
| Nebraska | 2018 IRC (local amendments allowed) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Nevada | No statewide residential code | No statewide residential code; your city or county decides | — |
| New Hampshire | 2024 IRC with New Hampshire amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| New Jersey | 2024 IRC, New Jersey edition | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| New Mexico | 2021 New Mexico Residential Building Code | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| New York | 2025 Residential Code of New York State (2024 ICC codes) | Residential Code of NYS (Section R326) | Every pool installed, built or substantially modified after Dec. 14, 2006 needs an approved pool alarm that detects a child entering the water. 19 NYCRR 1220.5 |
| North Carolina | 2018 North Carolina Residential Code (2015 IRC) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| North Dakota | 2024 IRC with North Dakota amendments (where locally enforced) | ISPSC through the state code, but only where it’s enforced locally | — |
| Ohio | Residential Code of Ohio (2018 IRC) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Oklahoma | 2024 IRC with Oklahoma amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Oregon | 2026 Oregon Residential Specialty Code (2024 IRC) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Pennsylvania | 2021 IRC with PA modifications | The Uniform Construction Code adopts the ISPSC | The state’s code council adopted the 2021 ISPSC with modifications in its 2024 review. Pools, spas and hot tubs that can hold 24 inches or more of water need a permit. PA RAC 2024, Allentown checklist |
| Rhode Island | 2021 IRC with Rhode Island amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| South Carolina | 2021 IRC with South Carolina modifications | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| South Dakota | No statewide residential code | No statewide residential code; your city or county decides | — |
| Tennessee | 2018 IRC with Tennessee amendments (towns can opt out) | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Texas | 2012 IRC, municipal baseline | The 2012 IRC keeps pool barriers in Appendix G, which applies only where a city adopts it | Chapter 757 covers pools at multiunit rental complexes and property owners associations: an enclosure at least 48 inches high, no opening under it a 4-inch sphere can pass, plus gate rules. Tex. HSC ch. 757 |
| Utah | 2021 IRC with Utah amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Vermont | No statewide code for owner-occupied single-family homes | No statewide residential code; your city or county decides | — |
| Virginia | 2021 Virginia Residential Code | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| Washington | 2021 IRC with Washington amendments | ISPSC barrier rules through the state code (IRC R326), unless amended | — |
| West Virginia | 2018 IRC with exceptions (where locally enforced) | ISPSC through the state code, but only where it’s enforced locally | — |
| Wisconsin | Wisconsin Uniform Dwelling Code (not the IRC) | State dwelling code isn’t the IRC; check your municipality’s pool ordinance | — |
| Wyoming | No statewide residential code | No statewide residential code; your city or county decides | — |
Residential code editions are from our building codes by state guide. We checked the states best known for their own pool laws plus Pennsylvania; a dash means we didn’t find a separate statute, not that none exists. Many cities and counties add their own pool ordinances.
The Uniform Construction Code adopts the ISPSC, so the 48-inch fence, outward-swinging self-closing gate and 54-inch latch rules apply. Pools, spas and hot tubs that can hold 24 inches or more of water need a permit from your municipality’s code office before you build; use our PA building permit lookup to find yours.
Questions
How tall does a pool fence have to be?
At least 48 inches, measured on the outside, under the International Swimming Pool and Spa Code that most state residential codes point to. Arizona requires 5 feet at homes where a child under 6 lives, and cities and counties can require more.
Which way should a pool gate open?
Outward, away from the pool, and it has to be self-closing and self-latching. If the latch release is lower than 54 inches, it goes on the pool side at least 3 inches below the top of the gate, with no openings bigger than 1/2 inch within 18 inches of it.
Can my house wall be part of the pool barrier?
Yes, under the ISPSC, if the doors and low windows that open toward the pool have listed entrance alarms, the pool has an ASTM F1346 safety cover, or another approved means such as self-closing, self-latching doors protects it.
Does an above-ground pool need a fence?
Often not a separate one. The pool wall can serve as the barrier if it meets the height and climbability rules, and the ladder or steps must be removable, lockable or fenced. Florida’s statute spells this out, and the ISPSC handles it the same way.
Does a hot tub need a fence?
Not under the ISPSC if it has a lockable safety cover that meets ASTM F1346. Local rules can differ, so check before you skip it.
What are Pennsylvania’s pool fence requirements?
Pennsylvania’s Uniform Construction Code adopts the ISPSC, so the 48-inch barrier, gate and latch rules on this page apply. Pools, spas and hot tubs that can hold 24 inches or more of water need a permit from your municipality’s code office.
Sources: ICC, 2021 International Swimming Pool and Spa Code, Chapter 3; Buckingham Township, PA: ISPSC Section 305 barrier requirements (PDF); Arizona Revised Statutes 36-1681, Pool enclosures; Arizona Department of Health Services, Residential Pool Safety Guidelines (PDF); California Health and Safety Code 115922 (Swimming Pool Safety Act); Florida Statutes Chapter 515, Residential Swimming Pool Safety Act; New York Uniform Code pool alarm rules, 19 NYCRR 1220.5 (town copy, PDF); Texas Health and Safety Code Chapter 757, Pool Yard Enclosures; Pennsylvania UCC Review and Advisory Council, 2021 ICC code adoption report (Sept. 2024, PDF); City of Allentown, PA swimming pool checklist (PDF). Checked Nov. 12, 2026.
Muthler Landscaping & Construction · Lock Haven, PA
Building around a pool?
We build pool patios, walks and retaining walls across Clinton, Centre, Lycoming and Union counties, and we lay out the hardscape so the fence line, gate swing and 36-inch clear zone still work.
Get a quoteRetaining wall permits by stateNot local? Groundwork Design Co. draws your pool patio to scale with the barrier line on the plan.
Muthler Landscaping & Construction LLC · 913 Bellefonte Ave, Lock Haven, PA 17745 · (570) 397-9800 · PA HIC #PA212584.
Using this guide? Link to it or cite it. It’s free to use with a link back, and we keep it updated against official sources.
Cite as: Muthler Landscaping & Construction, “Pool Fence Laws by State,” https://muthlerlandscaping.com/state-guides/pool-fence-laws/ (last checked November 12, 2026).
Get an email when your state’s rules change
We re-check every entry against official sources. Tell us your state and we’ll email you when something changes.