Massachusetts Building Code: How 780 CMR Works for Homeowners

The Massachusetts building code is 780 CMR, a state regulation that every city and town applies to new houses, additions and renovations. Its 10th edition is based on the 2021 International Codes with Massachusetts amendments, and it has been the only edition in force since a transition period ended on June 30, 2025. This guide covers what the code contains, who writes and enforces it, how the energy code fits in, and how a homeowner can look up the rules that apply to a project.

Updated November 16, 2026 · Licensing & Permits

What the Massachusetts building code covers

The short answer: 780 CMR covers buildings of every kind in the state, from houses to hospitals, and it governs how they are designed, built, altered and repaired. It is a state regulation, so the same code applies in Pittsfield and in Provincetown. Towns do not write their own building codes, although many of them do choose a stricter energy code, which is explained further down.

The BBRS does not write the code from scratch. Massachusetts starts with the model codes published by the International Code Council (ICC), the same family of codes most states use, and then amends them. The Board of Building Regulations and Standards describes those amendments as fairly significant, made to deal with conditions particular to the Commonwealth. In practice that means you cannot pick up a copy of the national model code and assume every number in it applies here.

For the 10th edition, the base documents are modified versions of seven 2021 I-Codes:

  • International Building Code (IBC)
  • International Residential Code (IRC)
  • International Existing Building Code (IEBC)
  • International Mechanical Code (IMC)
  • International Energy Conservation Code (IECC)
  • International Swimming Pool and Spa Code (ISPSC)
  • International Fire Code (IFC)

The whole thing sits in the Code of Massachusetts Regulations at 780 CMR 1.00 through 115.00.

Two volumes: residential and base

Most homeowners only ever deal with half of the code. The Massachusetts State Building Code is split into two volumes, and which one applies depends on the building, not on the size of the project.

The Residential volume regulates one and two family dwellings and townhouses that are three stories or less, along with their accessory structures such as detached garages and sheds. It lives in Chapter 51 of 780 CMR, titled the Massachusetts Residential Code, which adopts the 2021 IRC with Massachusetts amendments. If you own a single-family house, a two-family or a small townhouse, this is your code.

The Base volume regulates everything else. Its structure follows the 35 chapters and appendices of the 2021 IBC, with some chapters replaced by Massachusetts language or by other I-Codes. Apartment buildings, mixed-use buildings, offices and stores all fall here. A Boston triple-decker usually lands in the Base volume, because it has three units, which is a surprise to some owners who think of it as a house.

When the 10th edition took effect

The 10th edition first became effective on October 11, 2024. The BBRS allowed a concurrency period, during which a designer could use either the 9th or the 10th edition. That period was extended once and ended on June 30, 2025. Since then the 10th edition has been the only building code in effect in Massachusetts.

If you are reading older articles, contractor websites or town handouts, check which edition they describe. Plenty of material online still cites 9th edition sections, and some numbers moved between editions.

Who writes the code and who enforces it

Two different groups handle the code, and it helps to know which one you are dealing with.

The BBRS writes it. The board adopts the model codes and the Massachusetts amendments, and it updates the code as new information and technology come along. It also publishes official interpretations, which are worth searching when a section reads two ways.

Your local building department enforces it. The regulation on building official certification, 780 CMR 110.R7, covers the inspectors of buildings, building commissioners and local inspectors who administer and enforce the code in each city and town. They have to meet minimum qualifications and be certified before a permanent appointment. These are the people who accept your permit application, review the drawings and come out to inspect footings, framing, insulation and the finished work.

That split matters when you have a question. A question about what a section means in general can go to the BBRS interpretations. A question about your house, your permit or a failed inspection goes to your local building official, because that person decides whether your project complies.

How the energy code fits in

Energy rules are part of 780 CMR, but they are also where towns get a real choice. The Department of Energy Resources (DOER) describes three levels:

  1. The base code, which is the 2021 IECC with Massachusetts amendments, found in Chapter 11R of 780 CMR for residential buildings and Chapter 13 for commercial ones.
  2. The Stretch code, an opt-in code also based on the 2021 IECC with Massachusetts amendments, found in 225 CMR 22.00 (residential) and 225 CMR 23.00 (commercial).
  3. The Specialized code, another opt-in code that adds Appendix RC to 225 CMR 22.00 for residential buildings and Appendix CC to 225 CMR 23.00 for commercial ones.

The BBRS handbook says it plainly: the 10th edition is a base energy code, and you should check with your municipality to see whether a stretch or Specialized code applies. DOER publishes a map and a searchable table covering all 351 municipalities. The Specialized list includes Boston, Cambridge, Brookline, Newton, Somerville, Lexington, Worcester and dozens of others.

Which tier your town uses can change the design of a new house or a large addition more than almost anything else in the building code. Our Massachusetts energy code guide goes through the tiers in detail.

What the residential code means on a real project

Most residential projects touch the same handful of chapters. Chapter 3, Building Planning, is the one homeowners end up reading most, because it covers the things you can see and measure: stairs, guards, emergency escape openings, glazing, smoke and carbon monoxide alarms, and the climate and design criteria for the site.

Two Massachusetts amendments in Chapter 3 come up on almost every exterior project. The state sets the frost line depth at 48 inches in its version of the climate table, so footings for additions, porches and attached decks generally go at least four feet down. The same table marks ice barrier underlayment as required on roofs, which is why a reroof here includes an ice barrier membrane.

Other chapters cover foundations, floors, walls, roofs, the energy chapter, and the mechanical, plumbing and electrical sections. For an addition or a gut renovation you will touch most of them. For a deck, you mostly live in Chapters 3 and 5, and our guide to the Massachusetts building code for decks walks through those rules.

Stairs, handrails and guards

Questions about stairs and railings are the ones we get most from homeowners, usually because an inspector flagged something or because an old staircase does not look like anything in the code book.

The 2021 IRC, which the Massachusetts residential code adopts with amendments, sets these baseline rules:

  • Stairways must be at least 36 inches clear wide above the handrail height.
  • Headroom must be at least 6 feet 8 inches.
  • A handrail is required on at least one side of each flight with four or more risers.
  • Handrail height is 34 to 38 inches, measured from the sloped line of the stair nosings.
  • Guards are required on open-sided floors, stairs, porches and landings more than 30 inches above the floor or grade below, measured within 36 inches of the edge.
  • Required guards are at least 36 inches tall, with openings that will not pass a 4 inch sphere.

The model IRC also limits riser height and tread depth. Massachusetts publishes its own Chapter 3 amendments, so for riser and tread limits read the state amendment document alongside the IRC, or ask your building official, before you cut stringers. That advice applies to exterior stairs too, since porch and deck stairs follow the same stair and guard sections.

Windows and the code

Windows appear in more than one place. In Chapter 3, Section R308 governs glazing, including where safety glass is required, and Section R310 covers emergency escape and rescue openings. The IRC requires basements, habitable attics and every sleeping room to have at least one operable emergency escape opening, and where a basement contains bedrooms, each bedroom needs its own. That requirement is often what decides whether a basement bedroom is possible at all, and it is one of the first things we check before a basement finishing project.

Energy performance of windows is a separate question handled by the energy code tier your town uses. If you are replacing windows, the product’s rated performance has to meet the code that applies in your municipality. Our windows and doors team checks that against the town’s code level before ordering.

How to read the code yourself

You do not need to buy anything to get a working understanding of the rules.

Start on the BBRS pages on Mass.gov. The 10th edition handbook links to the base code and residential code chapters, each posted as a separate Massachusetts amendment document. The state is clear that these online versions are unofficial and posted for convenience. If you need an official version, for example for a legal dispute, the State House Bookstore sells the Massachusetts amendments and the ICC sells the I-Codes.

Then read the matching chapter of the 2021 model code on the ICC website, which offers the text online in a read-only format. Read the two side by side: the Massachusetts document tells you which sections are deleted, replaced or added, and the ICC text gives you everything that was left alone.

A few habits help:

  • Note the edition on anything you read. The 9th edition is no longer in effect.
  • Check the definitions chapter. Words like “habitable” and “story” have specific meanings.
  • Look for exceptions. Many sections have them, and they often decide the outcome.
  • Search the BBRS official interpretations for your section number.
  • Ask your building official early. A five minute call before design is cheaper than a correction notice after framing.

Using the code on your project

The building code tells you how to build; the permit process is how the town checks that you did. For most work beyond minor repairs, expect to file for a building permit with drawings, and expect inspections at set stages. Our guides to Massachusetts building permits and Boston building permits explain those steps, and our guide to the MA contractor license covers who is allowed to do the work.

If you are planning an addition, a whole-home renovation or a new house, the code questions show up early in design, and they are easier to solve on paper than on site. Contact us with your address and a description of the project, and we will tell you which parts of the code are likely to shape it.

This guide is general information for homeowners, not legal advice. Rules change and vary by city or town. Confirm details with your local building department or the state agency listed in the sources.

Common questions

Which edition of the Massachusetts building code is in effect?

The Massachusetts building code 10th edition, 780 CMR. It first took effect on October 11, 2024, with a concurrency period during which either the 9th or 10th edition could be used. That period ended June 30, 2025, and the 10th edition is now the only building code in effect.

Is the Massachusetts residential building code the same as the International Residential Code?

No. Chapter 51 of 780 CMR, the Massachusetts Residential Code, adopts the 2021 IRC with Massachusetts amendments. Some of the amendments change numbers you would use on site, such as the 48 inch frost line depth Massachusetts sets in its climate table.

Who enforces the building code in my town?

The local building department. Under 780 CMR 110.R7, inspectors of buildings, building commissioners and local inspectors administer and enforce the code, and they must be certified to hold those positions. They issue permits, review plans and inspect the work.

Can I read the Massachusetts building code for free?

Mostly, yes. Mass.gov posts the Massachusetts amendments online as unofficial convenience copies, and the International Code Council lets you read the 2021 model codes online. Official copies of the amendments are sold by the State House Bookstore, and printed I-Codes by the ICC.

What are the Massachusetts building code handrail requirements?

The 2021 IRC that Massachusetts adopts calls for a handrail on at least one side of each flight of stairs with four or more risers, set between 34 and 38 inches above the stair nosings. Massachusetts publishes its own Chapter 3 amendments, so check them, or ask your building department, before you build.

Does my town use the stretch code or the Specialized code?

It depends on the town, because the state building code Massachusetts uses treats energy as a base code that towns can raise. DOER keeps a map and list of all 351 municipalities with the code level each one follows. Boston, Cambridge, Newton, Somerville and Brookline are among the towns on the Specialized code.

What does the Massachusetts building code say about windows?

Two things. Chapter 3 of the residential code covers safety glazing (Section R308) and emergency escape and rescue openings (Section R310), which basements, habitable attics and every sleeping room need. The energy performance a window must meet depends on the energy code tier your town has adopted.

Sources

Facts on this page were last checked against these sources on November 16, 2026.

  1. Mass.gov BBRS, Tenth edition of the MA State Building Code 780 (accessed 2026-11-16)
  2. Mass.gov BBRS, Massachusetts State Building Code (780 CMR) (accessed 2026-11-16)
  3. Mass.gov DOER, Massachusetts building energy codes (accessed 2026-11-16)
  4. Mass.gov DOER, Massachusetts building energy code adoption by municipality (accessed 2026-11-16)
  5. Mass.gov, 780 CMR 10th edition residential code, Chapter 3 amendments (frost line depth 48 inches, ice barrier required) (accessed 2026-11-16)
  6. International Code Council, 2021 International Residential Code, Chapter 3 Building planning (accessed 2026-11-16)
  7. 780 CMR 110.R7, Certification of inspectors of buildings, building commissioners and local inspectors (Cornell LII) (accessed 2026-11-16)

Ready to start your project?

Free, no-pressure estimates in Boston and across Massachusetts.