How Tall Does a Pool Fence Have to Be? 30 Cities Compared

In 21 of the 30 largest U.S. cities we cover, a residential pool barrier must be at least 48 inches high; in 9 it must be 60. The depth that brings the rule in ranges from 18 inches in Arizona and California to 48 inches in Chicago, and seven cities apply it to every pool, whatever its size. Gate latch heights, cover and alarm alternatives, and the rule each city cites, sourced city by city.

Published October 2026 Research

Short answer: 48 inches in most cities and 60 inches in California, Arizona, Chicago and Indianapolis. Of the 30 largest U.S. cities we cover, 21 set the top of a residential pool barrier at 48 inches above grade on the side away from the pool, the model-code figure; 9 require 60 inches, because California's Swimming Pool Safety Act and Arizona's pool enclosure statute say so and because Chicago and Indianapolis wrote 5 feet into their own rules. The details around that number matter as much: the depth at which a pool needs a barrier at all is 18 inches in the Arizona and California cities and in Houston's definition, 24 inches in 13 cities, 48 inches in Chicago, and in seven cities the barrier applies to every pool, including the inflatable ones that need no permit. Gate latches sit at 40 inches in New York, 54 in Phoenix, Tucson, San Antonio and Charlotte and 60 in five California cities. Four cities accept a safety cover in place of a fence around a pool, Florida's two accept any one of five safety features, and five more allow a cover only around a spa. We read each city's pool permit page, barrier handout, adopted pool code section and state statute and recorded the height, the trigger, the gate rule and the alternatives.

21cities require a barrier at least 48 in high
9cities require 60 in: five in California, Phoenix, Tucson, Chicago and Indianapolis
18 inthe depth that brings the rule in across Arizona and California; 24 in in most other cities, 48 in in Chicago
6cities where a safety cover can replace the fence around a pool

Every row links to the city page that quotes the rule, so you can read the source language yourself. The table sorts by any column.

All 30 cities

CityMinimum barrier heightWhich pools the barrier rule coversGate and latchCovers, alarms and house-wall optionsRule the city cites, and notes
Albuquerque, NM 48 in (4 ft) barrier Every outdoor pool, hot tub or spa, in-ground, above-ground or on-ground, permit or not Gate latch details go on the site plan; height not stated Spas and hot tubs with an ASTM F1346 safety cover are exempt from the barrier. An above-ground pool's wall itself can serve as the barrier. Walls over 6 ft need engineer certification and a building permit; any fence or wall for the barrier needs a zoning wall permit. 2021 New Mexico Residential Building Code (state substitute for the IRC pool section); city pool handout
Top at least 48 in above grade on the side facing away from the pool, no more than a 2-in gap at the bottom, no opening that passes a 4-in sphere. The barrier is checked before final approval. Prefab above-ground pools under 54 in and 5,000 gallons need no building permit, but the barrier applies to them.
Baltimore, MD 48 in (4 ft) barrier ⚠ Pools needing a permit (prefab pools under 24 in are the only exemption) Pedestrian gates open outward, self-closing and self-latching; height not stated None on the page. Construction fencing at least 4 ft high must surround an excavated in-ground pool site. Building, Fire and Related Codes Part XII adopting 2021 ISPSC 305–325 without change
48 in measured on the outside, no more than 2 in of clearance over grass or gravel, openings that will not pass a 4-in sphere. The figure is the model code's, which the city adopts as written. Pools sit in the rear yard only (Zoning Table 15-601).
Charlotte, NC 48 in (4 ft) barrier Any pool more than 24 in deep, including storable seasonal pools, spas and hot tubs Latch on the inside at least 54 in above the bottom of the gate or 3 in below the top; gates open outward If the house forms part of the barrier: a power safety cover, door alarms, or approved self-closing, latching doors. Driveway gates in the barrier need automatic closers. 2018 NC Residential Code via the Mecklenburg County pool brochure; County Health Department pool ordinance
48 in above grade on the outside with no more than 2 in of clearance beneath. The Health Department inspects the fence and gates and the County's final building inspection waits until gates and alarms work; the pool may not hold water before the barrier is up.
Chicago, IL 60 in (5 ft) barrier Private residential pools deeper than 48 in Self-closing, self-latching hardware mounted out of reach of small children None on the page. Metal fences must be electrically grounded; any fence over 5 ft needs its own express fence permit ($75 up to 6 ft). DOB pool guidance; Table 14A-12-1204.2 (fence permit)
The 5 ft fence or wall encloses the pool deck. Pools up to 48 in deep and 5,000 gallons at 1–3 unit homes need no building permit, and the city's barrier rule is written for the pools that do.
Cincinnati, OH 48 in (4 ft) barrier Any pool containing 24 in or more of water Latch at least 4 ft (48 in) up; gates self-close and self-latch None on the page. Ohio deleted the model-code pool section from its residential code, so the rules Cincinnati enforces come from the department's own handout. Buildings and Inspections swimming pool handout; Zoning 1421-33
Enclosure at least 4 ft high around the pool area, at least one means of egress, slip-resistant steps and a way to drain the pool. The enclosure, deck and railings may not rise more than 6 ft above grade, except above-ground pool decks, which zoning allows to 8 ft.
Dallas, TX 48 in (4 ft) barrier Pools needing a permit (prefab pools under 24 in and 5,000 gal are the only exemption) Not stated on the page Where the house wall is part of the barrier: audible alarms on doors and on windows with sills under 48 in, a listed safety cover, or self-closing doors with self-latching devices. Dallas Chapter 62 (2021 ISPSC with local changes, eff. 2022-06-13)
48 in above grade measured on the side away from the pool, for 3 ft out from the barrier; gap under it no more than 2 in over grass or gravel. A fence serving as a pool enclosure is never permit-exempt and is filed as its own accessory structure permit.
Fort Worth, TX 48 in (4 ft) barrier Any outdoor pool, spa or hot tub Not stated on the page At a one- or two-family home a powered safety cover complying with ASTM F1346 lets the pool skip the barrier sections (305.2 to 305.7) under a local amendment. Amended Residential Code, Ord. 25383-03-2022; 2018 ISPSC with local amendments
Top at least 48 in above grade measured on the outside, gap no more than 2 in, openings that stop a 4-in sphere; chain link limited to 2.25-in mesh unless slats reduce it to 1.75 in. The barrier is part of the pool permit.
Houston, TX 48 in (4 ft) barrier ⚠ Pool means any structure holding more than 18 in of water for swimming or bathing All gates self-closing and self-latching without human or electrical power No cover or alarm alternative on the page. Gates across driveways are prohibited and driveway gates and carports cannot form part of the enclosure. City Code Sec. 43-33 (gates); 2021 ISPSC as adopted (48-in model barrier)
The 48 in figure is the model code's: the city's published amendments cover the administrative chapters, so the page says to confirm the height with the plan reviewer. Fence and gate heights are labelled per material on the Health Department plot survey.
Indianapolis, IN 60 in (5 ft) barrier Every pool and hot tub, including permit-exempt ones (barrier rules still apply) Self-closing, self-latching gate; height not stated A safety pool cover meeting 675 IAC 20-4-27(c) is the alternative to any fence. A perimeter yard fence within 50 ft of the pool satisfies the rule. On an above-ground pool the barrier may be 36 in if mounted on the deck or top wall. DBNS Homeowner's Guide (barrier options); Zoning Ord. 743-306.JJ
Chain link, ornamental or solid fence or wall at least 5 ft high at grade; pool plus barrier may not exceed 10 ft. The application must state whether a cover or a fence will be used, and the site plan shows the fence height.
Jacksonville, FL 48 in (4 ft) barrier Every pool (the fee schedule prices above-ground pools; no size exemption) Not stated on the page State law requires at least one of five features to pass final: the barrier, an approved safety cover, exit alarms on doors and windows, self-latching doors with the release at least 54 in up, or an ASTM F2208 pool alarm. An above-ground pool wall serves as the barrier if it is at least 48 in above grade and the ladder can be secured or removed. Florida Statutes 515.27 and 515.29; BID safety affirmation
At least 4 ft high on the outside. The barrier fence or screen enclosure is part of the pool permit. Pools go in rear or side yards, at least 5 ft from the house.
Kansas City, MO 48 in (4 ft) barrier Any pool, spa or hot tub with a fill level over 2 ft Self-closing, self-latching gates kept locked when no responsible person is watching A lockable cover may replace the fence for a spa or hot tub, but not for a pool. Above-ground pool walls 4 ft or taller serve as the enclosure if the ladder or other access is protected. Where the house wall is part of the barrier the plans must note the 2018 ISPSC alarm system. Zoning Sec. 88-305-07; Information Bulletin 119
At least 4 ft tall. Prefab pools with a fill level under 24 in and up to 5,000 gallons need no permit, and the barrier rule is written in the same 2 ft terms. Pools sit at least 10 ft from side and rear lines.
Long Beach, CA 60 in (5 ft) barrier Any pool or spa holding water over 18 in deep (state definition) Latch at least 60 in above the ground; gates self-close, self-latch and open away from the pool State law requires two of seven features and IB-022 says one must be the permanent enclosure. The second can be mesh fencing to ASTM F2286, a safety cover to ASTM F1346, a pool alarm to ASTM F2208, exit alarms or 54-in door latches. A cover paired only with a pool alarm does not satisfy the law. IB-022 Parts II.1.c and III.1.a; Health and Safety Code 115921–115922
At least 60 in high with no more than 2 in of clearance at the bottom and no opening that passes a 4-in sphere; a driveway gate cannot be part of the enclosure. The enclosure fence or wall may need its own building permit.
Los Angeles, CA 60 in (5 ft) barrier Any pool, pond or body of water 18 in or more deep Gate self-latches at least 60 in above the ground, opens away from the pool State law adds two of seven drowning-prevention features on a new or remodeled pool at a single-family home (enclosure, mesh fence, safety cover, exit alarms, 54-in door latches, pool alarm). The city also requires a cover reel on in-ground pools and spas. LADBS bulletin P/BC 2026-014; Health and Safety Code 115922
5 ft minimum, no more than 2 in of clearance at the bottom, openings reject a 4-in sphere. An exit alarm plus a latch on the same door does not count as two features. The permit itself starts at 24 in or 250 sq ft (LAMC 91.106.2).
Louisville, KY 48 in (4 ft) barrier Outdoor in-ground pools (pool means over 24 in deep); above-ground pools fall outside the state code's scope Pedestrian gates open outward, self-closing and self-latching; zoning wants a lockable gate A spa or hot tub with an ASTM F1346 safety cover is exempt from the barrier rules. Kentucky Residential Code R326.8.1 and R326.8.4; LDC 4.4.3.A.3
Top at least 48 in above grade on the side away from the pool, no opening that passes a 4-in sphere, no more than 4 in of clearance at the bottom; the Land Development Code separately requires pool fences of at least 4 ft. Construction Review's own pool guide was unreachable.
Miami, FL 48 in (4 ft) barrier Any pool holding water over 24 in deep, in-ground, above-ground or on-ground Gates open outward, self-close and self-latch with the release on the pool side State law requires at least one of five features to pass final: the barrier, an approved safety cover, 85 dB exit alarms on doors and windows, self-latching house doors with the release at least 54 in up, or a certified in-water alarm. An above-ground pool's structure may serve as the barrier if it meets FS 515.29. Florida Statutes 515.27 and 515.29; FBC-R R4501.17
At least 4 ft high on the outside, no footholds, placed away from the water's edge. A separate fence permit for the barrier adds at least $180.
Milwaukee, WI 48 in (4 ft) barrier In-ground pools; above-ground pools rely on their walls (permit from 15 x 3 ft or 3,965 gal) Latches out of children's reach; deck gates open away from the pool An above-ground pool's walls must be at least 36 in high on every side or another approved safeguard must be provided. Deck gates use non-climbable fencing with openings no larger than 4 in. DNS pool instructions (Environmental Section)
In-ground pools need an approved barrier at least 48 in high with self-closing, self-latching gates and must be at least 6 ft from the lot line. Any pool must be 6 ft from anything a child could climb, and the filter must not become a climbing aid. A new fence needs its own $60.40 permit.
Minneapolis, MN 48 in (4 ft) barrier Every outdoor private residential pool (pool means 2 ft deep or more) Latch at the top of the gate or otherwise out of a small child's reach None on the page. The enclosure may be a fence, wall, building or combination. MCO 89.180; city fence handout
At least 4 ft high, every opening fitted with a self-closing, self-latching gate, gap under the fence no more than 4 in. A pool barrier fence of any height needs a building permit with a site plan. An above-ground pool less than 4 ft high needs no deck.
New York, NY 48 in (4 ft) barrier Any pool that can hold more than 24 in of water Latch at least 40 in above grade, behind a child-proof lock An above-ground pool up to 4 ft deep and 500 sq ft for private residential use is excepted from the barrier section. No cover or alarm alternative on the page. NYC Building Code §3109.5; NYC311 (4 ft fence, closed child-proof self-closing gate)
No more than 2 in of clearance at the bottom and no opening a 4-in sphere passes; a temporary barrier is required during construction (BC 3109.6). The DOB filing threshold is a separate 400 sq ft rule, not depth.
Philadelphia, PA 48 in (4 ft) barrier Any pool, spa or hot tub under the EZ standard (prefab under 24 in and 5,000 gal need no permit) Self-closing, self-latching gate swinging away from the pool Three options, one required: a 48-in barrier with a gate; an above-ground pool's own wall if the pool is at least 48 in deep, with a 48-in stair or ladder barrier; or a 48-in yard enclosure using the house as one side with an approved door alarm. L&I EZ Pools and Spas standard PB_010 (revised July 2026)
The EZ standard also keeps pools and equipment out of the front and side yards and at least 2 ft from any property line or structure. An access platform up to 50 sq ft on an above-ground pool needs a 36-in guard with 4-in openings.
Phoenix, AZ 60 in (5 ft) barrier Any pool over 18 in deep, including above-ground pools, hot tubs and spas Latch at least 54 in above the ground; gates swing outward Where the house wall is part of the barrier: every door self-closing and self-latching with a 54-in latch or double-keyed deadbolt, no doggie doors, sliding doors fitted with a closer, window latches 54 in up. Alarms alone do not satisfy the code. Mesh fencing only to ASTM F2286 at 60 in. Pool Barriers Requirements sheet (2024 ISPSC); ARS 36-1681; 2024 PBCC 105.2 item 9
5 ft measured from the outside, 4-in ball test, 2 in of clearance (4 in over concrete), horizontal members 45 in apart, mesh openings 1 3/4 in. The barrier is checked at the pre-plaster inspection and must stay for the life of the pool.
Pittsburgh, PA 48 in (4 ft) barrier Pools needing a permit (prefab pools under 24 in and 5,000 gal are the only exemption); hot tubs need an electrical permit Gates self-closing, self-latching and able to take a lock; doors or low windows onto the pool area need a listed alarm An above-ground pool's own wall can be the barrier if the pool, or the pool plus a barrier on top, is at least 48 in above grade, with ladders that can be secured, locked or removed. Removable mesh fencing is not permitted for above-ground pools. A spa can rely on a lockable ASTM F1346 safety cover. PLI residential pool form
48 in above grade around the entire perimeter, openings may not pass a 4-in sphere. Every application needs a site plan showing the barriers in relation to the pool and the property lines.
Portland, OR 48 in (4 ft) barrier Every pool not totally enclosed by a structure (pool means over 24 in deep) Gates self-closing, self-latching, opening outward away from the pool Where a house wall forms part of the barrier, every door through it needs a self-closing, self-latching device or the pool needs an approved power safety cover. A hot tub with an approved cover needs no barrier permit. PP&D pool page (barrier and site rules)
4 ft minimum, 2 in of clearance at the bottom, openings that will not pass a 4-in sphere; the fence must be at least 3 ft from the pool walls. Every pool barrier needs its own building permit, even a fence under 7 ft, and the rule applies to permit-exempt prefab pools.
Sacramento, CA 60 in (5 ft) barrier Every pool and spa (pool means water over 18 in deep); state features on new or remodeled pools Latch at least 60 in above the ground; gates open away from the pool, self-close and self-latch City code requires a fence that blocks access except from inside the building, and state law adds two of seven features. A cover plus an in-water alarm does not count as two, nor an exit alarm plus a self-closing latch on the same door. City Code 15.64.070; Health and Safety Code 115922; CDD-0257 (revised March 2026)
At least 60 in, no more than 2 in between the ground and the bottom, no gaps that pass a 4-in sphere, no handholds or footholds. The barrier is inspected under the pool permit.
San Antonio, TX 48 in (4 ft) barrier Pools needing a permit (prefab pools under 24 in and 5,000 gal are the only exemption) Release at least 54 in up; gates open outward, self-close and self-latch A powered safety cover meeting ASTM F1346 can replace the barrier. Where the house wall is part of the barrier, doors to the pool and first-floor windows with sills under 48 in need an audible alarm. DSD pool bulletin summarizing the 2024 ISPSC as amended; Barriers and Safety Devices Compliance Agreement
48 in on the outside, 2 in of clearance over grass or gravel or 4 in over concrete, 4-in sphere test. Construction fencing at least 3 ft tall is required from excavation until the permanent barrier is done. The final inspection checks barrier, alarms and latches before filling.
San Diego, CA 60 in (5 ft) barrier New or remodeled pool at a single-family home (two of seven state features) Gates open away from the pool and latch at 60 in or more The enclosure is one of seven state features, two of which are required: enclosure, removable mesh fencing, safety cover, exit alarms, 54-in door latch, pool alarm or an equivalent tested device. San Diego refuses the pairing of an exit alarm with a pool alarm. Health and Safety Code 115922; SDMC 145.3102
An enclosure, if used, must be at least 60 in high with no gap over 4 in. Prefab above-ground pools up to 5,000 gallons need no building permit; the page states no barrier rule for them.
San Francisco, CA 60 in (5 ft) barrier Pools and spas holding water over 18 in deep (state act), when a permit issues for a new or remodeled pool Gates open away from the pool and latch no lower than 60 in Two of seven state drowning-prevention features; an enclosure is one option, not mandatory. DBI inspects the features before final. California Swimming Pool Safety Act (Health and Safety Code 115922); SF Building Code 106A.2
An enclosure, if chosen, is at least 60 in high with no more than 2 in of clearance at the bottom, no gaps that pass a 4-in sphere and no footholds. Prefab above-grade pools up to 5,000 gallons need no building permit.
San Jose, CA 48 in (4 ft) barrier ⚠ Any pool 18 in or deeper, new or existing Latch at least 3.5 ft (42 in) up under the city code; 60 in if the state enclosure feature is used State law adds two of seven drowning-prevention features on a new or remodeled pool at a single-family home, inspected at final. If the enclosure is chosen as a state feature it must be 60 in with gates opening away from the pool. SJMC 17.28.020, 17.28.040, 17.28.050; Health and Safety Code 115922 and 115923
The city enclosure is at least 4 ft high at every point, at least 4 ft from the water's edge, with no opening over 4 in; no building permit may issue unless the plans show it. The city's 48 in and the state feature's 60 in are both on the page.
Seattle, WA 48 in (4 ft) barrier Any outdoor pool or spa at a house (ISPSC via SRC R327.1) Not stated on the page A lockable or powered ASTM F1346 safety cover relieves the pool or spa of the fence requirement. Construction sites must be fenced at least 4 ft high from excavation until the permanent barrier is done. SRC R327.1 adopting the 2021 ISPSC; ISPSC 305.2.1
48 in above grade on the side facing away from the pool, no more than 2 in of clearance on grass or gravel and 4 in on a solid surface. Prefab above-ground pools up to 5,000 gallons need no building permit but are still subject to the barrier rules.
St. Louis, MO 48 in (4 ft) barrier Pools under the permit (24 in or 250 sq ft in-ground, or any recirculating pump); IRC Appendix G Gates open away from the pool, self-closing and self-latching; height not stated Where a house wall forms part of the barrier, either an audible alarm on every door to the pool or self-closing, self-latching doors. 2018 IRC Appendix G as adopted; Building Division pool handout 5.3; Ord. 70794 §3109
At least 48 in high measured on the outside face. The like-for-like fence replacement exemption does not apply to a fence enclosing a pool, hot tub or spa, so a new or replaced pool fence is a building permit. Pool walls keep 6 ft from rear and side lines, 10 ft from a street line.
Tucson, AZ 60 in (5 ft) barrier Any pool holding water 18 in or more deep and wider than 8 ft Latch at least 54 in up; gates self-close, self-latch and open outward Where the house forms part of the enclosure, state law allows instead a 4-ft barrier between house and pool, a key-operated motorized safety cover, or self-latching doors with high window latches. Tucson separately requires an evaporation cover on every new or remodeled pool, spa and hot tub. A.R.S. 36-1681; Tucson 2024 pool code amendments
At least 5 ft measured on the outside, a 4-in sphere must not pass, and the barrier must stand at least 20 in from the water. Above-ground pools up to 18 in deep and 5,000 gallons need no permit but barrier rules can still apply.

The height is the minimum the city page states for a permanent barrier around an outdoor residential pool, measured on the side facing away from the pool, as the city page reads the city's documents on the date it was last verified. The trigger column says which pools the rule covers in the city's own words: a depth, a permit condition, or every pool. Latch heights are given where the page states one; "not stated" means the city page does not give a figure, not that none exists. The alternatives column records cover, alarm and house-wall options the page names. A flag marks a row where the figure is the model code's rather than a city document's, or where two figures are in force. Download the table as CSV.

What the comparison shows

Two numbers cover all 30 cities, and the 60-inch group is mostly state law

Albuquerque, Baltimore, Charlotte, Cincinnati, Dallas, Fort Worth, Houston, Jacksonville, Kansas City, Louisville, Miami, Milwaukee, Minneapolis, New York, Philadelphia, Pittsburgh, Portland, San Antonio, San Jose, Seattle, St. Louis require 48 inches. Chicago, Indianapolis, Long Beach, Los Angeles, Phoenix, Sacramento, San Diego, San Francisco, Tucson require 60. In California the higher figure comes from the Swimming Pool Safety Act's enclosure feature (Health and Safety Code 115923), which Los Angeles, San Diego, San Francisco, Sacramento and Long Beach each restate; San Jose is the exception, with a 4-foot city enclosure in its own code and the 60-inch figure only when the state feature is chosen. In Arizona it is the pool enclosure statute, A.R.S. 36-1681, which Phoenix and Tucson apply with a 54-inch latch. Chicago and Indianapolis wrote 5 feet into local guidance, Indianapolis with a 36-inch alternative on the deck of an above-ground pool. Everywhere else the figure is the International Swimming Pool and Spa Code's or the International Residential Code's 48 inches, whether adopted through the state or city code (Baltimore, Seattle, Dallas, San Antonio, Fort Worth, Louisville, Albuquerque, New York) or restated in a city handout or form (Charlotte, St. Louis, Pittsburgh, Cincinnati, Milwaukee, Minneapolis, Portland, Kansas City, Philadelphia).

The depth that brings the barrier in is not the depth that brings the permit in

Eight cities tie the barrier to 18 inches of water: Los Angeles ("every pool, pond or body of water 18 inches or more in depth"), San Jose, Sacramento, Long Beach and San Francisco through California's definition, Phoenix and Tucson through Arizona's, and Houston, whose code defines a pool at 18 inches. Thirteen cities use 24 inches, the model code's line, among them New York ("more than 24 inches of water"), Miami, Portland, Charlotte, Minneapolis, Kansas City and Cincinnati. Chicago stands alone at 48 inches: its pool guidance exempts pools up to 48 inches deep and 5,000 gallons at 1–3 unit homes from any permit, and its 5-foot fence is written for the pools that need one. Seven cities apply the barrier to every pool regardless of size, which means the permit-exempt inflatable pool still needs one: Albuquerque says so outright ("permit or not"), Indianapolis puts "barrier rules still apply" next to its exempt row, and Seattle, Fort Worth, Philadelphia, Jacksonville and Milwaukee frame the rule for any outdoor pool or spa. Several more cities exempt a pool from the permit at a higher depth than the barrier: Portland says "permit or not, every pool must have a compliant barrier", Los Angeles permits at 24 inches but fences at 18, San Jose the same, and Albuquerque permits above-ground pools only from 54 inches but fences them all.

Gate latches: 40 inches in New York, 54 in Arizona and Texas, 60 in California

Twelve cities state a latch height on the pages we read, and four more state an equivalent rule. New York's Building Code puts the latch at least 40 inches above grade behind a child-proof lock, the lowest figure on record. San Jose's city code says 3.5 feet. Cincinnati says 4 feet. Phoenix, Tucson, San Antonio and Charlotte say 54 inches (Charlotte alternatively 3 inches below the top of the gate). Los Angeles, San Diego, San Francisco, Sacramento and Long Beach say 60 inches, the state enclosure feature's figure. Chicago, Minneapolis, Milwaukee and Kansas City say only that the latch must be out of a small child's reach, at the top of the gate, or that the gate stays locked when no adult is watching. Every city that addresses the swing says the gate opens outward, away from the pool, and self-closes and self-latches; Houston adds that it must do so without human or electrical power and that no gate may cross a driveway.

Where a cover or an alarm can stand in for the fence

A safety cover can replace the barrier around a pool in six cities: Seattle (a lockable or powered ASTM F1346 cover), San Antonio (a powered F1346 cover), Fort Worth (a powered F1346 cover at a one- or two-family home, by local amendment), Indianapolis (a cover meeting 675 IAC 20-4-27(c) "is the alternative to any fence"), and Miami and Jacksonville, where Florida law lets any one of five features pass final: a barrier, an approved cover, exit alarms, 54-inch door latches or an in-water alarm. Five cities allow a cover only for a spa or hot tub: Portland, Louisville, Albuquerque, Pittsburgh and Kansas City, which says so explicitly ("but not for a pool"). California's two-of-seven rule works the other way in four cities: Los Angeles, San Jose, Sacramento and Long Beach each require the enclosure itself and let a cover or alarm be the second feature, while San Diego and San Francisco treat the enclosure as one option among seven. Phoenix is the strictest: "alarms alone do not satisfy the code," and a house wall counts only with self-latching doors, no doggie doors and 54-inch window latches.

An above-ground pool's wall counts in eight cities, with a height attached

The wall of an above-ground pool can serve as the barrier in Philadelphia, Jacksonville, Pittsburgh and Kansas City when it is at least 48 inches above grade and the ladder can be secured, locked or removed; in Albuquerque without a stated height; in Miami if it meets FS 515.29; in Milwaukee at 36 inches on every side; and in Indianapolis with a 36-inch barrier on the deck or top wall. New York goes further and exempts an above-ground pool up to 4 feet deep and 500 sq ft for private residential use from its barrier section altogether. Pittsburgh adds a rule the others do not: removable mesh fencing is not permitted on an above-ground pool.

The fence around the pool often needs its own permit

Portland requires a building permit for every pool barrier, even a fence under 7 feet that would otherwise be exempt. Dallas says a fence serving as a pool enclosure is never permit-exempt and files it as an accessory structure permit. Minneapolis requires a building permit for a pool barrier fence of any height. St. Louis excludes pool fences from its like-for-like fence replacement exemption. Albuquerque wants a zoning wall permit for the barrier and a building permit over 6 feet. Chicago's express fence permit ($75 up to 6 feet) applies to any pool fence over 5 feet, Milwaukee's new fence is a $60.40 permit, Miami's separate fence permit adds at least $180, and Long Beach says the enclosure may need its own building permit. In Houston, Jacksonville, Fort Worth, Charlotte and Sacramento the barrier is reviewed and inspected under the pool permit itself.

Where the figure is the model code's, or two figures are in force

Houston's published amendments to the 2021 ISPSC cover its administrative chapters and do not restate the barrier height, so the 48 inches on the page is the model code's and the page says to confirm it with the plan reviewer. Baltimore adopts the model code's barrier sections 305 to 325 without change, so its 48 inches is firm but comes from the model code, not a city document. San Jose carries two figures: 4 feet with a 42-inch latch under its own Chapter 17.28, 60 inches with a 60-inch latch when the enclosure is the state safety feature. Cincinnati's rules come from a department handout because Ohio deleted the model pool section from its residential code. Louisville's Construction Review pool guide could not be retrieved, so its row rests on the Kentucky Residential Code and the Land Development Code. The table flags those rows rather than resolving them.

Method

The 30 cities are the ones whose BuildPermitGuide pages have been rewritten from primary sources as of October 2026: the city's pool permit page or bulletin, its barrier handout or pool form, the pool section of its adopted building or residential code, and the state pool safety statute where one applies, each fetched and quoted on the city's pool permit page. The height in the table is the city page's own reading of those documents for a permanent barrier around an outdoor pool at a one- or two-family house; spa and hot tub rules are recorded in the alternatives column where the page states them. Latch heights, clearances and sphere tests are the page's figures. Nothing in this table is taken from a model code alone unless the row says so and carries a flag, and nothing is estimated from another city's rules. Each city page carries the date its sources were last verified, and the change log records when a cited document changes.

Use this data. The table and CSV are published under CC BY 4.0. Cite it as:
BuildPermitGuide, “How Tall Does a Pool Fence Have to Be? 30 Cities Compared” (2026), https://buildpermitguide.com/research/pool-barrier-heights/
Questions, corrections or a city you want added: contact us.

Frequently asked questions

At least 48 inches above grade on the side away from the pool in 21 of the 30 largest cities we cover, and at least 60 inches in Los Angeles, San Diego, San Francisco, Sacramento, Long Beach, Phoenix, Tucson, Chicago and Indianapolis. The 60-inch figure comes from California's Swimming Pool Safety Act and Arizona's pool enclosure statute; Chicago and Indianapolis set it locally. San Jose's own code says 4 feet, with 60 inches only when the enclosure is the chosen state safety feature.
18 inches in Los Angeles, San Jose, Sacramento, Long Beach, San Francisco, Phoenix, Tucson and Houston; 24 inches in New York, Miami, Portland, Dallas, San Antonio, Charlotte, Minneapolis, Baltimore, Louisville, Kansas City, St. Louis, Pittsburgh and Cincinnati; 48 inches in Chicago. Albuquerque, Indianapolis, Seattle, Fort Worth, Philadelphia, Jacksonville and Milwaukee apply the barrier to every outdoor pool, including inflatable pools that need no permit; Portland applies it to every pool over 24 inches, permit or not.
Often, even when it needs no permit. Albuquerque, Indianapolis, Seattle, Portland, Los Angeles and San Jose all say the barrier rule applies to permit-exempt pools, and Tucson says it can. In eight cities the pool's own wall can be the barrier: at 48 inches in Philadelphia, Jacksonville, Pittsburgh and Kansas City, 36 inches in Milwaukee and on the deck in Indianapolis, and New York exempts an above-ground pool up to 4 feet deep and 500 sq ft from its barrier section.
40 inches in New York, 42 inches (3.5 feet) in San Jose, 48 inches in Cincinnati, 54 inches in Phoenix, Tucson, San Antonio and Charlotte, and 60 inches in Los Angeles, San Diego, San Francisco, Sacramento and Long Beach. Every city that addresses it requires the gate to open away from the pool, self-close and self-latch; the rest say only that the latch must be out of a small child's reach.
For a pool, in six cities: Seattle, San Antonio and Fort Worth accept a powered or lockable ASTM F1346 safety cover, Indianapolis accepts a cover meeting Indiana's rule, and Miami and Jacksonville accept any one of five Florida safety features including a cover or alarms. Portland, Louisville, Albuquerque, Pittsburgh and Kansas City accept a cover only for a spa or hot tub. In California a cover or alarm can be the second of the two required features, but Los Angeles, San Jose, Sacramento and Long Beach require the enclosure itself.
In Portland, every pool barrier needs a building permit, even a fence under 7 feet. Dallas says a pool enclosure fence is never permit-exempt, Minneapolis permits a pool barrier fence of any height, St. Louis excludes pool fences from its fence replacement exemption, and Albuquerque wants a zoning wall permit. Chicago ($75 over 5 feet), Milwaukee ($60.40) and Miami (at least $180) charge a separate fence permit; in Houston, Jacksonville, Fort Worth, Charlotte and Sacramento the barrier is part of the pool permit.

The city pages behind this table

Each page quotes the code section, exempt-work list and fee schedule it relies on and records the date they were last verified.

Related: Pool Permit Guide · Pool permits in all 50 cities · Fence permit rules compared · 2026 permit fee changes compared · Permit fee change log · Open data exports

Stay up to date
Get notified when we add new cities or update permit fees.