Massachusetts building permits
Massachusetts has one State Building Code (780 CMR) that applies in every city and town, and each community's building commissioner or inspector of buildings issues permits and does inspections. The current Tenth Edition, based on the 2021 International Codes, took effect October 11, 2024 and became the only edition accepted for permit applications after June 30, 2025. Electrical and plumbing work run on separate state codes with their own local inspectors, and homeowners are exempt from construction supervisor licensing when they do their own building work.
- Local profiles
- 14
- Link an online portal
- 14 (100%)
- City or town offices
- 13
- County office
- 1
How permits work in Massachusetts
Building codes
Statewide code
780 CMR is the building code for all cities, towns and state agencies. The Tenth Edition base volume adopts the 2021 International Building Code with Massachusetts amendments. One- and two-family homes and townhouses up to three stories may follow the Massachusetts Residential Code (780 CMR 51.00), which adopts the 2021 International Residential Code with amendments. Both took effect October 11, 2024. Applications filed through June 30, 2025 could use either the Ninth or Tenth Edition, but not a mix of the two. After that date, only the Tenth Edition applies. Energy rules come in three tiers. The base energy code is in 780 CMR. The Stretch Code and the Specialized Opt-in Code (225 CMR 22.00 for low-rise residential, last amended effective February 14, 2025) apply only where a city or town has voted to adopt them, so the energy rules for a new house depend on which code your community uses. The electrical code is separate (527 CMR 12.00, see trade licensing), and so is the plumbing code (248 CMR 10.00).
Outside city limits
Massachusetts has no unincorporated county land, and counties do not issue building permits. The State Building Code is enforced by the local building official, defined in 780 CMR 103.1 as the building commissioner or inspector of buildings, a local inspector, or the state building inspector. Your permit comes from the city or town where the property sits. Septic permits come from the local board of health, and electrical and plumbing permits come from the town's wiring and plumbing inspectors.
Contractors and owner-builders
Massachusetts has no general contractor license. It has two separate credentials. The Construction Supervisor License (CSL) is for the person who supervises work regulated by the building code. It comes as an unrestricted license (buildings under 35,000 cubic feet), a license limited to one- and two-family dwellings, a masonry license, and specialty licenses for roof covering, windows and siding, solid-fuel appliances, demolition, and insulation. Home Improvement Contractor (HIC) registration under M.G.L. c. 142A is for businesses doing residential contracting on an existing owner-occupied home of one to four units. It also covers work on attached or nearby structures such as garages and sheds, with exemptions for jobs under $500 and for some narrow trades such as landscaping, interior painting, flooring and fencing. A homeowner doing work on their own home is exempt from the CSL. Under 780 CMR 110.R5, a homeowner is someone who lives, or intends to live, on their own lot with a one- or two-family dwelling, and building more than one home in two years disqualifies you. If you hire people to do the work, you act as their supervisor. Home improvement contracts over $1,000 must be in writing, and owners who pull their own permits lose access to the state's HIC Guaranty Fund.
Division of Occupational Licensure, Office of Public Safety and Inspections (CSL); HIC program under M.G.L. c. 142A and 201 CMR 18.00 · Look up a license
Electrical, plumbing, and HVAC
Electricians are licensed by the Board of State Examiners of Electricians (237 CMR), and plumbers and gas fitters by the Board of State Examiners of Plumbers and Gas Fitters (248 CMR). Sheet metal workers, pipefitters and refrigeration technicians have their own state licenses. Plumbing and gas fitting need a permit from the local plumbing or gas inspector before work starts, and 248 CMR 3.05 says these permits are issued only to properly licensed individuals. Small repairs such as fixing a leaking faucet or clearing a stoppage do not need a permit. Electrical work follows the Massachusetts Electrical Code (527 CMR 12.00), which is now based on the 2026 NFPA 70 (National Electrical Code) and took effect April 24, 2026. Electrical permits are issued through the local inspector of wires using the state's uniform permit application. We could not confirm a clear statewide rule on whether a homeowner may get an electrical permit for their own home, so ask your town's inspector of wires before starting.
State programs that can affect your permit
- Title 5 septic systems (310 CMR 15.000)
Building, upgrading or expanding a septic system needs a Disposal System Construction Permit from the local approving authority, which is normally the board of health. The septic system must be inspected within two years before a home is sold, or up to six months after if weather prevents it. An inspection is also required before an expansion or a change of use that needs a building or occupancy permit.
- Stretch and Specialized Opt-in energy codes
Cities and towns choose between the base energy code, the Stretch Code, and the Specialized Opt-in Code. The Specialized Code applies only to new construction. A new mixed-fuel home under it must meet the Stretch Code, be pre-wired for future electrification, and have on-site solar where feasible. All-electric homes only need to meet the Stretch Code. Adoption and effective dates vary by community.
- Home Improvement Contractor Guaranty Fund
Homeowners who hire a registered home improvement contractor can use state arbitration and the Guaranty Fund under 201 CMR 14.00 if the job goes wrong. You lose that protection if you hire an unregistered contractor or pull the construction permits yourself.
Massachusetts county directory
14 local profiles
Portal links an online permit portal (14). Fees links a fee schedule (14). Most profiles point to city or town offices; other listing types are labeled.
B
D
E
F
H
M
N
P
S
W
Profiles marked “City or town offices” point to municipal permit offices because the county does not issue general building permits.
Statewide rules for common projects
Sheds and accessory buildings
780 CMR 51.00 R105.2: no building permit for one-story detached accessory structures used as tool and storage sheds, playhouses and similar uses, if the floor area does not exceed 200 sq ft.
Official source · Sheds and accessory buildings permit guide
Fences
780 CMR 51.00 R105.2: no building permit for fences not over 7 feet high. Local zoning limits still apply.
Decks
780 CMR 51.00 R105.2: no building permit for decks of 200 sq ft or less, not more than 30 inches above grade at any point, not attached to a dwelling, and not serving a required exit door. Other decks need a permit.
Roof replacement
Roofing is not on the Residential Code's list of work exempt from a permit. A contractor doing roof work needs a Construction Supervisor License that covers it (unrestricted, one- and two-family, or the Roof Covering specialty, which allows replacing up to 25% of sheathing and rafters).
Electrical work
Electrical work follows the Massachusetts Electrical Code, 527 CMR 12.00, based on the 2026 NFPA 70 and effective April 24, 2026. Permits are issued by the local inspector of wires.
Accessory dwelling units
Under M.G.L. c. 40A, s. 3 (Affordable Homes Act, in effect February 2, 2025) and 760 CMR 71.00, one ADU of up to 900 sq ft or half the main home's floor area, whichever is smaller, is allowed by right in single-family zoning districts. A town cannot require a special permit, owner occupancy, or more than one parking space (none within 0.5 mile of transit). A building permit is still required.
Massachusetts permit questions
Can I pull my own building permit in Massachusetts?
Yes, for work on your own one- or two-family home that you live in or plan to live in. Homeowners are exempt from construction supervisor licensing, but you take on the supervisor's responsibility, including for anyone you hire. Pulling the permit yourself also means you cannot use the state's Home Improvement Contractor Guaranty Fund if a hired contractor's work goes wrong.
Can I do my own plumbing or electrical work?
Not plumbing or gas. Massachusetts plumbing and gas permits are issued only to licensed plumbers and gas fitters, although small repairs such as fixing a leaking faucet or clearing a clog need no permit. Electrical work needs a permit from your town's inspector of wires under the Massachusetts Electrical Code. We could not confirm a clear statewide rule on homeowner electrical permits, so ask the inspector of wires before starting.
Do I need a permit for a shed, fence or deck?
Under the Massachusetts Residential Code, these need no building permit: a one-story detached shed or playhouse of 200 square feet or less, a fence 7 feet tall or less, and a deck of 200 square feet or less that is no more than 30 inches above grade, is not attached to the house, and does not serve a required exit door. Local zoning, wetlands and historic rules can still apply, and any wiring still needs an electrical permit.
Can I build an accessory dwelling unit (in-law apartment)?
Since February 2, 2025, state law lets you build one ADU by right on a lot in a single-family zoning district. It can be up to 900 square feet or half the floor area of the main house, whichever is smaller. Under 760 CMR 71.00, a town cannot require a special permit, cannot require the owner to live on site, and cannot require more than one parking space (none within half a mile of a transit station). You still need a building permit, and Title 5 septic rules still apply.
Which building code edition applies to my project?
The Tenth Edition of 780 CMR, based on the 2021 International Codes, took effect October 11, 2024, and is the only edition accepted for applications filed after June 30, 2025. The energy requirements depend on whether your city or town uses the base code, the Stretch Code, or the Specialized Opt-in Code. Your building department can tell you which one applies.
Permit guides for common projects
What the model codes say, what local offices often change and what to ask; read them with the Massachusetts rules above.
- How to get a building permit
- Building permit costs
- Looking up permit records
- Work done without a permit
- Decks
- Fences
- Sheds and accessory buildings
- Roof replacement
- Water heaters
- Heating and air conditioning
- Electrical work
- Rooftop solar
- Pools and spas
- Accessory dwelling units
- Plumbing work
- Kitchen and bathroom remodels
- Demolition
- Septic systems
- Driveways and culverts
- Floodplain development
- Home additions and garages
- Window and door replacement
- Generators and EV chargers
- Manufactured and mobile homes
- Owner-builder permits
Sources
- 780 CMR 51.00 Section 102: Applicability and Tenth Edition concurrency period (LII)www.law.cornell.edu
- 780 CMR 51.00 R101.1: Adoption of the 2021 IRC, Massachusetts Residential Code (LII)www.law.cornell.edu
- 780 CMR 101.1: Adoption of the 2021 IBC, Tenth Edition (LII)www.law.cornell.edu
- 780 CMR 101.2: Scope (LII)www.law.cornell.edu
- 780 CMR 103.1: Municipal and state enforcement (LII)www.law.cornell.edu
- 780 CMR 51.00 R105.2: Work exempt from permit (LII)www.law.cornell.edu
- 780 CMR 51.00 R105.3: Application for permit (LII)www.law.cornell.edu
- 780 CMR 110.R5.1: Licensing of construction supervisors, homeowner exemption (LII)www.law.cornell.edu
- 201 CMR 18.01: Home improvement contractor registration (LII)www.law.cornell.edu
- 201 CMR 18.05: Residential contracting services contracts (LII)www.law.cornell.edu
- 201 CMR 14.00: Home Improvement Contractor arbitration and Guaranty Fund (LII)www.law.cornell.edu
- Massachusetts DOS / DOL-OPSI license verification (construction supervisors)madpl.mylicense.com
- 248 CMR 3.05: Plumbing and gas fitting permits and inspections (LII)www.law.cornell.edu
- 237 CMR 18.01: Rules governing practice, electricians (LII)www.law.cornell.edu
- ICC NTA: New Massachusetts Electrical Code in effect (2026 NFPA 70, April 24, 2026)www.icc-nta.org
- 225 CMR 22.00: Stretch Code and Specialized Code for low-rise residential (LII)www.law.cornell.edu
- City of Framingham: Specialized Opt-In Energy Codeframinghamma.gov
- Town of Andover: Building Energy Codesandoverma.gov
- 760 CMR 71.02: Protected Use ADU definitions (LII)www.law.cornell.edu
- 760 CMR 71.03: Regulation of Protected Use ADUs (LII)www.law.cornell.edu
- Town of Westford: Accessory Dwelling Units (state ADU law effective February 2, 2025)westfordma.gov
- 310 CMR 15.003: Local approving authority for septic systems (LII)www.law.cornell.edu
- 310 CMR 15.020: Disposal system construction permits (LII)www.law.cornell.edu
- 310 CMR 15.301: Title 5 system inspection (LII)www.law.cornell.edu
Last verified October 28, 2026. State rules change. The issuing agency’s current instructions control if they differ from this summary. Suggest a correction
