Building a Fence in New York? Here's When You Need a Permit
Quick answer
Fence permit rules in New York depend heavily on where you live. In New York City, most residential fences 6 feet or shorter on one- and two-family homes do not require a building permit. Outside the city, the statewide Uniform Code applies, but each town and village sets its own height limits and permit requirements — many require a permit for any fence over 4 feet. Front-yard fences are typically limited to 4 feet statewide, and side and rear fences to 6 feet.
New York at a glance
Building code adopted
2020 Uniform Fire Prevention and Building Code of New York State (based on 2018 ICC codes with NYS-specific amendments). New York City maintains its own separate building code.
Common permit threshold
In NYC, no permit required for fences 6 feet or less on one- and two-family homes. Outside NYC, most towns require permits for fences over 4 feet. Rules vary widely by municipality.
Did you know?
New York has two separate building code systems: the statewide Uniform Code, which applies to every municipality except New York City, and the NYC Building Code, which operates independently. This means fence rules in Manhattan are governed by a completely different code than fence rules in Buffalo or Syracuse.
On this page
Two Code Systems: NYC and the Rest of the State
New York is unusual in that it operates two entirely separate building code systems. The Uniform Fire Prevention and Building Code — commonly called the Uniform Code — is the statewide building code administered by the New York State Department of State. It applies to every city, town, and village in the state with one major exception: New York City.
NYC maintains its own NYC Building Code, which is developed and enforced independently by the city's Department of Buildings (DOB). While both codes are based on ICC model codes, they diverge in meaningful ways — including how fences are regulated.
This split matters because fence rules in New York City are significantly different from fence rules in Buffalo, Rochester, or any other municipality in the state. On top of either code, every local government can adopt more restrictive local standards through its own zoning ordinances — and many do.
For a broader look at how fence permit rules work across the country, see our national guide to fence permits.
How New York City Handles Fences
New York City has a relatively straightforward approach to residential fences. Under 1 RCNY §101-14, the Department of Buildings does not require permits for fences 6 feet or less in height on one- and two-family dwellings. Homeowners can install their own fencing without filing plans or obtaining approval — as long as the fence meets the city's height limits.
The NYC Zoning Resolution sets the following height limits in residential districts:
- Front yards: 4 feet maximum
- Side and rear yards: 6 feet maximum
- Corner lots (side along the street): 6 feet maximum
In non-residential districts, the general maximum is 10 feet. Fences used in conjunction with public playgrounds, school yards, and similar facilities can reach 15 feet with commissioner approval.
Fences can be built from wood, vinyl, brick, chain link, or other common materials. The NYC Building Code does not mandate specific materials for standard residential fences, but the overall maximum height of 10 feet applies citywide regardless of material.
When You Do Need a Permit in NYC
You need a permit from the DOB for fences on one- and two-family homes if the fence exceeds 6 feet. For multi-family buildings, commercial properties, and any fence above 6 feet, applications are filed through DOB NOW using a PW1 form. Permit review typically takes a few days to a few weeks depending on complexity.
If your property is in a landmark district or is individually landmarked, the Landmarks Preservation Commission (LPC) must approve and/or issue a separate permit for any fence work — even if the fence is under 6 feet and doesn't need a DOB permit. This review considers the design, materials, and compatibility with the historic neighborhood character. NYC has more than 150 historic districts, so this affects a substantial number of properties.
Find your New York city
Get the exact fence permit requirements for your area.
Fence Rules Outside New York City
Outside the five boroughs, fence regulation falls to each municipality under the umbrella of the statewide Uniform Code. The Uniform Code itself doesn't set specific fence height limits for standard residential fences — it defers to local zoning. But most towns and villages across the state follow a common pattern.
Front-yard fences are limited to 4 feet in most municipalities. Some towns restrict front fences to as low as 3 feet, and many require that fences in the front yard be at least partially open rather than solid.
Side-yard and rear-yard fences generally max out at 6 feet. Some municipalities set a lower limit in the front portion of side yards — the first 35 to 100 feet from the front property line — which effectively extends the front-yard rule partway down the lot.
Permit requirements vary significantly. Many municipalities outside NYC require a permit for any fence over 4 feet. Some require permits for all fences regardless of height. Towns like Smithtown on Long Island, for example, require a permit for any fence over 4 feet and cap all fences at 6 feet. The Town of Southeast in Putnam County requires permits for all fences and walls, with height limits that vary by zoning district.
Buffalo
Buffalo's fence regulations follow the standard upstate pattern: 4 feet in front yards, 6 feet in side and rear yards. The city requires building permits for fences over 6 feet and zoning compliance review for all fences. Buffalo's older, densely built neighborhoods — where lots are narrow and homes are close together — make property line accuracy particularly important. A fence that's even slightly over the line can create an encroachment dispute in neighborhoods where homes sit just a few feet apart.
Rochester
Rochester enforces similar height limits and requires permits for most fence construction. The city's code enforcement division actively monitors residential fencing, particularly in neighborhoods where non-conforming fences have been a recurring issue. Rochester's harsh winters — with heavy snow loads and freeze-thaw cycles — make material choice and post depth critical practical considerations.
Yonkers and the Westchester Suburbs
Yonkers, just north of New York City, requires building permits for fence construction and enforces the standard 4-foot front yard, 6-foot side/rear yard height limits. Many Westchester County municipalities have similarly strict permitting requirements and detailed zoning rules. Some villages in Westchester restrict fence materials more aggressively than the city — prohibiting chain link in front yards or requiring decorative fencing in certain zones.
Syracuse
Syracuse requires permits for fences over 4 feet. The city's zoning code sets the familiar 4-foot front / 6-foot rear pattern and includes visibility triangle requirements at intersections. Syracuse's climate considerations mirror Rochester's — deep frost lines mean posts should be set well below the frost depth to prevent heaving.
Pool Fence Requirements
New York's pool barrier requirements come from the statewide Uniform Code and apply everywhere in the state, including NYC (which has adopted comparable provisions in its own code). The rules apply to any swimming pool — in-ground, above-ground, or portable — that holds water more than 24 inches deep.
The key requirements:
- The barrier must completely surround the pool and be at least 48 inches (4 feet) tall
- No gap between the ground and the bottom of the barrier greater than 4 inches
- Vertical members must be spaced no more than 1.75 inches apart (or 4 inches if the top horizontal rail is 45 inches or higher)
- Gates must be self-closing and self-latching, opening outward from the pool
- Gate latches must be at least 54 inches above the ground, or at least 3 inches below the top of the gate with no opening greater than 0.5 inches within 18 inches of the latch
- All gates must be lockable
Since December 14, 2006, New York also requires every new or substantially modified pool to be equipped with a pool alarm that detects a person entering the water. The alarm must comply with ASTM Standard F2208.
A building wall can serve as part of the required barrier, but if it contains doors or windows with direct pool access, those openings must be equipped with either a powered safety cover, alarms, or self-closing/self-latching hardware.
Local municipalities can — and many do — impose requirements that are more restrictive than the Uniform Code minimum.
Property Lines and Boundary Fences
New York does not have a residential "good neighbor" fence law that requires neighbors to share boundary fence costs. For residential properties, the homeowner who builds the fence pays for it entirely, unless the neighbor agrees in writing to contribute.
New York does have a historical fence viewer system under the Agriculture and Markets Law, but this applies to agricultural land and adjoining farm properties — not typical residential lots. Under this system, appointed "fence viewers" can resolve disputes about the construction and maintenance of division fences between agricultural properties. For homeowners in cities and suburbs, this system is irrelevant.
Property surveys are strongly recommended before building a fence along a boundary line. In many New York municipalities, especially in the suburbs of Long Island and Westchester County, the permit application requires a site plan showing the fence location relative to property lines, and some require a recent survey.
Material Restrictions
New York state law does not ban specific fence materials statewide, but local ordinances impose restrictions that are common across the state.
Barbed wire, razor wire, and electric fences are prohibited in residential zones in virtually every New York municipality. Some towns make exceptions for agricultural properties or lots exceeding a certain acreage.
Chain link is generally allowed in side and rear yards but may be restricted or prohibited in front yards. Some villages — including several in Nassau County and Westchester County — ban chain link entirely in certain residential zones.
Prohibited materials vary by locality. The Village of Garden City, for example, bans chicken wire, welded mesh wire, solid plywood, flakeboard, scrap lumber, bare concrete, and cinder blocks for residential fencing. These restrictions are typical of suburban communities that prioritize neighborhood aesthetics.
For an overview of all building permit requirements in New York — including decks, sheds, pools, and more — see our complete New York building permit guide.
Climate Considerations
New York's climate presents specific challenges for fence installation that don't apply in warmer states.
Frost depth is the biggest practical factor. In upstate New York — Buffalo, Rochester, Syracuse, and the Capital Region — the frost line is typically 48 inches or deeper. Fence posts must be set below the frost line to prevent frost heaving, which can push posts out of the ground over winter. Standard post-setting depths of 24 to 30 inches that work in milder climates are not sufficient in most of New York.
Snow loads affect fence design, particularly for solid panel fences that can accumulate heavy wet snow. Wind-driven snow can also drift against fences and create lateral pressure. Privacy fence styles with small gaps between boards or alternating board designs handle snow better than fully solid panels.
Salt spray is a concern in coastal areas of Long Island and New York City. Metal fences — including chain link, aluminum, and wrought iron — should use marine-grade or powder-coated finishes in coastal environments.
HOA and Co-op/Condo Considerations
While HOAs are less prevalent in New York than in Sun Belt states, they are increasingly common in newer suburban developments and planned communities, particularly on Long Island and in the Hudson Valley. HOA rules can restrict fence height, materials, color, and style beyond what local zoning allows.
In New York City, many homeowners live in cooperatives or condominiums rather than traditional single-family homes. Co-op boards and condo associations may impose their own fence restrictions on any outdoor space you have access to — including backyards, patios, and terraces. Always check with your board before building.
Consequences of Building Without a Permit
If your municipality requires a permit and you skip it, you may face:
- Code enforcement violations — with fines that can accumulate on a per-day basis
- Stop-work orders — an inspector can halt your project immediately
- Mandatory removal — you may be ordered to take the fence down at your expense
- Retroactive permit requirements — some municipalities allow after-the-fact permits, but fees may be higher
- Certificate of Occupancy complications — unpermitted fences can become an issue during a home sale or refinancing, particularly in municipalities that require a CO transfer inspection
New York's Executive Law authorizes local governments to enforce the Uniform Code and impose penalties for violations. The specifics — fine amounts, enforcement procedures, and whether retroactive permits are available — depend entirely on your municipality.
If you're also planning a deck or retaining wall alongside your fence, note that each structure has its own permit requirements under both the Uniform Code and your local zoning ordinance.
| City | Permit threshold | Typical fee | Review time |
|---|---|---|---|
| New York City | Varies | Varies | Varies |
| Buffalo | Varies | Varies | Varies |
| Rochester | Varies | Varies | Varies |
| Yonkers | Varies | Varies | Varies |
| Syracuse | Varies | Varies | Varies |
City names link to full city-specific guides.
Fence permits in neighboring states:
Ready to build your fence?
Professional fence plans that meet New York building code requirements. Permit-ready drawings you can submit with your application.
Frequently asked questions
Do I need a permit for a fence in New York City?
For one- and two-family homes, no building permit is required for fences 6 feet or less in height. The NYC Department of Buildings exempts these under 1 RCNY §101-14, and homeowners can install their own fencing. If your fence exceeds 6 feet, or if you live in a multi-family building or commercial property, you'll need to file an application with the DOB. Properties in landmark or historic districts require separate approval from the Landmarks Preservation Commission regardless of height.
What are the pool fence requirements in New York?
The New York State Uniform Code requires all outdoor residential pools capable of holding water more than 24 inches deep to be enclosed by a barrier at least 48 inches (4 feet) high. Gates must be self-closing and self-latching, with the latch at least 54 inches above the ground or at least 3 inches below the top of the gate. Since December 2006, all new or substantially modified pools must also have an approved pool alarm. NYC and many municipalities outside the city enforce these requirements through permit inspections.
Does my neighbor have to share the cost of a fence in New York?
New York has no state law requiring neighbors to share the cost of a boundary fence in residential areas. Agricultural land has separate rules under the state's fence viewer statutes (Agriculture and Markets Law), but for residential properties in cities, towns, and villages, the cost falls on whoever builds the fence. If you want to share costs, get a written agreement before construction.
Can I build a fence in my front yard in New York?
In most New York municipalities, front-yard fences are limited to 4 feet or less. NYC allows front-yard fences up to 4 feet in residential districts and up to 6 feet on the side of corner lots. Many towns outside the city restrict front-yard fences to 3 to 4 feet. Some municipalities also require that front-yard fences be at least 50% open rather than solid. Check your local zoning code for the specific limits that apply to your property.
Do landmark district rules affect my fence in New York?
Yes. If your property is in a New York City landmark district or a locally designated historic district anywhere in the state, you'll likely need additional approval before building or modifying a fence. In NYC, the Landmarks Preservation Commission (LPC) must approve exterior work on landmarked properties, including fences — regardless of fence height or whether a DOB permit is otherwise required. This review considers materials, design, and how the fence fits the neighborhood's historic character.
Fence permits in New York cities
Select your city for specific fence permit rules, fees, and application details.
Permit requirements vary by city and county. The information in this guide provides general guidance for New York based on common local building codes. Always verify requirements with your local building department before starting your project.