Search for whether a fence needs a permit and you will be told seven feet. The number comes from the International Residential Code, which exempts fences not over seven feet from building permits, and it gets repeated as though it were national law.
We have now read and dated the fence rule in 62 jurisdictions. Thirty-five of them publish a specific height. Seven feet is the most common answer, and it is the answer in eleven of the thirty-five. It is wrong in the other twenty-four.
The published thresholds
| Height | Jurisdictions |
|---|---|
| 1 foot | 1 |
| 3 feet | 4 |
| 4 feet | 1 |
| 5 feet | 1 |
| 6 feet | 11 |
| 7 feet | 11 |
| 8 feet | 6 |
A homeowner who builds a six-foot fence on the seven-foot assumption is compliant in twenty-eight of these jurisdictions and needs a permit in seven.
Arizona disagrees with itself
The clearest illustration is one state. These are the eight Arizona jurisdictions we cover. Six of them are in metropolitan Phoenix; Pima County is the Tucson area, and Maricopa County here means the unincorporated parts of the county rather than the city.
| Jurisdiction | Threshold |
|---|---|
| Maricopa County | 1 foot |
| Gilbert | 3 feet |
| Peoria | 3 feet |
| Phoenix | 3 feet |
| Scottsdale | 3 feet |
| Mesa | 6 feet |
| Chandler | 7 feet |
| Pima County | 7 feet |
Chandler and Gilbert share a border. A fence that is permit-exempt on the Chandler side at six feet requires a permit on the Gilbert side, where the line is drawn at half that height. Phoenix, Scottsdale and Peoria also stop at three feet, so four of the six Phoenix-area jurisdictions we cover are twice as strict as the number the search results hand you.
Unincorporated Maricopa County is the strictest we have found anywhere: a fence over one foot in height requires at minimum a drainage clearance permit, and fences over six feet additionally require a building permit and zoning clearance. That is a drainage rule wearing a fence rule’s clothing, which is why it looks so out of line with everyone else.
Washington runs the other way
Four of the six jurisdictions at eight feet are in Washington: Bellevue, Seattle, Snohomish County and Thurston County. Washington’s residential code exempts a taller fence than the IRC baseline, so a Seattle homeowner has a foot more headroom than the number most search results will hand them.
Two jurisdictions where height is the wrong question
Height is the standard framing, and in two places it is simply not the test.
Arlington County, Virginia requires a zoning fence permit for any fence, at any height. Virginia’s statewide building code exempts fences from the building permit, which is what most sources report, but Arlington’s separate zoning permit still applies. A homeowner reading only the state exemption concludes, wrongly, that no permit is needed.
Virginia Beach triggers on distance, not height. A zoning fence permit is required for any fence or wall within thirty feet of a public right-of-way, excluding agricultural fences in the AG district. A four-foot fence near the street needs a permit; a taller one deep in the back yard may not.
Those two cases are the reason we do not publish a single national number. The question “how tall can my fence be” assumes height is the variable. Sometimes the variable is what the fence is near, or whether your county issues zoning permits separately from building permits.
Method
Every figure above was read from the jurisdiction’s own published guidance or adopted code and carries a verification date on its page.
Twenty-six of the sixty-two jurisdictions we cover do not publish a numeric height for fences at all. They are excluded from the counts rather than assigned the IRC default, because assigning a default is exactly the error this piece is about. Virginia Beach is excluded from the height counts too, for the opposite reason: it publishes a number, but the number is a distance from the right-of-way, not a height. Thirty-five heights, one distance, twenty-six silent.
Sources
- Town of Gilbert AZ, residential permit requirements (accessed 2026-08-01)
- City of Peoria AZ, when a permit is required (accessed 2026-08-01)
- City of Phoenix, residential building permits (accessed 2026-08-01)
- Maricopa County AZ, fence, wall and pool barrier requirements (accessed 2026-08-01)
- City of Chandler AZ, Home Owners Building Permit Manual (accessed 2026-08-01)
- Thurston County WA, do you need a permit (accessed 2026-08-01)
- Arlington County VA, fence and retaining wall permits (accessed 2026-08-01)
- City of Virginia Beach, fence and wall permits (accessed 2026-08-01)
Get rule-change alerts
We catch permit rule and fee changes in our verification passes and post them to the rule tracker. Get them by email instead.
We may send occasional verified rule-change notes for your area; unsubscribe anytime. See our privacy policy.
Look up your locality
- Arizona permit pages rules by locality
- Washington permit pages rules by locality
- Virginia permit pages rules by locality
- California permit pages rules by locality