Almost every U.S. jurisdiction requires a barrier around residential pools deeper than 24 inches. The national baseline — set by the International Swimming Pool and Spa Code (ISPSC) and the International Residential Code's pool provisions, then enforced through state or local building codes — is a 48-inch minimum barrier with self-closing, self-latching gates that open away from the pool. What actually changes from state to state is the legal machinery: whether the rule is a statewide statute, a statewide building code, or left entirely to your city or county — plus a handful of states that demand more, like Arizona's 60-inch enclosures and New York's mandatory pool alarms.
We verified the rules for all 50 states against state statutes, administrative codes, and official code-adoption records in July 2026. Here's the whole picture.
The national baseline: what applies almost everywhere
These are the ISPSC/IRC specifications that the majority of states enforce, and that inspectors check first:
| Requirement | Specification |
|---|---|
| Minimum barrier height | 48" above grade, measured on the outside face |
| Gap under the fence | Max 2" (4" allowed over solid surfaces in some codes) |
| Openings | Must reject a 4" sphere |
| Horizontal rails less than 45" apart | Rails go on the pool side; pickets max 1¾" apart |
| Horizontal rails 45"+ apart | Pickets max 4" apart |
| Chain link mesh | Max 2¼" square, or slats reducing openings to 1¾" |
| Gates | Self-closing, self-latching, opening outward away from the pool |
| Latch release | At least 54" above grade — or mounted on the pool side, 3"+ below the top of the gate, with no opening over ½" within 18" of the release |
| House as the fourth side | Doors with direct pool access need UL 2017 alarms, self-closing/self-latching hardware, or a powered ASTM F1346 safety cover, depending on the code |
| Applies to | Pools, spas, and hot tubs holding more than 24" of water — in-ground, above-ground, and on-ground |
A powered safety cover meeting ASTM F1346 exempts the pool from the barrier requirement in most ISPSC states, and a lockable safety cover usually exempts spas and hot tubs. Don't assume — a few local codes explicitly say covers do not replace the fence.
The three systems states actually use
Reading 50 states of pool law, a clean pattern emerges:
- Statute states wrote their own pool-safety laws with specific requirements — sometimes stricter than the ISPSC (Arizona, California), sometimes structured as a menu of options (Florida, California), sometimes adding alarm mandates on top of barriers (New York, Connecticut, Tennessee).
- Statewide-code states adopt the ISPSC or the IRC's pool provisions as part of a mandatory state building code — the 48-inch baseline applies everywhere in the state.
- Local-control states have no statewide residential pool rule at all. Two of them — Ohio and Minnesota — went out of their way to delete the pool section from their state residential codes. There, your city or county ordinance is the law, and it's usually ISPSC-based where it exists.
Find your state below.
Pool fence requirements: all 50 states at a glance
| State | Statewide rule? | Min height | Key law or code |
|---|---|---|---|
| Alabama | Code, partial enforcement | 48" | AL Residential Code (IRC-based) |
| Alaska | No — local only | Varies | Local codes (Anchorage, Juneau IRC-based) |
| Arizona | Statute | 60" | ARS §36-1681 |
| Arkansas | No — local only | Varies | Local codes |
| California | Statute | 60" (enclosure option) | Health & Safety Code §§115920–115929 (SB 442) |
| Colorado | No — local only | Varies (48" typical) | Local codes |
| Connecticut | Code + alarm statute | 48" | 2022 State Building Code (ISPSC) + CGS §29-265a |
| Delaware | County codes | 48" | County IRC-based codes |
| Florida | Statute | 48" | Fla. Stat. ch. 515 |
| Georgia | Statewide code | 48" | GA Swimming Pool and Spa Code (ISPSC) |
| Hawaii | State baseline, county rules | 48" | HRS ch. 107 (IRC) + county codes |
| Idaho | Partial | 48" where enforced | 2018 IRC statewide; local enforcement varies |
| Illinois | No — local only | Varies | Local ordinances (Zoe's Law pending) |
| Indiana | Statewide code | 48" | Indiana Residential Code R326 |
| Iowa | No — local only | Varies (48" typical) | Local codes |
| Kansas | No — local only | Varies (48" typical) | Local codes |
| Kentucky | Statewide code | 48" | 2018 KY Residential Code R326.8 |
| Louisiana | Statewide code | 48" | LSUCC (2021 IRC → ISPSC) |
| Maine | Statute | No height in statute; 48" via MUBEC | 22 M.R.S. §§1631–1634 |
| Maryland | Statewide baseline, local amendments | 48" | MD Building Performance Standards (IRC → ISPSC) |
| Massachusetts | Statewide code | 48" | 780 CMR 10th ed. (ISPSC 2021) |
| Michigan | Statewide code | 48" | MI Residential Code + 2015 ISPSC |
| Minnesota | No — pool section deleted | Varies (48–60" locally) | Minn. Rules 1309.0326; local ordinances |
| Mississippi | Rental/HOA pools only | 48" (those pools) | Montjoy Pool Safety Act §§45-43-1–31 |
| Missouri | No — local only | Varies (48" typical) | Local codes |
| Montana | Code; small residences exempt | 48" where enforced | ARM 24.301.175 (ISPSC 2021) |
| Nebraska | Default code, local amendments | 48" typical | Neb. Rev. Stat. §71-6403 (2018 IRC) |
| Nevada | No — local; Clark County strict | 60" in Clark County | Southern Nevada Pool Code |
| New Hampshire | Statewide code | 48" | RSA 155-A (ISPSC 2021 + IRC 2021) |
| New Jersey | Statewide code | 48" | UCC N.J.A.C. 5:23 (ISPSC 2021) |
| New Mexico | Statewide code | 48" | 14.7.3 NMAC, Chapter 45 |
| New York | Statute/code + alarm | 48" | RCNYS R326 — alarms required, covers existing pools |
| North Carolina | Statewide code | 48" | 2024 NC Residential Code, Appendix NC-A |
| North Dakota | No — local only | Varies | Local ordinances |
| Ohio | No — pool section deleted | Varies (48" locally) | Local ordinances |
| Oklahoma | Statewide code | 48" | OAC 748:20-6-8 (lots over 2 acres exempt) |
| Oregon | Statewide code | 48" | 2023 ORSC R329 |
| Pennsylvania | Statewide code | 48" | UCC 34 Pa. Code §403.21 (ISPSC 2021) |
| Rhode Island | Statewide code | 48" | RI Swimming Pool and Spa Code (510-RICR-00-00-14) |
| South Carolina | Statewide code | 48" | 2021 SC Residential Code R327 (ISPSC) |
| South Dakota | No — local only | Varies (48" typical) | Local codes |
| Tennessee | Alarm statute; fences local | 48" where codes adopted | Katie Beth's Law (alarms) + local codes |
| Texas | Rental/HOA pools only; city codes | 48" | H&S Code ch. 757 + municipal IRC |
| Utah | Statewide code | 48" | Utah Code §15A-2-103 (ISPSC 2021) |
| Vermont | No — local only for single-family | Varies | Local zoning; state code covers rentals |
| Virginia | Statewide code | 48" | USBC / VRC R326 (ISPSC) |
| Washington | Statewide code | 48" | WAC 51-51-0327 (ISPSC 2021) |
| West Virginia | Opt-in code | 48" where adopted | 87 CSR 4 (2018 ISPSC), local opt-in |
| Wisconsin | No — local only | Varies (4 ft common) | Local ordinances |
| Wyoming | No — local only | Varies | Local ordinances |
Heights shown are the statewide minimum where one exists. Cities and counties can — and regularly do — go stricter. Always confirm with your local building department before you build.
The strict states: where 48 inches isn't enough
Arizona — 60 inches, measured outside
ARS §36-1681 is the strictest statewide pool fence law in the country: a 5-foot (60") enclosure measured on the exterior, set at least 20 inches back from the water's edge, with no openings passing a 4-inch sphere and no external handholds or footholds. Gates must be self-closing and self-latching, opening outward, with the latch at least 54 inches up — or on the pool side, at least 5 inches below the top of the gate. The statute applies to pools deeper than 18 inches at homes where a child under six lives, and it lets cities and counties impose stricter rules, which Phoenix-metro municipalities routinely do. If the house forms one side of the enclosure, Arizona requires an approved combination of interior barriers, self-latching doors, window limiters, or a motorized safety cover.
California — pick two of seven
California's Swimming Pool Safety Act (Health & Safety Code §§115920–115929, amended by SB 442 effective 2018) works as a menu: when a pool is built or remodeled at a single-family home, it must have at least two of seven drowning-prevention features. The options: a 60-inch isolating enclosure with a latch at least 60 inches up; a removable mesh fence meeting ASTM F2286 with a self-closing, lockable gate; an ASTM F1346 safety cover; exit alarms on doors and windows with direct pool access; self-closing, self-latching door hardware with the release at least 54 inches up; an ASTM F2208 water-entry alarm; or an equivalent lab-verified protection. The building official verifies the features at final inspection.
Nevada (Clark County) — Vegas goes to 60
Nevada has no statewide residential pool law, but Clark County — Las Vegas, Henderson, and most of the state's population — enforces the Southern Nevada Pool Code, which raises the residential barrier to 60 inches with pool-side latch placement and 85-decibel door alarms where the house opens into the pool area. Water features under 18 inches deep are exempt.
The statute states: pool-safety laws with their own rules
Florida — one of five options
The Residential Swimming Pool Safety Act (Fla. Stat. ch. 515) requires every residential pool deeper than 24 inches built since October 2000 to meet at least one of five safety measures: a 48-inch barrier; an approved safety pool cover; exit alarms (at least 85 dB at 10 feet) on every door and window with direct pool access; self-closing, self-latching doors with the release at least 54 inches up; or an ASTM F2208 pool alarm. Barrier gates must open outward and self-latch with the release positioned out of a young child's reach. Skipping all five is a second-degree misdemeanor — curable within 45 days by complying and taking a drowning-prevention course.
New York — alarms on every pool, and existing pools count
New York's Residential Code (R326, summarized by the Department of State) is unusual on two fronts. First, the 48-inch barrier requirement applies to existing pools, not just new ones — the enclosure rule has been in the Uniform Code since 1984. Second, every pool installed or substantially modified since December 14, 2006 must have an ASTM F2208 pool alarm audible both poolside and inside the house, unless the pool has an automatic ASTM F1346 safety cover. Gates must self-close and self-latch with the latch at least 40 inches above grade, and the code requires gates to be locked whenever the pool is unsupervised. New York City runs its own code with similar requirements.
Connecticut — barrier plus alarm to get your permit
Connecticut applies the 2021 ISPSC statewide through its building code, so the 48-inch barrier baseline applies everywhere. On top of it, CGS §29-265a blocks the building permit for any new or substantially altered residential pool unless a pool alarm is installed — one that sounds at 50 decibels when a person or an object of 15 pounds or more enters the water. Hot tubs and portable spas with safety covers are exempt.
Tennessee — the alarm state
Tennessee has no statewide fence statute — barriers come from locally adopted codes — but Katie Beth's Law (Tenn. Code Ann. §§68-14-801–807) requires a pool alarm on every residential pool deeper than 36 inches installed or substantially altered since January 2011. The alarm must sound at 50 decibels when something weighing 15 pounds or more enters the water, and hard-wired alarms are verified at electrical inspection. Non-compliance is a Class C misdemeanor.
Maine — a fence required, but no height given
Maine's pool law (22 M.R.S. §§1631–1634) is a time capsule: it requires a fence "erected and maintained" around every outdoor pool deeper than 24 inches — new and existing — with gates "capable of being securely fastened," but it specifies no minimum height. The practical height comes from the Maine Uniform Building and Energy Code (48 inches, IRC-based), which is mandatory in towns over 4,000 people. Uniquely, the statute lets municipalities adopt rules that are more restrictive *or less* restrictive than the state law.
Texas and Mississippi — statutes for rental and HOA pools only
Texas Health & Safety Code ch. 757 sets detailed pool-yard enclosure rules — 48-inch fences, self-closing gates, latches at least 60 inches up (or pool-side, or 42 inches with keyed locks on both sides), door and window rules — but it applies only to pools controlled by multiunit rental properties and property owners associations. Owner-occupied single-family pools are governed by city codes instead (the IRC is the default municipal residential code in Texas, so 48 inches is the practical standard in every major metro). Mississippi's William Lee Montjoy Pool Safety Act (§§45-43-1 to 45-43-31) follows the same pattern: 48-inch enclosures with 60-inch latch placement for rental-complex and HOA pools, with single-family homes left to local codes.
The statewide-code states: 48 inches everywhere
These states adopt the ISPSC or the IRC's pool provisions as a mandatory statewide code, so the full national baseline above — 48-inch barrier, 4-inch sphere rule, self-closing outward gates, 54-inch latch rule, safety-cover exemptions — applies in every city and county. A few have wrinkles worth knowing:
- Georgia — statewide Swimming Pool and Spa Code since 2017; barrier must sit at least 20 inches from the water's edge. A 2024-edition update takes effect in 2026. (GA DCA)
- Kentucky — Residential Code §R326.8 spells out the full barrier spec, and gates must also be lockable. (2018 KRC, 3rd ed.)
- Indiana — its own code text: 4-foot walls or fencing around pool and deck, gates lockable — and the depth trigger is 42 inches, not 24, plus all indoor residential pools regardless of depth. (675 IAC 14-4.4-38)
- Oklahoma — rewrote the IRC pool section: 48-inch barrier, self-latching gates (no outward-opening mandate), a power-cover exemption — and lots over 2 acres are exempt entirely. (OAC 748:20-6-8)
- New York, Connecticut — see the statute section above; both layer alarms on top of the code barrier.
- Washington — newest arrival: the 2021 ISPSC took statewide effect March 15, 2024 via WAC 51-51-0327.
- Oregon — pool provisions live in ORSC R329, and Oregon amended its permit rules so the barrier fence itself requires a building permit statewide.
- Virginia — USBC applies the ISPSC through VRC R326, with a state amendment keeping pool equipment at least 36 inches from the barrier's exterior (so the equipment can't be used as a climbing aid).
- Maryland — the 2021 IRC/ISPSC baseline is mandatory in every jurisdiction, but counties may amend, and several (Anne Arundel, Montgomery, Carroll) maintain their own pool-enclosure rules on top.
- Massachusetts (780 CMR, ISPSC 2021), Michigan (2015 ISPSC), New Hampshire (RSA 155-A), New Jersey (UCC), New Mexico (14.7.3 NMAC ch. 45), North Carolina (Appendix NC-A), Pennsylvania (UCC §403.21), Rhode Island (510-RICR-00-00-14), South Carolina (SCRC R327), Utah (§15A-2-103), Louisiana (LSUCC), Alabama (enforcement varies by jurisdiction) — straight ISPSC/IRC baseline.
The local-control states: your city hall is the law
No statewide residential pool barrier rule exists in Alaska, Arkansas, Colorado, Iowa, Illinois, Kansas, Missouri, North Dakota, Ohio, South Dakota, Vermont, Wisconsin, and Wyoming — plus Minnesota, which deleted the IRC's pool section from its state code outright (Minn. Rules 1309.0326), and Ohio, whose Board of Building Standards did the same in 2019. West Virginia adopts the ISPSC at the state level but only for counties and cities that opt in; Montana adopts it but exempts residences under five dwelling units unless a local enforcement program exists; Idaho, Nebraska, and Hawaii set an IRC baseline that local governments amend and enforce unevenly.
In all of these, the working rule is the same: check your city or county ordinance. Where local codes exist they are almost always ISPSC-based — 48 inches, self-closing gates — and where they don't, your homeowner's insurance and the attractive-nuisance doctrine still make an unfenced pool a serious liability. Illinois homeowners should also watch Zoe's Law (HB2495), a pending statewide 42-inch barrier bill that had not passed as of mid-2026.
The 7 rules that fail pool fence inspections most often
- The gate swings inward. It must open away from the pool, so a child pushing on it meets resistance.
- The latch is reachable. Below 54 inches, the release must be on the pool side, at least 3 inches below the top of the gate, shielded from reach-through.
- Too much gap at the ground. More than 2 inches under the fence (4 inches on some solid surfaces) fails.
- Climbable horizontals on the outside. Rails less than 45 inches apart must face the pool side.
- Oversized chain link mesh. More than 2¼ inches square needs slats.
- A patio door with no protection. When the house is the fourth side of the barrier, doors with pool access need alarms or self-closing hardware in most codes.
- The above-ground ladder left down. Removable or lockable ladders are part of the barrier — an unsecured ladder is an open gate.
Above-ground pools
Above-ground and on-ground pools follow the same depth trigger (usually 24 inches — 18 in Arizona, 42 in Indiana). The pool's own wall can serve as the barrier if it's at least 48 inches tall and non-climbable, but the access ladder or steps must be removable, lockable, or enclosed by their own gate. Arizona requires the wall-plus-secured-ladder combination explicitly; Maine exempts portable pools with sidewalls of 24 inches or more from its fence statute.
Frequently Asked Questions
How tall does a pool fence have to be?
48 inches (4 feet) is the minimum in nearly every U.S. jurisdiction, per the ISPSC and IRC pool provisions. Arizona requires 60 inches statewide, California's enclosure option specifies 60 inches, and Clark County, Nevada (Las Vegas) requires 60 inches. Cities and counties can exceed the state minimum, so verify locally before building.
Do above-ground pools need a fence?
Yes, if they hold more than 24 inches of water (18 inches in Arizona; 42 inches in Indiana). The pool wall itself can usually serve as the barrier if it's at least 48 inches tall, but ladders and steps must be removable, lockable, or gated.
Is a pool fence required if I have a pool cover?
Often not — in most ISPSC states a powered safety cover meeting ASTM F1346 exempts the pool from the barrier requirement, and a lockable cover exempts spas and hot tubs. Florida treats an approved cover as one of five compliance options, and California counts it as one of the required two of seven features. But some local ordinances explicitly state covers do not replace the fence — check before you skip the barrier.
What is the pool fence law in Texas?
Texas Health & Safety Code chapter 757 sets 48-inch pool-yard enclosure rules, but only for pools at multiunit rental properties and HOA facilities. For owner-occupied single-family homes, pool barriers come from city building codes — practically every Texas city enforces the IRC's 48-inch standard. Unincorporated areas without a code still face liability exposure under the attractive-nuisance doctrine.
What states require pool alarms?
New York requires an ASTM F2208 pool alarm on every pool installed or substantially modified since late 2006. Connecticut requires one to obtain a permit for a new or substantially altered pool. Tennessee's Katie Beth's Law requires alarms on pools deeper than 36 inches installed since 2011. Beyond those three, door alarms (UL 2017) are a standard option anywhere the house forms the fourth side of the barrier, and California counts exit and water-entry alarms among its two-of-seven features.
Do pool fence laws apply to existing pools, or only new construction?
Most statewide codes apply at construction, remodel, or when a permit is pulled. The big exceptions: New York's barrier rule covers existing pools, Maine's fence statute covers every pool regardless of age, and Texas chapter 757 applies to existing enclosures at rental and HOA pools. Many insurers also require code-level barriers regardless of what the law grandfathers.
What happens if I don't have a pool fence?
Florida makes it a second-degree misdemeanor (curable within 45 days). Tennessee's alarm violation is a Class C misdemeanor. Elsewhere the immediate consequences are failed inspections, denied permits, and stop-work orders — and everywhere, the real exposure is civil liability. Under the attractive-nuisance doctrine, homeowners can be liable for a child drowning even if the child trespassed, and insurers routinely deny or surcharge coverage for unfenced pools.
Who enforces pool fence requirements?
Your local building department, at permit and final inspection. In statute states, code officials verify the statutory features (California requires it at final inspection). Where no local code exists, no one inspects — but liability and insurance requirements still apply in full.
---
*Building codes are adopted and amended locally; cities and counties can and do go stricter than the state baseline, and legislatures amend statutes. We verified every citation above against official state sources in July 2026 — but before you build, confirm the current rules with your local building department. This guide is research, not legal advice. For the fence itself, our pool fence cost data and fence company directory cover the build side.*
Get the next guide in your inbox
Fence costs, rankings, and what AI is telling homeowners — researched, no fluff.