B
HomeLibrariesCode AISearchProjectsBookmarksAddress
FeedbackHelp Desk
Libraries
Code LibraryDiagramsAssembliesProductsCalculatorsChecklistsCSI MasterFormat SpecificationsPermitsAddress ReportDOT SpecsModel CodesTransportationRailroadFire SafetyAccessibilityStructuralTransit SpecsUSACE
Other Jurisdictions
Transportation
MUTCDFHWA FP-14
Accessibility
ADA StandardsPROWAG
PricingLog in
Home / Code Guides / Fence Height

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.

RequirementModel Code StandardSection
Permit exemptionFences up to 7 feet tall are exempt from a building permit under the IRC — taller than that and a permit is requiredIRC R105.2
Maximum heightSet 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 ordinanceLocal zoning ordinance (not IRC)
Corner lotsMost 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 localLocal zoning / public works standards (not IRC)
Retaining wallsA fence on top of a retaining wall does not change the wall rules: retaining walls over 4 feet measured from the bottom of the footing, or any wall supporting a surcharge, need a permit and usually engineeringIRC R105.2
Pool barriersA fence that serves as a swimming pool barrier is a life-safety element with its own rules — typically a 48-inch minimum height with self-closing, self-latching gates under the ISPSC or local pool codeIRC R326; ISPSC (where adopted)
Wind exposureTall solid fences act like sails — some jurisdictions require engineering or deeper post embedment for fences near the 7-foot mark, especially in high-wind regionsIRC R301.2 (wind criteria); local amendments

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.
Deck FootingsDeck LedgerGFCI ProtectionEgress WindowsStairsHandrails & Guards