RemodelAtlas
Structural Framing & Foundations

Attached Deck Ledger Board Attachment: Flashing and Through-Bolt Code

The ledger board is the single connection that holds an attached deck to your house — and it's also the most common point of failure. Here's how through-bolts, approved structural screws, and Z-flashing work together to keep that connection from separating.

Attachment Method
Through-Bolts or Approved Structural Screws
Standard deck screws and short lag screws alone are not code-recognized for this connection.
Flashing Type
Corrosion-Resistant Z-Flashing
Installed over the ledger, shingled behind the siding, to shed water away from the joint.
Bolt Spacing
Set by Joist Span, Not Guesswork
Prescriptive tables tie spacing to your deck's joist span, lumber, and fastener size.
Major Red Flag
Nailed Ledger, No Flashing
A leading cause of hidden rot and full ledger separation on older attached decks.
ADVERTISEMENT
Quick Answer

A code-compliant deck ledger attachment uses through-bolts, or an IRC-approved structural screw, driven through the ledger and into the house's band (rim) joist in a two-row staggered pattern spaced according to your deck's joist span — never deck screws, and rarely nails alone. Corrosion-resistant metal Z-flashing is installed over the top of the ledger and tucked behind the house's siding or water-resistive barrier so water sheds away from the connection instead of soaking into it. Missing flashing, undersized or single-row fasteners, and ledgers bolted to brick veneer or stucco are the most common causes of ledger detachment. Exact bolt diameter, spacing, and any required lateral-load connectors depend on the building code edition your city or county has adopted, so confirm specifics with your local building department before construction begins.

What a Deck Ledger Board Actually Does

A ledger board is the horizontal piece of lumber bolted directly to your house that the deck's floor joists hang from. It sits against the house's band joist (also called a rim joist) — the structural framing member that runs along the outer edge of the floor system, just inside the exterior wall. When a deck is described as "attached," this ledger-to-band-joist connection is what makes it attached, rather than a freestanding structure that stands entirely on its own posts.

That single connection typically carries a meaningful share of the deck's total load: the weight of the deck itself, everything placed on it, and everyone standing on it at once. Unlike a floor inside your house, a deck is exposed to rain, snow, freeze-thaw cycling, and direct sun, all of which act on the same joint year after year. That combination — high structural demand plus constant weather exposure — is exactly why building codes regulate ledger attachment specifically, rather than leaving it to general framing judgment.

A freestanding deck, by contrast, uses its own posts and beam along the house side instead of bolting into the house at all. It costs more in lumber and footings, but it removes the ledger connection — and its failure risk — entirely. Later in this guide we cover the situations where a freestanding deck is the more appropriate choice.

Why Ledger Connections Fail

Ledger detachment rarely happens as a sudden, isolated event. It's usually the end result of one or more of the following conditions building up over time:

  • Nail-only attachment. Older decks, and some do-it-yourself builds, were fastened with nails alone. Nails resist withdrawal poorly compared to bolts or structural screws, and repeated live-load cycling (people walking, furniture, snow) gradually works nails loose.
  • No flashing, or flashing installed in the wrong sequence. Water tracking down the siding behind an unflashed ledger has nowhere to go but into the wood. Over several seasons this decays both the ledger and the band joist from the inside, weakening the wood the fasteners rely on long before any visible sagging appears.
  • Undersized or incorrect fasteners. Deck screws, short lag screws with inadequate penetration into the band joist, or fasteners smaller than the connection was designed for all reduce the tested holding capacity of the joint.
  • Attachment to unsuitable backing. A ledger fastened to a cantilevered floor overhang, brick veneer, stucco, or a hollow masonry wall often has no solid framing directly behind the fasteners to transfer load into.
  • Missing lateral-load resistance. Vertical bolts hold the deck up, but they don't fully resist the deck racking or pulling away from the house sideways. Many adopted codes since 2009 require dedicated lateral-load (hold-down) connectors at specific points along the ledger for exactly this reason.
Warning Rot at a ledger connection is often invisible from the deck surface. By the time boards feel spongy or the ledger visibly separates from the house, the fasteners have frequently already lost most of their holding capacity in the surrounding wood.

Through-Bolts vs. Lag Screws vs. Structural Screws

Not every fastener that can physically hold a ledger in place is recognized for this connection. The distinctions matter because they directly affect how much load the joint can actually carry.

ADVERTISEMENT
  • Through-bolts. A through-bolt passes completely through both the ledger and the band joist and is secured on the interior side with a washer and nut. Because it doesn't rely on thread engagement in wood, a through-bolt provides the highest and most consistent tested holding value of the three options, which is why it's typically used as the reference fastener in prescriptive ledger-attachment tables.
  • Lag screws. A lag screw is driven in from the exterior face and does not pass all the way through the band joist. Lag screws are permitted in many prescriptive tables at the correct diameter, pilot-hole size, and embedment depth, but they generally carry a lower tested capacity per fastener than a through-bolt of the same diameter, and their long-term withdrawal resistance can be affected as the wood dries and shrinks.
  • Structural (timber) screws. These are proprietary, heavy-diameter fasteners engineered and load-tested specifically for structural wood connections, typically backed by a manufacturer's ICC-ES evaluation report. Since the 2015 edition of the International Residential Code, certain approved structural screws have been recognized in the same prescriptive ledger tables as an alternative to bolts — but only when the exact product and installation method match its tested listing.
  • Ordinary deck screws. A standard exterior-rated deck screw or general-purpose wood screw is not tested or approved for structural ledger attachment, regardless of how many are installed. They are appropriate for decking boards and trim, not for the ledger-to-house connection.
Warning Deck screws are sometimes substituted for structural fasteners because they're faster to drive and already on the job site. This is one of the most common causes of ledger failures reviewed after deck collapses, and it is not an acceptable substitute for through-bolts or a code-approved structural screw.
General comparison only. Confirm the specific fastener, size, and installation required for your deck design with your contractor and local building department.
Fastener Passes Through Band Joist? Typical Recognition Key Requirement
Through-bolt Yes Reference fastener in most prescriptive tables Washer required under bolt head and nut; correctly sized pilot hole
Lag screw No Permitted at matching diameter, embedment, and spacing Correct pilot hole and full embedment into band joist
Approved structural screw No Recognized under 2015 IRC and later for listed products Must match the manufacturer's tested product and installation
Standard deck screw No Not code-recognized for ledger attachment Not applicable — use for decking/trim only

Bolt and Screw Spacing: What Sets the Pattern

Fastener spacing at a ledger isn't a matter of installer preference. It's driven by prescriptive tables — most commonly the ledger-attachment table in the International Residential Code, or the American Wood Council's DCA 6 Prescriptive Residential Wood Deck Construction Guide that many jurisdictions reference — and the table entry that applies to your deck depends on several variables together:

  • The joist span: how far your deck's floor joists project outward from the ledger.
  • The fastener diameter being used (commonly 1/2-inch bolts or screws in many residential tables, though this must be confirmed against your specific table row).
  • The species and grade of both the ledger and the band joist lumber.
  • Whether the deck joists bear on both sides of the ledger (opposing joists), which changes the load pattern at each fastener location.

Regardless of the exact spacing number for your project, a few pattern principles are consistent across prescriptive tables:

  • Fasteners are installed in two staggered rows — an upper row and a lower row — rather than a single row, which spreads the load and reduces the risk of splitting the ledger along the grain.
  • Minimum edge distance is maintained from the top and bottom edges of the ledger, and from the ends of the board, so a fastener isn't placed too close to where the wood could split out.
  • Washers are required under both the bolt head and the nut on through-bolted connections, to spread the clamping force and avoid crushing the wood fibers.
  • Fasteners should be snugged to manufacturer torque guidance, not overtightened — crushing the wood under the washer reduces the clamping connection over time.
Ask for the Specific Table Row Rather than accepting a general statement like "we space them every couple of feet," ask your contractor which prescriptive table and joist-span row applies to your deck, or ask to see the stamped engineered detail if your deck falls outside prescriptive limits. That row determines the exact fastener size and on-center spacing your project needs.

Z-Flashing and Water Management at the Ledger

Z-flashing is a bent metal flashing piece, shaped roughly like the letter Z in cross-section, installed over the top edge of the ledger board. One leg of the flashing tucks up behind the house's siding or water-resistive barrier; the other leg extends down and out over the face of the ledger, forming a drip edge that directs water away from the seam between the ledger and the band joist instead of letting it collect there.

Correct sequencing matters as much as the flashing material itself:

  1. Siding is cut back and the house's water-resistive barrier (housewrap or building paper) is prepared so flashing can be woven in "shingle style" — each higher piece overlapping the one below it so water always sheds downward and outward, never behind a lower layer.
  2. The flashing is set in place first, along the full length of where the ledger will go, before the ledger board itself is installed.
  3. End laps and any penetrations are sealed with compatible self-adhering flashing tape.
  4. The ledger is then bolted through the flashing into the band joist, so the flashing sits between the ledger and the house siding above, not underneath the ledger.
  5. A small gap is maintained between the bottom of the siding above and the top of the ledger, allowing any water that does reach the area to drain rather than pool against the wood.
Warning Flashing installed after the ledger is already fastened, or omitted entirely because "the ledger is pressure-treated so it doesn't need it," is one of the most common and most damaging shortcuts in deck construction. Pressure-treated lumber resists decay better than untreated wood, but it is not immune to prolonged moisture exposure, and the fasteners themselves are not treated at all.

Flashing material compatibility is also worth confirming. Modern pressure-treated lumber uses copper-based preservatives that can accelerate corrosion in bare aluminum flashing and fasteners over time. Hot-dip galvanized steel, stainless steel, or a flashing product specifically rated as compatible with treated lumber reduces that risk. Ask your contractor which flashing material they're using and whether it's compatible with the treated lumber and fasteners specified for your ledger.

When a Ledger Cannot Be Used

A ledger attachment isn't always the appropriate method, even with correct bolts and flashing. A freestanding deck — supported entirely on its own posts and beam, with no structural connection to the house — is generally the better or required approach when:

  • The exterior wall behind the deck is finished in brick veneer, stone veneer, or stucco. These finishes are not structural and cannot reliably transfer deck loads into the house framing behind them.
  • The floor framing at that location is a cantilevered overhang with no solid band joist directly behind the wall to bolt into.
  • The house uses engineered floor framing, such as I-joists or floor trusses, without a ledger attachment detail specifically approved by the manufacturer or an engineer.
  • The existing band joist is deteriorated, undersized, or otherwise unable to carry the additional deck load.
  • The home is a manufactured home or has framing not designed to accept conventional ledger fastening.

In any of these cases, a licensed contractor or engineer can confirm whether a freestanding design, or a specially engineered attachment detail, is the correct path for your specific wall and floor assembly.

Deck Ledger Attachment Specifications at a Glance

The table below summarizes the components that make up a properly built ledger connection. Exact fastener sizes, spacing, and lateral-connector requirements vary by the building code edition your jurisdiction has adopted, your joist span, and your lumber species — confirm the specific values that apply to your project with your contractor and local building department.

Component General Requirement Why It Matters
Fastener type Through-bolts or an IRC-approved structural screw — not deck screws Provides tested holding capacity instead of relying on thread withdrawal alone
Fastener pattern Two staggered rows, spaced per the prescriptive table row for your joist span Distributes load evenly and reduces the risk of splitting the ledger
Washers Required under the bolt head and nut on all through-bolted connections Spreads clamping force and prevents crushing of the wood fibers
Flashing Corrosion-compatible metal Z-flashing, shingled behind the siding above the ledger Keeps water out of the ledger-to-band-joist seam
Drainage gap Small gap maintained between the siding above and the ledger board Prevents trapped moisture from sitting against the top of the ledger
Lateral-load connectors Hold-down tension devices at specified points along the ledger, required under many adopted codes Resists the deck pulling or racking away from the house under lateral force
Ledger material Solid-sawn pressure-treated lumber matching or exceeding the joist size Manufactured rim board or plywood is generally not an approved substitute for a ledger

Red Flags of a Dangerous Ledger Connection

These specific conditions are worth stopping to investigate, whether you're evaluating a deck you're buying, one you inherited with your home, or work currently in progress:

  • The ledger is fastened with nails only, or with standard deck screws instead of through-bolts or an approved structural screw.
  • There is no visible flashing above the ledger, or the flashing appears to be installed underneath the ledger rather than over it.
  • Fasteners are installed in a single row with no stagger pattern.
  • Bolts are missing washers under the head or nut.
  • The ledger is bolted directly into brick veneer, stucco, or siding with no confirmation of solid framing behind it.
  • There's visible daylight, gapping, or water staining where the ledger meets the house siding.
  • No permit or final inspection record exists for the deck's structural connection to the house.

Homeowner Checklist Before You Approve the Work

  • Confirm with your local building department whether a permit and structural inspection are required for the ledger connection before work starts.
  • Ask your contractor which fastener will be used — through-bolt or approved structural screw — and request the product name and spec sheet for any structural screw.
  • Ask what flashing material will be used and how it will be sequenced with your home's siding and water-resistive barrier.
  • Confirm whether lateral-load connectors are included in the design.
  • Request photos of the ledger, flashing, and fasteners before the deck boards and any skirting cover the connection.
  • Confirm the ledger is fastened to solid band-joist framing, not veneer, trim, or an unsupported overhang.
  • Keep a copy of the permit card or inspection approval for your records.

What to Do Next

If you're planning new deck construction, ask your contractor to walk you through the exact fastener size, spacing, and flashing product specified for your joist span before work begins, and confirm a structural inspection is scheduled before the ledger is covered by decking. If you're evaluating an existing attached deck — during a home purchase, a remodel, or simply routine maintenance — look for the red flags above at the ledger-to-house connection, and don't assume an older deck was built to current fastening or flashing standards. When a wall condition, framing type, or code question falls outside the general principles covered here, a licensed deck contractor, structural engineer, or your local building department can confirm the specific requirement for your property.

Frequently Asked Questions

Can I use lag screws instead of through-bolts for a deck ledger?

In many cases, yes. Lag screws are permitted in a number of prescriptive residential deck-ledger tables when the diameter, embedment depth into the band joist, and spacing match the table entry for your joist span and lumber species. However, a through-bolt generally provides higher and more consistent tested holding capacity than a lag screw of the same diameter, since it doesn't rely on thread engagement in wood that can loosen as lumber dries and shrinks. Confirm which fastener your local adopted code and deck design allow for your specific joist span.

Is Z-flashing required by code, or is it just good practice?

Weather protection at ledger connections is addressed in the sections of the model residential code governing exterior wall flashing and ledger attachment, and most jurisdictions that regulate deck construction expect flashing at this connection. Because exact code language and enforcement vary by the code edition your city or county has adopted and by local amendments, confirm the specific requirement with your building department. Regardless of the exact citation, omitting flashing at a ledger is widely recognized as a leading cause of hidden rot and eventual fastener failure.

What is the difference between a structural screw and a regular deck screw?

A structural wood screw is a proprietary, heavy-diameter fastener engineered and load-tested for structural connections, typically backed by an ICC-ES evaluation report. Since 2015, the International Residential Code has recognized certain approved structural screws in the same prescriptive ledger-attachment tables as bolts, when installed exactly per the manufacturer's tested specification. An ordinary deck screw is not tested or approved for this connection and should never substitute for a through-bolt or an approved structural screw.

Can a deck ledger be attached to a house with brick veneer or stucco?

Generally, no. A ledger needs to bear directly against solid framing, such as the band or rim joist, not against a non-structural veneer like brick, stone, or stucco, because the veneer can't reliably transfer the deck's load into the house framing. A freestanding deck built on its own posts and beam, independent of the house, is the typical solution unless an engineer provides a specific approved attachment detail for that wall assembly.

How do I know if my deck's ledger connection was properly inspected?

Check your local building department's permit records, or your home's own files, for a signed permit card or a final framing/structural inspection report referencing the deck. If you're buying a home with an existing attached deck, or the deck predates your ownership, don't assume the original ledger connection met current fastening or flashing standards — many older decks were built with nails only and no flashing, both now considered unsafe practices for this connection.