Permits & code

Massachusetts stretch code requirements for additions, ADUs and renovations

Massachusetts runs three energy codes and every town picks one. Here is what the Base, Stretch and Specialized codes actually ask of an addition, an ADU or a major renovation, the HERS numbers that apply, and which code governs each of the 26 North Shore communities we work in.

Subject
Permits & code
Current as of
October 1, 2026
Sources
12 cited, linked below
Towns
8 covered

By Penney ConstructionPublished 11 min read

Two-story house with gray clapboards on the first floor and white shingles on the new second floor, aligned six-over-six windows, a columned entry portico and an attached garage with a dormer, on a lawn under mature oaksConcept rendering
Concept for a full second-story addition that turns a 1950s Cape into a two-story house

The short answer: in a Stretch or Specialized code town, an addition of more than 1,000 square feet of conditioned space, or one that more than doubles the house, needs a HERS rating on the whole house, with a maximum score between 65 and 75 depending on fuel and solar. Smaller additions are built to the prescriptive insulation, air-sealing and duct rules. Which code applies depends only on your town, so that is the first thing to check.

Everything below comes from the state's own documents: 225 CMR 22.00 (the Stretch and Specialized code text dated February 14, 2025), the 10th Edition Massachusetts Residential Code, the Department of Energy Resources (DOER) FAQ, and DOER's municipal adoption list. Town-by-town details are at the end.

Three energy codes, one per town

All three Massachusetts codes are built on the 2021 International Energy Conservation Code (IECC). What differs is how far each one goes past it, and a town only gets the stricter versions by voting them in.

  • Base code. The IECC 2021 with Massachusetts amendments, in 780 CMR Chapter 11R for houses. It applies anywhere a town has not adopted anything else. New homes can comply prescriptively, through Passive House certification, or with a HERS rating of 52 or lower.
  • Stretch code. 225 CMR 22.00 for low-rise residential buildings. Opt-in by town meeting or city council. New homes are held to HERS 42 to 45 (or Passive House), and large additions trigger a whole-house HERS rating.
  • Specialized code. 225 CMR 22.00 plus Appendix RC. Also opt-in. It targets new construction: net-zero pathways, all-electric or solar-backed mixed-fuel homes. Existing houses follow the Stretch code's Chapter 5.

As of DOER's June 4, 2026 count, 242 municipalities have adopted the Stretch code since 2010 and 60 have adopted the Specialized code since 2023 (the Specialized towns are counted in the 242). About 7 percent of Massachusetts residents live in a Base code community. On the North Shore that minority includes Danvers, Essex, Lynnfield and Middleton.

What the Stretch code asks of an addition

Additions up to 1,000 square feet

An addition of 1,000 square feet of conditioned floor area or less, which is most family rooms, primary suites and kitchen bump-outs, must meet the relevant requirements of IECC sections R402, R403 and R404: insulation levels and fenestration U-factors (R402), mechanical systems, ducts and controls (R403), and lighting (R404). DOER's FAQ describes these smaller projects as continuing to follow the Base code. No HERS rating is required.

In practice that means the new walls, roof and floor of the addition hit the prescriptive R-values, the air barrier is continuous and inspected, and any new ductwork is sealed and tested as the code requires. The existing house is not dragged along with it.

Additions over 1,000 square feet, or more than doubling the house

Section R502.1.1 of the Stretch code covers large additions: anything over 1,000 square feet of conditioned area, or over 100 percent of the existing conditioned floor area. For those, the whole house, old and new together, has to meet the HERS limits for additions. That is the rule that changes budgets, because the existing house is now part of the score.

ScheduleMaximum HERS index under the Stretch code (Table R406.5, 225 CMR 22.00, Feb 14, 2025)
ProjectMixed fuelMixed fuel + solarAll-electricAll-electric + solar
New house42424545
Accessory dwelling unit52555558
Major alteration, addition or change of use65707075

Lower is better on a HERS index. A new house can score 3 points higher with the code's embodied-carbon credit. Section R406.5.1 also lists clean-energy trade-offs for fully attached additions, Level 3 alterations and changes of use: a solar array of 4 kW or more offsets 3 HERS points, and going all-electric offsets 3 points per dwelling unit.

  • Additions add up. DOER's FAQ says multiple additions to the same dwelling count together toward the 1,000 square foot trigger. Two 600 square foot additions are treated as 1,200.
  • Only conditioned area counts. An unheated garage or a screened porch does not push you over.
  • Finishing existing space is exempt. Converting an existing basement or attic to conditioned space without changing the footprint or the roofline needs no HERS rating.
  • A HERS rating includes a blower-door test. A rater pressurizes the house and measures the leakage, so the old house's air sealing matters, not only the new wing's.

Major renovations and alterations

Renovating inside an existing house rarely triggers a HERS rating. Level 1 and Level 2 alterations and repairs follow Chapter 5 of the code. DOER's FAQ says an alteration needs a HERS rating only when it is both a Level 3 alteration under the Existing Building Code (or an extensive alteration under IRC Appendix AJ) and larger than 1,000 square feet or 100 percent of the existing floor area.

So a kitchen and two baths taken to the studs is an alteration that meets prescriptive rules for whatever it touches: insulation in opened exterior walls, sealed ducts, efficient lighting. A whole-house gut of a 2,400 square foot colonial can be a different conversation, and the building official decides the classification. Ask early.

EV-ready and solar-ready requirements apply to new construction, not to alterations. Historic buildings get some latitude. Footnote c to Table R406.5 lets a historic building follow R503.1.1 for alterations instead of the HERS limits, and DOER's FAQ cites IECC C501.5, which makes repair and alteration provisions non-mandatory where a registered design professional or historic preservation authority reports that compliance would threaten the building's historic form, fabric or function. If you own an older house in a local historic district, that report is worth discussing with your designer.

ADUs and the energy code

The Stretch code gives accessory dwelling units their own, less strict column: HERS 52 for mixed fuel, 55 with solar or all-electric, and 58 with solar plus all-electric, against 42 to 45 for a new house. The Specialized code's Zero Energy pathway allows 55 for an all-electric ADU and 52 for a mixed-fuel one, but also requires the unit to reach HERS 0 once on-site power is counted. Its Mixed-Fuel pathway allows 55. Its All-Electric pathway has no ADU column at all, so the limit there is 45, or 48 with the embodied-carbon credit.

One honest caveat: none of the state documents we checked says exactly how those ADU numbers apply to a unit created inside an existing house, as opposed to a new detached cottage. Wenham's April 2026 Specialized code FAQ is a useful local reading: a detached ADU, including a cottage or a detached garage rebuilt as an ADU, counts as a new building, while an interior conversion or an attached addition stays under the Stretch code. Other towns may read it differently, so the building official's answer is the one that counts.

EOHLC's proposed revisions to the ADU regulations (760 CMR 71) would treat the Specialized code as the state minimum for ADUs where a town has opted in. That draft is open for public comment until October 9, 2026 and is not in effect. For the zoning side, see our guide to the Massachusetts ADU law and how we approach ADUs and in-law suites.

Small off-white board-and-batten cottage with a cedar-shingle roof, a shed dormer, a small columned entry porch and a green half-glass door, lit from inside at dusk, reached by a bluestone stepping-stone path through hydrangeas beside a brick houseConcept rendering
Concept for a detached backyard cottage ADU. Wenham's FAQ treats a detached unit like this as a new building once its Specialized code takes effect.

What the Specialized code adds

The Specialized code is about new houses. New residential buildings must be net zero through one of three pathways: Zero Energy (or Passive House), All-Electric, or Mixed-Fuel. New homes over 4,000 square feet of conditioned floor area must use the Zero Energy or All-Electric pathway. Mixed-fuel houses must be pre-wired for future electric equipment, and a new mixed-fuel one- or two-family home needs at least 4 kW of on-site solar per dwelling unit, unless its potential solar zone is under 300 square feet.

For existing houses, the Specialized code points back to Chapter 5 of the Stretch code. The cities and towns that have published guidance say the same thing. Salem says additions and alterations follow the Stretch code with nothing extra. Andover says the Specialized code covers new construction only, and additions, renovations and historic buildings stay on the Stretch code. Where it really bites on the North Shore is the teardown-and-rebuild: a new house in Swampscott, Salem, Beverly Farms or Newburyport is designed to Specialized rules from the first sketch.

The Specialized code does not ban gas. It makes a mixed-fuel new house carry solar and electric readiness, and it steers big houses toward all-electric or zero-energy design.

Base code towns

In Danvers, Essex, Lynnfield and Middleton, the Base code applies. Additions there follow Chapter 5 of the IECC as amended: prescriptive requirements for the new work, or a HERS-based performance path for the addition and any alterations that go with it (R502.1.2). The 1,000 square foot whole-house HERS trigger is a Stretch code provision. It does not appear in the Base code amendments.

Two notes. Essex adopted the Stretch code in 2015 and rescinded it by citizen petition at the May 2023 town meeting, so it is Base today. Danvers, a municipal-light town, became eligible for the Green Communities program only after a 2022 state law change; the town's resilience site describes a possible February 2027 vote that would put the Stretch code into effect July 1, 2027. That is a plan, not an adoption.

North Shore energy code by town

This schedule is built from DOER's municipal adoption list, data as of June 4, 2026, read directly from the state's published table, and checked against our own research on each town. Beverly Farms and Prides Crossing are part of the City of Beverly and follow Beverly's code. Towns change tiers at town meeting, so confirm with the building department before you design.

ScheduleEnergy code in force, per DOER's list as of June 4, 2026
TownCode todayDOER effective datesWhat to know
AndoverSpecializedStretch 1/1/2011 · Specialized 7/1/2026Town says additions and renovations stay on Stretch
Beverly, incl. Beverly Farms & Prides CrossingSpecializedStretch 1/1/2012 · Specialized 1/1/2026Matters most for new homes and rebuilds
BoxfordStretch7/1/2018A 2024 Specialized article was passed over
DanversBaseNoneA 2027 Stretch vote is discussed, not adopted
EssexBaseNoneStretch code rescinded at May 2023 town meeting
GeorgetownStretch7/1/2019
GloucesterStretch7/1/2011
HamiltonStretch1/1/2011Specialized code failed at April 2026 town meeting
IpswichStretch1/1/2019
LynnfieldBaseNone
Manchester-by-the-SeaStretch1/1/2014
MarbleheadStretch7/1/2018Town bylaw text gives 1/1/2019
MiddletonBaseNone
NahantStretch7/1/2018
NewburyStretch7/1/2020
NewburyportSpecializedStretch 7/1/2011 · Specialized 7/1/2025Ask how it treats large additions and gut renovations
North AndoverStretch1/1/2017
PeabodyStretch1/1/2024Newest Stretch town on our list
RockportStretch1/1/2017
RowleyStretch7/1/2020Bylaw adopts future editions automatically
SalemSpecializedStretch 1/1/2011 · Specialized 7/1/2024City says additions follow Stretch, nothing extra
SwampscottSpecializedStretch 1/1/2011 · Specialized 7/1/2024Ask how a given addition or ADU is classified
TopsfieldStretch1/1/2012
WenhamStretch, Specialized scheduledStretch 1/1/2011 · Specialized 1/1/2027Adopted April 2026; detached ADUs count as new buildings
West NewburyStretch1/1/2014

Where a town's own bylaw and DOER's list give different start dates (Marblehead is one), we show DOER's date. For a permit filed today the distinction does not matter, since both dates are years past.

Changes on the way

DOER released proposed 2026 revisions to the Stretch and Specialized codes, held a public hearing on June 16, 2026 and closed written comments on June 24, 2026. At the time of writing we found no adopted text or effective date, so every number in this guide comes from the February 14, 2025 version. If the revisions are adopted, we will update this page and the date at the top.

How we handle the energy code on a project

Energy code questions get answered at the feasibility stage, alongside zoning, septic or sewer, and any historic or conservation review. The order we work in:

  1. Confirm the town's tier on DOER's current list and with the building department, and ask how they classify the project.
  2. Measure the existing house and total the conditioned area, including earlier additions, so we know which side of 1,000 square feet we are on.
  3. If a HERS rating is triggered, engage the rater while the design is still moving, so insulation, windows, mechanicals and solar are chosen against the target instead of after it.
  4. Carry each energy-code item as its own line in the proposal: air sealing, insulation upgrades to the existing house, heat pumps, ventilation, the rating itself.
  5. Model the addition in 3D so the roofline, windows and overhangs you approve are the ones the rater scores.

If you are weighing an addition, a whole-house renovation or an ADU and want to know what your town's code will ask of it, send us the address.

Questions homeowners ask

Does the stretch code apply to my renovation?

Only if your town has adopted it, and then mostly to the parts you touch. Level 1 and Level 2 alterations follow prescriptive rules in Chapter 5. A HERS rating is needed for an alteration only if it is a Level 3 or extensive alteration and also exceeds 1,000 square feet or 100 percent of the existing floor area.

What HERS score does an addition need in a stretch code town?

If the addition is over 1,000 square feet of conditioned area or more than doubles the house, the whole house must score 65 or lower with mixed fuel, 70 with solar or all-electric, and 75 with solar plus all-electric, under Table R406.5 of 225 CMR 22.00.

Which North Shore towns use the specialized code?

Per DOER's list as of June 4, 2026: Salem and Swampscott (since July 1, 2024), Newburyport (July 1, 2025), Beverly (January 1, 2026) and Andover (July 1, 2026). Wenham's is scheduled for January 1, 2027.

Does finishing my basement trigger a HERS rating?

No. Converting existing basement or attic space to conditioned area without changing the footprint or roofline is specifically excluded from the large-addition HERS rule. The new work still meets the prescriptive insulation and air-sealing requirements.

Can I still use gas in a specialized code town?

Yes. The Specialized code does not ban gas. A new mixed-fuel house must be pre-wired for electric equipment and carry at least 4 kW of solar per dwelling unit (unless the solar zone is under 300 square feet), and new homes over 4,000 square feet must take the Zero Energy or All-Electric pathway.

Sources

  1. DOER: Massachusetts Building Energy Code Adoption by Municipality (data as of June 4, 2026)mass.gov
  2. DOER: Municipal energy code list CSV (June 2026)mass.gov
  3. DOER: Massachusetts Building Energy Codes (current documents, 2026 revisions)mass.gov
  4. 225 CMR 22.00: Stretch and Specialized Code, low-rise residential (Feb 14, 2025)mass.gov
  5. DOER: Stretch Energy and Municipal Opt-in Specialized Code FAQmass.gov
  6. 780 CMR 10th Edition Residential, Chapter 11 Energy Efficiency amendments (Base code)mass.gov
  7. EOHLC: informational draft 760 CMR 71 redlines (proposed, not in effect)mass.gov
  8. Town of Wenham: Specialized Code information meeting and FAQ (April 2026)wenhamma.gov
  9. City of Salem: Specialized Energy Codesalemma.gov
  10. Town of Andover: Building Energy Codesandoverma.gov
  11. Resilient Danvers: Green Communitiesresilient.danversma.gov
  12. Town of Essex By-laws (2023 stretch code rescission)essexma.org

This guide explains the rules in plain language. It is not legal advice. Local bylaws change, and every lot is different, so check with your town before you design.

Get the rules for your lot.

Every town reads the state rules a little differently. We'll check yours, walk the house, and tell you plainly what the permits will take.