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.
- Fence must have the finished (smooth) side facing outward toward adjacent properties and public streetsNew York City Zoning Resolution, Section 23-40 (General)
- Fences shall not be constructed of barbed wire, razor wire, or electrified material in residential districtsNew York City Zoning Resolution, Section 23-40 (General)
- 6 feet or higher requires a building permitNew York City Building Code, Section 105.5 (Permit Exemptions)
- Fences 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)New York City Zoning Resolution, Section 23-40 (General)
- No 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)Section 23-45 (General Provisions)
- Permit 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.
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.
Notice: Our data for Fence Regulations in New York may be incomplete. We recommend verifying all requirements directly with the New York Planning Department before taking action.
In Plain English
- Fence must have the finished (smooth) side facing outward toward adjacent properties and public streets — The nice, smooth side of your fence should face your neighbors and the street, not the rough side. That's the rule to keep the neighborhood looking good. New York City Zoning Resolution, Section 23-40 (General)
- Fences shall not be constructed of barbed wire, razor wire, or electrified material in residential districts — You cannot use barbed wire, razor wire, or electric fencing in a residential area. Stick to wood, metal, vinyl, etc. New York City Zoning Resolution, Section 23-40 (General)
- 6 feet or higher requires a building permit — If you want a fence that's 6 feet or higher, you need to get a building permit from the city first. Fences under 6 feet usually don't require a permit, but check local rules. New York City Building Code, Section 105.5 (Permit Exemptions)
- Fences 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) — You can build your fence right on the property line, but make sure the whole fence, including posts, is on your side. Don't let any part stick onto your neighbor's land. New York City Zoning Resolution, Section 23-40 (General)
- No 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 intersections, keep the triangular area starting 25 feet from the corner clear of any fence or structure between 3 and 10 feet high so drivers can see. Section 23-45 (General Provisions)
- 4 feet — If you live on a corner, the fence facing the side street can't be taller than 4 feet. Section 23-44 (General Provisions)
- 4 feet — For side yards: if the fence is in front of your house's front wall (closer to the street), it can be 4 feet tall. If it's behind that line, you can go up to 6 feet. Section 23-41 (General Provisions)
- 6 feet — For side yards: if the fence is in front of your house's front wall (closer to the street), it can be 4 feet tall. If it's behind that line, you can go up to 6 feet. Section 23-42 (General Provisions)
- Self-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 gate — Your pool gate must automatically close and latch. The latch must be at least 54 inches from the ground (or on the pool side) so kids can't reach it. New York City Building Code, Section 3109.4.3
- 4 feet minimum — If you have a pool, you need a fence at least 4 feet tall around it to keep kids safe. New York City Building Code, Section 3109.4.2 (fencing for swimming pools)
- 4 feet in front of the building line; 6 feet behind the building line — For side yards: if the fence is in front of your house's front wall (closer to the street), it can be 4 feet tall. If it's behind that line, you can go up to 6 feet. Section 23-43 (General Provisions)
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
| Requirement | Value | Conditions / Exceptions | Source |
|---|---|---|---|
| Finished Side Requirement | Fence must have the finished (smooth) side facing outward toward adjacent properties and public streets | For 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 Restrictions | Fences shall not be constructed of barbed wire, razor wire, or electrified material in residential districts | In 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 Height | 6 feet or higher requires a building permit | For 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 Placement | Fences 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 Requirement | No 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
| Requirement | Value | Conditions / Exceptions | Source |
|---|---|---|---|
| Maximum Fence Height | 4 feet | In 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
| Requirement | Value | Conditions / Exceptions | Source |
|---|---|---|---|
| Maximum Fence Height | 6 feet | In 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
| Requirement | Value | Conditions / Exceptions | Source |
|---|---|---|---|
| Maximum Fence Height | 4 feet in front of the building line; 6 feet behind the building line | In 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
| Requirement | Value | Conditions / Exceptions | Source |
|---|---|---|---|
| Maximum Fence Height On Street Side | 4 feet | The street side yard of a corner lot between the street line and the required front yard depth of the adjoining interior lot | Section 23-44 (General Provisions) |
residential
| Requirement | Value | Conditions / Exceptions | Source |
|---|---|---|---|
| Pool Fence Gate Latching Requirement | Self-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 gate | For all swimming pool enclosures | New York City Building Code, Section 3109.4.3 |
| Pool Fence Height | 4 feet minimum | For 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
- 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.
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
- New York City Zoning Resolution, Section 23-40 (General)
- New York City Building Code, Section 105.5 (Permit Exemptions)
- Section 23-45 (General Provisions)
- Section 23-44 (General Provisions)
- Section 23-41 (General Provisions)
- Section 23-42 (General Provisions)
- New York City Building Code, Section 3109.4.3
- New York City Building Code, Section 3109.4.2 (fencing for swimming pools)
- Section 23-43 (General Provisions)
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.