Every number links to its sourceDated so you know how fresh it isHow we check our numbers

Massachusetts stretch energy code: 302 communities now use it or the specialized code

As of November 18, 2026, DOER counts 240 stretch code and 62 specialized code municipalities, covering about 92.7% of residents.

RulesMassachusettsBy Peter,

Heat pump outdoor unit against a house wall in falling snow
Photo: PeterEastern, CC BY-SA 4.0

Massachusetts has three levels of building energy code. Which one your town uses depends on a local choice. Here is what the Department of Energy Resources (DOER) says.

The three levels

DOER’s development page lists three tiers: the base energy code, the stretch code, and a municipal opt-in specialized code. The specialized code was created by the 2021 Climate Act. DOER’s page says it must include net-zero building performance standards.

How many places use each

Code Municipalities Share of residents
Stretch 240 58.63%
Specialized 62 34.05%
Base not stated 7.32%

Source: DOER adoption page, data as of November 18, 2026, checked November 30, 2026.

DOER notes the stretch count does not include towns that also adopted the specialized code. Together, that is 302 communities. A separate DOER page says the same number as of May 2026, covering over 92% of the state population. There are 351 municipalities in all.

Examples

DOER’s list of specialized code towns includes Boston, Cambridge, Somerville, Worcester, Newton and Brookline. Check DOER’s full list for your town.

What it may mean for you

DOER’s pages that I read explain that building energy codes set standards for insulation, heating, cooling and other design elements. They do not spell out how the stretch or specialized code applies to a homeowner adding a heat pump to an existing house. I did not confirm that, so please do not assume it either way.

A practical approach:

  • Ask your town’s building department which code applies and whether your project needs a permit.
  • Ask your installer to confirm in writing that they will pull the permit.
  • DOER lists a stretch code contact at stretchcode@mass.gov.

Next steps

Rebates are a separate matter from codes. See our guide to Massachusetts home energy rebates, and the heat pump cost overview for pricing. Insulation often comes first, so check what insulation costs and insulation and air sealing prices. When you are ready for quotes, read how to hire a heat pump installer or browse the installer directory.

Estimates only. Cost ranges come from the public sources cited on this page, not from quotes for your home. Get written quotes from licensed contractors. Rebates change during the year — confirm the current amount and rules on the official program page before you sign anything.

Sources

  1. DOER — Massachusetts Building Energy Code Adoption by Municipalitymass.govChecked
  2. DOER — Stretch Energy Code Developmentmass.govChecked

Prices and rebates change. See Methodology & sources for how numbers are chosen and updated.

Written by Peter, a supply chain and data analyst in Burlington, MA who builds cost calculators. Not an HVAC contractor or electrician: numbers here come from the cited public sources. Last updated 2026-11-30.

Related guides

More news

All news