Fence Regulations in New York, NY

Do I Need a Permit?

Answer a few quick questions to find out if your project requires a permit in New York.

This tool provides an estimate only. Always verify with your local planning department.

Key Rules

Important: This page provides an informational summary of New York's municipal code. Regulations change frequently. Always verify current requirements with your local government before taking action.

Contact the New York Planning Department at https://www.nyc.gov/site/planning/ to confirm current rules.

In Plain English

View Official Code Language (11 sections)

Per Section 23-40, the finished (smooth) side of the fence must face outward toward adjacent properties and public streets.

Section 23-40 prohibits the use of barbed wire, razor wire, or electrified material for fences in residential districts.

Under Building Code Section 105.5, any fence six feet or taller requires a building permit.

Section 23-40 of the Zoning Resolution permits fences on the property line provided that the finished face and all supporting posts remain entirely on the owner's property, with no protrusions into adjacent property.

Section 23-45 prohibits any fence, wall, or obstruction between three and ten feet above street level within the sight triangle, defined as the area formed by two street lines and a line connecting points twenty-five feet back from their intersection.

Pursuant to Section 23-44, on a corner lot, any fence along the street side shall not exceed four feet in height.

Under Section 23-43, fences in side yards shall not exceed four feet in height when located in front of the building line, and six feet when located behind the building line.

Under Section 23-43, fences in side yards shall not exceed four feet in height when located in front of the building line, and six feet when located behind the building line.

Per Section 3109.4.3, gates in pool fences must be self-closing and self-latching, with the release mechanism located at least fifty-four inches above the bottom of the gate or on the pool side.

New York City Building Code Section 3109.4.2 requires that all swimming pools be enclosed by a fence at least four feet in height.

Under Section 23-43, fences in side yards shall not exceed four feet in height when located in front of the building line, and six feet when located behind the building line.

All Areas

RequirementValueConditions / ExceptionsSource
Finished Side RequirementFence must have the finished (smooth) side facing outward toward adjacent properties and public streetsFor all fences, unless both sides are equally finished
Exception: Fences that are completely enclosed on all sides by the owner's own buildings
New York City Zoning Resolution, Section 23-40 (General)
Material RestrictionsFences shall not be constructed of barbed wire, razor wire, or electrified material in residential districtsIn all residential zoning districts
Exception: Barbed wire permitted on commercial/industrial zones above 6 feet height, with permit
New York City Zoning Resolution, Section 23-40 (General)
Permit Threshold Height6 feet or higher requires a building permitFor any fence, wall, or other enclosure exceeding 6 feet in height above grade
Exception: Retaining walls (different rules apply)
New York City Building Code, Section 105.5 (Permit Exemptions)
Property Line PlacementFences may be placed directly on the property line, but the finished face and all supporting posts must be entirely on the owner's property (protrusions into adjacent property not permitted)In all zoning districts, unless otherwise restricted by easements or deed restrictions
Exception: Shared fences (fence on the line) require mutual agreement between adjacent property owners
New York City Zoning Resolution, Section 23-40 (General)
Sight Triangle Visibility RequirementNo fence, wall, or other obstruction between 3 feet and 10 feet above street level within the sight triangle (area formed by the intersection of two street lines and a line connecting points 25 feet back from the intersection)At street intersections, for corner lots or any property at a street intersection
Exception: Trees with trunks under 8 inches diameter at breast height, or necessary utility poles
Section 23-45 (General Provisions)

Front Yard

RequirementValueConditions / ExceptionsSource
Maximum Fence Height4 feetIn all zoning districts
Exception: Fences higher than 4 feet in front yards may be allowed if they are set back from the street line a distance equal to their height above 4 feet, but not exceeding 8 feet in height overall (special permit may be required)
Section 23-41 (General Provisions)

Rear Yard

RequirementValueConditions / ExceptionsSource
Maximum Fence Height6 feetIn all zoning districts
Exception: Fences may be higher if set back from lot lines proportionally, but not exceeding 10 feet (requires applicable rules under Section 23-42 or special permit)
Section 23-42 (General Provisions)

Side Yard

RequirementValueConditions / ExceptionsSource
Maximum Fence Height4 feet in front of the building line; 6 feet behind the building lineIn all zoning districts
Exception: For corner lots, side yard along the street is treated as a front yard (4 feet max) to the depth of the required front yard of the adjacent lot
Section 23-43 (General Provisions)

Corner Lot

RequirementValueConditions / ExceptionsSource
Maximum Fence Height On Street Side4 feetThe street side yard of a corner lot between the street line and the required front yard depth of the adjoining interior lotSection 23-44 (General Provisions)

residential

RequirementValueConditions / ExceptionsSource
Pool Fence Gate Latching RequirementSelf-closing and self-latching gate with release mechanism located at least 54 inches above the bottom of the gate or on the pool side of the gateFor all swimming pool enclosuresNew York City Building Code, Section 3109.4.3
Pool Fence Height4 feet minimumFor swimming pools that are not enclosed by a building or other permanent structure
Exception: Pools with a safety cover compliant with ASTM F1346 may have reduced fencing
New York City Building Code, Section 3109.4.2 (fencing for swimming pools)

Permit Information

When a permit is required: Fences 6 feet or higher in height require a building permit from the NYC Department of Buildings. Fences below 6 feet may not require a permit, but must still comply with zoning height limits (4 feet in front yards, 6 feet in rear/side yards) and other applicable rules.

Permit fee: — Fees are based on the estimated cost of construction. For current fees, see NYC DOB fee schedule (not extracted due to variability).

Where to apply: NYC Department of Buildings (DOB)

Apply online: https://www.nyc.gov/site/buildings/professionals/apply-for-a-permit/apply-for-a-permit.page

Documents needed:
  • plot plan showing fence location and dimensions
  • zoning diagram (if applicable)
  • completed permit application form
  • proof of property ownership or authorization from owner
  • any required supporting documents (e.g., structural calculations for fences over 6 feet)

Last verified: May 31, 2026

Permit Application Checklist

Track your progress applying for a Fence Regulations permit in New York. Your progress is saved automatically.

0 of 8 items complete

Frequently Asked Questions

Can I build a 6-foot fence in my front yard?

No. In the front yard, the maximum fence height is 4 feet (Section 23-41). For a 6-foot fence, you'd need to place it in the rear yard (Section 23-42) or behind the building line in a side yard (Section 23-43).

Do I need a permit to install a 5-foot fence?

No, a building permit is only required for fences that are 6 feet or taller (Building Code Section 105.5). A 5-foot fence does not require a permit, but you still have to follow all height and placement rules.

I live on a corner lot. Can I put a privacy fence along the side street?

You can, but it must be no taller than 4 feet along the street side (Section 23-44). If you want a taller fence, it would have to be set back from the street or placed in the rear yard where 6 feet is allowed (Section 23-42).

What are the rules for a fence around my pool?

The pool fence must be at least 4 feet high (Building Code Section 3109.4.2), and the gate must be self-closing and self-latching with the release mechanism at least 54 inches above the bottom of the gate or on the pool side (Section 3109.4.3). Also, normal height limits for the yard still apply, but pool safety rules override where stricter.

Source Citations

Data last verified: May 31, 2026

Cite this page

APA

Home Code Guide. (2026). Fence Regulations in New York, NY. Retrieved May 31, 2026, from https://homecodeguide.com/ny/new-york/fence-regulations/

MLA

"Fence Regulations in New York, NY." Home Code Guide, May 31, 2026, https://homecodeguide.com/ny/new-york/fence-regulations/. Accessed May 31, 2026.

Found an error? Report a correction to help keep this information accurate.