Somerville & ADUs

Digging next to a neighbor's house in Massachusetts: what you owe them first

Cracks, fences and property lines cause real fights once the machines arrive. A Somerville builder's checklist: notice, photos, Dig Safe and fence rules.

A pale wood rectangular frame resting on two black sawhorses on a lawn, with a weathered gray shed, a yellow forsythia bush and a light-colored house behind it
A backyard from a Magno & Co project, with a shed and a house in the background. Photo: Magno & Co job files.

The neighbor finds out about your project when the excavator shows up. Then come the questions: is that crack new, is that fence on my side, did anyone ask me? These fights are cheap to prevent and expensive to fix.

I'm a builder in Somerville, and I have a short set of habits I follow before any dig, fence or addition near a lot line. Here they are, with the Massachusetts rules behind them. This is general information, not legal advice.

Why do neighbor fights start when the machines show up?

Most neighbors aren't against your project. They're against being surprised. A shaking wall, dirt piled against a shared fence or a new post that looks a foot over the line turns a neutral neighbor into an unhappy one.

Greater Boston lots make it worse. Houses sit a few feet apart, and old foundations are stone or brick that don't forgive lost support. Digging a new footing next to one deserves a plan.

The cost of getting it wrong is real. In a story on Boston.com (Boston Globe Media) on November 12, 2026, one homeowner suggested paying about "a couple thousand" dollars for a survey before a fence, and a surveyor said litigating a property dispute generally costs around $40,000. Those are one person's estimates from one article, not a price list, but the gap between the two numbers is the point.

What does Massachusetts require before you dig next to a neighbor?

Here is what I could verify, and what I couldn't.

The Massachusetts building code (780 CMR) is built on the International Building Code. Its chapter 33 has a section 3307, "Protection of Adjoining Property." In the 10th-edition text I read, adjoining public and private property has to be protected from damage during construction, remodeling and demolition. The section names footings, foundations, party walls, chimneys, skylights and roofs. It also says the person making or causing an excavation must give written notice to the owners of adjoining buildings, saying the excavation is coming and that their buildings should be protected. The notice must be delivered at least 10 days before the scheduled start.

Three honest caveats:

  • I read that text on a third-party mirror of the code, because I couldn't open the official mass.gov copy. Check the official text before you rely on it.
  • I saw no depth threshold in that section. I can't tell you that shallow digging is exempt, so I don't assume it is.
  • One- and two-family homes fall under the separate residential code (780 CMR 51.00). I couldn't confirm whether the notice rule applies the same way to a single-family job. A triple-decker is a different matter again. Ask Somerville Inspectional Services (ISD) how it applies to your address.

My own rule is simpler. I treat the 10-day written notice as the minimum on every dig near a neighbor, whether the code clearly requires it or not.

What do I do before the first shovel goes in?

I do a pre-construction record. It's the same idea as a home inspection, but for the neighbor's wall. It protects them, and it protects you if someone later says your work caused a crack.

StepWhat I doWho does it
1. Photo surveyDate-stamped photos or video of the neighbor's foundation, exterior wall, chimney and any existing cracks, with a tape or coin for scaleYou or your contractor, with the neighbor's permission to step on their side
2. Crack marksNote length and location of existing cracks. Some builders add crack monitors on bigger digsContractor, or an engineer on a deep or close dig
3. Share the recordOffer the neighbor a copy of the photos. A shared record gives both sides the same factsYou
4. Plan the digDecide how deep, how close and how the soil will be held. Close to a neighbor's foundation, ask a structural engineerLicensed pro
5. Protect and monitorKeep water away from their wall, keep spoil piles off their fence and check for new movement during the digContractor
Builder's tip: Take the photos in daylight the week before digging and send them to yourself so the date is on record. If the neighbor won't let you onto their side, photograph what you can see from your own yard, and write down that they declined. Never go onto their property without asking.

What should the heads-up letter say?

I put it on paper, even when I've already talked to the neighbor. Short and plain is best. Mine covers:

  • Who I am, who the owner is and a phone number that gets answered.
  • What the work is and the expected start date and length.
  • That there will be digging next to their property, and that they may want to protect and photograph their own building.
  • The permit number once it's issued, and the hours we work. For Somerville's hours and dumpster rules, see my construction hours and dumpsters guide.
  • An offer to walk the line with them.

If I'm following section 3307, I send the letter by a method that leaves a record, such as certified mail, at least 10 days before the dig, and I keep the receipt. A note on the door is a nice extra, not proof.

If you act as your own contractor, this letter is your job. See what that involves.

Do you need a permit to build a fence in Somerville?

The answer depends on which rule you mean, and the sources I found don't all agree.

  • State building code: the work-exempt-from-permit list in 780 CMR 105.2 includes fences not over seven feet high. Some towns are stricter, and some web guides quote lower thresholds.
  • Somerville zoning: as I summarize in my permit guide, my permit guide reads the zoning ordinance as not requiring a building permit for a fence. It limits height to 4 feet in the front area (and not more than 50% opaque) and 6 feet behind it. Confirm the current fence limits with Somerville ISD before you order lumber.
  • Other rules still apply: a Local Historic District, a corner lot and a shared line each add their own checks. See Somerville's exterior rules.

Here is the checklist I use before a fence goes up.

CheckWhat to do
Where is the line?Get a survey stake-out by a licensed land surveyor. Do not trust a fence, a hedge or a neighbor's memory
Height and opennessAsk ISD for the current limit in the front, side and rear. Ask about corner-lot sight lines
PermitAsk ISD whether your fence needs any permit or sign-off, and whether the answer changes in a historic district
Neighbor agreementOn a shared line, get the neighbor's okay in writing. Agree who pays and who maintains
Posts and diggingCall Dig Safe (see below) before the first post hole
Setback from the lineIf you want to avoid any argument, set the fence a few inches inside your own side of the surveyed line

Getting the permit side right is the dull part of a fence job, and my Somerville Permits, Explained guide walks through it for the common projects.

Who decides where the property line is?

Not me, and not your contractor. A licensed land surveyor reads your deed and the recorded plans and marks the line on the ground. That is the document to build from.

The same story also points to a trap. A fence built without a survey can create a "line of occupation" that may later support an adverse possession claim. Whether that happens to you depends on facts and time. If you think the fence is already in the wrong place, talk to a real-estate attorney before you tear anything out.

If the dispute is about a fence between two homes, Massachusetts has an old, low-cost tool. Under M.G.L. c.49, s.1, a city's mayor (with the council's approval) or a town's select board appoints fence viewers each year. Under s.3, neighbors who both improve their land must maintain partition fences in equal shares, unless they agree otherwise. And under s.18, a fence viewer called on to act can decide whether a partition fence is needed. The story describes them mostly as mediators. Ask your city clerk who your current fence viewer is.

One more rule neighbors ask about is the "spite fence." M.G.L. c.49, s.21 treats a fence that unnecessarily exceeds six feet and is maliciously built or kept to annoy the neighbors as a private nuisance. An injured owner can bring a court action for damages. It's about malice, not about every tall fence. If you're in that fight, you need a lawyer, not a blog post.

Do you have to call 811 to set a fence post?

Yes, if you're digging. Massachusetts Dig Safe applies to anyone who digs, not only contractors. Under M.G.L. c.82, s.40, "excavation" means any operation that moves or removes earth, including digging and trenching, and the definition sets no minimum depth. It includes work done by hand.

Under s.40A, the notice has to be given at least 72 hours before digging, not counting Saturdays, Sundays and legal holidays, and no more than 30 days before. The site is premarked in white before you call. Utilities then mark their lines in color codes.

  1. Mark the dig area in white paint or flags.
  2. Call 811 and get a ticket number.
  3. Wait out the 72 hours and see the utility marks.
  4. Dig by the marks, and keep the ticket on site.

Hitting a utility line is the real risk. If you find or suspect gas, electric or water service lines near your dig, stop and bring in the licensed trade.

What does a stop-work complaint look like?

A neighbor who is worried doesn't need a lawyer to start. They can call the city. In Somerville that usually means 311 or the online portal, as in my hours and dumpsters guide, and the case can land with ISD.

Common triggers I see are digging with no permit posted, work outside allowed hours, a dumpster in the wrong place, dust and debris on the neighbor's side, and an addition that looks too close to the line.

If an inspector finds work that doesn't match the code or looks unsafe, 780 CMR 115 lets the building official issue a stop-work order. It can be verbal first, then must be put in writing within 48 hours, with the reason and the conditions for starting again. The crew stops until those are met.

What helps: a posted permit, the survey on site, the neighbor letter, the photo record and a phone number the neighbor can call. Those make most complaints short.

Want a second set of eyes before you dig or fence?

A free walkthrough with Magno & Co is a good place to start. We'll look at the lot, the neighbor's wall, where the survey stakes should go and which permits to confirm with ISD, before anyone digs. For anything about where the line is or who owns what, use a licensed land surveyor and a real-estate attorney.

Related reading: deck permits and setbacks in Somerville, what an addition costs, and how Somerville zoning works. Ready to talk? Book a free walkthrough.

Frequently asked questions

Do I have to notify my neighbor before digging in Massachusetts?

The 10th-edition state building code section 3307, as I read it on a third-party mirror, says the person making an excavation must give written notice to adjoining building owners at least 10 days before the start, and must protect adjoining property. I couldn't confirm how it applies to a one- or two-family job, so ask Somerville Inspectional Services. Either way, a written heads-up letter is good practice.

Do I need to call Dig Safe to set fence posts?

Yes, if you dig. Under M.G.L. c.82, s.40 and s.40A, excavation means any digging and has no minimum depth. Call 811 at least 72 hours before, not counting weekends and legal holidays, and no more than 30 days ahead. Mark the area in white first.

Does a fence need a building permit in Somerville?

The state building code lists fences not over seven feet high as exempt from a permit. Somerville zoning, as summarized in my permit guide, does not require a building permit but limits height to 4 feet in the front area and 6 feet behind it. Sources differ, so confirm with Somerville Inspectional Services before you build.

What is a fence viewer in Massachusetts?

A fence viewer is a local official that a city or town appoints each year under M.G.L. c.49, s.1. Fence viewers help sort out partition fence disputes between neighbors, including whether a fence is needed. Your city or town clerk can tell you who serves.

What is a spite fence?

M.G.L. c.49, s.21 treats a fence that unnecessarily exceeds six feet in height and is maliciously built or kept to annoy the neighbors as a private nuisance. An injured owner can bring a court action for damages. It turns on malice, so talk to a real-estate attorney.

How much does a property survey cost?

One homeowner quoted in a Boston.com (Boston Globe Media) story on November 12, 2026 suggested about a couple thousand dollars, and a surveyor said litigating a property dispute generally runs about $40,000. Those are one-off estimates. Ask licensed land surveyors for quotes on your lot.

See the towns I work in, with local permit notes, and how I price work.

Read this next

  1. Permits & RulesConstruction hours, noise and dumpster permits in Somerville: what owners should knowSomerville's allowed construction hours, how street and driveway dumpster permits work, placement rules, and how to report problems through 311.4 min read · Keep reading →
  2. Permits & RulesDo I need a permit to replace it? A job-by-job list for Somerville and MassachusettsDo I need a permit to replace my roof, windows, water heater or deck boards? A job-by-job permit list for Somerville and Massachusetts homeowners.4 min read · Keep reading →
  3. Permits & RulesDeck permit in Somerville: when you need one, what to draw, and how long it takesDeck permit Somerville guide: when a deck or porch needs a building permit and zoning review, what the drawings must show, inspections and timeline.4 min read · Keep reading →
  4. Costs & BudgetsHome addition cost in Massachusetts: bump-outs, dormers and second storiesHome addition cost in Massachusetts from a Somerville builder: Boston Cost vs. Value numbers, bump-out vs. dormer vs. rear addition, and local zoning.4 min read · Keep reading →
  5. Permits & RulesThe Somerville zoning ordinance explained: a plain-English guide for homeownersThe Somerville zoning ordinance in plain English: where to find the code and zoning map, NR vs UR districts, the ZBA, and rules for dormers and ADUs.4 min read · Keep reading →
  6. Permits & RulesChanging windows, siding or porches in a Somerville historic districtPlanning new windows, siding or a porch in a Somerville Local Historic District? How HPC review works, what needs approval, and how to plan your timeline.3 min read · Keep reading →

Have a question about your project?

Plans, a sketch or just an idea — talk to me. You'll get honest advice and a clear written budget and schedule.

Free: a 30-minute call or a walkthrough of your home.

Prefer to write? Send me your project details. I reply within one business day.

5.09 Google reviews

Worked with Magno & Co?

A 1-minute Google review helps Somerville neighbors find a builder they can trust, and it means a lot to a small local business.

Call Free consultation