Permits & code

Do I need a permit for a deck in Massachusetts?

Almost always. The Massachusetts Residential Code exempts a deck from a building permit only when it is small, low, freestanding and not the way out of the house. Any deck attached to the house needs a permit, and even an exempt deck still has to meet zoning setbacks and the conservation commission's wetland rules.

Subject
Permits & code
Current as of
November 14, 2026
Sources
12 cited, linked below
Towns
6 covered

By Penney ConstructionPublished 6 min read

Four-season porch with walls of tall white windows under divided-light transoms, a pale blue beadboard ceiling, a fieldstone fireplace with a wood mantel and slipcovered sofas, overlooking a lawn, a stone wall and calm harbor waterConcept rendering
Concept for a four-season porch with a fieldstone fireplace, looking over the lawn to the harbor

The short answer: yes, unless the deck meets all four conditions in 780 CMR R105.2. A deck needs no building permit only if it is 200 sq ft or less, no point of it is more than 30 inches above grade, it is not attached to a dwelling, and it does not serve the exit door the code requires. Miss any one of those, and you need a building permit. Every attached deck needs one.

What the deck exemption says

Section R105.2 of the Massachusetts Residential Code (780 CMR 51.00, as amended effective October 11, 2024) lists the work that needs no building permit. Decks are item 10, and all four conditions must be true at once:

  1. The deck is 200 sq ft or less in area.
  2. No point of the deck is more than 30 inches above grade. On a sloping yard, the high corner is the one that counts.
  3. It is not attached to a dwelling.
  4. It does not serve the exit door required by section R311.2 of the code.

The 200 sq ft and 30 in figures circulate widely online. We state them here because we read them in the Massachusetts text, not because they appear on other websites. The same list exempts one-story detached sheds, playhouses and similar structures up to 200 sq ft, which is a separate item from decks.

ScheduleDoes this deck need a building permit? (780 CMR R105.2; your building official decides)
DeckPermit?Why
Freestanding platform in the yard, 12 by 14, a step off the grassNot under R105.2Meets all four conditions
Same platform, but the yard slopes and one corner is 3 ft upYesA point is more than 30 in above grade
Low deck bolted to the house at the back doorYesAttached to the dwelling
Freestanding deck that is the landing outside the required exit doorYesServes the required exit door
Deck over a flat roofYesAttached to the dwelling
Replacing worn deck boards onlyPossibly notMay be an ordinary repair under R105.2.2
Replacing joists, beams, posts or the ledgerYesR105.2.2 requires a permit to remove or cut structural supports

Exempt from a building permit is not exempt from the rules

The exemption list opens with a limit: work that needs a permit under other laws is not exempt. A small freestanding deck can skip the building permit and still need zoning, conservation or historic approval. Andover's building permit chart, for example, lists decks and patios as needing zoning review, conservation commission review, Board of Health review on septic, and preservation and historic-district review where they apply, along with the building permit.

Wetlands and the conservation commission

Statewide, the conservation commission reviews work in a wetland resource area, within 100 feet of a wetland (the buffer zone), in the riverfront area or on land subject to flooding. Many towns add their own bylaws, and on the North Shore several of them treat decks as building:

  • Beverly keeps additions, pools, patios, decks, sheds and most driveways out of the 50 feet nearest a wetland, and bars disturbance within 25 feet; replacing an older structure on the same footprint is exempt. Beverly town notes.
  • Hamilton sets a no-disturbance strip and a no-build zone inside its 100-foot (200 feet from perennial rivers and streams) protected area: 25 and 50 feet on lots that had a house or house permit by the end of 2007, 50 and 75 feet on others. Homes, porches, decks, additions and sheds all count as building. Hamilton town notes.
  • Rockport protects ponds, water-filled quarry pits and the small pits called motions. Its wetland regulations as posted (revised February 2012) set a 25-foot no-disturb zone and a 50-foot no-build zone where no house, addition, deck, shed, driveway or septic part may go. Its zoning also bars any deck above the highest habitable story. Rockport town notes.

If there is a wetland, brook or pond anywhere near the yard, find the line before you design the deck. When in doubt, the commission's Request for Determination of Applicability is the way to ask.

Setbacks and historic districts

Zoning can reach a deck too: Andover routes decks through zoning review, and Rockport's height rule above is a zoning limit. In a local historic district, no exterior architectural feature may be altered until the historic district commission issues its certificate, and no building permit may issue before then. Check with your town's building and planning staff. More on historic districts.

Who can build it and who pulls the permit

The state's consumer affairs office (OCABR) lists decks as work that needs a Construction Supervisor License, a Home Improvement Contractor registration and a building permit. The registered contractor should pull the permit; a homeowner who pulls it for a contractor's job may lose eligibility for the HIC Guaranty Fund.

A homeowner who lives, or will live, in a one- or two-family house can pull a permit for their own deck without a construction supervisor license under 780 CMR 110.R5. If that homeowner hires people to build it, the homeowner acts as the supervisor. Lighting, outlets and hot-tub wiring are electrical work, which falls under the state's specialized codes rather than the building permit. Ask your town's wire inspector who can file it; Andover, for example, says electrical permits are filed by a licensed contractor.

What the building department reviews

Andover's instructions for one- and two-family dwellings, additions, porches and decks are a good example of what a North Shore building department asks for. A certified plot plan is required for everything except interior remodels, siding and roofing. The drawings must show the size, spacing and depth of footings, the size and spacing of sono tubes, the size, spacing and spans of beams and joists, and the connections between beams and columns. The building official sets the inspection schedule for the permit.

We do not publish a frost depth or a footing size here. Both are set by the code and the building official for your site, and a deck that sits on ledge, fill or a sloped yard can need something different from the deck next door.

Decks we have built and are building

In Danvers we built a deck over an EPDM roof on a tapered sleeper system with hidden fasteners. In Peabody we have a deck rebuild framed for a hot tub underway, and a cantilevered landing extension with composite decking beside protected wetlands, with no new footings. Two of the three sit beside a roof or a wetland, which is where the permit questions above come first. See porches and outdoor living.

Questions homeowners ask

What size deck can I build without a permit in Massachusetts?

Under 780 CMR R105.2, a deck needs no building permit only if it is 200 sq ft or less, no point is more than 30 inches above grade, it is not attached to the house, and it does not serve the required exit door. All four must be true. Zoning and wetland rules can still apply.

Does an attached deck need a permit in Massachusetts?

Yes. The deck exemption in 780 CMR R105.2 applies only to decks that are not attached to a dwelling, so any deck attached to the house needs a building permit, whatever its size or height.

Do I need a permit to replace deck boards?

Ordinary repairs need no permit under R105.2.2, and swapping worn boards may be one. Removing or cutting a beam or load-bearing support needs a permit, so replacing joists, beams, posts or the ledger does. Ask your building department where your job falls.

Can I build a deck near a wetland in Massachusetts?

Work within 100 feet of a wetland goes to the conservation commission, and many towns add their own limits. Beverly keeps decks out of the 50 feet nearest a wetland (same-footprint replacement of an older structure is exempt), Hamilton counts decks as building in its no-build zones, and Rockport's posted regulations (revised February 2012) bar decks within 50 feet of ponds and quarry pits; confirm the current rules with the Rockport Conservation Commission. Find the wetland line before you design.

Does a deck contractor need a license in Massachusetts?

The state's consumer affairs office (OCABR) lists decks as work that needs a Construction Supervisor License, a Home Improvement Contractor registration and a building permit. Check both on the state's lookup tools before you sign.

Sources

  1. 780 CMR 51.00 R105.2 Work exempt from permit (via Cornell LII, Mass Register Issue 1532, eff. 10/11/2024)law.cornell.edu
  2. 780 CMR 51.00 R105.1 Permits required (via Cornell LII)law.cornell.edu
  3. 780 CMR 110.R5 Construction supervisor licensing and homeowner exception (via Cornell LII)law.cornell.edu
  4. OCABR: HIC contractor resources (HIC/CSL/permit chart)mass.gov
  5. OCABR: HIC homeowner resourcesmass.gov
  6. Mass.gov: Protecting wetlands in Massachusettsmass.gov
  7. M.G.L. c.40C s.6 (local historic districts)malegislature.gov
  8. Town of Andover: Building Permit Checklist (updated 1/1/2025)andoverma.gov
  9. Beverly Chapter 565 Wetlands Protection Regulationsbeverlyma.gov
  10. Hamilton General Wetlands Protection/Conservation Bylaw and regulations (2023)hamiltonma.gov
  11. Rockport Wetlands Protection By-law Rules and Regulations (rev. Feb. 29, 2012)rockportma.gov
  12. Town of Rockport Zoning By-law (updated Dec. 2025)rockportma.gov

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.