New York City / Metro at a Glance

Fence Required?
State: R328 of the 2025 Residential Code of New York State, statewide outside NYC. NYC: its own code, BC 3109
Minimum Height
48 inches in the city and the suburbs
Pool Alarm
NYC: required, with exceptions for small above-ground pools and F1346 safety covers (BC 3109.3.2, 3109.5). Elsewhere: pools built or substantially modified after Dec. 14, 2006
Which Code
NYC Building Code 3109 in the five boroughs; state code R328 elsewhere
Gate Latch
NYC: pool side, 40 in+ up. Elsewhere: 54 in+ if reachable from outside
Permit Required
NYC Department of Buildings, with limited exceptions; town or village elsewhere

Two Codes: New York City and the Rest of the Metro

The five boroughs and their suburbs do not share a pool code. New York City has its own construction codes, and its pool rules are in Section BC 3109 of the NYC Building Code, last amended by Local Law 77 of 2023. Long Island, Westchester and the rest of the state use Section R328 of the 2025 Residential Code of New York State, in effect since December 31, 2025. The two agree on the basics and differ on the gate latch.

In New York City, the private-pool rules in BC 3109.5 require:

  • A barrier at least 48 inches high, measured on the side away from the pool, with no more than 2 inches between grade and the bottom
  • Gates that close themselves, with pedestrian gates opening outward, away from the pool
  • A self-latching gate with the latch handle inside the enclosure, on the pool side, at least 40 inches above grade. A handle less than 54 inches from the bottom of the gate must sit at least 3 inches below the top, with no opening over half an inch within 18 inches of it
  • Gates locked with a key, combination or other child-proof lock whenever the pool is not in use or supervised
  • An approved pool alarm meeting ASTM F2208 (Section 3109.3.2), unless a spa or hot tub has an ASTM F1346 safety cover or a pool has an automatic power safety cover meeting F1346

The city has one exception worth knowing for small pools. Under Section 3109.5, an above-ground private pool no more than 4 feet deep and no larger than 500 square feet, at a one- or two-family home, is exempt from the pool alarm section and a few other provisions. The barrier rules above still apply to it.

On Long Island, in Westchester and elsewhere in the state, R328 requires a 48-inch barrier with the same 2-inch bottom limit; self-closing gates, with pedestrian gates opening outward; a latch reachable from outside that sits at least 54 inches up, or a pool-side-only latch at least 3 inches below the top of the gate; gates locked when the pool is not in use or supervised; and a pool alarm meeting ASTM International (ASTM) standard F2208 on any pool installed or substantially modified after December 14, 2006. A spa with an ASTM F1346 safety cover, or a pool with an automatic power safety cover meeting F1346, is exempt from the alarm.

Local laws can add to the state code. The Department of State's pool summary notes that a town or village may have stricter fencing rules, so ask the building department where the pool will be. We have not verified any county or town height above 48 inches.

New York City / Metro City-by-City Guide

City / AreaRequirements & Permit Notes
New York City (5 boroughs)NYC Building Code 3109: 48-inch barrier, pool-side latch at least 40 inches up, locked gates, pool alarm (small above-ground pools and pools with F1346 covers are exempt from the alarm). The Department of Buildings requires a work permit to install a pool, with limited exceptions for some above-ground and shallow wading pools; under the city's rules (1 RCNY 101-14), an outdoor pool of up to 400 square feet at a one- or two-family home can be exempt if its setback and drainage conditions are met.
Permit: NYC Department of Buildings. Ask a registered design professional or a Department of Buildings borough office whether yours needs one.
Nassau County (Long Island)State code R328, administered by the town or village building department. A local law may be stricter; we have not verified local heights.
Permit: Through your town or village.
Suffolk County (Long Island)State code R328, administered by the town or village. The Town of Islip, for example, publishes a barrier and alarm handout for the 2025 code.
Permit: Through your town or village.
Westchester CountyState code R328, administered by each city, town or village. A local law may be stricter; we have not verified local heights.
Permit: Through your city, town or village.

Pool Fence Cost in New York City: National Ranges

We found no published source that prices pool fences by state or city, so these are national installed ranges from our pool fence cost guide. Quotes where you live can land above or below them.

MaterialInstalled, per linear footFull breakdown
Removable mesh$15 to $35Mesh fence cost
Aluminum$30 to $60Aluminum fence cost
Vinyl / PVC$20 to $45Vinyl fence cost
Tempered glass$90 to $500Glass fence cost

National typical installed ranges, not quotes. Multiply by your fence perimeter. Some sources include one gate in the figure; extra gates, permits and hard deck surfaces add to the total. Sources: HomeGuide (Feb 3, 2026), Life Saver Pool Fence (Aug 5 and Sep 23, 2026) and Pool Guard USA (May 20, 2025). Full source list and method: pool fence cost guide. Reviewed September 2026.

Find New York City-Area Pool Fence Installers

Request quotes through Angi. Ask each installer how they handle your local code and permitting before you sign.

 Find New York City Installers

Sources

Every rule on this page traces to one of these. We link the primary source so you can check it yourself.

Frequently Asked Questions

What are the pool fence requirements in the New York City metro?

It depends on which side of the city line you are on. In the five boroughs, NYC Building Code 3109 requires a barrier at least 48 inches high with no more than a 2-inch gap at the bottom, self-closing gates, a self-latching gate with the latch handle on the pool side at least 40 inches up, locked gates when the pool is not in use, and an approved pool alarm (small above-ground pools and pools with F1346 safety covers are exempt from the alarm). On Long Island and in Westchester, Section R328 of the 2025 Residential Code of New York State requires the same 48-inch barrier, a latch at least 54 inches up if it can be reached from outside, locked gates, and a pool alarm on pools installed or substantially modified after December 14, 2006.

Is a pool alarm required in New York?

Yes, in most cases. The NYC Building Code calls for an approved ASTM F2208 pool alarm, except on a spa with an ASTM F1346 safety cover, a pool with an F1346 automatic power safety cover, or an above-ground pool no more than 4 feet deep and 500 square feet at a one- or two-family home. Outside the city, the state code requires an alarm meeting ASTM F2208 on any pool or spa installed or substantially modified after December 14, 2006; it must cover the whole water surface and sound poolside and inside the house. A spa with an ASTM F1346 safety cover, or a pool with an automatic power safety cover meeting F1346, is exempt from the state alarm rule. An alarm is added to the barrier, not a substitute for it.

Do Long Island and Westchester have their own pool codes?

No county-level pool code applies. Towns, villages and cities administer the state code, R328 of the 2025 Residential Code of New York State, and issue the permits. The Department of State notes that a local law on pool fencing may be stricter than the state code, so ask your building department before you buy. We have not verified any local height above 48 inches.

What is New York's gate-latch rule?

There are two. In New York City, the latch handle goes inside the enclosure, on the pool side, at least 40 inches above grade; if it is less than 54 inches from the bottom of the gate, it must be at least 3 inches below the top. Outside the city, a latch that can be reached from outside and is not self-locking must be at least 54 inches up, and a latch placed only on the pool side must be at least 3 inches below the top of the gate. Both codes require gates to be locked with a key, combination or other child-proof lock when the pool is not in use or supervised.

New York Pool Fencing: Two Codes and a Pool Alarm

The first question for any metro pool is which code applies. Inside the five boroughs it is the NYC Building Code, permitted through the Department of Buildings. On Long Island and in Westchester it is the state Residential Code, permitted by the town, village or city. The barrier height is 48 inches under both, and both want gates that lock, not just latch, when the pool is not in use.

The gate latch is where the two codes part ways. The city puts the latch handle on the pool side at least 40 inches up; the state wants an outside-reachable latch at 54 inches or more. Hardware that passes in Queens may not pass in Nassau, so confirm the rule for your address before ordering. Budget for a pool alarm on either side of the line unless an exception covers your pool.

Full state guide: New York Pool Fence Requirements, the statewide rules, all regions, and complete details.