New York City, NY building and zoning guide
Zoning setbacks, the building department, permits and who to contact, for decks, sheds, fences and other home projects.
Rules last checked Dec 4, 2026
New York City, New York is a city of about 8,480,000 people. It has 3,680,000 homes, and 265,000 of them are detached houses lived in by their owners. The typical home is worth about $777,600, up from $606,000 five years earlier. Half of New York City's homes were built before 1952, and about 251,000 have been built since 2010.
Source: US Census Bureau, American Community Survey, 2020–2024 estimates; Building Permits Survey, 2023–2025.
New York City at a glance
- People
- 8,480,000
- Homes
- 3,680,000
- Homes lived in by their owners
- 33%
- Owner-occupied detached houses
- 265,000
- Typical home value
- $777,600
- Five years earlier
- $606,000
- Typical year built
- 1952
- Homes built since 2010
- 251,000
- New houses permitted each year
- 199
- Typical year owners moved in
- 2007
Building department
New York City Department of Buildings (DOB)
From the town's website, checked Dec 3, 2026.
Call 811 before you dig
New York City's zoning rules
We have New York City's rules for 15 zoning districts. For a house in the R1-1 district, the setbacks are 20 ft at the front, 8 ft at the sides and 20 ft at the rear.
Find your district
Your zoning district is a short code, such as R1-1, set by the town's zoning map. It decides which numbers below apply to your lot.
Address lookup coming soonLook up your district on the zoning map: ZoLa, New York City's Zoning & Land Use Map
Your house
The least distance the house must keep from each property line.
- Front
- 20 ft
- From the front property line, along the street
- Each side
- 8 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 20 ft
- From the front property line, along the street
- Each side
- 8 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 20 ft
- From the front property line, along the street
- Each side
- 8 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 15 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 15 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 15 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 15 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 15 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 45 ft max
- How tall the house can be
- Maximum building height in R5 without a letter suffix; base height 35 ft with a setback at or below it
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-422. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Your house
The least distance the house must keep from each property line.
- Front
- 10 ft
- From the front property line, along the street
- Each side
- 5 ft
- From each side property line
- Rear
- 20 ft
- From the rear property line
What do front, side and rear mean?
A setback is the open strip along a property line where the house can't go. The front is the line along the street; on a corner lot, codes often treat both street sides as fronts.
Sheds and other outbuildings
- Each side
- 3 ft
- From each side property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Rear
- 3 ft
- From the rear property line
- Backyard shed made of flammable materials (the page also says a shed within three feet of the property line needs plans and a permit)
- Temporary portable freestanding shed on the same lot as a one- or two-family home, up to 120 square feet and 7 ft 6 in high, no permit needed: 3 ft
- Height
- 10 ft max
- How tall a shed or outbuilding can be
- Sheds in a rear setback (the open strip along the rear property line)
- Accessory mechanical equipment (such as air conditioners) in rear yards and side yards, R1 through R5: 10 ft max
- Accessory above-grade swimming pool structures (not allowed in any front yard): 8 ft max
Decks
- Each side
- 3 ft
- From each side property line
Fences
- Front yard
- 4 ft max
- How tall a fence can be in front of the house
- On a corner lot: 6 ft max (only in part of the yard; see section 23-312)
- Side and rear yards
- 6 ft max
- How tall a fence can be beside and behind the house
House size limits
- Height
- 35 ft max
- How tall the house can be
- Top of the sloping roof planes (ridge line), single- or two-family detached, semi-detached or zero lot line
- Outer (perimeter) walls: setback or pitched roof required above this height: 25 ft max
Where these numbers come from: New York City zoning code: sections 23-312, 23-321, 23-332, 23-341, 23-342. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-421. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: sections DOB page: Fences & Backyard Sheds (1 RCNY 101-14), DOB page: Fences & Backyard Sheds (BC 3112.1). Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section DOB page: Decks, Porches & Swimming Pools. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 23-312. Document dated Dec 5, 2024. Checked Dec 4, 2026.
Where these numbers come from: New York City zoning code: section 1 RCNY 101-14, Table 1, item 1. Document dated Dec 3, 2026. Checked Dec 4, 2026.
Always check zoning rules with your town before you build or apply.
Plan your deck, shed or fence on your own lot
Draw it to scale and see an estimate of how far it sits from the property lines.
Who to contact and where to apply
New York City's own pages for permits, zoning and inspections. Fees, forms and deadlines change, so read them there.
- Building department
- NYC Department of Buildings
- Zoning board
- Board of Standards and Appeals
- Zoning code
- Zoning Resolution of the City of New York
- Property and parcel map
- Property Information Portal (digital tax map)
- Historic districts and landmarks
- Landmarks Preservation Commission: applications
Each link was opened and checked on Dec 1, 2026.
Flood areas
The Federal Emergency Management Agency (FEMA) maps the areas most at risk of flooding, so you can see whether your lot is in one.
Related guides
See something wrong on this page, or have feedback? Tell us and we'll look at New York City's rules again.