The ledger — the board that ties your deck to the house — is the joint where decks most often fail. Sometimes the failure is structural: the connection pulls away from the wall. Sometimes it’s water: the joint was never flashed properly, and the house’s rim joist rots from the inside out. Here’s what many homeowners (and some builders) miss: the building code treats these as two separate requirements, in two separate sections. How the ledger is fastened and how the ledger is waterproofed are different jobs, inspected against different rules. Mix them up and you can do one perfectly and still fail the other.
This article explains what 780 CMR — the Massachusetts State Building Code, 10th edition, based on the 2021 International Residential Code (IRC 2021) — actually requires at the ledger. It’s the technical companion to our permitting guides: the permit process itself is covered in Deck Permits in Massachusetts: A Homeowner’s Walkthrough (September 30, 2026), and the special problems of old New England framing are in that guide’s “Ledger attachment on old framing” section. Section numbers below are taken from the official code text, verified October 15, 2026.
Job one: the structural connection (R507.9.1)
Section R507.9 covers how a deck attaches to the house, and it starts with what the two sides of the joint must be.
The ledger board itself — R507.9.1.1. A deck ledger must be at least a nominal 2×8, made of pressure-preservative-treated Southern pine, incised pressure-treated hem-fir, or approved naturally durable lumber of No. 2 grade or better. Two prohibitions matter: a ledger may not carry concentrated loads from beams or girders (it fastens joists, not posts-and-beam point loads), and it may never be supported on stone or masonry veneer — veneer is a finish, not structure.
The band joist it bolts to — R507.9.1.2. The house side of the joint must be at least 2-inch nominal solid-sawn lumber (spruce-pine-fir or better) or at least 1-inch nominal engineered wood rim board installed per Section R502.1.7 — and it must bear fully on the primary structure. This is where older homes get into trouble: balloon framing, undersized rims, or rot behind the siding mean there is no code-compliant band joist to bolt to. When that’s the case, the code-compliant answer is usually a free-standing deck or an engineered alternate detail (R507.9.1.4 allows alternate framing configurations that meet the load requirements of Section R301.5), not a ledger screwed into whatever is there.
The fasteners — R507.9.1.3. Fasteners in the ledger connection must be hot-dipped galvanized or stainless steel. Their on-center spacing comes from Table R507.9.1.3(1), which varies with joist span and design load (live load or ground snow load — in Massachusetts, snow usually governs). Their placement — edge distances, stagger pattern, spacing between rows — comes from Table R507.9.1.3(2) and the accompanying figures: lag screws and bolts are staggered top to bottom along the ledger run, with defined minimum distances from edges and ends. Look up the row that matches your actual span and load; don’t interpolate a guess from a neighbor’s deck.
Lateral loads — R507.9.2. Bolts resist the ledger pulling straight out, but the code also requires a dedicated lateral connection to keep the deck from racking or separating sideways. Hold-down tension devices go in at least two locations per deck, within 24 inches of each end, each rated at least 1,500 pounds — or at least four locations at 750 pounds each, depending on which code figure the detail follows. This is the requirement most often missing on older decks, and it’s a separate check from the bolt schedule.
Job two: keeping water out (R703.4)
Here is the part people conflate with the connection: waterproofing the joint. The code keeps it deliberately separate. The ledger connection table itself — Table R507.9.1.3(1), footnote b — sends you to Section R703.4 for flashing, requiring ledgers to be flashed so water cannot reach the house band joist. The fastening section tells you how to bolt it; the flashing section tells you how to keep it dry. Different section, different job.
What R703.4 demands in practice:
- Flashing material — R507.2.4. Deck flashing must be corrosion-resistant metal of at least 0.019-inch nominal thickness, or an approved nonmetallic material compatible with both the house substrate and the decking materials. Compatibility matters: the wrong metal against treated lumber or certain sidings corrodes.
- Layered like shingles. Flashing goes on so each layer laps over the one below, directing water outward and down — never trapping it behind the ledger. It must tie into the wall’s water-resistive barrier so the drainage plane is continuous from the wall, across the joint, and out.
- Direct contact with structure. Siding and exterior trim come off where the ledger lands; the ledger bears directly on the framing or sheathing, with flashing integrated — not caulked over the siding.
A useful mental test: a ledger can be bolted exactly to the code tables and still destroy the house if the flashing is missing or backwards — and a beautifully flashed ledger can still pull away if the fasteners are wrong. Passing one inspection item never covers the other.
Why this matters for Massachusetts homes in particular
Two local realities make the ledger joint harder here than in new-construction suburbs elsewhere. First, snow loads: the fastener spacing table has separate rows for ground snow load, and in most of Massachusetts the snow row — not the live-load row — controls the design. Second, age: much of Greater Boston’s housing stock predates the framing the code assumes, so the “Ledger attachment on old framing” discussion in our statewide permit guide is worth reading before anyone opens up your wall. If the investigation finds no solid band joist, budget for the engineered alternate or the free-standing design — that’s the code working as intended, not a contractor upselling you.
One more Massachusetts factor: winter freeze–thaw at the ledger
Neither code section mentions a third Massachusetts reality: winter. Any water that finds its way behind the ledger — even small amounts past imperfect flashing — sits in the joint for months. When it freezes, it expands; when it thaws, it contracts. That freeze–thaw cycle keeps stressing the ledger connection all winter, working on fasteners and widening the tiny gaps water travels through.
Snow piled against the house makes it worse: it melts slowly against the ledger and keeps the joint wet far longer than a single rain event would. That doesn’t mean the deck is failing — it means the ledger joint deserves a look each spring. Check for fasteners that have loosened or backed out, flashing that has pulled away from the wall, and any soft or darkened wood at the rim joist. And when shoveling, avoid packing snow against the house right where the deck meets it.
The bottom line
At the ledger, the code asks two questions, in two sections: is it fastened right (R507.9.1–R507.9.2) and is it flashed right (R703.4, with materials per R507.2.4). When you’re reviewing a contractor’s plan or looking at an existing deck, check both — separately. The permit process that gets all of this inspected is in our Massachusetts deck permit walkthrough, and if you’re in Newton specifically, start with our Newton permit guide.
Sources: “Chapter 5 Floors: Floors, Massachusetts Residential Code, 10th ed.” (UpCodes viewer export of the official code text; section numbers verified October 15, 2026); “Deck Permits in Massachusetts: A Homeowner’s Walkthrough,” Advanced Deck & Porch blog, September 30, 2026. This article summarizes code requirements for homeowners; the code text itself governs, and your local building official has the final word on any detail.
