Massachusetts Stretch Energy Code
The Massachusetts Stretch Code applies in roughly 245–300 opt-in municipalities; the Specialized Code (a stricter electrification-focused option) applies in approximately 55–58 communities including Boston, Cambridge, Somerville, Brookline, and Newton.
Massachusetts has the longest-running and most stringent state-level stretch energy code in the United States. The state operates under three tiers: the Base Energy Code (currently the 10th Edition Massachusetts State Building Code, sole effect since June 30, 2025, incorporating the 2021 IECC plus state amendments), the Stretch Energy Code (225 CMR 22, an opt-in code that exceeds the base by roughly 20% in performance), and the Specialized Energy Code (225 CMR 23, an even stricter opt-in focused on electrification and high-performance envelopes). As of mid-2026, roughly 245–300 of Massachusetts's 351 cities and towns have adopted the Stretch Code, and approximately 55–58 communities have adopted the Specialized Code.
The Stretch Code is enforced through HERS (Home Energy Rating System) ratings under 225 CMR 22 Table R406.5. For permits issued after July 1, 2024, mixed-fuel buildings must achieve a HERS Index ≤42 and all-electric buildings must achieve HERS ≤45. The February 14, 2025 amendments added an embodied-carbon credit that allows HERS 45 (mixed-fuel) and HERS 48 (all-electric) when documented carbon savings are claimed. Thermal envelope requirements are not directly mandated as R-values; the building must perform within the HERS target. The Feb 14, 2025 update reduced the prescriptive ceiling minimum from R-60 to R-49, easing one of the more contested requirements.
This guide consolidates the Stretch Code requirements, the Specialized Code add-ons (electrification, EV-readiness, solar-readiness), the HERS rating thresholds, and the practical envelope assemblies that compliant Massachusetts builders use. It links into the insulation calculator with Stretch Code presets and into IECC Zone 5 (which covers most of Massachusetts).
Three-Tier Massachusetts Code Structure
Massachusetts operates a three-tier energy code system. Base Code: the 10th Edition MA Building Code (780 CMR), incorporating the 2021 IECC plus state amendments — sole effect since June 30, 2025. Stretch Code (225 CMR 22): opt-in code requiring HERS Index ≤42 mixed-fuel or ≤45 all-electric for new construction, plus specific envelope and equipment minimums. Specialized Code (225 CMR 23): a further opt-in that adds mandatory all-electric (or pre-wired electrification) construction, solar-readiness, and EV-readiness on top of Stretch Code. Massachusetts municipalities adopt the codes individually; the Department of Energy Resources (DOER) maintains the official adoption list at mass.gov.
| Tier | HERS Target | Adoption (2026) | Distinguishing Feature |
|---|---|---|---|
| Base | No HERS requirement | Default — ~50 towns | 2021 IECC + state amendments |
| Stretch (225 CMR 22) | HERS ≤42 mixed-fuel / ≤45 all-electric (or +3 with carbon credit) | ~245–300 towns | Performance-based + envelope minima |
| Specialized (225 CMR 23) | HERS ≤42 mixed-fuel / ≤45 all-electric + on-site solar PV (mixed-fuel) + electrification pre-wiring | ~55–58 towns (Boston, Cambridge, etc.) | All-electric or electrification-ready + EV/solar readiness |
Stretch Code Envelope Requirements
The Stretch Code uses HERS rating as the compliance metric, but it also imposes envelope minima. Walls must achieve a U-factor of 0.045 or lower (the same value as 2021 IECC Zone 5 wall U-factor), typically achieved with 2×6 + R-5 ci or 2×4 + R-10 ci. The Feb 14, 2025 amendments reduced the prescriptive ceiling minimum from R-60 to R-49 — bringing it in line with what is reasonably achievable with raised-heel trusses. Basement walls and slab perimeter requirements track 225 CMR 22 (verify exact values against the current code edition; published references vary between R-15 ci and R-21 ci for basement walls and around R-10 to R-15 for slab perimeters). Windows must hit U-0.27, with triple-pane preferred. Air leakage must test at 3 ACH50 maximum, with most builders targeting 1.5 ACH50.
| Assembly | Stretch Code | Base IECC (Zone 5) |
|---|---|---|
| Wall U-factor | U-0.045 (~R-22 effective) | U-0.060 (R-20 + R-5 ci) |
| Ceiling R | R-49 (reduced from R-60 by Feb 14, 2025 amendments) | R-60 (2021 IECC Zone 5 prescriptive) |
| Basement wall | R-21 ci | R-15 ci or R-19 cavity |
| Slab | R-15, full perimeter | R-10, 4 ft depth |
| Window U-factor | U-0.27 | U-0.30 |
| Air leakage | ≤3 ACH50 (target 1.5) | ≤3 ACH50 |
Specialized Code: Electrification Requirements
The Specialized Code (780 CMR Appendix 115.BB) goes beyond Stretch by mandating all-electric construction OR full electrification-readiness in opt-in municipalities. Compliant homes must use heat pumps for space heating and either heat-pump or electric water heaters. Gas fireplaces, gas ranges, and gas dryers are still permitted but the home must be wired with dedicated electrical circuits to allow future replacement with electric appliances without electrical-panel upgrades. EV-charging readiness (one Level 2 EVSE-ready space per parking space) and solar-readiness (PV-ready conduit, structural reserve capacity for at least 10 panels) are also required. As of 2026, Boston, Cambridge, Somerville, Brookline, Newton, and roughly 45 other Massachusetts municipalities have adopted the Specialized Code.
HERS Rating Process
Compliance with the Stretch Code is verified by a certified HERS Rater performing on-site inspections at framing, insulation, and final stages. The Rater models the building in REM/Rate or Ekotrope, runs blower-door and duct-leakage tests, verifies insulation Grade I per RESNET 301, and issues a HERS Index Score certificate. The certificate is filed with the building permit and becomes a condition of certificate of occupancy. The HERS rating includes both the building (envelope + air sealing + equipment efficiency) and the embedded photovoltaic system if installed. A typical Massachusetts Stretch Code single-family home achieves HERS 50–55 with PV or 38–42 without; Specialized Code homes achieve HERS 30–45.
Common Stretch Code Wall Assemblies
Massachusetts Stretch Code production builders typically choose one of three wall assemblies. Assembly A: 2×6 framing with R-21 cavity batt or R-23 dense-pack cellulose plus R-7.5 ci (1.5 inches polyiso). Assembly B: 2×4 framing with R-13 cavity plus R-10 ci (2 inches polyiso) — popular in renovations where wall thickness matters. Assembly C: double-stud 2×4 wall at 9 inches with R-30 dense-pack cellulose, no ci — common in custom Passive House projects. All three meet Stretch Code U-factor; Assembly A is the most common in tract construction. Specialized Code builders typically push to R-30+ effective whole-wall by adding R-7.5 to R-10 ci to a 2×6 framing.
| Assembly | Cavity | Continuous | Effective Whole-Wall R |
|---|---|---|---|
| A: 2×6 + R-7.5 ci | R-21 | R-7.5 | R-21.5 effective |
| B: 2×4 + R-10 ci | R-13 | R-10 | R-19.5 effective |
| C: Double-stud 2×4 | R-30 | — | R-25 effective |
| D: 2×6 + R-10 ci (Specialized) | R-21 | R-10 | R-24 effective |
Standards & Citations
| Standard | Code / Section | Requirement |
|---|---|---|
| DOE Building Energy Codes Program | BECP State code adoption tracker | U.S. Department of Energy program tracking state-level energy code adoption, including the Massachusetts 780 CMR amendments. |
| Massachusetts 780 CMR — Stretch Code (UpCodes mirror) | 780 CMR Appendix 115.AA Stretch Code | Opt-in performance-based residential energy code requiring HERS Index ≤42 mixed-fuel or ≤45 all-electric per 225 CMR 22 Table R406.5 (effective July 1, 2024); +3-point embodied-carbon credit added Feb 14, 2025. |
| Massachusetts 780 CMR — Specialized Code (UpCodes mirror) | 780 CMR Appendix 115.BB Specialized Code | Stricter opt-in code adding electrification or electrification-readiness, EV-readiness, and solar-readiness mandates. |
| RESNET HERS Index Standard | RESNET 301 Home Energy Rating System | Standard governing HERS rating calculations, on-site inspections, and certified rater workflow. |
| Building America Solution Center (PNNL) | BASC Climate-zone construction guidance | DOE Pacific Northwest National Laboratory reference library covering high-performance assemblies used to meet Stretch and Specialized requirements. |
Apply These Requirements
Open one of these calculators with the values from this guide pre-applied.
Insulation Calculator
Stretch Code envelope minima (U-0.045 wall, R-49 ceiling per Feb 2025 update, basement and slab amendments per 225 CMR 22) override IECC Zone 5 prescriptive defaults.
Drywall Calculator
Stretch Code air-sealing targets (1.5 ACH50 typical) are achieved with airtight drywall (ADA) detailing.
Roofing & Shingle Calculator
Massachusetts ice-and-water shield extents and ventilation strategy follow Zone 5 cold-climate practice with Stretch Code air-sealing.
Frequently Asked Questions
Does the Stretch Code apply to my Massachusetts town?
Probably yes — over 300 of Massachusetts's 351 municipalities have adopted the Stretch Code. The Department of Energy Resources publishes an authoritative adoption map at mass.gov. If you are in Boston, Cambridge, Somerville, Brookline, Newton, or roughly 45 other progressive communities, the stricter Specialized Code applies.
What is the HERS Index?
A scoring system maintained by RESNET. A score of 100 represents a 2006-IECC reference home; lower is better. Per 225 CMR 22 Table R406.5 (effective July 1, 2024), Massachusetts Stretch Code requires HERS ≤42 for mixed-fuel buildings and HERS ≤45 for all-electric buildings. The Feb 14, 2025 update added an embodied-carbon credit allowing HERS 45 (mixed-fuel) and HERS 48 (all-electric) when documented. Specialized Code uses the same HERS thresholds plus solar PV and electrification pre-wiring requirements. A net-zero home scores 0; a Passive House typically scores 25–40.
Do I have to install solar to meet Stretch Code?
For Stretch Code (225 CMR 22), solar is not strictly required for mixed-fuel or all-electric buildings, but the HERS thresholds are tight enough that most builders install PV anyway because it is cheaper than the additional R-value and triple-glazing required to skip it. For Specialized Code (225 CMR 23), on-site solar PV is required on every mixed-fuel new building (typically 4 kW for single-family or 0.75 W/ft² for multifamily); all-electric Specialized Code projects must include electrification pre-wiring even if PV is sized smaller.
Can I build with gas heating under the Specialized Code?
Generally no for new construction. The Specialized Code requires either all-electric construction or full electrification-readiness (every gas appliance must be paired with a dedicated electrical circuit and panel reserve so it can be swapped to electric without rewiring). In practice, most Specialized Code projects are all-electric with heat pumps and heat-pump water heaters from day one.
How does Stretch Code differ from Passive House?
Stretch Code is a state energy code; Passive House is a private certification (PHIUS or PHI). They overlap but are not the same. A Stretch Code home can be Passive House if it hits the additional Passive House metrics (annual heating demand, peak heating load, airtightness ≤0.6 ACH50). Most Stretch Code homes are not Passive House — they hit HERS targets with a more conventional envelope.
Are these requirements changing in 2026?
The Massachusetts DOER updates the Stretch and Specialized Codes on an approximately 3-year cycle. The 2023 versions were significant updates over 2017. A 2026 update is in stakeholder review with no published adoption date. Always check the DOER website for the current edition.
Related Code Guides
Climate Zone 5: R-Value Requirements (2021 IECC)
Cool Climate Zone 5 R-value minimums for Pennsylvania, New York, Michigan, Illinois, Iowa, and the Pacific Northwest interior under the 2021 IECC.
Climate Zone 4: R-Value Requirements (2021 IECC)
Mixed-humid Climate Zone 4 R-value minimums for the Mid-Atlantic, Ohio Valley, Kentucky, Tennessee, and northern Texas under the 2021 IECC.