The NYC Building Code generally allows a maximum fence height of 10 feet, and the NYC Zoning Resolution outlines additional height limits: Residential districts: 6 feet, BC §3112.1. Residential front yard fences: 4 feet, ZR §23-44. Residential side of corner lot: 6 feet, ZR §23-44.