Skip to content
LOCK HAVEN, PA · PA HIC #PA212584 · INSURED FREE ESTIMATES · CALL OR TEXT
PAGE

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.

Read this first

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.

Result—
Enter your fence and gate details

The barrier rules most states use (ISPSC Section 305)

ItemRule
HeightAt least 48 inches above grade, measured on the side away from the pool.
Gap at the bottom2 inches max over grass, soil or gravel; 4 inches max over concrete or another solid surface.
OpeningsNo opening a 4-inch sphere can pass through.
Rails and picketsIf 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 linkMesh openings no bigger than 1 3/4 inches (slats can be used to get there).
GatesOpen 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 barrierOne 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 zoneAt 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 tubsExempt 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

StateResidential codeWhere pool barrier rules come fromState pool law we found
Alabama2015 IRC with Alabama amendments (some areas only)ISPSC through the state code, but only where it’s enforced locally—
AlaskaNo statewide residential codeNo statewide residential code; your city or county decides—
ArizonaNo statewide residential codeNo statewide residential code; your city or county decidesAt 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
Arkansas2021 IRC amended by the State Fire MarshalISPSC barrier rules through the state code (IRC R326), unless amended—
California2025 California Residential Code (2024 IRC)California codes plus the Swimming Pool Safety ActA 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
ColoradoNo statewide residential codeNo statewide residential code; your city or county decides—
Connecticut2021 IRC with Connecticut amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
DelawareNo statewide residential codeNo statewide residential code; your city or county decides—
District of Columbia2015 IRC with D.C. amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
FloridaFlorida Building Code, Residential, 8th Ed. (2021 IRC)Florida Building Code plus Chapter 515A 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
Georgia2024 IRC with Georgia amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
HawaiiState residential code (2018 IRC); counties enforce their ownISPSC through the state code, but only where it’s enforced locally—
Idaho2018 IRC with Idaho amendments (where locally enforced)ISPSC through the state code, but only where it’s enforced locally—
IllinoisNo statewide residential codeNo statewide residential code; your city or county decides—
Indiana2018 IRC with Indiana amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
Iowa2024 IRC with Iowa amendments (some areas only)ISPSC through the state code, but only where it’s enforced locally—
KansasNo statewide residential codeNo statewide residential code; your city or county decides—
Kentucky2018 Kentucky Residential Code (2015 IRC)ISPSC barrier rules through the state code (IRC R326), unless amended—
Louisiana2021 IRC with Louisiana amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
Maine2021 IRC with Maine amendments (some areas only)ISPSC through the state code, but only where it’s enforced locally—
Maryland2021 IRC (local amendments allowed)ISPSC barrier rules through the state code (IRC R326), unless amended—
Massachusetts2021 IRC with Massachusetts amendments (780 CMR)ISPSC barrier rules through the state code (IRC R326), unless amended—
Michigan2021 Michigan Residential CodeISPSC barrier rules through the state code (IRC R326), unless amended—
Minnesota2020 Minnesota Residential Code (2018 IRC)ISPSC barrier rules through the state code (IRC R326), unless amended—
MississippiLocal codesNo statewide residential code; your city or county decides—
MissouriNo statewide residential codeNo statewide residential code; your city or county decides—
Montana2024 IRC with Montana amendments (where locally enforced)ISPSC through the state code, but only where it’s enforced locally—
Nebraska2018 IRC (local amendments allowed)ISPSC barrier rules through the state code (IRC R326), unless amended—
NevadaNo statewide residential codeNo statewide residential code; your city or county decides—
New Hampshire2024 IRC with New Hampshire amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
New Jersey2024 IRC, New Jersey editionISPSC barrier rules through the state code (IRC R326), unless amended—
New Mexico2021 New Mexico Residential Building CodeISPSC barrier rules through the state code (IRC R326), unless amended—
New York2025 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 Carolina2018 North Carolina Residential Code (2015 IRC)ISPSC barrier rules through the state code (IRC R326), unless amended—
North Dakota2024 IRC with North Dakota amendments (where locally enforced)ISPSC through the state code, but only where it’s enforced locally—
OhioResidential Code of Ohio (2018 IRC)ISPSC barrier rules through the state code (IRC R326), unless amended—
Oklahoma2024 IRC with Oklahoma amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
Oregon2026 Oregon Residential Specialty Code (2024 IRC)ISPSC barrier rules through the state code (IRC R326), unless amended—
Pennsylvania2021 IRC with PA modificationsThe Uniform Construction Code adopts the ISPSCThe 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 Island2021 IRC with Rhode Island amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
South Carolina2021 IRC with South Carolina modificationsISPSC barrier rules through the state code (IRC R326), unless amended—
South DakotaNo statewide residential codeNo statewide residential code; your city or county decides—
Tennessee2018 IRC with Tennessee amendments (towns can opt out)ISPSC barrier rules through the state code (IRC R326), unless amended—
Texas2012 IRC, municipal baselineThe 2012 IRC keeps pool barriers in Appendix G, which applies only where a city adopts itChapter 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
Utah2021 IRC with Utah amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
VermontNo statewide code for owner-occupied single-family homesNo statewide residential code; your city or county decides—
Virginia2021 Virginia Residential CodeISPSC barrier rules through the state code (IRC R326), unless amended—
Washington2021 IRC with Washington amendmentsISPSC barrier rules through the state code (IRC R326), unless amended—
West Virginia2018 IRC with exceptions (where locally enforced)ISPSC through the state code, but only where it’s enforced locally—
WisconsinWisconsin Uniform Dwelling Code (not the IRC)State dwelling code isn’t the IRC; check your municipality’s pool ordinance—
WyomingNo statewide residential codeNo 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.

In Pennsylvania

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 state

Not 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).