Arizona fence laws are set mostly at the city and county level on top of a thin layer of state statutes, so what you can legally build depends on where your property sits. In most Arizona cities, front-yard fences top out at three or four feet and back-yard fences at six, a building permit is often required above three feet, and pools carry their own strict statewide barrier rule. Rural land follows a different framework entirely because Arizona is an open-range state.
Before you set a single post, you need to confirm your property line, check your city’s height and permit rules, look for recorded easements, and call Arizona 811.
How Tall Your Fence Can Be
There is no statewide height limit. Each city sets its own, and the numbers vary enough that you need to look up your specific jurisdiction rather than rely on a neighbor’s fence as a guide.
In Phoenix, residential fences in the required front yard cannot exceed three feet. Side and back yard fences can go up to six feet. Anything taller requires a variance from the Planning Department.1City of Phoenix. Residential Fences and Walls Phoenix also restricts anything taller than three feet inside the sight triangle at corner lots, so visibility at intersections is preserved.
Tempe is more generous. Front-yard fences can reach four feet, and side or rear fences can reach eight feet for single-family homes. A front-yard fence taller than four feet needs a use permit, and even with that permit the ceiling is six feet, plus up to two more feet for architectural features like archways.2City of Tempe, AZ. General Fence and Wall Height Standards
Most Arizona municipalities also prohibit barbed wire and electrified fencing in residential zones. Rural and agricultural parcels generally face fewer material restrictions, though no fence can block a public right-of-way or create a road hazard.
When You Need a Permit
The height that triggers a permit is lower than most homeowners expect. In Phoenix, any residential fence taller than three feet needs a building permit, as does any retaining wall over three feet.1City of Phoenix. Residential Fences and Walls Because standard backyard privacy fences run six feet, that means almost every one of them requires a permit.
Tucson handles it differently. All residential walls and fences go through a site plan review for zoning compliance, but a full building permit with structural engineering is only required for fences and walls over seven feet.3City of Tucson. Residential Permits Tempe requires a building permit for any wall over six feet.2City of Tempe, AZ. General Fence and Wall Height Standards
The process typically means submitting a site plan to the local building department showing the fence’s location, height, and materials in relation to your property lines and setbacks. Fees range from about $50 to several hundred dollars depending on the jurisdiction and the scope of the project. Some cities inspect the work after construction. Building without the required permit can produce fines, a stop-work order, or a demand to tear the fence out.
Property Lines, Surveys, and Easements
A fence does not legally mark where your lot ends. Boundaries are defined by the recorded legal descriptions in deeds, plats, and county records. Putting a fence two feet onto your neighbor’s land does not give you that strip of land simply because the fence has stood there a while. When a dispute reaches court, judges rely on a licensed surveyor’s findings, not on where someone decided to drive a post.
A professional boundary survey before you build is the single best way to prevent a problem. Surveyors locate your corners using the deed, existing monuments, and GPS, then mark them with stakes or pins. A residential boundary survey generally runs from about $1,000 to $5,500 depending on lot size and terrain. That is far cheaper than ripping out a finished fence that crossed the line.
Easements add another layer. Many Arizona parcels carry recorded easements for utility companies, drainage districts, or access to neighboring lots. If your fence blocks one, the easement holder can require you to remove it. Pull your title report or plat map from the county recorder’s office and look for easement notations before you finalize a fence layout.
Adverse Possession If a Fence Sits in the Wrong Place
Under Arizona Revised Statutes 12-526, someone who openly, exclusively, and continuously occupies another person’s land for at least ten years, treating it as their own, can file a legal claim to take ownership of it.4Arizona Legislature. Arizona Revised Statutes 12-526 – Real Property in Adverse Possession and Use by Possessor A long-standing fence that encloses part of a neighbor’s lot is one of the more common ways this comes up.
Arizona courts require five elements for the claim: the possession must be hostile (meaning the claimant treated the land as theirs, not with the owner’s permission), exclusive, actual, open and notorious, and continuous for the full ten-year period. If you discover a neighbor’s fence encroaches on your lot, acting quickly matters. Options include negotiating to move the fence, filing a quiet title action, or granting a written license that makes the use permissive and resets the clock.
Pool Fences Have a Separate, Stricter Rule
Arizona treats pool barriers as a safety issue governed by state statute, not local height rules. Under ARS 36-1681, any swimming pool or contained body of water must be entirely enclosed by a wall, fence, or barrier at least five feet tall, measured from the outside.5Arizona Legislature. Arizona Revised Statutes 36-1681 – Pool Enclosures
Gates in the enclosure have to be self-closing and self-latching. The latch has to sit at least fifty-four inches above the ground, or be positioned on the pool side with a release mechanism at least five inches below the top of the gate. Gates must open outward, away from the pool. These specifications exist because small children are the primary risk, and a latch a toddler can reach defeats the purpose.
A violation is classified as a petty offense, and no fine is imposed if the owner installs a compliant barrier within forty-five days of the citation and completes an approved pool safety course.5Arizona Legislature. Arizona Revised Statutes 36-1681 – Pool Enclosures The real exposure is civil. If a child drowns or someone is injured because the pool lacked a proper enclosure, the owner faces negligence liability that dwarfs any municipal fine, and a prosecutor can escalate the criminal charge if the conduct looks reckless or criminally negligent.
Open Range and Agricultural Land
Arizona is an open-range state, and this is where fence law reverses what most people expect. In open-range areas, the burden to fence is on the person who wants to keep livestock out, not on the livestock owner. Under ARS 3-1427, a landowner cannot recover damages from roaming livestock unless the damaged land was enclosed within a “lawful fence.”6Arizona Legislature. Arizona Revised Statutes 3-1427 – Recovery for Damage to Unfenced Lands If cattle wander onto your unfenced rural parcel and chew up your landscaping, you bear the loss.
No-fence districts are the exception, usually designated in suburban zones. Inside one, the rule flips: livestock owners who recklessly allow their animals to run at large face a class 2 misdemeanor and civil liability for trespass damages under ARS 3-1424.7Arizona Legislature. Arizona Revised Statutes 3-1424 – Civil and Criminal Liability of Person Allowing Stock to Run at Large Within No-Fence District Incorporated cities and towns are exempt from the open-range framework entirely and have their own ordinances for loose animals.
A “lawful fence” is defined with real specificity. Under ARS 3-1426, it must have sturdy posts set firmly in the ground no more than thirty feet apart, strung with at least four barbed wires. The top wire sits fifty inches above the ground, with the remaining wires spaced at intervals of twelve, twenty-two, and thirty-two inches below the top. If posts are set more than one rod apart (about sixteen and a half feet), the wires must be supported by stays no more than seven and a half feet apart.8Arizona Legislature. Arizona Revised Statutes Title 3 Agriculture 3-1426 – Lawful Fence Defined The statute also recognizes fences built with other materials of equal strength and effectiveness, so a well-built pipe-and-cable fence or a solid wood fence can qualify.
HOA Rules Add Another Layer
If your property is in a homeowners’ association, the CC&Rs likely impose fence restrictions tighter than what the city requires. HOAs commonly dictate approved materials, colors, maximum heights, and even which direction the finished side has to face. These are enforceable contracts that run with the property, so you agreed to them when you bought the home.
Scottsdale and some other cities layer in municipal design standards in historic districts and scenic corridors that function similarly. Check both your HOA documents and your city’s zoning overlay before finalizing a design.
One wrinkle worth knowing: under the federal Fair Housing Act, a housing provider (including an HOA) must grant reasonable accommodations for residents with disabilities. If you need a taller fence to safely contain an assistance animal, the HOA may be required to vary its standard rules.
Cost-Sharing and Maintenance With Your Neighbor
Arizona has no statute requiring neighbors to split the cost of building or maintaining a boundary fence. If you want a fence and your neighbor does not, you pay for it. Cost-sharing only happens when both parties agree, and that agreement should be in writing before anyone digs.
A written agreement should cover each party’s share of construction cost, who handles future repairs, what happens if one party wants to replace the fence with a different material or style, and how disputes about maintenance get resolved. If you build or replace a fence without consulting your neighbor first, you generally cannot send them a bill afterward.
Maintenance liability follows ownership. Unless there is a written agreement or a long documented pattern of shared upkeep, the fence belongs to whoever built it, and that person is responsible for keeping it in safe condition. A deteriorating fence that collapses and injures someone or damages a neighbor’s property can expose the owner to a negligence claim. In a no-fence district, a fence too degraded to contain livestock puts the owner on the hook for whatever the escaped animals do under ARS 3-1424.7Arizona Legislature. Arizona Revised Statutes 3-1424 – Civil and Criminal Liability of Person Allowing Stock to Run at Large Within No-Fence District
Call Arizona 811 Before You Dig
Arizona law requires you to contact Arizona 811 before any digging project, including setting fence posts. Buried gas lines, fiber-optic cables, water mains, and electrical conduits run under residential lots more often than homeowners realize, and hitting one can cause injuries, service outages, and significant financial liability. Once you file a request, utility companies mark their underground lines at no charge, and you are then required by law to use only hand tools within two feet of any marked facility.
You can reach Arizona 811 by dialing 811 or submitting a request at arizona811.com. File the locate request at least a few business days before you intend to dig.
Penalties for Noncompliant Fences
Building a fence that violates local code can trigger citations, fines, and an order to modify or remove the structure. Enforcement typically starts with a notice of violation and a compliance window. Fix the problem within the deadline and many cities close the case without a fine. Ignore it and the consequences escalate.
In Phoenix, unresolved code violations can lead to civil citations, criminal summons to municipal court, or the city hiring a contractor to abate the violation at the owner’s expense.9City of Phoenix. Code Compliance Fines vary by city and can be substantial for repeated offenses. A noncompliant fence can also produce a property lien if abatement costs go unpaid.
Pool enclosure violations carry the lightest formal penalty on paper (petty offense, waived fine if cured within forty-five days) and by far the largest practical exposure, because a wrongful death or personal injury lawsuit tied to a missing pool barrier can be orders of magnitude larger than the cost of building the enclosure in the first place.