Guide
The Seven Foot Fence Rule Is Not a Rule
The model code exempts fences not over seven feet, so the internet repeats seven feet. Across the jurisdictions that publish a height we found lines from one foot to nine, and Phoenix-area cities that draw the line at three.
By PermitNotebook Research Published Last checked 9 official sources
Search for whether a fence needs a permit and you will be told seven feet. The number comes from the model code. The 2024 International Residential Code exempts, in Section R105.2, "Fences not over 7 feet (2134 mm) high." It gets repeated as though it were national law.
We have read and dated the fence rule in 169 jurisdictions. 80 of them publish a specific height. Seven feet is the most common answer, and it is the answer in 31 of the 80. It is wrong in the other 49. 15 more require no fence permit at all. The full national breakdown is on do you need a permit for a fence; this guide is about the seven foot number.
The published thresholds
| Height | Jurisdictions |
|---|---|
| 1 foot | 1 |
| 2 feet | 2 |
| 3 feet | 5 |
| 3.5 feet | 2 |
| 4 feet | 4 |
| 5 feet | 1 |
| 6 feet | 23 |
| 7 feet | 31 |
| 8 feet | 10 |
| 9 feet | 1 |
Heights stated in inches are converted to feet (42 inches is 3.5 feet). A homeowner who builds a six-foot fence on the seven-foot assumption is under the line in 42 of these 80 jurisdictions, exactly at it in 23, where the wording decides, and over it in 15.
Arizona disagrees with itself
The clearest illustration is one state. These are the 9 Arizona jurisdictions we cover. 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 feet |
| Gilbert | 3 feet |
| Peoria | 3 feet |
| Phoenix | 3 feet |
| Scottsdale | 3 feet |
| Mesa | 6 feet |
| Chandler | 7 feet |
| Pima County | 7 feet |
| Tucson | Permit for every fence |
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 several Phoenix-area jurisdictions are more than twice as strict as the number the search results hand you.
Unincorporated Maricopa County is the strictest we have found: 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
10 jurisdictions draw the line at eight feet, and 4 of them are in Washington: Bellevue, Seattle, Snohomish County, Thurston County. A taller line than the model code’s gives a homeowner there 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 Fence or Retaining Wall Permit, submitted as a zoning application, for new and replacement fences. Virginia’s statewide building code exempts fences from the building permit unless the fence is a pool barrier, which is what most sources report, but Arlington’s 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 is computed when the site is built from the rows we read in each jurisdiction’s own published guidance or adopted code, the same rows the national page and each locality page render. 74 of the 169 jurisdictions publish no numeric fence height, either because they permit every fence, because the rule turns on something else (material, a pool barrier, a share of the fence repaired, a distance), or because we could not confirm it. They are excluded from the height counts rather than assigned the model-code default, because assigning a default is exactly the error this piece is about.
Sources
- International Code Council, 2024 International Residential Code, Section R105.2, Building, item 2 (fences) (accessed )
- Town of Gilbert AZ, residential permit requirements (accessed )
- City of Peoria AZ, when a permit is required (accessed )
- City of Phoenix, residential building permits (accessed )
- Maricopa County AZ, fence, wall and pool barrier requirements (accessed )
- City of Chandler AZ, Home Owners Building Permit Manual (accessed )
- Thurston County WA, do you need a permit (accessed )
- Arlington County VA, fence and retaining wall permits (accessed )
- City of Virginia Beach, fence and wall permits (accessed )
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