State guides · Property lines · Fences
Fence rules by state
Fence height, setback and permit rules are set locally, by your city, township or county, not by the state. We did not confirm a fence height or permit rule for any state, so those columns say so. This page lists the state-level fence statutes we did confirm (cost-sharing, spite fences and fence viewers) for 14 states; the rest are marked Not confirmed. See our Pennsylvania fence law guide and IRC rules in plain English.
We did not confirm a statewide front-yard or back-yard height limit or a statewide fence permit rule for any state below, so those cells say so. Call your local building or zoning office before you buy materials. Pool fences have their own rules: see pool fence laws by state. Last checked November 22, 2026; not legal advice.
Fence rules, state by state
Where a cell says “Not confirmed – check your local code,” no official source is listed for it. That is not the same as “no rule.”
| State | Max height, front yard | Max height, back yard | Permit required? | Who sets the rule | State-level fence fact we confirmed | Official source |
|---|---|---|---|---|---|---|
| Alabama | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Alaska | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Arizona | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Arkansas | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| California | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Colorado | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Connecticut | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Delaware | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| District of Columbia | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Florida | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Georgia | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Hawaii | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Idaho | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Illinois | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Indiana | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Iowa | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Chapter 359A: once an owner makes a written request, adjoining owners must build and maintain a partition fence or contribute to it. Township trustees act as fence viewers. The chapter has no residential exemption. A lawful fence has its top wire, rail or board 48 to 54 inches high in general (§359A.18); this is a farm-fence standard, not a residential height limit. | Iowa Code ch. 359A |
| Kansas | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Kentucky | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Louisiana | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Maine | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Maryland | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Massachusetts | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Spite fence: a fence or similar structure unnecessarily over 6 feet high, built or kept up maliciously to annoy a neighbor, is a private nuisance. The neighbor can sue for damages. | M.G.L. ch. 49, §21 |
| Michigan | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Act 34 of 1978 (fences and fence viewers): a fence viewer can set the percentage of construction and upkeep costs an owner owes when using a neighbor’s fence. Viewers do not settle boundary disputes. Decisions can be appealed to court. | MCL 43.55 |
| Minnesota | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Chapter 344 covers partition fences, how the expense is handled, and town fence viewers who decide disputes. | Minn. Stat. ch. 344 |
| Mississippi | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Missouri | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Chapter 272 covers shared division fences and their upkeep, and a judge apportions costs if owners disagree (§272.070). A separate group of sections applies only where adopted locally by election. | RSMo ch. 272 |
| Montana | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Nebraska | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | §34-102: neighbors share the work and cost of a dividing fence, equally unless they agree otherwise. Neither owner has to build one if neither wants it. Unless the owners agree otherwise, the fence must be a wire fence. | Neb. Rev. Stat. 34-102 |
| Nevada | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | NRS 569.431 defines a “legal fence” for livestock: at least four horizontal barriers, top barrier at least 48 inches high. The chapter does not expressly say who pays for a line fence. This is a livestock standard, not a residential height rule. | NRS ch. 569 |
| New Hampshire | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| New Jersey | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| New Mexico | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| New York | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Town Law §300 (division fences): each owner builds and maintains a fair share unless they agree otherwise. An owner who keeps no animals on the land within five years of the fence being built or repaired need not share its cost. Town fence viewers decide placement and shares on non-navigable streams. | NY Town Law §300 |
| North Carolina | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | In Chapter 68 as published, the old lawful-fence and division-fence articles (§§68-1 to 68-14) are repealed. The remaining text covers livestock at large, and we saw no fence height or spite-fence provision there. | N.C.G.S. ch. 68 |
| North Dakota | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | §47-26-05: adjoining owners share upkeep of a partition fence equally unless one leaves land open; whoever wants a fence above legal standard pays the full cost unless both agree. Township supervisors act as fence viewers. A legal solid fence is about 4.5 feet high (§47-26-01), a livestock standard. | N.D.C.C. ch. 47-26 |
| Ohio | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Chapter 971 (partition fences): adjoining owners share upkeep of an existing fence equitably (§971.06). The owner who wants a fence where none existed pays to build and maintain it (§971.07). A complaint goes to the township trustees, who assign each owner’s share (§971.09). | ORC ch. 971 |
| Oklahoma | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Oregon | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Pennsylvania | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | See our Pennsylvania fence law guide for the state Fence Law, permit and spite-fence details. | None confirmed here |
| Rhode Island | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Chapter 34-10 covers division fences, fence viewers and, in §34-10-20, spite fences. | R.I. Gen. Laws ch. 34-10 |
| South Carolina | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| South Dakota | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Tennessee | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Texas | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Utah | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Vermont | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Virginia | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Washington | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | RCW 16.60 covers partition fences: erection and notice (16.60.030), reimbursement (16.60.020), and recovery of half the cost when a neighbor fails to build (16.60.040). | RCW ch. 16.60 |
| West Virginia | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
| Wisconsin | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Chapter 90: the duty to share a partition fence equally applies where adjoining land is used for farming or grazing; there is no duty if none of it is (ss. 90.03, 90.05). The farm-fence standard is at least 50 inches high (s. 90.02(3)), not a residential height limit. | Wis. Stat. ch. 90 |
| Wyoming | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | Not confirmed – check your local code | None confirmed |
Most of the confirmed items above are boundary-fence cost-sharing laws written for farms and livestock, with a few spite-fence and fence-viewer rules. None of them sets a front-yard or back-yard height for a house lot. Checked November 22, 2026.
Read our Pennsylvania fence law guide for who pays, how close to the line and which side faces out, and use our PA building permit lookup to find your municipality’s code office.
Questions
How tall can a backyard fence be?
That is set by your city, township or county zoning rules, and we did not confirm a statewide number for any state. Call your local zoning office before you order materials, and ask for front-yard, side-yard and rear-yard heights separately.
Do I need a permit to build a fence?
We did not confirm a statewide fence permit rule for any state. Many towns require a zoning or building permit, so check with your local code office first. Our IRC rules in plain English page explains the model residential code most states start from.
Does my neighbor have to pay for half of a boundary fence?
It depends on the state, and several states limit cost sharing to farm or grazing land. See the state-by-state table above, then read the statute or ask a local attorney.
What is a spite fence?
A fence built or kept up mainly to annoy a neighbor. Massachusetts treats a fence unnecessarily over 6 feet that is built maliciously as a private nuisance (M.G.L. ch. 49, §21). Most other states we could not confirm.
Do pool fences follow different rules?
Yes. See our pool fence laws by state page.
Sources: every link in the “Official source” column, opened on the state legislature’s or state code’s own site. Last checked November 22, 2026.
Muthler Landscaping & Construction · Lock Haven, PA
Planning a fence or a wall at the line?
We build retaining walls, patios and site work across Clinton, Centre, Lycoming and Union counties, and we lay out the work so fences, walls and setbacks line up.
Get a quoteRetaining wall permits by stateMuthler Landscaping & Construction LLC · 913 Bellefonte Ave, Lock Haven, PA 17745 · (570) 397-9800 · PA HIC #PA212584.
Using this guide? Link to it or cite it. It’s free to use with a link back, and we keep it updated against official sources.
Cite as: Muthler Landscaping & Construction, “Fence Rules by State: Height and Permits Are Local, State Fence Laws Listed,” https://muthlerlandscaping.com/state-guides/fence-rules/ (page updated November 23, 2026).
Get an email when your state’s rules change
We re-check every entry against official sources. Tell us your state and we’ll email you when something changes.