
Yes, an attached deck needs ledger flashing. The model building code requires it wherever a ledger bolts to a wood-frame wall, and it is the single detail that most often decides whether that connection lasts 5 years or 30. Good flashing is corrosion-resistant, lapped like shingles, and layered so water is carried out over the ledger and away from the wall. This guide covers what the code says, which materials work, how the layers go together, and the mistakes that cause rot.
TL;DR
- Where a ledger attaches to a wood-frame wall, the IRC requires flashing to keep water out of the wall cavity and from getting behind the ledger.
- Metal flashing must be corrosion-resistant and at least 0.019 inch thick, or an approved nonmetallic material.
- The most protective method is three layers: membrane behind the ledger, membrane over its top, then cap flashing, all lapped shingle-style.
- Sealant alone is not flashing. Keep aluminum away from copper-treated lumber.
- Rotted ledgers are a structural risk. If you see staining, soft wood or a sagging connection, have it inspected before using the deck.
Table of Contents
- Why ledger flashing matters
- What the code says about ledger flashing
- Flashing materials compared
- How a deck ledger is flashed, layer by layer
- Common ledger flashing mistakes
- Signs your existing ledger flashing has failed
- Attached or freestanding: a flashing decision
- Perspective
- How Cactus Decking handles the wall connection
- Questions to settle before the build
- FAQ
- Sources
Why ledger flashing matters
The ledger is the board that fastens the deck frame to your house. It carries a large share of the deck’s load through lag screws or bolts into the rim (band) joist. That joint sits in the worst possible spot: a horizontal surface against a wall that sheds rain straight onto it.
If water gets behind the ledger, it soaks the band joist and the sheathing. Inspectapedia’s guidance notes that leakage at the band joist can lead to decay and failure of the deck connections, and that lags or bolts give little support once they sit in rotted wood. A FEMA-based coastal bulletin from a Florida town goes further: water penetration at ledgers can cause dry rot and corroded connectors, and that can lead to deck collapse.
The damage is also hidden. From the deck surface everything looks fine until the siding stains, the floor inside feels soft, or the deck moves under foot. That is why the flashing is installed once, correctly, before the deck boards go on.

What the code says about ledger flashing
Most U.S. jurisdictions build on the International Residential Code (IRC), then amend it locally. Washington cities and counties adopt their own versions, so your local building department has the final word on your permit. The model code language is a good picture of what inspectors look for.
Is flashing required?
Under IRC R507.9.1.5, as published by UpCodes, flashing must be installed above the ledger where it attaches to wood-frame construction. It must extend at least 2 inches vertically above the ledger and at least 4 inches horizontally beyond the ledger face, or run to the ledger face and at least 1/4 inch down it. If a window or door opening sits less than 2 inches above the ledger, the flashing extends to the bottom of that opening.

There is one exception. Flashing is not required where the ledger is spaced at least 1/4 inch from the exterior wall covering for drainage and ventilation. That is a specialized detail, and it needs proper spacers and a drainage path. It is not a shortcut for skipping the flashing.
The IRC also ties ledger connections to flashing in its fastening table. A footnote states that ledgers shall be flashed in accordance with R703.4 to prevent water from contacting the house band joist. The American Wood Council’s deck guide (DCA 6) adds that the maximum gap between the ledger face and the wall sheathing is 1/2 inch, and that ledgers must be flashed or caulked to keep water off the house band joist.
What does the flashing have to be made of?
IRC R507.2.4 calls for corrosion-resistant metal flashing with a nominal thickness of at least 0.019 inch (0.48 mm), or an approved nonmetallic material compatible with the structure’s substrate and the decking. R703.4 then requires approved corrosion-resistant flashing applied shingle-fashion, so that water cannot enter the wall cavity or reach the structural framing, and the flashing extends to the surface of the exterior wall finish.
Oregon’s permit-ready deck plans show how a state applies this: corrosion-resistant flashing installed in shingle fashion where the deck meets the exterior wall. Local rules can be stricter, so ask your building department which edition and amendments apply to your address.
Flashing materials compared
All of these can work when they meet the thickness and corrosion requirements and the layers are lapped correctly. The right pick depends on your lumber, your siding and your climate.
| Material | Where it is used | What to watch |
|---|---|---|
| Self-adhering membrane (peel-and-stick) | Behind the ledger and over its top | Needs a clean, dry surface and proper laps; it does not replace cap flashing |
| Galvanized steel | Cap flashing | Howard County, Maryland specifies G-185 coating, 1.85 oz of zinc per square foot |
| Stainless steel | Cap flashing, hardware | Strong corrosion resistance; often chosen near salt water |
| Copper | Cap flashing | Howard County requires copper nails only with copper flashing |
| UV-resistant plastic or vinyl | Cap flashing | Must be rated for sun exposure and approved by your jurisdiction |
| Aluminum | Cap flashing | Do not let it touch copper-treated lumber without a barrier |
The aluminum and treated lumber problem
Most pressure-treated lumber today is treated with copper-based preservatives. The AWC deck guide says aluminum should not be in direct contact with lumber treated with preservatives containing copper, such as ACQ, copper azole or ACZA. Inspectapedia adds that aluminum can be used only where a durable barrier such as a bituminous membrane separates it from the wood, and it lists membrane-type flashings, G-185 galvanized steel or copper as preferred materials.
The practical rule: if your flashing includes aluminum, put membrane between it and the ledger, or choose a different metal.
Thin stock flashing is a trap
The IRC minimum for metal is 26 gauge, or 0.019 inch. Fine Homebuilding points out that some stock cap flashing sold at box stores and lumberyards is only 0.011 inch thick and will not meet code. Check the thickness printed on the package before you buy, or before you approve a material list from a contractor.
How a deck ledger is flashed, layer by layer
The most protective system is a three-layer approach described by Mike Guertin in Fine Homebuilding for damp climates. The measurements below come from that step-by-step guide. Treat them as a strong practice and confirm your local code before you build.
- Open the wall. Remove the siding over the band joist area so the ledger can sit against sheathing, not siding. Howard County’s guide requires that the exterior finish be removed before the ledger is installed, with continuous flashing and a drip edge at the ledger.
- Apply the first membrane to the wall. Bond self-adhering membrane to the sheathing so it extends at least 1 inch above the ledger position, 2 inches below it, and 4 inches past each end.
- Install the ledger. Fasten it per the code’s connection requirements and your deck plan. A spacer or washer detail can leave room for drainage behind the board.
- Apply the second membrane strip. Lay it over the top of the ledger and about 1/2 inch down its face, with a wall leg at least 7 inches tall. It must tuck up under the housewrap or building paper above, so water runs down and over it.
- Install the cap flashing. Use metal or plastic cap flashing with a drop leg of at least 1/2 inch and a wall leg at least 6 inches tall. This sheds most of the water.
- Restore the weather barrier and siding. Lap the housewrap over the flashing, shingle-style, then reinstall siding with the correct clearances.
Inspectapedia describes the same logic: a wide band of peel-and-stick membrane or metal over the band joist and up under the housewrap, then a second cap flashing that directs water over the ledger and away from the house.
Think like water
Every piece must lap over the piece below it, never behind it. Where a wall detail changes, such as a corner, a window or a trim board, the same shingle logic applies. If you want to see how the same principle works on a different kind of wall assembly, this article on sidewall flashing for metal panels shows how overlaps and terminations are planned so water always sheds outward.
Sealant is not a substitute
Caulk fails over time as the wood moves and the sun bakes it. Guidance based on FEMA material from Superior, Wisconsin recommends not relying on sealant instead of proper lapping, using longer laps for added protection, and using fasteners of the same type of metal as the flashing. Use sealant at the edges as a backup, never as the primary barrier.
Leave room to drain and dry
The same coastal bulletin recommends a gap between the first deck board and the flashing so water and debris can clear, a spacer behind the ledger for drainage, and stainless steel deck connection hardware. Leaves packed against the flashing hold moisture against the wall, so that gap is not optional in a tree-lined Pacific Northwest yard.
Common ledger flashing mistakes
- Flashing only on the face. A strip of metal tucked behind siding with no membrane underneath leaves seams open. Both back flashing (behind the ledger) and cap flashing are called for in Manheim Township, Pennsylvania’s deck submittal guide.
- Bolting through siding. The ledger needs to sit on a sound, flat surface with the siding removed, not clamped over lap siding or stucco.
- Flashing that stops short. If there is a window or door within 2 inches above the ledger, the flashing has to reach the bottom of that opening.
- Mixed metals. Aluminum on copper-treated wood, or steel nails in copper flashing, sets up corrosion. Match fasteners to the flashing.
- Reversed laps. Any upper piece that tucks behind the one below it directs water into the wall.
- Thin material. As noted above, flashing under 0.019 inch will not meet the metal minimum.
- Ignoring salt air. Homes close to salt water need stainless hardware. A forum summary of the AWC guide notes that stainless connectors are required within 300 feet of salt water. Our guide to coastal deck materials and fasteners covers this for Puget Sound properties.
Signs your existing ledger flashing has failed
You do not need to pull the deck apart to spot warning signs. Look for:
- Dark staining or peeling paint on siding directly above the ledger
- Soft or spongy wood when you press a screwdriver into the ledger or band joist (from a safe position)
- Rusted or weeping lag screws and bolts
- Moss, mildew or constant dampness along the wall line
- A deck that bounces, shifts or pulls away from the house
- Moisture stains on the ceiling or in the basement or crawlspace wall behind the ledger
If you see these, treat the deck as unsafe until a qualified contractor or inspector has looked at it. Our deck safety inspection guide lists what to check, and the article on ledger rot and when to replace a wood deck explains when repair stops making sense.
Attached or freestanding: a flashing decision
Every ledger is a penetration through your wall. A freestanding deck, with its own posts and beams beside the house, has no ledger to flash and no ledger to fail. Sometimes site conditions or the layout make that the better design, and sometimes an attached deck is the right answer. Our comparison of freestanding versus attached decks walks through both options and the ledger risk of each.
Perspective
On the decks we replace, the failure is rarely the boards. It is the connection to the house, and the cause is almost always a water path nobody saw being built.
We build with our own in-house crew, not subcontractors, so the person who opens the siding is the person who flashes the ledger and puts the wall back together. That matters here more than anywhere else on the job, because flashing is a sequence. Membrane, ledger, membrane, cap, housewrap, siding: each step has to be done in order and lapped correctly, and none of it is visible once the deck is finished.
Our approach is to treat the ledger as part of the design, not an afterthought. When we plan a deck, we decide early whether an attached or freestanding frame suits the house, which materials will not fight each other (composite, PVC or cedar, with compatible metals and fasteners), and how the flashing will meet the siding. We stand behind that work with a warranty on our installations.
If you are choosing a contractor, ask to see how they handle the ledger, because the answer shows how they handle everything else.
Vlad
How Cactus Decking handles the wall connection
When we build or replace a deck in Everett and the surrounding area, the wall connection is planned in the consultation, written into the scope, and handled with permitting where it is required. Our crews work with composite, PVC and cedar decking, and with railings, stairs, covers and lighting that all tie into the same frame, so the details are coordinated from the start.
If your current deck has staining at the wall, or you are planning a new one, start with deck replacement or new deck installation service. For a project that needs a specific layout, see new deck installation service or Everett deck design service.

To see how we organize a build from first visit to final walkthrough, read our deck installation process guide, or contact us through Cactus Decking to talk about your deck.
Questions to settle before the build
Whether you hire a contractor or review a plan yourself, these questions keep the flashing honest:
- Is the deck attached or freestanding, and why?
- What flashing materials are specified, and what is their thickness?
- Will the siding be removed at the ledger, or will the ledger be fastened over it?
- Is there a membrane layer behind and over the ledger, plus cap flashing?
- Do the fasteners and flashing metals match, and are they compatible with the treated lumber?
- Is there a drainage gap at the first deck board?
- Will the permit drawings show the ledger and flashing details?
A contractor who answers these without hesitation has built this connection before. Deck stairs, rails and lighting also have their own code points, and our guides to deck stairs code and deck lighting code cover them.
FAQ
Does a deck ledger need flashing?
Yes, where the ledger attaches to wood-frame construction. The IRC requires flashing to keep water out of the wall cavity and from getting behind the ledger. The only exception is a ledger spaced at least 1/4 inch from the wall covering for drainage and ventilation, which is a specific detail and not a shortcut.
What flashing should I use for a deck ledger?
Use corrosion-resistant metal at least 0.019 inch thick, or an approved nonmetallic material, ideally layered with self-adhering membrane behind and over the ledger. Galvanized steel with a G-185 coating, stainless steel, copper and UV-resistant plastic are all named in local guides. Keep aluminum away from copper-treated lumber.
How do you flash a deck ledger?
Remove the siding at the ledger, bond membrane to the sheathing, install the ledger, cover its top with a second membrane strip, then add cap flashing. Lap every layer shingle-style and restore the housewrap over the top. Leave a drainage gap between the flashing and the first deck board.
What is the code for deck ledger flashing?
The key IRC sections are R507.9.1.5 for flashing extents and R507.2.4 for materials, with R703.4 governing shingle-style application. Washington jurisdictions adopt and amend the model code, so confirm the current local requirements with your building department before you build.
Sources
- Ledger Flashing, UpCodes
- 2021 IRC Section 507 Decks, City of Helena
- DCA 6 Prescriptive Residential Wood Deck Construction Guide, American Wood Council
- Porch and Deck Ledger Flashing, Inspectapedia
- Deck-to-Wall Flashing, Town of Edisto Beach
- Deck Ledger, Fine Homebuilding
- How to Install and Flash a Deck Ledger, Fine Homebuilding
- Typical Deck Details, Howard County
- Residential Deck Submittal Guide, Manheim Township
- Permit-ready deck, Oregon BCD
- Flashing Detail Information, Superior, Wisconsin
- Deck ledger flashing discussion, Building Code Forum
- Sidewall flashing for metal panels




