· Decks & Porches
How to Legalize an Unpermitted Deck in Massachusetts
You almost never have to tear down an unpermitted deck in Massachusetts. Your local building department will accept an as-built permit application (sometimes called a retroactive permit) that legalizes the deck in place. The catch is the one competitors gloss over: your existing deck is now judged against 780 CMR 10th Edition, the state building code that became the sole enforceable version for all permits filed after June 30, 2025. That means the inspector holds a deck built in 2011 to the rules of 2026, not to the rules that were in force when someone screwed the ledger board on.
The gap between those two rulebooks is where the money and the drama live. Older MA decks routinely miss on frost footings, ledger flashing, joist hangers, lateral load connectors, guardrail height, and stair rise and run. Each one has a code cite. Each one has a retrofit cost. If you understand the retrofit list before you walk into the building department, you can price the whole legalization honestly and decide whether to fix, rebuild, or (occasionally) tear the deck off. Ready to price this out with a licensed MA contractor? See /decks-porches.
Was your deck ever required to have a permit?
Before you go legalizing, check whether your deck actually fell outside the exemption in the first place. Under 780 CMR R105.2 a deck is exempt from the building permit requirement only when all four of these are true at the same time:
- The deck is not attached to the house (no ledger board).
- It is not more than 30 inches above grade at any point.
- It does not exceed 200 square feet.
- It does not serve a door that is a required exit under R311.2.
Fail one condition, the exemption is gone. Most family-sized decks fail on attachment or on the 30-inch grade check the first time a corner is measured on a sloped yard. If your deck sits inside the exemption, you have nothing to legalize, though you may still need a zoning permit depending on the town. Our Massachusetts deck permit guide walks the four-part test in detail. If your deck fails any of the four, keep reading.
What "as-built permit" actually means
An as-built permit (also called a retroactive permit or a legalization permit) is a building permit issued after the work already exists. Legally, it is the same permit any new deck would get. The difference is the sequence: instead of submitting plans, getting approval, then building, you submit as-built drawings that show what is already on the ground and ask the inspector to verify it meets today's code. Anything that does not meet code is called out, retrofitted, and reinspected before the permit closes.
Two things about this that surprise people. First, MA does not have a "grandfathered because it is old" rule for as-built work on a deck. When you seek the permit, the code in force on the date of your application is the code the inspector applies. That is 780 CMR 10th Edition today. Second, the inspector is allowed to require you to open up finished framing to prove what is underneath. Torn-out decking to expose joists and hangers is normal. Torn-up ground next to a footing to prove depth is normal. A deck that has been buried in a screen porch or a pergola may need panels or skirting temporarily removed.
The as-built process, step by step
Assume the deck exists, has no permit, and needs one. Here is the sequence most Massachusetts inspectional services departments run:
- Call the building department. Ask for the as-built permit application form and confirm whether they want a licensed Construction Supervisor (CSL) to pull the permit or whether the homeowner can (a homeowner can pull their own permit on their own primary residence, but the department can still require a CSL for the retrofit work itself).
- Hire a contractor or engineer to measure and draw the deck. You need dimensioned as-built drawings: plan view, elevations, framing plan (joist size, joist spacing, beam size, post size, footing size and depth), ledger detail, guardrail detail, stair detail. Sketches on a napkin will bounce back.
- Field structural inspection. Someone qualified (usually your CSL, sometimes a professional engineer) walks the deck against a 780 CMR checklist and produces a "gaps to code" list. This is the honest moment. Do not skip it and hope the town inspector misses something.
- Retrofit anything on the gap list. Frost footings that are too shallow get sistered with a deeper footing or replaced. A missing ledger flashing gets pulled apart and reflashed. Undersized joist hangers get swapped. Guardrails get raised. Stair risers get rebuilt.
- Submit the permit application with as-built drawings, the CSL license number, the workers' comp affidavit, and the fee. Most towns want a narrative of the retrofit scope attached.
- Zoning review. If the deck is over a setback or a lot-coverage limit, this is where it surfaces. Some towns will require a variance; others allow a minor deviation with an administrative sign-off.
- Framing inspection. The inspector confirms the retrofits are in and correct, usually with the decking or portions of it lifted. Fix anything they flag.
- Final inspection. Guardrails, stairs, lighting compliance where required. Permit closes. Your town's permit history now shows the deck as legal, which is what a title attorney, a home inspector, or an insurance underwriter will look for.
The retrofit list an inspector uses on a pre-2024 deck
This is what people never tell you. Here are the code sections your existing deck will most often fail, roughly in order of frequency and rough retrofit cost per typical MA deck. Ranges are order-of-magnitude for planning, get real numbers from a licensed contractor. On a deck with a structurally sound frame, the same list can be worked as a scoped hardware-only retrofit to current MA code rather than an inspection surprise.
| Retrofit | Why it fails | Code cite | Rough retrofit cost |
|---|---|---|---|
| Frost footings shallower than 48 inches | Older decks often used pier blocks or 24 to 36 inch tubes | 780 CMR / IRC R403.1.4.1 as amended by MA | $150 to $500 per footing to add or replace |
| Missing or wrong ledger flashing | Flashing was often nailed on top of siding, not woven behind | IRC R703.4, R507.9 | $600 to $2,500 to open siding, install proper flashing, close up |
| Lateral load connection at ledger absent | Not required in the earliest code cycles, mandatory now | IRC R507.9.2 | $200 to $600 for a pair of DTT2Z-style tension ties |
| Undersized or missing joist hangers | Toe-nailed joists or wrong-nail hangers were common | IRC R507.6 | $10 to $30 per hanger, plus labor |
| Guardrail below 36 inches on a deck 30+ inches above grade | Old decks often built to 30 or 32 inches | 780 CMR / IRC R312.1 | $30 to $60 per linear foot to rebuild railing |
| Stair rise or run out of tolerance | 8-inch risers or 9-inch treads were once common | IRC R311.7 | $500 to $2,000 to rebuild one flight |
| Stair guard or handrail missing | Not enforced on early builds | IRC R311.7.8, R312 | $200 to $800 |
| Deck below required snow / live load capacity | Older joist sizing not sized to 40 psf live plus MA ground snow | 780 CMR / IRC R507.5, R507.6 | Varies widely, sometimes forces sistering joists or a new beam |
A deck that catches only one or two items on that list is a $1,500 to $4,000 fix. A deck that catches five or more (typical for a 1990s pier-block-on-dirt back deck) can hit $10,000 or more, which is when the honest question becomes "rebuild instead." Our deck resurfacing vs rebuild guide has the decision math.
Two retrofits deserve special mention. Ledger flashing is the single most common structural cause of deck collapse in the Northeast, and it is invisible from the top. Every inspector I know will not sign a legalization on a house-attached deck without seeing the ledger flashing detail, which almost always means pulling siding. Read our deck ledger flashing collapse guide for Massachusetts to understand why the town holds a hard line here. Frost footings are the second: MA frost depth is set at 42 to 48 inches by the local building department per 780 CMR, and a pier block sitting on the dirt does not qualify. See our deck footings and frost depth guide for the retrofit options.
What it actually costs: permit up-front vs. as-built vs. doing nothing
The dumbest way to pay for a deck permit is to skip it and then legalize later. Rough MA math:
| Path | Real cost |
|---|---|
| Pull the permit up-front, build to code | Permit fee $150 to $600 depending on town and project value |
| As-built permit on a mostly-compliant deck | Permit fee plus as-built drawings ($300 to $1,500) plus 1 to 2 retrofits ($1,000 to $4,000) |
| As-built permit on a typical pre-2024 back deck | Permit fee plus drawings plus $5,000 to $12,000 of retrofits and reinspections |
| Do nothing until you sell, then buyer's lender flags it | Everything above, plus a rushed contractor at closing rates, plus a price concession from the buyer |
| Do nothing and get caught by a neighbor complaint | Everything above, plus MGL Chapter 143 Section 94 fines |
The pattern is consistent: getting caught after the fact is 3x to 10x the cost of pulling the permit before you cut the first joist.
What happens if you just leave it
Under MGL Chapter 143 Section 94, a violation of the state building code is punishable by a fine of up to $1,000 or imprisonment for up to one year, or both, and every day the violation continues is a separate offense. A back deck that has been sitting unpermitted for three months could, in theory, generate 90 offenses. In practice, no MA town runs the fine meter that hard on a homeowner, but the exposure is real, and towns absolutely do pursue it when the deck creates a genuine safety issue or when a neighbor files a complaint.
Two other consequences bite quietly. First, municipalities can add unpaid code fines to your property tax bill as a municipal charges lien, which survives the sale of the property and clouds your title. Second, most homeowners insurance policies contain a clause voiding coverage for injury or damage tied to work that violated the building code. If a guest goes off the guardrail because the guardrail was 30 inches instead of 36 and the deck was never permitted, your carrier has grounds to walk away from the claim. That is worth confirming with your agent in writing, coverage language varies by carrier.
Selling a Massachusetts house with an unpermitted deck
Massachusetts is a caveat emptor state. There is no legally mandated seller property disclosure form, and a seller is not required to hand a buyer a written list of defects. But two rules still apply. A seller who volunteers information cannot misrepresent it, and a seller who is asked a direct question cannot lie. Ducking a specific question ("was this deck permitted?") with a false answer is fraud, and post-closing lawsuits based on that fact pattern are common enough that any competent real estate attorney will steer you away from it.
The real estate agent side is stricter. Licensed brokers in MA operate under 254 CMR 3.00, and Mass.gov's licensing guidance is clear that agents must disclose known material defects. If your agent knows the deck is unpermitted (and they will, because a good listing agent asks), they have to disclose it. That is why the smart move on a listing is almost always to run the as-built permit before the house hits the market, or to price in the retrofit as a credit at closing so the deal does not blow up in inspection.
Buyers' lenders do their own audit. FHA and VA loans in particular will not close on a house with material unpermitted work until it is legalized or removed. A conventional lender will sometimes hold back an escrow reserve equal to the estimated legalization cost. Either way, an unpermitted deck at closing means less proceeds in your pocket.
When an as-built permit forces you into an engineer's stamp
Most one- and two-family deck as-built permits do not need a stamped drawing set from a licensed engineer or architect. Under 780 CMR 107.6.2.1, one- and two-family dwellings and their accessory structures are exempt from the "registered design professional" requirement. Your CSL's as-built drawings are enough.
That exemption evaporates in five common situations: the deck ledgers into brick, stone, or stucco veneer; the deck carries a hot tub or other concentrated point load; deck posts are over 14 feet tall; the framing spans past the IRC R507 prescriptive tables; or the deck is attached to a triple-decker or larger multifamily. Any of those five means budgeting $800 to $2,500 for a professional engineer's stamped as-built. Our when a Massachusetts deck needs an engineer's stamp guide covers each trigger.
There is also inspector discretion. Under the same 107.6.2.1 the building official can require stamped plans "for other work" when the scope justifies it. An old deck with obvious structural concerns (rotted posts, a sagging beam, a badly-detailed hot tub cutout) can pull a stamp requirement even inside the one- and two-family exemption. If the inspector asks for a stamp, they have the code on their side.
For the guardrail piece, MA cares about height (36 inches minimum on decks 30+ inches above grade) and about opening size (4-inch sphere rule on balusters, 4 3/8 inch on the triangle at the bottom of stair guards). Our Massachusetts deck railing code guide has the full numbers.
FAQ
Can I get a retroactive permit for a deck in Massachusetts? Yes, every MA town's building department accepts an as-built permit application. The deck must be brought into compliance with 780 CMR 10th Edition, which usually means one or more retrofits before the permit closes.
How long does the town have to enforce an unpermitted deck? MGL Chapter 143 Section 94 does not set a fixed statute of limitations on unpermitted structural work. Practically, a town can enforce whenever the deck comes to its attention (a neighbor complaint, an aerial survey, a listing inspection, a permit application on other work). "It has been there for 20 years" is not a defense.
Do I have to tear down the deck? Almost never. Demolition orders under MGL Chapter 143 exist and courts have used them, but they are reserved for structures that cannot be brought into compliance or that pose imminent danger. A standard back deck can be legalized.
Can I sell my house with an unpermitted deck? You can list it, but you cannot lie about the permit status if the buyer asks, and your listing agent has an affirmative duty to disclose the defect if they know about it. Most sellers legalize before listing or credit the buyer at closing.
Will my homeowners insurance still cover an accident on an unpermitted deck? Depends on the policy. Many carriers exclude or limit coverage for injuries tied to work that violated building code. Ask your agent for that answer in writing, not over the phone.
Can I pull the as-built permit myself as the homeowner? On your primary residence, yes. The town can still require a licensed CSL to perform any structural retrofit work, and it can require an engineer's stamp if the deck falls outside the R507 prescriptive tables.
Get an honest quote before you go to the building department
The single biggest mistake homeowners make with an unpermitted deck is walking into the building department without knowing what the retrofit list actually is. Ask a licensed MA deck contractor to walk the deck first, produce the "gaps to code" list, and quote the retrofit before you fill out the application. That way the permit conversation is about scope you have already priced, not a surprise. Match with a licensed decks and porches contractor in your town at /get-estimate, or browse licensed deck contractors at /decks-porches.
One form. Hundreds of contractors. You pick how many reply.
Describe your project and we’ll forward it to nearby contractors. Interested ones reach out — you pick the cap.
