You need a building permit for a deck attached to your house, regardless of size or height. For any deck more than 30 inches above grade, attached or not. For any deck larger than 200 square feet. For a deck serving a required exit door, which the deck off your back slider usually is. And in most Massachusetts towns, for replacing an existing deck rather than just swapping the surface boards, or for modifying an existing ledger, footings, or framing.
The exemption is narrow: a freestanding platform under 200 square feet, under 30 inches above grade, not attached to the house, and not serving an exit. Even then, many towns require zoning review to confirm setbacks and lot coverage, so it is worth a call rather than an assumption.
One detail worth knowing. If you hire a contractor to build your deck in Massachusetts, a Construction Supervisor License number has to appear on the permit application. That is a state requirement, not a formality. Andrew holds Massachusetts Construction Supervisor License #CS-093044, issued in 2011, and ARM Construction & Management Inc holds Home Improvement Contractor Registration #153199. Both are active and verifiable through the Commonwealth.
If your property is within 100 feet of wetlands, Conservation Commission review applies and can add several weeks to the timeline. On the larger wooded lots common in Princeton, Sterling, and Holden, that comes up more often than homeowners expect. We handle the permitting and the inspection schedule either way.