Fence and deck rules in Massachusetts
What the state says about fence and deck work, with the page each rule comes from. It's a summary of the published rules, not legal advice, and your city or county can have rules of its own, especially on permits.
Updated November 20, 2026
On this page: 5 sections
Check the license before you hire
Massachusetts registers home improvement contractors instead of licensing them.1-2 A contractor or subcontractor can't offer or do residential contracting work unless it is registered with the Office of Consumer Affairs and Business Regulation.1-2
A contractor that works exclusively in fencing or freestanding masonry walls, or on ground-level patios, doesn't have to register.3 A company that builds decks, or does other residential work outside that list, must register.1, 3
Every contract, building permit and advertisement must show the contractor's registration number, and the director keeps registrations open to public inspection.4-5
The City of Boston says you can look up registered contractors online.6
The State Board of Building Regulations and Standards, within the Division of Occupational Licensure, issues construction supervisor licenses.7-8
What protects you when you hire
A residential contracting agreement for more than $1,000 must be in writing and signed by all parties.9 It must describe the work and materials, state the total price and list a payment schedule stated in dollars.9
You must get a copy of the contract signed by both sides at signing, and no work may begin until that copy has been sent to you.9
A deposit can't be more than the greater of one-third of the total contract price or the actual cost of special-order materials that must be ordered before work starts.9 Demanding or taking a payment in violation of that limit is a prohibited act.5
A contractor can't demand final payment until the contract is completed to the satisfaction of the parties.9
A household services agreement for more than $25 that is signed away from the seller's address can be canceled by notifying the seller by midnight of the third business day after signing.10 The seller can't start the service during those three days, and you don't owe for work done in that period if you cancel.10
The Residential Contractor's Guaranty Fund pays owners for actual losses from a registered contractor's poor work or consumer-law violation, once a court or arbitrator has ruled, the contractor hasn't paid, and the director has determined that reasonable efforts to collect were made.2, 11 A claim must be filed within 7 years of the contract date, and no claimant gets more than $25,000 or the actual loss, whichever is less.12 Owners who hire an unregistered contractor can't use the fund.4
A subcontractor gets its lien once it records a notice of contract and gives the owner actual notice of the filing.13
Permits
A city or town's building commissioner or inspector of buildings administers and enforces the state building code.14
In Bedford, a deck needs a Certified Scaled Plot Plan showing the new structure to scale and how close it is to all property lines.15
Westford's Building Department lists permit application requirements for a deck or porch, and for a fence 6 feet tall or taller.16 Its online permitting requires uploads of a Home Improvement Contractor license, a Construction Supervisor License, a certificate of insurance naming the Town of Westford as certificate holder, and the signed contract.16
Fences around pools
Where a fence encloses a swimming pool, the state building code is very specific, and the enclosure specifications must show the fence height, baluster spacing, intermediate rail height, and gate swing and latching hardware.15 The pool permit also requires a signed "Swimming Pool Enclosure" affidavit.15
Where to complain
You can sue in superior court, district court or small claims court, or ask for arbitration under the program the director approves, which covers disputes with registered contractors.17-18 An arbitration claim must be filed within 5 years of the contract date.18
A violation of chapter 142A is also an unfair or deceptive act under chapter 93A.5 Before suing under chapter 93A, mail or deliver a written demand for relief to the contractor at least 30 days before filing.19
Knowingly, willfully or negligently working without a required registration can be prosecuted, with up to two years in prison, in an action brought by the attorney general or the district attorney.20
Sources (20)
- Massachusetts General Laws chapter 142A section 9, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 1, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 14, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 13, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 17, read November 12, 2026 ↑
- City of Boston: Home Improvement and Contracting Tips, read November 21, 2026 ↑
- Massachusetts General Laws chapter 143 section 93, read November 12, 2026 ↑
- Massachusetts General Laws chapter 143 section 94, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 2, read November 12, 2026 ↑
- Massachusetts General Laws chapter 93 section 48, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 5, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 7, read November 12, 2026 ↑
- Massachusetts General Laws chapter 254 section 4, read November 12, 2026 ↑
- Massachusetts General Laws chapter 143 section 3, read November 12, 2026 ↑
- Town of Bedford: Inspectional Services FAQ, read November 21, 2026 ↑
- Town of Westford: Building Department, read November 21, 2026 ↑
- Massachusetts General Laws chapter 142A section 3, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 4, read November 12, 2026 ↑
- Massachusetts General Laws chapter 93A section 9, read November 12, 2026 ↑
- Massachusetts General Laws chapter 142A section 19, read November 12, 2026 ↑
What a new fence or deck costs in Massachusetts
Published national ranges for new fences, fence repair, gates, decks, ramps and pergolas.
Builders in Massachusetts
Massachusetts has 357 fence and deck builders listed, and 273 of them hold an active USDOT registration. Browse them by county, or ask for quotes and we'll pass your job to fence and deck builders near you.
Cite this page
“Fence and deck rules in Massachusetts.” FenceAndDeckGuide.com, updated November 20, 2026. https://fenceanddeckguide.com/ma/rules/
