Massachusetts building code
The residential code in Massachusetts is the 780 CMR 51.00: Massachusetts Residential Code1, effective 2.
On this page
Codes in force in Massachusetts
Each code family with the edition and the date it took effect, as the adopting agency or statute states them.
| Code | Title as adopted | Model edition | Effective | Adopted by |
|---|---|---|---|---|
| International Residential Code (IRC) | 780 CMR 51.00: Massachusetts Residential Code1 | 20212 | 2 | Board of Building Regulations and Standards3 |
| International Building Code (IBC) | 780 CMR, Massachusetts State Building Code, Tenth Edition, Base Volume4 | 20212 | 2 | Board of Building Regulations and Standards3 |
| International Existing Building Code (IEBC) | International Existing Building Code 2021 as amended1 | 20212 | 2 | Board of Building Regulations and Standards3 |
| Energy code, residential | Chapter 11: Energy Efficiency of 780 CMR 51.00: Massachusetts Residential Code1 | 20212 | 2 | Board of Building Regulations and Standards3 |
| Energy code, commercial | 780 CMR 13.00 Energy Efficiency4 | 20212 | 2 | Board of Building Regulations and Standards3 |
| International Mechanical Code (IMC) | International Mechanical Code – 20211 | 20212 | 2 | Board of Building Regulations and Standards3 |
| Swimming Pool and Spa Code (ISPSC) | International Swimming Pool and Spa Code 2021 as amended1 | 20212 | 2 | Board of Building Regulations and Standards3 |
| International Fire Code (IFC) | 527 CMR 1.00: Massachusetts Comprehensive Fire Safety Code (780 CMR may reference specific IFC 2021 sections)4 | 20212 | – | – |
| National Electrical Code (NEC) | 527 CMR 12.00: Massachusetts Electrical Code (Amendments)1 | – | – | – |
| State code | 248 CMR: Board of State Examiners of Plumbers and Gas Fitters (plumbing and fuel gas)1 | – | – | Board of State Examiners of Plumbers and Gas Fitters1 |
| State code | Stretch energy code and Specialized opt-in energy code (225 CMR 22.00 and 23.00)2 | – | – | Massachusetts Department of Energy Resources (DOER)2 |
| Property Maintenance Code (IPMC) | Not adopted1 | – | – | – |
Scope, amendments and transition rules
International Residential Code (IRC)
- Scope
- Statewide; applies everywhere1
- Applies to
- Detached one- and two-family dwellings and townhouses up to three stories, with accessory structures4
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
International Building Code (IBC)
- Scope
- Statewide; applies everywhere1
- Applies to
- All towns, cities, state agencies or authorities1
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
International Existing Building Code (IEBC)
- Scope
- Statewide; applies everywhere1
- Applies to
- All towns, cities, state agencies or authorities1
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
Energy code, residential
- Scope
- Statewide; applies everywhere1
- Applies to
- All towns, cities, state agencies or authorities1
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
Energy code, commercial
- Scope
- Statewide; applies everywhere1
- Applies to
- All towns, cities, state agencies or authorities1
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
International Mechanical Code (IMC)
- Scope
- Statewide; applies everywhere1
- Applies to
- All towns, cities, state agencies or authorities1
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
Swimming Pool and Spa Code (ISPSC)
- Scope
- Statewide; applies everywhere1
- Applies to
- All towns, cities, state agencies or authorities1
- Local amendments allowed?
- Only through M.G.L. c. 143, § 981
- Transition period
- June 30, 20252
State code: Stretch energy code and Specialized opt-in energy code (225 CMR 22.00 and 23.00)
Property Maintenance Code (IPMC)
- Scope
- No statewide code1
How Massachusetts adopts building codes
M.G.L. c. 143, §§ 93-100; 780 CMR
- Two volumes: residential and base.
The MSBC is separated into two distinct volumes: The Residential volume regulates all one- and two-family structures and townhouses that are three stories or less, as well as their accessory structures; The Base volume regulates all structures that are not covered by the Residential regulations.
3 - Posted amendments are unofficial.
Please remember that the Massachusetts amendments posted on-line are unofficial versions and are meant for convenience only.
2 - Statewide; applies everywhere.
780 CMR applies state-wide.
1 - Effective October 11, 2024.
The tenth edition building code became first effective on October 11, 2024 with a concurrency period, during which either the ninth or tenth edition building codes could be utilized.
2 - Effective June 30, 2025.
This concurrency period, which was thereafter extended, ends June 30, 2025, at which time the tenth edition will be the only building code in effect.
2
- Applies to
- All towns, cities, state agencies or authorities1
- Can local rules be stricter?
- Only through M.G.L. c. 143, § 981
What local governments may change
M.G.L. c. 143, § 98; 780 CMR 102.2.1
- State code prevails over conflicting bylaws.
102.2.1 Municipal Bylaws or Ordinances. 780 CMR applies state-wide. When municipal bylaws and ordinances conflict with 780 CMR, 780 CMR shall govern unless the bylaws or ordinances were promulgated in accordance with M.G.L. c. 143, § 98.
4 - Towns may license categories the state does not.
110.R5.1.3.3 Municipal Requirements. No municipality shall be prohibited from requiring a license for those individuals engaged in directly supervising persons engaged in construction, reconstruction, alteration, repair, removal or demolition in those categories of building and structures for which 780 CMR 110.R5 does not require a license.
5
- Can local rules be stricter?
- Only through M.G.L. c. 143, § 981
Residential code in Massachusetts cities
The edition each city enforces, from the city’s own adoption page or ordinance.
For permits, exemptions and owner-builder rules, see Massachusetts building permits. To compare editions across states, see the code adoption map.
Sources
- 780 CMR 51.00 Massachusetts Residential Code, Chapter R1 Scope and Application (10th ed., unofficial copy)Commonwealth of Massachusetts, Board of Building Regulations and StandardsChecked November 7, 2026
- Tenth Edition CMR 780Commonwealth of Massachusetts, Board of Building Regulations and StandardsPublished October 11, 2024Checked November 7, 2026
- Massachusetts State Building Code - 780 CMRCommonwealth of Massachusetts, Board of Building Regulations and StandardsChecked November 6, 2026
- 780 CMR Chapter 1 Scope and Administration (10th ed. Base Volume, unofficial copy)Commonwealth of Massachusetts, Board of Building Regulations and StandardsChecked November 6, 2026
- 780 CMR 110.R5 Licensing of Construction Supervisors (10th ed., unofficial copy)Commonwealth of Massachusetts, Board of Building Regulations and StandardsChecked November 7, 2026