Pool Fence Requirements: Code, State Rules & Cost
What pool barrier code requires, what your state adds or leaves to your town — every state checked against its own statute or building code, with the rule text one click away — and what a compliant fence costs.
Last updated · All 50 states verified against official sources September 27, 2026 · Not legal advice
The short answer
Under the model pool code (the ISPSC) that most state codes build on, a pool barrier must be at least 48 in tall, with no opening a 4 in sphere can pass, no more than 2 in under it (4 in over a solid surface), and gates that open outward, self-close and self-latch, with an outside latch release at least 54 in up. 26 states set a statewide rule; 24 leave it to cities and counties. Only Arizona and California require 60 in statewide.
All 50 states. Shows who sets the rule, the minimum height, gates, above-ground pools, covers and alarms — each with its source and the rule text.
Try:
The model-code baseline
Most state codes adopt the International Swimming Pool and Spa Code (ISPSC), directly or through the residential code, so its Section 305 is the baseline your state card is measured against. The core rules, from the code text quoted in our state records:
- Barrier height
- At least 48 in (4 ft) — Measured from grade on the side of the barrier that faces away from the pool.
View the rule text
“The top of the barrier shall be not less than 48 inches (1219 mm) above grade where measured on the side of the barrier that faces away from the pool or spa.”
2021 ISPSC §305.2.1 · 2021 International Swimming Pool and Spa Code, Chapter 3 “The top of the barrier shall be not less than 48 inches (1219 mm) above grade where measured on the side of the barrier that faces away from the pool or spa.”
2024 ISPSC §305.2.1 · 2024 International Swimming Pool and Spa Code, Chapter 3 (codes.iccsafe.org) - Openings
- Must not pass a 4 in sphereAs restated in the verified records for Connecticut and Georgia.
- Gap under the barrier
- 2 in max over grass or gravel; 4 in over a solid surfaceAs restated in the verified records for Connecticut and Georgia.
- Gates
- Open outward, self-closing, self-latching, able to take a lock — Pedestrian gates open away from the pool.
View the rule text
“Pedestrian access doors and gates shall open outward away from the pool or spa, shall be self-closing and shall have a self-latching device.”
2021 ISPSC §305.3 · 2021 International Swimming Pool and Spa Code, Chapter 3 “Pedestrian access doors and gates shall open outward away from the pool or spa, shall be self-closing and shall have a self-latching device. Doors and gates shall not swing over stairs.”
2024 ISPSC §305.3 · 2024 ISPSC Chapter 3 (ICC free view) - Latch height
- An outside latch release at least 54 in above the ground — Applies to latches that are not self-locking. A release on the pool side only must be at least 3 in below the top of the gate.
View the rule text
“At residential pools and spas, not less than 54 inches (1372 mm).”
2024 ISPSC §305.3.3 · 2024 ISPSC Chapter 3 (ICC free view) - Near an inside latch
- No opening over 1/2 in within 18 in of the latchAs restated in the verified records for Connecticut.
- House wall as part of the barrier
- Doors and low windows to the pool need an alarm, a safety cover or another approved means — The alarm is UL 2017-listed; the cover meets ASTM F1346; the other approved means is typically self-closing, self-latching doors.
View the rule text
“Operable windows having a sill height of less than 48 inches (1219 mm) above the indoor finished floor and doors shall have an alarm that produces an audible warning when the window, door or their screens are opened.”
2015 ISPSC §305.4 · 2015 ISPSC Chapter 3 - Powered safety cover
- A pool with a powered ASTM F1346 cover is exempt from the barrier sections — Spas and hot tubs need a lockable ASTM F1346 cover. Several states delete or limit this exemption (see the table).
View the rule text
“swimming pools are equipped with a powered safety cover that complies with ASTM F1346, the areas where those spas, hot tubs or pools are located shall not be required to comply with Sections 305.2 through 305.7.”
2024 ISPSC §305.1 · 2024 International Swimming Pool and Spa Code, Chapter 3 (codes.iccsafe.org) - Above-ground pools
- The pool wall can be the barrier — If it sits on grade, is at least 48 in high all the way round and the manufacturer allows it; ladders or steps must be secured, locked, removed or fenced.
View the rule text
“Where only the pool wall serves as the barrier, the bottom of the wall is on grade, the top of the wall is not less than 48 inches (1219 mm) above grade for the entire perimeter of the pool, the wall complies with the requirements of Section 305.2 and the pool manufacturer allows the wall to serve as a barrier.”
2024 ISPSC §305.5 · 2024 International Swimming Pool and Spa Code, Chapter 3 (codes.iccsafe.org)
What changes between editions
States adopt different editions, and a few details moved. Your state card names the edition it uses.
- 2015 and 2018 editions: a latch release lower than 54 in must be on the pool side, at least 3 in below the top of the gate, with no opening over 1/2 in within 18 in of it.
View the rule text
“Where the release mechanism of the self-latching device is located less than 54 inches (1372 mm) from grade, the release mechanism shall be located on the pool or spa side of the gate”
2015 ISPSC §305.3.3 · 2015 ISPSC Chapter 3 - 2021 and 2024 editions: an outside release on a latch that is not self-locking must be at least 54 in up; a key, combination or electronic self-locking latch no higher than 54 in.
View the rule text
“1.2. At residential pools and spas, not less 54 inches (1372 mm).”
2021 ISPSC §305.3.3 (ICC prints "not less 54 inches", missing "than") · 2021 International Swimming Pool and Spa Code, Chapter 3 - 2021 and 2024 editions: 4 ft construction fencing around an in-ground pool site until the permanent barrier is complete.
- 2024 edition: doors and gates must not swing over stairs.
View the rule text
“Pedestrian access doors and gates shall open outward away from the pool or spa, shall be self-closing and shall have a self-latching device. Doors and gates shall not swing over stairs.”
2024 ISPSC §305.3 · 2024 ISPSC Chapter 3 (ICC free view)
Who sets the pool fence rule, state by state
Each state is coloured by where its rule for a private home’s pool comes from: a state law, the statewide building code, or nothing statewide at all. Hatched states set a statewide minimum above 48 in. Tap a state for its card.
Tap a state to open its card. Tap a legend entry to show only those states. Small northeastern states have a box off the coast.
What the 50 states show
26 of 50
set a statewide rule for home pools
4 by statute (Arizona, California, Florida and Maine) and 22 through the statewide building code.
24
leave it to cities and counties
Alabama, Alaska, Colorado, Delaware, Hawaii, Idaho, Illinois, Iowa, Kansas, Minnesota, Mississippi, Missouri, Montana, Nevada, North Dakota, Ohio, South Carolina, South Dakota, Tennessee, Texas, Vermont, West Virginia, Wisconsin and Wyoming. In some, parts of the state have no pool barrier rule at all.
2
require more than 48 in statewide
Arizona (60 in) and California (60 in, if enclosure). The other 24 statewide rules use 48 in.
3
require a pool alarm statewide
Connecticut, New York and Tennessee. Tennessee requires the alarm with no statewide fence rule.
17 of 26
let a safety cover replace the barrier
Maryland and New Jersey removed that exemption; in Arizona, Kentucky, New Mexico and North Carolina a cover counts only where the house forms part of the barrier; in California it is one of two required features.
19 of 26
let an above-ground pool's wall be the barrier
New Jersey also requires the ladder to be fenced; Kentucky exempts above-ground pools; Arizona and California apply the in-ground rule.
3
state rules that apply only where permits are issued
Nebraska, New Hampshire and Oklahoma: the rule has force only where a city or county runs a permit program.
New work
is what most rules cover
Maine’s statute covers every outdoor pool, and Rhode Island and New York keep existing pools enclosed through their property maintenance codes; most other state rules apply to new pools and major work.
“Statewide rule” means a state law or the statewide building code reaches a private single-family home’s pool. Texas and Mississippi have pool-barrier statutes, but only for apartment, association and club pools, so they count as local only here.
Pool fence laws by state: all 50
Sort by any column or filter by who sets the rule. Select a state to open its card with the gate rules, alternatives, which pools the rule applies to, and the rule text behind each field.
50 of 50 states
| Above-ground pools | Safety cover | Source | ||||
|---|---|---|---|---|---|---|
| Alabama | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Alaska | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Arizona | State statute | 60 in | Same 5 ft enclosure | Only where the house forms part of the barrier | Not required | Source |
| Arkansas | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| California | State statute | 60 in, if enclosure | Same two-of-seven rule | Counts as one of two required features | Not required | Source |
| Colorado | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Connecticut | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Required | Source |
| Delaware | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Florida | State statute | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Georgia | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Hawaii | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Idaho | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Illinois | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Indiana | Statewide building code | 48 in | Covered only if deeper than 42 in | Can replace the barrier | Not required | Source |
| Iowa | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Kansas | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Kentucky | Statewide building code | 48 in | Exempt from the state rule | Only where the house forms part of the barrier | Not required | Source |
| Louisiana | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Maine | State statute | 48 in | Portable pools exempt | Not a barrier alternative | Not required | Source |
| Maryland | Statewide building code | 48 in | Pool wall can be the barrier | Cannot replace the barrier (exemption removed) | Not required | Source |
| Massachusetts | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Michigan | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Minnesota | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Mississippi | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Missouri | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Montana | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Nebraska | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Nevada | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| New Hampshire | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| New Jersey | Statewide building code | 48 in | Wall can be the barrier; ladder must be fenced | Cannot replace the barrier (exemption removed) | Not required | Source |
| New Mexico | Statewide building code | 48 in | Pool wall can be the barrier | Only where the house forms part of the barrier | Not required | Source |
| New York | Statewide building code | 48 in | Pool wall can be the barrier | Not a barrier alternative | Required | Source |
| North Carolina | Statewide building code | 48 in | Pool wall can be the barrier | Only where the house forms part of the barrier | Not required | Source |
| North Dakota | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Ohio | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Oklahoma | Statewide building code | 48 in | Not addressed in the state rule | Can replace the barrier | Not required | Source |
| Oregon | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Pennsylvania | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Rhode Island | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| South Carolina | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| South Dakota | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Tennessee | Local only | None statewide | No statewide rule | No statewide rule | Required | Source |
| Texas | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Utah | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Vermont | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Virginia | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| Washington | Statewide building code | 48 in | Pool wall can be the barrier | Can replace the barrier | Not required | Source |
| West Virginia | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Wisconsin | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
| Wyoming | Local only | None statewide | No statewide rule | No statewide rule | No state rule | Source |
Safety cover is whether a pool safety cover can stand in for the fence. Local only means no statewide rule reaches a private home’s pool — your city or county code is the rule, and in places without one there may be none.
Above-ground pool fence requirements
An above-ground pool is the one case where you may not need a separate fence. Under the model code the pool's own wall counts as the barrier if it sits on grade, is at least 48 in high all the way round and the manufacturer allows it; ladders or steps must be secured, locked, removed or fenced. What the code then regulates isn't the pool — it's how you get into it.
How the 26 states with a statewide rule treat above-ground pools:
- Pool wall can be the barrier (19): Arkansas, Connecticut, Florida, Georgia, Louisiana, Maryland, Massachusetts, Michigan, Nebraska, New Hampshire, New Mexico, New York, North Carolina, Oregon, Pennsylvania, Rhode Island, Utah, Virginia and Washington.
- Ladder must be fenced (1): New Jersey deletes the option to secure, lock or remove the ladder, so a removable or flip-up ladder alone doesn’t comply.
- Same rule as in-ground (2): Arizona’s 5 ft enclosure covers above-ground pools holding 18 in or more; California’s two-of-seven rule covers an above-ground pool that needs a permit.
- Partly covered (3): Indiana’s rule reaches only pools deeper than 42 in; Maine exempts portable above-ground pools with walls 24 in or higher; Oklahoma’s rule doesn’t address above-ground pools.
- Exempt (1): Kentucky’s code excludes pools built completely above grade.
- No statewide rule (24): your city or county decides.
No permit doesn’t mean no rule. Oregon exempts above-grade pools from a building permit, but its barrier rule still covers them. Pennsylvania exempts only prefabricated pools under 24 in deep from a permit, while Idaho exempts prefabricated pools under 4 ft deep, so most above-ground pools there are never permitted or inspected.
Things that quietly defeat the exemption: a deck built against the pool means the wall is no longer the barrier on that side, and the deck needs its own compliant fence and gate; and anything climbable left against the wall — a leaning ladder, a patio chair, an AC condenser — gives a child the height the rule is meant to deny. Mesh fences may not be mounted on top of an above-ground pool.
If your yard is already fenced, check that perimeter against the checklist below before spending anything — a fence that meets the barrier rules can serve the whole yard, pool included. Where a fence genuinely is needed, an above-ground pool usually only needs a short run around the ladder or deck, which is why these jobs land far below the totals in the cost section.
Pool barrier compliance checklist
A pool fence is the one fence where the rules come first and the shopping second. It exists to stop a small child reaching the water unsupervised, and an otherwise attractive fence can fail inspection on a detail — usually the gate hardware or a gap under the bottom rail. Work through the model-code checklist, then check your state card and your local building department, because local rules can be stricter.
0 of 14 checks
0%This is orientation, not certification. Requirements are based on the widely adopted ISPSC/IRC baseline, but pool-barrier rules are set locally and are often stricter. Confirm every point with your local building department, and have the finished barrier inspected. Progress saves on this device only.
Pool fence cost per linear foot, by type
| Option | Installed / ft | Meets code? | Notes |
|---|---|---|---|
| Removable mesh | $15 – $28 | Yes, when specified to code | Comes down when you want the yard back; the usual choice for families with young children. |
| Aluminum (ornamental) | $28 – $55 | Yes — the standard | Permanent, no rust, no upkeep, vertical pickets meet code by design. |
| Glass panel | $150 – $600 | Yes | Uninterrupted view at a premium price; needs regular cleaning. |
| Vinyl / wood privacy | $20 – $50 | Usually, if detailed right | Compliant if there are no footholds and gaps are correct — but blocks your view of the pool. |
| Chain link | $8 – $25 | Only with small mesh | Codes cap the diamond size (1¾ in under the 2021 model code) — check the mesh before you buy. |
Why pool fencing costs more per foot than the same fence around a yard
The per-foot figures above run higher than the same material on a property line, and the reason is not the fence. It is the gates — every pool gate must be self-closing and self-latching with the latch out of a child's reach, and that hardware alone adds $150 to $400 per gate before the gate itself — and the short run. A 120 ft enclosure carries the same crew mobilisation and minimum charge as a 300 ft yard, so it is spread over fewer feet. Quotes that look high per foot are often just short.
A typical pool enclosure of 100 to 150 linear feet therefore runs roughly $2,000 to $8,000 in mesh or aluminum. Glass is a different category entirely and is priced accordingly.
Price your enclosure by measuring the perimeter you need to enclose — which is often much shorter than your property line.
Removable mesh or permanent aluminum?
For most families this is the real decision, and it turns on how long you need the barrier rather than on price.
Removable mesh ($15–$28/ft) is designed to come down. If the reason for the fence is a toddler, mesh gives you full compliance now and your yard back in a few years, without leaving post stubs across the lawn — the posts sit in discreet sleeves. It's less handsome up close and the fabric has a finite life. California, Florida and Georgia name ASTM F2286 mesh in their rules.
Aluminum ($28–$55/ft) is permanent, looks considerably better, needs no maintenance, and lasts decades. It's the right answer if the pool is fenced for good — for insurance, resale, or because the barrier is also your property-line fence. Totals by enclosure size are in aluminum pool fence cost.
Worth knowing: many insurers ask whether a pool is fenced, and some require it. Check your policy before choosing, because a temporary solution may not satisfy an insurer the way a permanent barrier does.
Where pool fences fail inspection
The barrier itself is rarely the problem. These details are:
- The gate latch is too low or doesn't catch reliably every time.
- The gate swings inward toward the pool instead of outward.
- A house door opening to the pool has no alarm or self-closing device, when the wall forms part of the barrier.
- Something climbable sits against the fence — an AC unit, planter, woodpile, or patio furniture — defeating the height requirement.
- The gap underneath opens up where the grade slopes away — the model code allows 2 in over grass or gravel.
- Horizontal members face outward — a horizontal slat fence is a foothold ladder unless the boards face the pool and gaps stay under 1¾ in.
Hiring for safety-critical work
Treat a pool barrier differently from an ordinary fence. Ask the contractor to state, in writing, which code edition and local amendments they're building to; confirm they handle the permit and the inspection; and specify the gate hardware by model, since that's where compliance is usually won or lost. A pool barrier can need a permit where an ordinary fence doesn't — Oregon requires one for every pool barrier fence, while its other fences up to 7 ft need none (see fence permits). Vet the installer and check the quote — but on this job, compliance beats price.
Methodology and limits
Official sources only. Each state was researched from its statutes and regulations, official building-code adoption documents, state agency pages and the ICC’s free code text — no pool-fence sellers, blogs or summaries. The 50 records cite 213 sources and carry 436 verbatim quotes; each field on a state card shows the quotes behind it.
A second, independent pass. Every quote was re-read against its source and every field checked on September 27, 2026; quotes that had been spliced were replaced with continuous text. Corrections were made where the first pass was wrong — for example, Florida’s five-feature statute turned out not to be a way around the fence, because the building code requires a barrier with only a safety-cover exception, and Idaho and North Dakota moved to “local only” once their laws showed the state code reaches a home only where a locality opts in.
What is recorded. The state-level rule for a private single-family home’s pool. Where no statewide rule reaches it, the state is “local only” and carries no height, even if the state publishes a model code that localities may adopt. The above-ground and safety-cover columns are our classification of the verified text, and the build checks each one against the wording it rests on. 15 states (Alabama, Arkansas, Colorado, Delaware, Hawaii, Idaho, Kansas, Louisiana, Missouri, Nebraska, Nevada, South Dakota, Tennessee, Wisconsin and Wyoming) are marked medium confidence, with the reason in their research notes.
Limits. Your city or county can be stricter than the state: Arizona’s statute gives way to equal or stricter local ordinances, and the Southern Nevada amendments posted by Clark County require 60 in for one- and two-family homes. HOAs and insurers can add their own requirements. Codes change: pending updates in Oregon and Washington are proposals until adopted, and Maryland’s counties have until March 30, 2027 to implement its 2026 change.
Local rules vary. This is a research summary, not legal advice or a compliance determination. Confirm the rule for your address with your building department, have the finished barrier inspected, and remember a barrier is one layer of pool safety — it does not replace supervision.
Download or cite the data
The full dataset — all 50 states with who sets the rule, enforcement, minimum height, alarm, above-ground and safety-cover classes, the rule texts and every source URL — is free to reuse under CC BY 4.0: credit FenceLevel with a link to this page.
Cite this data
FenceLevel (2026). Pool fence rules in the 50 US states, verified September 27, 2026. https://www.fencelevel.com/pool-fence-requirements-and-cost
Linking to one state? Add ?state= and its two-letter code, such as ?state=FL, to this page’s address and the lookup opens on it.
Frequently asked questions
- How tall does a pool fence have to be?
- At least 48 in (4 ft), measured on the outside. 24 of the 26 states with a statewide rule use 48 in; Arizona and California set 60 in (California only for its enclosure option). In the other 24 states the city or county sets it — and local codes can be stricter, like the Southern Nevada amendments’ 60 in.
- Do above-ground pools need a fence?
- Often not a separate one: under the model code the pool wall can be the barrier if it’s on grade, 48 in or taller all round and the manufacturer allows it, with the ladder secured, locked, removed or fenced. 19 of 26 states with a statewide rule follow that. New Jersey requires the ladder to be fenced; Kentucky exempts above-ground pools; Arizona and California treat them like in-ground pools.
- Does a pool fence need a self-closing gate?
- Under the model code, yes — outward-opening, self-closing, self-latching, able to take a lock, with an outside latch release at least 54 in up. A few states differ: Maine’s statute only requires gates that can be securely fastened, Indiana sets no latch height or swing direction, Oklahoma has no outward-swing rule, and New York makes every gate self-closing and locked when the pool isn’t in use.
- Can my house wall be part of the pool barrier?
- Under the model code, yes — but doors and low windows to the pool then need a UL 2017 alarm, a safety cover, or another approved means such as self-closing, self-latching doors. New Jersey deletes that route (its local construction official decides about a solid wall), and California’s enclosure option must isolate the pool from the house.
- Is a pool alarm required?
- Statewide, only in Connecticut, New York and Tennessee. Tennessee’s alarm law applies even though it has no statewide fence rule. Elsewhere a door alarm is one option where the house wall forms part of the barrier.
- How much does a pool fence cost?
- Removable mesh $15–$28 per foot, aluminum $28–$55, glass $150–$600. A typical 100–150 ft enclosure runs about $2,000–$8,000 in mesh or aluminum.
- Can I use a chain link fence around a pool?
- Only with small mesh: 1¾ in under the 2021 model code and Arizona’s statute; Florida and Kentucky allow up to 2¼ in. Check the diamond size before you buy.
- Is a removable mesh pool fence code compliant?
- Yes, when it meets the code — California and Florida name ASTM F2286 mesh barriers, and Connecticut sets a 1 in bottom gap and a 20 in setback from the water. Mesh can’t be mounted on top of an above-ground pool.
Keep going
Cost figures are independent 2026 planning estimates as of August 2026; they are not quotes. State rules were verified against official sources on September 27, 2026 and are provided for orientation only — not legal or code advice; local requirements govern and can be stricter. A barrier is one layer of pool safety and does not replace supervision. FenceLevel is not a contractor, code official, or manufacturer.