New York City does not require a DOB building permit for a fence 6 feet or lower at a one- or two-family home; taller fences and work outside that scope require DOB review.
Zoning still limits fence height and placement, including a general 4-foot residential front-yard limit and 6-foot residential maximum. Landmarks, corner visibility, retaining walls, and pool barriers can add review.