Quick answer
Roof flashing is thin, water-shedding material, usually bent metal, installed at the joints of a roof where shingles alone cannot keep water out: along walls, around chimneys and pipes, in valleys and at the roof edges.
The International Residential Code requires flashing at wall and roof joints, at changes in slope or direction and around every roof opening, and sets the minimum metal thickness.
Quick facts
- Where
- Walls, chimneys, valleys, pipes, skylights, roof edges 1
- Required by
- 2021 IRC R903.2 and R905.2.8 1
- Minimum metal
- Corrosion-resistant, at least 0.019 inch (No. 26 galvanized sheet) 1
- Common metals
- Galvanized steel, aluminum, copper 5
- Sidewall base flashing
- At least 4 inches high and 4 inches wide 1
- Chimney cricket
- Required when the chimney is wider than 30 inches across the slope 2
- Main types
- Step, counter, valley, apron, base, kickout, pipe boot, drip edge
Key takeaways
- Flashing is the thin metal that seals the joints of a roof, where most leaks start.
- The building code requires it at walls, chimneys, valleys, roof openings and changes in slope.
- Metal flashing must be rust-resistant and at least 0.019 inch thick, about the same as 26-gauge steel.
- Good flashing works in layers, each piece lapping over the one below it, so water runs off instead of in.
- Counterflashing is the upper piece that covers the base flashing on a wall or chimney, so water cannot run behind it.
What roof flashing does
Shingles work well on the open, flat parts of a roof. Water lands on one shingle and runs down onto the next. The trouble comes at the joints.
Wherever the roof meets a wall, a chimney, a vent pipe, a skylight or another roof plane, there is a seam that shingles cannot close on their own. Flashing is the part that closes those seams.
Most flashing is sheet metal bent to fit the joint. One side lies on the roof under the shingles. The other side turns up the wall or around the opening. Water that reaches the joint hits the metal and is steered back onto the top of the shingles, where it can drain away.
The 2021 International Residential Code puts the goal in one line: flashings must be installed "in a manner that prevents moisture from entering the wall and roof through joints in copings, through moisture permeable materials and at intersections with parapet walls and other penetrations through the roof plane" 1.
Every flashing type on this page is a different way of meeting that rule at a different spot on the roof.
How flashing keeps water out
Flashing does not rely on glue or caulk to work. It works by lapping, the same way shingles do.
Each piece sits so that the piece above it overlaps it in the direction water flows. Water always runs over a joint, never into it.
Sealant helps at the edges, but the metal and the laps do the real work.
Many joints use two pieces instead of one. The lower piece, called base flashing, sits on the roof and turns up the wall. The upper piece, called counterflashing, comes down from the wall and laps over the top of the base flashing.
A building science guide from the U.S. Department of Energy describes counterflashing at a brick chimney as "embedded into the mortar joints of the brick layer" and overlapping the base and step flashing, "completing the waterproofing transition" 3.
Why two pieces? The house and the chimney or wall move at different rates.
Fine Homebuilding notes that houses and chimneys settle differently, which can tear single-piece flashing, and that counterflashing and base pieces "overlap but aren't physically joined, so they can move independently yet still repel water" 4.
Two loose, overlapped parts can slide past each other without opening a gap.
Types of roof flashing
Each type below is named for where it goes or what shape it has. Several will get their own page; this table gives the short version.
| Type | Where it goes | What it does |
|---|---|---|
| Step flashing | Where a sloped roof runs along a side wall or the side of a chimney | One small L-shaped piece per shingle course, woven in with the shingles |
| Counterflashing (cap flashing) | On the wall or chimney, above the base or step flashing | Laps down over the lower flashing so water cannot get behind it |
| Base flashing | At the bottom of a wall or chimney joint | The lower piece that sits on the roof and turns up the wall |
| Apron flashing (continuous) | Across the downhill face of a chimney, or where a roof meets a front wall | One long piece that sends water out over the shingles below |
| Valley flashing | In the V where two roof planes meet | Lines the valley, which carries more water than any other part of the roof |
| Chimney flashing and cricket | All four sides of a chimney, plus a small peaked roof on the uphill side | A set of apron, step, counter and cricket pieces that seal the chimney |
| Kickout flashing | Where a lower roof edge ends against a wall | Turns water out into the gutter instead of down the wall |
| Pipe flashing (roof boot) | Around plumbing vents and other round pipes | A collar, often metal with a rubber seal, that slips over the pipe |
| Drip edge | Along the eaves and rakes | Carries water off the roof edge and away from the fascia |
| Skylight flashing | Around a skylight frame | Usually a kit made by the skylight maker |
Trade names overlap. Some roofers call counterflashing "cap flashing," and some call any long piece an "apron." Ask what shape a piece is and where it goes when you compare quotes.
Sources: [5]
The main flashing types in more detail
Step flashing. Where a roof slope runs up beside a wall, each course of shingles gets its own bent piece of metal. One leg lies on the shingle, the other runs up the wall.
The next shingle covers the roof leg, and the next piece of flashing overlaps the one below it.
The code calls for this base flashing to be at least 4 inches high and 4 inches wide, and where there is siding, the wall leg must go behind it 1.
Counterflashing. On a brick chimney or masonry wall, the top edge of step or base flashing would leave a gap for water to run behind. Counterflashing covers that edge.
It is set into a cut in the mortar or brick and bends down over the lower flashing. On a wall with siding, the siding itself and the house wrap usually play this role.
The code sets cap flashing at the same minimum: corrosion-resistant metal at least 0.019 inch thick 1.
Apron flashing. On the downhill side of a chimney, a single long piece runs across the face. Fine Homebuilding recommends the bottom flange overlap the shingles by at least 4 inches and the upper flange run at least 12 inches up the chimney face 4.
Valley flashing. A valley is where two roof slopes meet and drain into one line.
The code allows an open valley lined with metal at least 24 inches wide, an open valley lined with two layers of mineral-surfaced roll roofing (an 18-inch bottom layer and a 36-inch top layer), or a closed valley lined with smooth roll roofing or self-adhering underlayment under the shingles 1.
Kickout flashing. Where the bottom edge of a roof stops against a wall that keeps going down, water running off the step flashing can pour straight down the siding.
The code requires flashing at that spot to "divert the water away" from the wall 1. A kickout is a small angled piece that turns the water out into the gutter.
Pipe flashing. Plumbing vents and other pipes pass straight up through the deck.
The code says flashing around soil stacks, vents and chimneys goes on according to the shingle maker's printed instructions 1.
Most homes use a ready-made boot that slides over the pipe and lies under the shingles above it and over the shingles below it.
Drip edge. Drip edge is flashing for the roof's outer edges. It is covered in full on our drip edge page. The shingle makers' association recommends it on all shingle roofs, with a kicked-out lower lip so water does not run onto the wood behind 6.
Worked example: flashing on one simple house
Picture a gable roof with one brick chimney 36 inches wide in the middle of the slope, two plumbing vents, one valley over a front porch, and a side wall where a garage roof meets the house. This is the flashing that roof needs:
| Spot | Flashing used | Code or guide point |
|---|---|---|
| Chimney, downhill side | Apron flashing | Flange at least 4 inches over shingles, about 12 inches up the brick 4 |
| Chimney, two sides | Step flashing plus counterflashing | Base flashing at least 4 by 4 inches 1 |
| Chimney, uphill side | Cricket, flashed and counterflashed | Required: the chimney is wider than 30 inches and does not meet the ridge 2 |
| Two vent pipes | Pipe boots | Installed by the shingle maker's instructions 1 |
| Porch valley | Metal valley liner or closed valley | Metal liner at least 24 inches wide if open 1 |
| Garage roof to house wall | Step flashing, then a kickout at the bottom | Flashing must divert water away from the wall 1 |
| Eaves and rakes | Drip edge | Required on shingle roofs 1 |
Illustrative house. The 36-inch chimney is the detail that changes the job: at 30 inches or less across, the code does not require a cricket. Ask your roofer to list each flashing spot on the quote so you can see none was skipped.
Where flashing is required
Section R903.2.1 of the 2021 IRC lists the places flashing must go 1:
- Where the roof meets a wall, such as a dormer side or a second-story wall
- At every change in roof slope or direction, such as a valley or a porch roof tying into the main roof
- Around every roof opening, such as chimneys, skylights and vent pipes
- Where the eave of a sloped roof meets a side wall, to turn water away from the wall (the kickout spot)
- On the uphill side of a chimney or other opening wider than 30 inches, as a cricket or saddle
- Roof-to-wall jointsStep flashing up the slope, with a kickout at the bottom
- ChimneysBase and counterflashing, plus a cricket on wide chimneys 1
- ValleysWhere two slopes meet and water collects 1
- Vent pipesA boot or collar sealed to the pipe
- SkylightsA kit made for that skylight
- Eaves and rakesDrip edge at the roof edges 1
Source: [1]
The diagram shows each joint as its own detail; a quote should name how each one will be flashed.
Benefits of good flashing
- It closes the joints where leaks most often begin, so water stays on top of the roof
- It protects the wall framing and sheathing next to the roof, which you cannot see until damage is done
- Two-piece designs let the roof, walls and chimney move without tearing open
- Metal flashing does not depend on caulk, which dries out and cracks with sun and age
- Correct flashing is a code item, which matters when the inspector signs off a reroof
What flashing cannot do
- It cannot fix a wall that is already wet. Rotten sheathing or framing must be repaired before new flashing goes on.
- It does not replace underlayment. Flashing seals the joints; the underlayment is the backup layer under the whole roof.
- It cannot make up for a bad layout. Pieces lapped the wrong way funnel water in, however much metal is used.
- Sealant is not flashing. A bead of caulk where metal should be is a short-term patch, not a repair.
- It will not stop ice dams. Cold-climate eaves also need an ice barrier and good attic airflow.
What drives the cost of flashing
We do not quote prices here; they depend on your house, your area and the crew. These are the things that move the number. Our roof cost calculator gives a starting range for the whole job.
- Number of joints. Each chimney, skylight, wall and vent adds detail work. A plain gable roof has far less than a roof with dormers and valleys.
- Chimney size and type. A wide brick chimney needs a cricket and counterflashing cut into the mortar, which takes time and skill.
- Metal choice. Galvanized steel, aluminum and copper differ in price and in how they are worked. Copper is often soldered 5.
- Replace or reuse. On a reroof, ask whether old flashing is replaced or reused. Bent, rusted or short pieces cannot make proper laps.
- Wall work. Step flashing goes behind siding. If siding must be removed and replaced, that adds cost.
- Hidden damage. Rot found behind old flashing is usually priced as extra once the roof is open.
Sources: [5]
How a roofer flashes a roof during a reroof
This is what you should see happen. It is not a do-it-yourself guide. Roof work is a fall risk, and chimney and wall flashing is skilled work for a licensed pro.
- The old shingles and, in most cases, the old flashing come off, and the wood at each joint is checked for rot.
- Drip edge goes on at the eaves, then underlayment, then drip edge at the rakes.
- Valleys are lined, by one of the methods the code allows, before shingles go near them 1.
- The apron goes across the downhill face of the chimney, then step flashing up each side, one piece per shingle course 4.
- On a wide chimney, the cricket is framed on the uphill side and flashed 2.
- Counterflashing is set into the mortar or brick and bent down over the step and base flashing 3.
- Pipe boots go on as the shingles reach each vent, and a kickout goes at the bottom of each roof-to-wall joint.
What to check as the roof ages
- Look at the chimney from the ground with binoculars: counterflashing should sit tight to the brick with no gaps or loose ends.
- Check rubber collars on pipe boots for cracks; rubber tends to wear out before the metal or the shingles around it.
- Look for rust, holes or lifted edges on any visible flashing, especially in valleys.
- Watch for caulk that has cracked or pulled away. It may be hiding a flashing problem.
- After a big storm, check that no flashing has bent or come loose.
- From the attic, look for water stains around the chimney, vents and skylights after heavy rain.
Warning signs that flashing is failing
- Water stains on the ceiling near a chimney, skylight or outside wall
- Damp or stained wood around the chimney or vents in the attic
- Peeling paint, soft spots or stains on siding below a roof-to-wall joint, a classic sign of a missing kickout
- Loose, bent or rusted metal at the chimney or in a valley
- Thick tar or caulk smeared over a joint, which often means past leaks were patched instead of fixed
- Cracked rubber around a vent pipe
- If Stain near a chimney, skylight or wall
- Then The flashing at that spot is a likely cause. Ask for it to be checked first.
- If Stained siding below a roof-to-wall joint
- Then Ask whether a kickout is missing at the bottom of the wall.
- If Thick tar or caulk over a joint
- Then Ask what it is covering. A patch is not new flashing.
- If Cracked rubber around a vent pipe
- Then Ask for the boot to be replaced.
Possible causes, not findings. A roofer confirms them.
Read each row as a question for the roofer, not as a verdict on the roof.
What the code requires
These rules come from the 2021 International Residential Code, read as adopted in Maryland. Most states adopt the IRC, often with changes, so your building department's edition is the one that applies.
| Section | Rule |
|---|---|
| R903.2 Flashing | Flashing must keep moisture out at joints, walls and every opening in the roof |
| R903.2.1 Locations | At wall and roof joints, changes in slope or direction, roof openings, and where an eave meets a side wall; metal at least 0.019 inch (No. 26 galvanized sheet) |
| R903.2.2 Crickets and saddles | On the ridge side of a chimney or opening wider than 30 inches; sheet metal or the same material as the roof; unit skylights installed by the maker's instructions are exempt |
| R905.2.8.1 Base and cap flashing | Base: metal at least 0.019 inch, or mineral-surfaced roll roofing of at least 77 pounds per 100 square feet. Cap: metal at least 0.019 inch |
| R905.2.8.2 Valleys | Open metal liner at least 24 inches wide; or two plies of mineral-surfaced roll roofing (18 and 36 inches); or a closed valley liner |
| R905.2.8.3 Sidewall flashing | Base flashing at least 4 inches high and 4 inches wide; wall leg goes behind siding |
| R905.2.8.4 Other flashing | At front walls, soil stacks, vents and chimneys, by the shingle maker's printed instructions |
| R1003.20 Chimney crickets | Needed when the chimney is over 30 inches wide along the ridge line and does not meet the ridge; flashed and counterflashed |
Chimney cricket height by roof pitch
R1003.20 sets how tall a cricket must be, as a share of its width (W), based on the pitch of the roof 2:
| Roof pitch | Cricket height |
|---|---|
| 12:12 | ½ of W |
| 8:12 | ⅓ of W |
| 6:12 | ¼ of W |
| 4:12 | ⅙ of W |
| 3:12 | ⅛ of W |
Example: a 36-inch-wide cricket on a 6/12 roof must rise about 9 inches (¼ of 36).
Flashing vs the layers around it
| Part | What it is | Its job |
|---|---|---|
| Flashing | Bent metal (or roll roofing) at joints | Seals the seams where the roof meets walls, openings and other planes |
| Counterflashing | The upper piece on a wall or chimney | Covers the top of base flashing so water cannot run behind it |
| Underlayment | A sheet over the whole deck | Backup layer if water gets past the shingles |
| Ice and water shield | Self-sticking membrane | Seals eaves and valleys against water backed up by ice |
| Sealant or roofing cement | Caulk or tar | Helps at edges; not a substitute for lapped metal |
| Drip edge | Metal strip at roof edges | Throws water clear of the fascia |
Common misconceptions
- Myth A bead of caulk is as good as flashing.
- Reality Caulk dries out and cracks. Flashing works by lapping metal so water runs over joints. Sealant only helps at the edges.
- Myth Old flashing can always be reused.
- Reality Bent, rusted or short pieces cannot make proper laps. Most reroofs replace it, and the quote should say so.
- Myth One big piece is stronger than many small ones.
- Reality Along walls and chimneys, separate step pieces and loose counterflashing let parts move without tearing 4.
- Myth Only chimneys need flashing.
- Reality The code requires it at walls, valleys, changes in slope, vents and roof edges too 1.
- Myth Counterflashing is optional trim.
- Reality On a chimney or masonry wall, it is the piece that keeps water from running behind the base flashing.
Local code and flashing
The rules on this page come from the 2021 IRC. States and cities adopt the code on their own schedule and may change it, and an older house may have been built before some of these rules, such as the kickout requirement, applied.
A reroof is usually inspected under the code your building department uses today.
Climate changes what matters most. In snowy areas, valleys and the uphill side of chimneys hold snow and meltwater, so the cricket and valley liner work hard.
Near the coast, salt air can wear on some metals faster, so ask which metal your roofer uses.
Ask your building department or roofer which code edition applies where you live, and whether the inspector checks flashing details.
What to ask your roofer about flashing
- Will all flashing be replaced, or will any be reused? Which pieces?
- Will the chimney get new counterflashing set into the mortar, or will the old pieces stay?
- Does my chimney need a cricket, and will you build one?
- Will you add kickout flashing where a roof edge meets a wall?
- What metal and thickness will you use? Is it at least 0.019 inch?
- If you find rot behind old flashing, how will you price the repair?
Keep going
- Roof repairFixing failed flashing and the leaks it causes
- Roof inspectionHave every flashing joint checked and photographed
- Roofing squareHow roofers measure the rest of the job
- Repair or replaceDecide whether a flashing leak means a new roof
Questions about roof flashing
What is the purpose of roof flashing?
Flashing seals the joints of a roof where shingles cannot keep water out on their own, such as walls, chimneys, vents, skylights and valleys. It steers water back onto the top of the shingles so it drains away instead of soaking into the deck, framing or walls.
What is counterflashing?
Counterflashing is the upper piece of a two-part flashing on a chimney or masonry wall. It is set into the mortar or brick and bends down over the base or step flashing, so water cannot run behind the top edge. The two pieces overlap but are not joined, so they can move separately.
Is roof flashing required by code?
Yes, where your area has adopted a recent International Residential Code. The 2021 IRC requires flashing at roof and wall joints, changes in slope or direction, roof openings and where an eave meets a side wall. Local changes are possible, so your building department has the final word.
What is the best material for roof flashing?
Galvanized steel, aluminum and copper are all common. Steel is the usual choice and resists rust when galvanized; aluminum is light but may need a coating near masonry or salt air; copper lasts and solders well. The code sets a floor: corrosion-resistant metal at least 0.019 inch thick.
Should flashing be replaced with a new roof?
In most cases, yes. Old flashing is often bent, rusted or nailed in ways that keep it from lapping properly with new shingles. Reusing sound chimney counterflashing can be fine, but ask your roofer which pieces are replaced and have it written on the quote.
How do I know if my flashing is leaking?
Look for ceiling stains near a chimney, skylight or outside wall, damp wood around those spots in the attic, and stains or soft spots on siding below a roof-to-wall joint. Loose or rusted metal and heavy patches of tar are also warning signs. A roof inspection can confirm it.
What is a chimney cricket and when is it required?
A cricket, or saddle, is a small peaked roof built on the uphill side of a chimney so water and snow flow around it. The 2021 IRC requires one when the chimney is more than 30 inches wide along the ridge line and does not meet the ridge.
What is kickout flashing?
Kickout flashing is a small angled piece where the bottom of a roof edge meets a wall that keeps going down. It turns water from the step flashing out into the gutter instead of down the siding. The 2021 IRC requires flashing at that spot to divert water away from the wall.
Can I just use caulk instead of flashing?
No. Caulk and roofing cement dry out and crack with sun and weather, so they only work as a short-term patch. Flashing keeps water out by lapping metal so water runs over the joint. Sealant can help at the edges, but it is not a replacement for the metal.
What is the difference between step flashing and continuous flashing?
Step flashing is many small pieces, one per shingle course, used where a sloped roof runs along a wall. Continuous or apron flashing is one long piece, used where a roof meets a wall or chimney face across the slope, such as the downhill side of a chimney.
Sources
- International Code Council, 2021 International Residential Code, Chapter 9 Roof Assemblies, §R903.2 and §R905.2.8 (Maryland adoption, read at UpCodes), retrieved .
- International Code Council, 2021 International Residential Code, Chapter 10, §R1003.20 Chimney crickets (Maryland adoption, read at UpCodes), retrieved .
- U.S. Department of Energy, Building Science Education, "Waterproofing Chimneys", retrieved .
- Fine Homebuilding, "Installing Chimney Flashing", retrieved .
- IKO, "What Is Roof Flashing?", retrieved .
- Asphalt Roofing Manufacturers Association, "Installation of Drip Edge at Eaves and Rakes", retrieved .
Expert review
Written by the HyreRoof editorial team. Not yet reviewed by an outside expert. We say so rather than imply a review that has not happened; see our editorial policy.
How the numbers were checked: Code text read in the 2021 IRC Chapters 9 and 10 as adopted in Maryland; installation details from DOE, Fine Homebuilding, IKO and ARMA guidance.
Suggest a correction. We fix errors and say what changed.