· Fencing
Massachusetts Fence Law: Property Lines, Spite Fences, and Who Pays
Massachusetts fence law is simpler than the arguments it causes. In most cases a fence belongs to whoever builds it on their own land, your neighbor has no legal duty to split the cost of an ordinary residential fence, and the one thing the state genuinely polices is the "spite fence," a fence over six feet built mainly to annoy you, which Massachusetts treats as a private nuisance you can sue over. Everything else (height limits, which side faces out, how far back from the line it sits) is mostly local zoning and old-fashioned good-neighbor custom, not a single statewide rule.
This is general information to help you understand the lay of the land, not legal advice. If real money or a real dispute is on the table, talk to a Massachusetts real-estate attorney about your specific facts. Planning the fence itself? Start at the fencing overview.
Who owns the fence on the property line?
In Massachusetts, a fence is normally owned by the person who paid to put it up on their own property. There is no automatic "we both own it because it sits near the line" rule for ordinary house lots. If you build the fence, set the posts, and pay the bill, it is your fence, even if it runs right along the boundary.
The wrinkle is location. A fence built exactly on the property line, or one the two neighbors jointly paid for, is shared in a practical sense, and pulling it down or changing it unilaterally is asking for a fight. The cleanest path most installers in places like Newton, Worcester, or Plymouth will steer you toward is to build a few inches inside your own line. That keeps the fence unambiguously yours: you own it, you maintain it, and you do not need anyone's sign-off to repair or replace it later.
Does my neighbor have to pay half for a shared fence?
Usually no. This is the single biggest myth in Massachusetts fence disputes, so it is worth being blunt: there is no general law that forces your neighbor to chip in for an ordinary residential boundary fence.
People hear about the "partition fence" statute and assume it means cost-splitting is mandatory. Read what it actually says. Under Mass. General Laws Chapter 49, the partition-fence duty applies to "the occupants of adjoining lands enclosed with fences" who, "so long as both of them improve the same," must maintain the fence "in equal shares between their enclosures, unless they otherwise agree." That language is a leftover from the era of livestock and crops, when both neighbors were actively fencing and working enclosed farmland. It was written to keep cows in and settle who repairs the line fence between two working fields.
For a typical suburban backyard, those conditions usually are not met, and the old fence-viewer machinery rarely gets invoked. The practical reality: if you want the fence, you generally pay for the fence. Your neighbor benefits from it, sure, but benefiting is not the same as owing.
There is a clean way to actually share the cost: agree to it, in writing, before the work starts. Spell out who pays what, who owns it, and who maintains it. A short signed note saves a lot of grief two years later. For what a fence actually runs in Massachusetts, see the fence cost guide, then split that number however you and your neighbor agree.
What is the spite fence law in Massachusetts?
A "spite fence" is a fence built mainly to spite your neighbor, and Massachusetts is one of the states that bans it. Under Mass. General Laws Chapter 49, Section 21, a fence "or other structure in the nature of a fence which unnecessarily exceeds six feet in height and is maliciously erected or maintained for the purpose of annoying the owners or occupants of adjoining property" is a private nuisance.
Three things have to line up for that statute to bite:
- It is over six feet tall. A fence six feet or under does not trigger this law, no matter the builder's attitude. The height "unnecessarily" exceeding six feet is the entry ticket.
- It is maliciously erected or maintained. Spite has to be the real, dominant reason the fence is that tall. A court looks at whether the fence would even exist at that height if not for the desire to annoy.
- The purpose is annoying the neighbor. Blocking light, blocking a view, walling someone off out of pure pettiness, that is the classic fact pattern.
If the statute applies, the remedy is not a fine from the town. The injured neighbor "may have an action of tort for damages under chapter two hundred and forty-three." In plain terms, you sue. Under Chapter 243, a court that finds a private nuisance can award damages and order the nuisance abated, meaning a judge can order the offending portion (the part over six feet) cut down. Massachusetts has policed spite fences this way for well over a century.
One housekeeping note for anyone reading the statute book directly: the spite-fence rule is Chapter 49, Section 21, and the suit happens under Chapter 243. Section 22 of Chapter 49 is not the "remedy" section people sometimes assume it is; it is about town pounds and field drivers, a different relic entirely.
When a tall fence is not a spite fence
Height alone does not make a fence illegal. A seven-foot fence can be perfectly legal if there is a legitimate reason for it: real privacy from a busy road, a pool enclosure, blocking headlights or noise, screening a dumpster, keeping a dog in. The malice has to be the dominant motive, the reason the fence is that tall in the first place. A neighbor who is genuinely annoying but has a real reason for the height is on solid ground.
That is also why these cases are hard. Whether a fence is "really" a spite fence is a fact question a judge decides after hearing both sides. Do not assume your neighbor's ugly new fence is automatically illegal, and do not assume yours is bulletproof just because you can name a reason. The line between "tall and unneighborly" and "unlawful spite fence" is genuinely blurry, which is exactly why talking it out beats litigating it.
Which side of the fence has to face the neighbor?
The common rule is that the finished, or "good," side of the fence faces your neighbor, with the posts and rails facing into your own yard. Here is the part most articles get wrong: in Massachusetts that is mostly custom and, in some towns, a local bylaw, not a single statewide statute. The state does not have one law dictating which way every fence in the Commonwealth must face.
So treat the finished-side rule as strong etiquette plus a possible local requirement. Many Massachusetts towns and homeowner associations do require the smooth side out, and plenty of buyers expect it. Check your town's bylaws (or ask your installer, they usually know the local norm). If you want both sides to look finished, "good neighbor" or double-sided fence styles solve the question entirely.
How close to the property line can a fence go?
Build it on your own land. Beyond that, how close you can get to the line, and how tall the fence can be, are set by your city or town, not by a statewide number. Some communities allow a fence right up to the line; others impose setbacks, height caps (often around six feet in rear yards and lower in front yards), or rules near corners and sidewalks for visibility.
Because it is local, the safe move is to confirm two things before you dig: where the line actually is, and what your town allows. A current survey answers the first. Your building or zoning department answers the second, and that is also where the permit question lives. See the Massachusetts fence permit guide for when a permit is required and how to pull one. If privacy and height are the whole point of your project, the privacy fence guide covers how to get screening without crossing into spite-fence territory.
What if the fence is on the wrong side of the line?
A fence that sits over the property line, yours on the neighbor's land or theirs on yours, is an encroachment, and it can turn into a real legal headache if it sits there for years. The fix is rarely dramatic, but you have to handle it deliberately, not by quietly yanking out a fence you think is on your side.
Get a survey first. A licensed surveyor pins the actual boundary, and that survey is the document that settles a "whose land is this" argument. If a fence is encroaching, the usual outcomes are moving it, a written agreement (an easement or license) to let it stay, or, in a long-running situation, a fight over adverse possession or prescriptive rights. Those last claims can let someone gain rights over land they have openly used for many years. If you are anywhere near that territory, a real-estate attorney is worth the call before you act.
The mistake to avoid: tearing down or relocating a fence on your own based on a guess about where the line is. If you are wrong, you have just destroyed your neighbor's property, and now you are the defendant.
What are fence viewers, and can they help?
Fence viewers are local officials Massachusetts towns are authorized to appoint under Chapter 49 to settle partition-fence disputes. They are one of the oldest offices in New England government. In practice, the role is largely dormant in most modern suburbs because the partition-fence duty itself so rarely applies to ordinary house lots. Some towns still have them on the books; many have not used them in living memory.
If your situation is a true partition-fence question between adjoining "improved and enclosed" parcels, it is worth asking your town clerk whether fence viewers exist and will act. For the typical backyard fence disagreement, they are not the tool, a conversation, a survey, and if needed a lawyer are.
How to handle a fence dispute with a neighbor
Most fence fights never need a courtroom. Here is the order of operations that actually works in Massachusetts:
| Step | What to do | Why it matters |
|---|---|---|
| 1. Talk first | Knock on the door before lawyers or letters | Most disputes are misunderstandings about the line or the look |
| 2. Get a survey | Hire a licensed surveyor to mark the real boundary | Removes the "whose land" argument entirely |
| 3. Put deals in writing | Cost-sharing, who owns it, who maintains it, encroachment fixes | A signed note prevents the dispute two years later |
| 4. Send a written request | A calm, dated letter stating the problem and the fix you want | Creates a record and often resolves it without escalation |
| 5. Talk to an attorney | For spite-fence (Ch. 49 s.21), encroachment, or adverse-possession issues | These are fact-specific and decided by courts, not by you |
The throughline: facts beat feelings. A survey and a short written agreement defuse the large majority of fence disputes before they ever become legal ones.
A quick word on permits and cost
Two things people lump into "fence law" that are really separate: permits and money. A fence permit is a local matter set by your city or town, not a statewide license, and the fence permit guide walks through when you need one. Cost is between you and your installer (and your neighbor, if you have agreed to share); the fence cost guide has the Massachusetts ranges. And if you are setting posts, get them below the frost line so the fence does not heave; the frost-depth guide covers that.
FAQ
Who owns the fence between two houses in Massachusetts? Whoever built and paid for it on their own land owns it. Massachusetts has no automatic rule that a boundary fence is jointly owned just because it sits near the line. A fence built exactly on the line, or one both neighbors paid for, is shared in practice and should not be altered by one side alone. Building a few inches inside your own line keeps the fence clearly yours.
Does my neighbor have to pay half for a fence in Massachusetts? Usually not. The partition-fence duty in Mass. General Laws Chapter 49 only applies to adjoining lands "enclosed with fences" that both owners "improve," an old agricultural framework that rarely fits a modern backyard. For a typical residential fence, the person who wants it generally pays for it. If you want to split the cost, agree to it in writing before the work starts.
What makes a fence an illegal spite fence in Massachusetts? Under Mass. General Laws Chapter 49, Section 21, a fence that unnecessarily exceeds six feet in height and is maliciously erected or maintained for the purpose of annoying the neighbor is a private nuisance. All three pieces must be present: over six feet, built or kept mainly out of spite, and aimed at annoying the adjoining owner. A fence six feet or under does not trigger the law, and a tall fence with a legitimate purpose is not a spite fence.
Can I make my neighbor take down a fence? Only through the courts, and only if it qualifies. If a fence is a spite fence under Chapter 49, Section 21, you can bring a tort action under Chapter 243, and a judge can award damages and order the portion over six feet removed. If a fence encroaches on your land, a survey plus a legal claim is the path. A judge decides; you cannot tear it down yourself.
Which side of the fence faces the neighbor in Massachusetts? By custom, and in some towns by local bylaw, the finished side faces the neighbor and the structural side faces your own yard. This is not a single statewide statute, so check your town's rules and your HOA if you have one. Double-sided "good neighbor" fences look finished on both sides and sidestep the question.
Ready to put up the fence the right way?
Knowing the law is half of it. The other half is building the fence on your own land, to your town's rules, with the posts set right. A licensed Massachusetts fence contractor can confirm the layout, handle the permit, and keep you out of a boundary fight before it starts. Get free estimates from local fence pros.
One form. Hundreds of contractors. You pick how many reply.
Describe your project and we’ll forward it to nearby contractors. Interested ones reach out — you pick the cap.
