Fence Height Limits — Permits, Zoning Rules & Corner Lots
Fence height is one of the most misunderstood topics in residential construction because the building code barely regulates it. The IRC only decides whether you need a building permit — how tall the fence can actually be is almost always a zoning question, and zoning varies block by block.
Worth knowing
- The 7-foot IRC exemption only waives the building permit — it does not override zoning. A 7-foot fence that needs no building permit can still be illegal under a 6-foot zoning cap.
- Many cities require a zoning or fence permit even when no building permit is needed, and some measure height from the lower of the two grades when the fence sits on a slope or retaining wall.
- Verify your property line before setting posts. Fences built on the neighbor’s side of the line are a civil problem no permit will fix, and utility easements often prohibit fences outright.
- HOA rules are stricter than zoning in many subdivisions and are enforced separately — approval from the city does not mean approval from the HOA.
Sections cite the 2021 International Residential Code and 2023 National Electrical Code as model standards. This is BuildSpec’s own summary — not ICC or NFPA text; read the authoritative language at codes.iccsafe.org. Your state may be on a different edition with amendments — check your jurisdiction page or get an Address Report.