LOCK HAVEN, PA · PA HIC #PA212584 · INSURED FREE ESTIMATES · CALL OR TEXT
PAGE

Massachusetts Building Codes, Permits and Contractor Rules

Here’s every rule from our 50-state guides for Massachusetts on one page: the residential building code, frost depth, retaining wall permits, the 811 dig law, drainage law, contractor licensing, deposit limits, mechanics lien deadlines, workers’ comp, planting zones and frost dates. Each section links the official source and the full 50-state comparison.

Massachusetts at a glance

  • Building code: 2021 IRC (statewide)
  • Frost depth: 48 in. statewide
  • 811 notice: At least 72 hours, exclusive of Saturdays, Sundays and legal holidays; not more than 30 days before excavation
  • Contractors: State registration required
  • Deposits: 1/3, or cost of special-order items
  • Liens: Notice 90 days / statement 120 days
  • Workers’ comp: 1+ employees
  • Drainage rule: Reasonable use
  • Planting zones: 5b to 7b
TopicMassachusettsCompare
Residential building code2021 IRC (statewide)All states
Frost line depth48 in. statewideAll states
Retaining wall permitExempt if not over 4 ft (1,219 mm) measured from the bottom of the footing to the top of the wall, unless supporting a surcharge (780 CMR 51.00 R105.2 item 3…All states
811 notice before diggingAt least 72 hours, exclusive of Saturdays, Sundays and legal holidays; not more than 30 days before excavationAll states
Contractor licenseState registration requiredAll states
Deposit limit1/3, or cost of special-order itemsAll states
Right to cancel3 business days, sales made at homeAll states
Lien filing deadlineNotice 90 days / statement 120 daysAll states
Workers’ comp required1+ employeesAll states
Drainage between neighborsReasonable useAll states
Planting zones (2023 USDA)5b to 7bAll states
Frost dates (NOAA)Last frost early Apr (Boston) to early May (Pittsfield); first frost early Oct (Pittsfield) to early Nov (Boston)All states
Summary for Massachusetts. Details, exceptions and official sources are in each section below.

Massachusetts residential building code

Code
2021 International Residential Code with Massachusetts amendments (780 CMR, 10th Edition, Chapter 51 Massachusetts Residential Code)
How it applies
Statewide, mandatory everywhere
In effect since
October 11, 2024
Code agency
Board of Building Regulations and Standards (BBRS)
Who enforces it
Enforced by each city or town building commissioner or inspector.
Good to know
Massachusetts' residential code is based on the 2021 IRC with state amendments, and it applies in every city and town.

Compare building codes in all 50 states

Frost line depth in Massachusetts

Who sets it
State code
Statewide value
48 in. statewide
Good to know
The 48 in. frost line is in the Massachusetts Residential Code (780 CMR 51, Table R301.2(1)). Frost-protected shallow foundations are covered separately under R403.3.

Frost line depth in every state

Retaining wall permits in Massachusetts

Permit exemption
Exempt if not over 4 ft (1,219 mm) measured from the bottom of the footing to the top of the wall, unless supporting a surcharge (780 CMR 51.00 R105.2 item 3, 10th Edition).
Who decides
Your city or town building department enforces the state code.
Good to know
Height is measured from the bottom of the footing to the top of the wall. The 10th Edition code has been the only code in effect since June 30, 2025.

Retaining wall permit rules in every state

811 dig law in Massachusetts

One-call center
Dig Safe System, Inc.
Notice before digging
At least 72 hours, exclusive of Saturdays, Sundays and legal holidays; not more than 30 days before excavation
Ticket good for
30 days from date of issue
Hand-dig zone
Facility width plus not more than 18 in. on each side (non-mechanical means required as necessary within it)
Homeowners
Yes. 'Excavation' has no exclusions for hand tools, homeowners, depth, agriculture or gardening; Dig Safe says law requires 'professionals and property owners' to notify. A residential owner's failure to premark on their own property need not be fined.
The law
Mass. Gen. Laws ch. 82, §§ 40-40E
Good to know
Premarking (white-lining) isn't required for continuous excavations over 500 ft.

811 dig laws in every state

Drainage law and stormwater permits in Massachusetts

Rule
Reasonable use
The rule
Reasonable use: liability for surface water depends on whether the landowner is making a reasonable use of the land; Massachusetts abandoned the common enemy rule.
Leading case
DeSanctis v. Lynn Water & Sewer Commission. 423 Mass. 112 (1996); following Tucker v. Badoian, 376 Mass. 907 (1978) and von Henneberg v. Generazio, 403 Mass. 519 (1988)
What it means for your yard
Regrading, downspouts and patios are judged by whether your use of the land was reasonable; an unreasonable change that sends water onto a neighbor can be a nuisance.
Construction stormwater permit
U.S. EPA (Construction General Permit); MassDEP handles state Wetlands Protection Act stormwater standards and WM15 applications for sites near Outstanding Resource Waters: 1 acre or more (or part of a larger common plan): EPA 2022 Construction General Permit (MAR100000)
State rules below 1 acre
No statewide rule below the 1-acre permit found; check your county and town.
Local rules
Massachusetts towns often have their own stormwater bylaws and conservation commission rules that reach small residential projects.
Good to know
Massachusetts judges drainage disputes by whether each owner used the land reasonably. EPA issues construction stormwater permits in Massachusetts starting at 1 acre, and town bylaws often apply to smaller jobs.

Drainage laws in every state

Contractor licensing in Massachusetts

Statewide rule
Registration
Agency
Massachusetts Home Improvement Contractor (HIC) Program (registration via MA Contractor Hub)
Who needs it
Contractors and subcontractors doing residential work on existing owner-occupied 1-4 unit homes must register as HICs; larger structural jobs such as decks or additions generally also need a Construction Supervisor License.
Check a contractor
Official lookup
Good to know
HIC registration and the Construction Supervisor License are separate and not interchangeable. The state lists no dollar threshold for registration.

Contractor license requirements in every state

Contractor deposits and your right to cancel in Massachusetts

Deposit limit
A deposit paid before work starts may not exceed the greater of one-third of the total contract price or the actual cost of special-order or custom-made materials or equipment (M.G.L. c. 142A, § 2).
Who it covers
Residential contracting on pre-existing owner-occupied buildings of one to four units (repair, remodeling, additions, etc.) by registered home improvement contractors (M.G.L. c. 142A, § 1). New construction of a standalone home is not covered.
Right to cancel
Sales of goods or services over $25 for personal or household use where the agreement is signed somewhere other than the seller's place of business: 3 business days to cancel (M.G.L. c. 93, § 48). Home improvement contracts must state this right (c. 142A, § 2).
Written contract
Required for contracts over $1,000. Must include the full agreement, the parties' names and contact information, start and completion dates, a detailed description of the work and materials, the total price, a payment schedule, signatures, and the 3-day cancellation notice (M.G.L. c. 142A, § 2).
Other protections
Residential Contractors' Guaranty Fund compensates owners for unpaid court judgments or arbitration awards against registered contractors (M.G.L. c. 142A, § 5). Owners who pull their own building permit are excluded from Guaranty Fund protection.
The law
M.G.L. c. 142A, §§ 1, 2, 5 (Home Improvement Contractor Law); M.G.L. c. 93, § 48
Good to know
In Massachusetts the deposit can go above one-third only to cover the actual cost of special-order or custom items. If you pull the building permit yourself, you lose access to the state Guaranty Fund.

Contractor deposit limits in every state

Mechanics lien deadlines in Massachusetts

Lien deadline (prime)
Two steps. (1) Record a notice of contract at the registry of deeds by the earliest of 60 days after a notice of substantial completion, 90 days after a notice of termination, or 90 days after last furnishing (§ 2). (2) Record a statement of account by the earliest of 90 days after a notice of substantial completion, 120 days after a notice of termination, or 120 days after last furnishing (M.G.L. c. 254, § 8).
Lien deadline (sub/supplier)
Same two steps and deadlines (M.G.L. c. 254, §§ 4, 8), plus actual notice of the recorded notice of contract to the owner; the sub needs a written contract with its contractor or subcontractor (§ 4).
Preliminary notice (sub/supplier)
Claimants without a direct contract with the general contractor (sub-subs, suppliers to subs) must send the general contractor a notice of identification by certified mail, return receipt requested, within 30 days after starting, or their lien is limited to what the GC owes their subcontractor (M.G.L. c. 254, § 4).
Notice of intent
Not required.
Enforce within
Civil action within 90 days after filing the statement of account (M.G.L. c. 254, § 11).
Homeowner rules
A sub's lien can't exceed what is due or to become due under the owner's original contract when the owner receives notice of the sub's filing (M.G.L. c. 254, § 4).
The law
M.G.L. c. 254 (Liens on Buildings and Land)
Good to know
Massachusetts liens take two recordings: a notice of contract (generally within 90 days of your last work) and a statement of account (generally within 120 days), then suit within 90 days.

Mechanics lien deadlines in every state

Workers' comp requirements in Massachusetts

Who must carry it
All employers operating in Massachusetts must carry coverage for their employees, with no minimum headcount or hours; the only listed exception is domestic workers, who are covered at 16 or more hours a week (M.G.L. c. 152; Massachusetts DIA).
Owners and officers
Owners (sole proprietors, partners, LLC members) are not required to cover themselves. Corporate officers who own at least 25% of the corporation can request an exemption (coverage is elective for them, by written waiver); non-officer employees must still be covered (Massachusetts DIA; M.G.L. c. 152, § 1(4)).
Subcontractors
If an insured business contracts work that is part of its trade or business to a contractor or sub who is uninsured, the business's insurer must pay the sub's injured workers as if they were insured, then can recover from the uninsured contractor; this doesn't apply to contracts merely ancillary to the business or to injuries away from premises the business controls (M.G.L. c. 152, § 18).
Homeowners
Domestic workers must be covered if they work at least 16 hours a week (Massachusetts DIA).
Penalties
DIA Office of Investigations issues a stop-work order; fines start at $100 per day (including weekends) until coverage is obtained, or $250 per day if the order is appealed and the business stays open; possible criminal charges of up to 1 year in prison and/or a $1,500 fine; 3-year debarment from public contracts (Massachusetts DIA; M.G.L. c. 152, § 25C).
The law
M.G.L. c. 152 (Workers' Compensation Act); §§ 1(4), 18, 25A, 25C
State agency
Massachusetts Department of Industrial Accidents (DIA)
Good to know
Massachusetts requires coverage for any employee, with no minimum. Getting caught without it means a stop-work order and fines of at least $100 a day.

Workers' comp requirements in every state

Planting zones in Massachusetts

2023 USDA zones
5b to 7b
Coldest-night range
−15°F to 10°F
Coldest area
The Berkshires, including Pittsfield
Example cities
Boston: 7a, Springfield: 6b, Worcester: 6a, Pittsfield: 5b
Good to know
Most of Massachusetts is now zone 6 or 7, with the biggest changes in central and western Mass. Boston is 7a, while the Berkshires around Pittsfield are the coldest part of the state.

Planting zones in every state

Frost dates in Massachusetts

StationLast spring frostFirst fall frostFrost-free days
Boston
Eastern coast
April 4November 9218
Worcester
Central hills
April 23October 21181
Pittsfield
Berkshires
May 5October 5152
Nantucket
Islands
April 13November 8208
Typical range
Last frost early Apr (Boston) to early May (Pittsfield); first frost early Oct (Pittsfield) to early Nov (Boston)
Good to know
These are typical (50%) dates from NOAA's 1991–2020 climate normals, so about half of years still bring a 32°F night after the listed spring date. In Massachusetts, the last spring frost at the stations listed ranges from early April around Boston to early May around Pittsfield. UMass Extension's freeze/frost tables come from a 1988 NOAA publication and show slightly later spring and earlier fall dates (for example, Worcester: April 27 and October 17, versus April 23 and October 21 here).
Local frost or planting guide
UMass Amherst Extension (Center for Agriculture, Food, and the Environment)

Frost dates in every state

Frequently Asked Questions

What building code does Massachusetts use?

2021 International Residential Code with Massachusetts amendments (780 CMR, 10th Edition, Chapter 51 Massachusetts Residential Code). It applies as follows: statewide, mandatory everywhere. Your local building department can confirm the edition and amendments for your address.

How deep is the frost line in Massachusetts?

The state sets 48 in. statewide. Footings for houses, additions and attached decks go below it.

How much can a contractor ask for up front in Massachusetts?

A deposit paid before work starts may not exceed the greater of one-third of the total contract price or the actual cost of special-order or custom-made materials or equipment (M.G.L. c. 142A, § 2). Cancel rights: Sales of goods or services over $25 for personal or household use where the agreement is signed somewhere other than the seller’s place of business: 3 business days to cancel (M.G.L. c. 93, § 48). Home improvement contracts must state this right (c. 142A, § 2).

How long does a contractor have to file a mechanics lien in Massachusetts?

Two steps. (1) Record a notice of contract at the registry of deeds by the earliest of 60 days after a notice of substantial completion, 90 days after a notice of termination, or 90 days after last furnishing (§ 2). (2) Record a statement of account by the earliest of 90 days after a notice of substantial completion, 120 days after a notice of termination, or 120 days after last furnishing (M.G.L. c. 254, § 8). Subcontractors and suppliers may have different notice rules; see the section above.

What planting zone is Massachusetts?

On the 2023 USDA map, Massachusetts runs from zone 5b to 7b. Examples: Boston 7a, Springfield 6b, Worcester 6a. Enter your ZIP on the USDA map for your exact zone.

Do contractors need workers' comp in Massachusetts?

All employers operating in Massachusetts must carry coverage for their employees, with no minimum headcount or hours; the only listed exception is domestic workers, who are covered at 16 or more hours a week (M.G.L. c. 152; Massachusetts DIA). Owner exemptions and subcontractor rules are in the workers’ comp section above.

When is the last frost in Massachusetts?

At the NOAA stations we list: Last frost early Apr (Boston) to early May (Pittsfield); first frost early Oct (Pittsfield) to early Nov (Boston). These are typical (50%) dates from the 1991–2020 climate normals, so about half of years still bring a 32°F night after the spring date.

This page is general information, not legal or tax advice. Rules change; the agencies and statutes linked above have the final word.

Massachusetts in each 50-state guide: Frost line depth · 811 dig laws · Retaining wall permits · Contractor licensing · Contractor deposit limits · Building codes · Planting zones · Mechanics lien deadlines · Workers' comp · Frost dates · Drainage laws · Noxious weed laws · Rainfall and snowfall · Landscaper pay · Pesticide applicator licensing · Landscaping sales tax · All state guides

Last checked October 31 and November 1, 2026 against official state and local sources for this state. Rules change; your state agency or local building department has the final word. Spot something out of date? Email info@muthlerlandscaping.com and we’ll fix it.

Groundwork Design Co. · designed by builders

Plans drawn for Massachusetts’s rules

Groundwork Design Co. draws patios, walls, decks and planting plans to scale for any U.S. home, with the layout, sizes and materials any local contractor can price. Single-space plans start at $349; a framing and footing sheet for decks and porches is a $350 add-on.

See design plansSee sample plans

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, “Massachusetts Building Codes, Permits and Contractor Rules,” https://muthlerlandscaping.com/state-guides/massachusetts/ (last checked November 9, 2026).