New York City / Metro at a Glance
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 / Area | Requirements & 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 County | State 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.
| Material | Installed, per linear foot | Full breakdown |
|---|---|---|
| Removable mesh | $15 to $35 | Mesh fence cost |
| Aluminum | $30 to $60 | Aluminum fence cost |
| Vinyl / PVC | $20 to $45 | Vinyl fence cost |
| Tempered glass | $90 to $500 | Glass 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.
Sources
Every rule on this page traces to one of these. We link the primary source so you can check it yourself.
- NYC Building Code 2022, Section BC 3109, as amended by Local Law 77 of 2023, effective June 10, 2023 (UpCodes viewer) (private-pool barrier, latch and lock rules in 3109.5, and the small above-ground pool exception)
- NYC Building Code, Section 3109.3.2, Swimming Pool and Spa Alarms (American Legal Publishing, September 2026) (F2208 alarm and its F1346 cover exceptions)
- NYC Department of Buildings, Decks, Porches and Swimming Pools (work permits to install a pool)
- NYC Department of Buildings, Project Requirements (Owner): Outdoor Swimming Pool (the small-pool permit exemption)
- 1 RCNY 101-14, Table 1 (NYC Department of Buildings) (pools up to 400 square feet and fences up to 6 feet exempt from permit at one- and two-family homes)
- 2025 Residential Code of New York State, Section R328 (Department of State; effective December 31, 2025) (barrier, latch, lock and alarm rules outside New York City)
- Department of State, Technical Bulletin TB-1014, Uniform Code pool summary (local laws on pool fencing may be stricter)
- Town of Islip Building Division, Pool, Hot Tub and Spa Barriers and Alarms (town-level administration on Long Island)
Frequently Asked Questions
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.