Massachusetts Deck Building Code: What Homeowners Need to Know

Short answer: in Massachusetts a new deck needs a building permit. The state residential code is based on the International Residential Code with Massachusetts amendments, and your local building inspector checks footings, framing and the final deck.

Key requirements

  • Permit and inspections (footing, framing, final) for new and rebuilt decks
  • Footings below the frost line (commonly 48 inches in Massachusetts; confirm with your town)
  • Ledger attached to the house with bolts or approved fasteners and proper flashing; never nailed only
  • Guards (railings) required where the deck is more than 30 inches above grade, at least 36 inches tall, with openings that do not let a 4-inch sphere pass
  • Stairs with consistent riser height and tread depth, a graspable handrail and lighting
  • Joists, beams and posts sized for snow and live loads; hardware rated for treated lumber

Common reasons decks fail inspection

  • Missing ledger flashing
  • Footings too shallow
  • Railings too low or too open
  • Wrong fasteners

FAQ

Do I need a permit to build a deck in Massachusetts?

Yes, for new decks and structural rebuilds.

How deep do deck footings need to be in Massachusetts?

Below the frost line, commonly 48 inches; your town sets the exact requirement.

When does a deck need a railing?

When the walking surface is more than 30 inches above the ground.

Who pulls the permit?

We do, as a licensed contractor, for every deck we build.

Related services and guides

Get a free deck estimate from a licensed MA contractor with $1M insurance. Call (781) 527-9445.

Request a Free Estimate

Free estimate

Tell us about your project

Share a few details about your property in Lowell, Nashua or a nearby town.

General information, not legal advice. Your local building department has the final word.
Call (781) 527-9445