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.
Common questions
What does the code say about permit exemption for Fence Height?
Fences up to 7 feet tall are exempt from a building permit under the IRC — taller than that and a permit is required. (IRC R105.2)
What does the code say about maximum height for Fence Height?
Set by local zoning, not the IRC — typical limits are 6 feet in side and rear yards and 3 to 4 feet in front yards, but these are typical ranges, not code; check your zoning ordinance. (Local zoning ordinance (not IRC))
What does the code say about corner lots for Fence Height?
Most jurisdictions restrict fence height inside a sight triangle at street intersections and driveways — commonly around 3 feet within a triangle measured 20 to 30 feet along each property line, though the exact geometry is local. (Local zoning / public works standards (not IRC))
Adopted edition by state
Base-code year from BuildSpec’s adoption records. States often amend the base code, and your city or county may differ, so confirm with your building department.