Fence RegulationsSourced to the codeBrowse states
State law

Fence laws in Maine

What Maine statutes and statewide codes say about fences, one topic at a time, with the section number and a link to the document behind every line.

Fence laws in Maine, question by question

The short version

Who pays on the line
Maine splits a fence on a property line in equal shares between the people using the land on each side.
How tall
Maine sets no maximum fence height. The chapters that were read are listed below. Cities and counties decide this one.
Permits
Which Maine towns have to enforce the state building code comes down to head count.
Pool barriers
Maine has no statewide pool fence rule.
Spite fences
A fence in Maine counts as a private nuisance when it goes over six feet for no reason and is kept there on purpose to bother the neighbors. The figure is 6 feet, for height a fence has to exceed before the spite fence rule applies.
Measured from what
Maine never says what a fence height is measured from. The chapters that were read are listed below. Cities and counties decide this one.
Corner lots
Maine has a blocked view rule and it is about signs, not fences. It reaches signs, billboards and other ads near a highway only.
Retaining walls
A retaining wall in Maine needs no building permit if it is four feet tall or less, measured from the ground up to the top of the wall. The figure is 4 feet, for height above finish grade at or below which a retaining wall needs no building permit. It reaches one and two family homes in Maine only.
Materials
Maine lists what a fence can be made of before it counts as legal and good enough. The figure is 4 feet, for height a fence has to reach to count as legal and sufficient. It reaches a fence on the line between two pieces of land only.
Livestock
A legal fence in Maine is four feet high and in good repair. The figure is 4 feet, for height a fence needs to count as legal and sufficient.

Who owns the fence between two properties in Maine?

Compare fences on the property line across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

Maine splits a fence on a property line in equal shares between the people using the land on each side. The share is owed by whoever occupies and improves the land, not by whoever is named on the deed, and it lasts only while both sides keep improving. When one side stops improving, that side stops owing a share.

The occupants of lands enclosed with fences shall maintain partition fences between their own and the adjoining enclosures, in equal shares, while both parties continue to improve them.

30-A M.R.S. 2952Maine Legislature, Office of the Revisor of Statutes · Read 13 September 2026

Also on fences on the property line in Maine

  • set in state lawWhen one side will not fix its half, the other side goes to the town fence viewers, who are town officers picked to settle fence disputes. Two or more of them look at the fence after telling the side that skipped the work. If they find it is not good enough, they put that in writing and set a deadline, and the deadline cannot be longer than thirty days. Once it passes, the side that complained may build or repair the fence. 30-A M.R.S. 2953Maine · Statute
  • set in state lawAn argument over which side owns which part goes to the fence viewers too. They put each side's part in writing and set a deadline of no more than thirty days, and once that writing is filed with the town clerk it holds both sides to it. If one side built more than its part and the fence is judged good, the fence viewers can put a dollar value on the extra. Six months after it is asked for and not paid, it can be sued for in court. 30-A M.R.S. 2955Maine · Statute
  • set in state lawThe Maine fence chapter does not reach a house lot of half an acre or less. One thing in the same sentence pulls the other way. If the owner of that small lot improves it, the owner of the land next door still has to build and keep up half the fence between them, improving or not. A written agreement about the fence holds either way. 30-A M.R.S. 2964Maine · Statute
  • set in state lawA fence viewer is paid three dollars a day by whoever hired the fence viewer. If it goes unpaid for thirty days after it is asked for, the fence viewer can sue in court for twice the amount. 30-A M.R.S. 2966Maine · Statute

How tall can a fence be in Maine?

Compare fence height across all 50 states

Maine law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Maine sets no statewide limit on how tall a fence at a house can be. The four feet in the fence chapter is a floor for a fence that holds farm animals. The six feet in the spite fence section is the point where a neighbor can start a nuisance claim, and that claim still has to show the fence was built to bother them. Neither number is a cap. The town or city sets the limit.

Documents read before writing that:

Do I need a permit for a fence in Maine?

Compare permits across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

Which Maine towns have to enforce the state building code comes down to head count. A town with more than four thousand residents has to enforce the Maine Uniform Building and Energy Code, using inspections that meet the standard in Title 25. People held in a jail or prison in the town are not counted toward the four thousand.

The Maine Uniform Building and Energy Code must be enforced in a municipality that has more than 4,000 residents.

10 M.R.S. 9724(1)Maine Legislature, Office of the Revisor of Statutes · Read 13 September 2026

Also on permits in Maine

  • set in state lawA Maine town of four thousand residents or fewer does not have to enforce the state building code. It also may not pick a different one. The state code is the only building code a Maine town is allowed to adopt or enforce. 10 M.R.S. 9724(1-A)Maine · Statute

Pool fence requirements in Maine

Compare pool barriers across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

Maine has no statewide pool fence rule. The state building and energy code normally cancels a town building rule that disagrees with it, and pool fencing is the one exception. A town may adopt the pool fencing standards in Appendix G of the second edition of the 2009 International Residential Code, and only word for word, with no changes of its own. The statute names that 2009 edition and no later one.

This section does not prohibit the adoption or enforcement of an ordinance of any political subdivision that sets forth the swimming pool fencing standards, without amendment, contained in Appendix G of the 2nd edition of the 2009 International Residential Code.

10 M.R.S. 9724(5)Maine Legislature, Office of the Revisor of Statutes · Read 13 September 2026

Spite fence laws in Maine

Compare spite fences across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

A fence in Maine counts as a private nuisance when it goes over six feet for no reason and is kept there on purpose to bother the neighbors. Both parts have to be true. Height alone is not enough, and neither is bad feeling about a fence under six feet. The rule is not in the property law at all. It sits in Title 17, the criminal title, in the chapter on nuisances.

Any fence or other structure in the nature of a fence, unnecessarily exceeding 6 feet in height, maliciously kept and maintained for the purpose of annoying the owners or occupants of adjoining property, shall be deemed a private nuisance.

17 M.R.S. 2801Maine Legislature, Office of the Revisor of Statutes · Read 13 September 2026

6 ftheight a fence has to exceed before the spite fence rule applies

How fence height is measured in Maine

Compare how height is measured across all 50 states

Maine law has no rule about this. The chapters that were read are listed below. Cities and counties decide it instead.

Maine gives a six foot number and never says where to measure it from. Title 17, section 2801 makes a fence over six feet a private nuisance when it is kept there to bother a neighbor. The section never names a surface. It does not say whether the six feet is read from the low side of a slope, from a graded yard, or from the top of a retaining wall. The zoning section, 30-A section 4352, does not answer it either. That section lists what a town zoning rule has to include, and height is not on the list. So the number is in state law and the starting point is not.

Documents read before writing that:

Fence rules for corner lots in Maine

Compare corner visibility across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

Maine has a blocked view rule and it is about signs, not fences. Title 23 bars putting up or keeping a sign, billboard, poster or other ad where it blocks a clear view of a crossing highway, and it treats the highway as reaching thirty three feet on each side of the center line. Section 1401-A in the same title bars buildings, pumps and other fixed items inside the right of way or within thirty three feet of the center line. Neither one reaches an ordinary fence standing back on a corner lot. The town or city sets that rule.

A person may not post, erect, display or maintain or cause to be posted, erected, displayed or maintained a sign, billboard, panel, placard, poster, notice or other advertising device in, upon or above any highway or so situated with respect to any highway as to obstruct clear vision of an intersecting highway or highways or otherwise so situated as to prevent the safe use or obstruct the maintenance of the highway.

23 M.R.S. 1153Maine Legislature · Read 13 September 2026

Retaining wall rules in Maine

Compare retaining walls across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

A retaining wall in Maine needs no building permit if it is four feet tall or less, measured from the ground up to the top of the wall. Most states measure the same four feet from the bottom of the footing, which sits below the ground, so a Maine wall can be taller before a permit is needed. Maine gets there by adopting the 2021 International Residential Code, then deleting item 3 of the list of work that needs no permit and writing its own. A wall holding up a surcharge needs a permit at any height. A surcharge means extra weight pressing on the soil behind the wall, such as a driveway or a building.

Retaining walls that are not over 4 feet (1219 mm) in height measured from finish grade to the top of the wall, unless supporting a surcharge.

16-642 CMR ch. 5, Section 5(12), revisions to IRC Section R105.2Maine Department of Public Safety, Bureau of Building Codes and Standards · Read 13 September 2026

4 ftheight above finish grade at or below which a retaining wall needs no building permit

Fence materials allowed in Maine

Compare materials across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

Maine lists what a fence can be made of before it counts as legal and good enough. Rails, wood, stone walls, iron or wire all count, and so do brooks, rivers, ponds, creeks, ditches and hedges. Anything else the town fence viewers judge equal to those counts too. Wire is named without separating barbed wire from plain wire, and no material is ruled out.

All fences 4 feet high and in good repair, consisting of rails, timber, stone walls, iron or wire, and brooks, rivers, ponds, creeks, ditches and hedges, or other things which in the judgment of the fence viewers having jurisdiction thereof are equivalent thereto, are legal and sufficient fences.

30-A M.R.S. 2951Maine Legislature · Read 13 September 2026

4 ftheight a fence has to reach to count as legal and sufficient

Livestock and boundary fence law in Maine

Compare agricultural fencing across all 50 states

Maine answers this in its own law. The words that do it are quoted below.

A legal fence in Maine is four feet high and in good repair. Rails, wood, stone walls, iron and wire all count, and so do brooks, rivers, ponds, creeks, ditches and hedges when the town fence viewers judge them just as good. This is the standard for a fence that holds farm animals. It is not a rule for a fence in a yard.

All fences 4 feet high and in good repair, consisting of rails, timber, stone walls, iron or wire, and brooks, rivers, ponds, creeks, ditches and hedges, or other things which in the judgment of the fence viewers having jurisdiction thereof are equivalent thereto, are legal and sufficient fences.

30-A M.R.S. 2951Maine Legislature, Office of the Revisor of Statutes · Read 13 September 2026

4 ftheight a fence needs to count as legal and sufficient

Documents behind this page

11 documents, each read on the date shown. Nothing on this page rests on a summary of one.

  1. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 30-A, Chapter 133, Fences and Fence Viewers30-A M.R.S. 2952 · Read 13 September 2026
  2. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 30-A, Chapter 133, Fences and Fence Viewers30-A M.R.S. 2953 · Read 13 September 2026
  3. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 30-A, Chapter 133, Fences and Fence Viewers30-A M.R.S. 2955 · Read 13 September 2026
  4. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 30-A, Chapter 133, Fences and Fence Viewers30-A M.R.S. 2964 · Read 13 September 2026
  5. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 30-A, Chapter 133, Fences and Fence Viewers30-A M.R.S. 2966 · Read 13 September 2026
  6. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 30-A, Chapter 133, Fences and Fence Viewers30-A M.R.S. 2951 · Read 13 September 2026
  7. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 17, Chapter 91, Nuisances17 M.R.S. 2801 · Read 13 September 2026
  8. Maine Legislature, Office of the Revisor of StatutesMaine Revised Statutes, Title 10, Chapter 1103, Maine Uniform Building and Energy Code10 M.R.S. 9724(1) · Read 13 September 2026
  9. Maine LegislatureMaine Revised Statutes, Title 30-A, Section 4352, Zoning ordinances30-A M.R.S. 4352 · Read 13 September 2026
  10. Maine LegislatureMaine Revised Statutes, Title 23, Section 1153, Highways; jurisdiction; removal23 M.R.S. 1153 · Read 13 September 2026
  11. Maine Department of Public Safety, Bureau of Building Codes and Standards16-642 Chapter 5: Maine Uniform Building and Energy Code, Residential Building Code for One and Two-Family Dwellings in Maine16-642 CMR ch. 5, Section 5(12), revisions to IRC Section R105.2 · Read 13 September 2026

What this page does not cover

Everything above is state law. Fence height, setback, corner visibility and materials are set by city and county ordinance in almost every state, and a local rule can be far stricter than the statewide default. A parcel can also carry an easement, an overlay district, a fire hazard zone or a recorded HOA restriction, none of which appear in a statute.

This is general information drawn from published government documents. It is not legal advice, statutes are amended, and the date beside each finding is the date the document was read. How findings are made · What the terms mean