State guide Reviewed November 2026

Do You Need a Permit to Build a Fence in Arizona?

Your city, town or county sets the fence rule. Phoenix requires a permit over 3 ft, Tucson for every fence, and unincorporated Pima County needs no building permit for non-retaining fences up to 7 ft. Where A.R.S. 36-1681 applies, a pool fence must be at least 5 ft high.

Statewide rule None for ordinary fences Cities adopt codes under A.R.S. 9-802 and may regulate partition fences and street-line fences (A.R.S. 9-276).
Who issues it Your city or town, else your county Unincorporated land follows the county zoning ordinance and any code adopted under A.R.S. 11-861.
Outside city limits County rules; drainage can count Unincorporated Maricopa County: drainage clearance over 1 ft. Unincorporated Pima County: no building permit to 7 ft.
Height that triggers it Set locally; pool fences are separate Where A.R.S. 36-1681 applies a pool barrier is at least 5 ft. Phoenix, Maricopa and Tucson's main page need engineering over 7 ft.
How Arizona sets building rules. Arizona state law leaves building codes to local governments: cities and towns adopt and amend a code by reference under A.R.S. 9-802, and county boards may adopt one for zoned unincorporated areas under A.R.S. 11-861 (rural or unclassified zones may be exempted). Editions vary, for example the 2024 codes in unincorporated Pima County and the 2018 IRC in unincorporated Maricopa County. The state's own rule for these projects is the pool enclosure law, A.R.S. 36-1681.

Does Arizona have a state fence permit law?

The statutes reviewed for this page leave fence permits to local governments. Cities and towns adopt their codes by reference under A.R.S. 9-802, and A.R.S. 9-276 gives cities the power to regulate partition fences and party walls and the location of walls and fences on the line of a street. Counties adopt codes for zoned unincorporated land under A.R.S. 11-861. The result is a patchwork: Phoenix requires a permit for fences over 3 feet (zoning review only up to 7 feet), Tucson requires a Fence/Wall permit for every fence and wall, and unincorporated Pima County needs no building permit for non-retaining fences up to 7 feet, though its list is examples and a permit may still be required.

What if the fence is around a pool?

Then state law may apply directly. A.R.S. 36-1681 covers a pool or other contained body of water 18 inches or more deep at any point, wider than 8 feet and intended for swimming. It must be entirely enclosed by a wall, fence or barrier at least five feet high measured on the outside, with no opening a 4-inch sphere can pass through, and gates that self-close, self-latch and open outward from the pool. The law has exceptions, including homes where all residents are at least six and places whose own barrier ordinance predates it or is equal or stricter; the pool page has the details.

In Phoenix, Tucson and unincorporated Maricopa County a pool barrier needs a permit even where ordinary fences are exempt: Maricopa County lists pool barriers among the fences that need a zoning clearance.

What changes outside city limits?

The county takes over, and its rules can be stricter in unexpected ways. In unincorporated Maricopa County a drainage clearance is required for any fence or wall over one foot, or any that changes the historic flow of surface runoff whatever its height; wire strand or pipe rail fencing without mesh needs no permit, and any fence in a Special Flood Hazard Area needs a Floodplain Use Permit. Sealed plans are required for fences or walls over 7 feet. The county's directives give two different heights for when a zoning clearance starts (over 6 feet in one, over 8 feet in another), so confirm with the county. Maricopa also treats retaining walls, walls on hillside lots and fences on a corner lot abutting a key lot separately.

What about ranch fences and HOAs?

A.R.S. 3-1426 defines a lawful fence: posts no more than thirty feet apart carrying at least four barbed wires, the top wire fifty inches above the ground, or another fence equally strong and effective to turn livestock. It does not set a permit requirement. In a planned community, A.R.S. 33-1817 says approval of a construction project's designs and plans shall not be unreasonably withheld, notwithstanding the community documents.

Who can build the fence?

A.R.S. 32-1121 exempts owners from contractor licensing when they build on their own property themselves, with their own employees or with licensed contractors, and the structure is intended for occupancy solely by the owner and not for sale or rent. Except against an owner-occupant, a sale or rental within one year after completion is treated as evidence that the work was for sale or rent. An unlicensed worker may take only casual or minor jobs under $1,000, and never work that requires a local building permit. Your city or county may also have its own owner-builder paperwork.

Fence Permit rules in the 2 Arizona cities we have researched

Each row is read off our page for that city, which quotes the city’s own code section and fee schedule. Follow the city link for the conditions on each rule, the worked fee examples and the sources.

CityOrdinary fenceBuilding permit starts atZoning height caps: front · side and rearCity fee for a 6 ft wood fence
PhoenixExempt below a heightOver 3 ft (zoning-only review to 7 ft; structural design above 7 ft)3 ft in required front yards and visibility triangles · not quoted; over 7 ft needs engineering$98 for 40 ft of wood fence; $219 for 100 ft; $267 for a 150 ft block wall
TucsonZoning filing, any heightFence/Wall permit for every fence and wall; building permit with engineering over 7 ftNot quoted · 6 ft in a perimeter yard (7 ft proposed in CODE Tucson '26, not adopted; DDO adds up to 2 ft)About $108 for 150 ft of wood fence; about $153 for 150 ft of 6 ft block wall

A ⚠ marks a city whose own documents give two different answers. To compare more cities, see fence permit rules in 30 cities and fence permit fees in 30 cities.

Not in one of these cities?

The rule that binds you is the one your own city has adopted, or your county’s if you live outside city limits. Ask the building department for its list of work exempt from permit and its zoning rules for accessory structures before you buy materials; the phone call is free and the answer is specific to your lot.

Frequently asked questions

No state statute reviewed sets a figure; each city, town or county does. Unincorporated Pima County needs no building permit for non-retaining fences up to 7 feet, Phoenix requires a permit over 3 feet, Tucson requires a Fence/Wall permit for every fence, and unincorporated Maricopa County asks for a drainage clearance on fences over 1 foot.
Where A.R.S. 36-1681 applies, yes: at least five feet measured on the outside, with self-closing, self-latching gates that open outward. The law covers pools 18 inches or more deep, wider than 8 feet and intended for swimming, with exceptions such as homes where all residents are at least six. Unincorporated Maricopa County asks for 60 inches above grade.
Usually some clearance. The county requires a drainage clearance for fences or walls over 1 foot or any that affects runoff, a Floodplain Use Permit for any fence in a flood hazard area, and a zoning clearance for pool barriers and taller fences. Wire strand or pipe rail fencing without mesh needs no permit.
Cities may regulate partition fences and party walls under A.R.S. 9-276, so look to your city code. State law also defines a lawful fence in A.R.S. 3-1426, built to turn livestock. Neither sets a permit height for a backyard fence, so the local building and zoning rules still decide.
Your HOA can enforce its recorded design rules, but A.R.S. 33-1817 says that, notwithstanding the community documents, approval of a construction project's designs and plans shall not be unreasonably withheld. The HOA's approval is a separate process from any city or county permit.

Sources

Every statement about state law on this page is taken from the documents below, read on the date shown at the top. Laws and adopted code editions change; the linked text is the authority, and your city or county building department has the final word on your project.

  • A.R.S. 9-802 — azleg.gov
  • A.R.S. 9-276(A)(13) — azleg.gov
  • A.R.S. 11-861(A) — azleg.gov
  • Maricopa County DD-5012-01; Maricopa County DD-5012-01, summary of Zoning Ordinance 1204.4; Maricopa County DD-5012-01, Building Codes — maricopa.gov
  • Maricopa County DD-3012-01, Zoning Ordinance Article 1204.4 — maricopa.gov
  • Pima County, Do I Need a Permit, Building item 19; Pima County, Do I Need a Permit — pima.gov
  • A.R.S. 36-1681(A); A.R.S. 36-1681(B)(1); A.R.S. 36-1681(B)(2); A.R.S. 36-1681(B)(3)(a); A.R.S. 36-1681(B)(3)(b); A.R.S. 36-1681(D)(7); A.R.S. 36-1681(D)(5); A.R.S. 36-1681(D)(6) — azleg.gov
  • Maricopa County Local Additions and Addenda, IBC 3109.4.1 item 1 — maricopa.gov
  • A.R.S. 3-1426(A); A.R.S. 3-1426(B) — azleg.gov
  • A.R.S. 33-1817(B)(3); A.R.S. 33-1817(B) — azleg.gov
  • A.R.S. 32-1121(A)(5); A.R.S. 32-1121(A)(14); A.R.S. 32-1121(A)(14)(a) — azleg.gov

Related: Arizona shed permit · Arizona deck permit · Arizona pool permit · Fence permit guide · All state guides

Stay up to date
Get notified when we add new cities or update permit fees.