HyreRoof

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.

Sources: [3] [4]

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.

TypeWhere it goesWhat it does
Step flashingWhere a sloped roof runs along a side wall or the side of a chimneyOne 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 flashingLaps down over the lower flashing so water cannot get behind it
Base flashingAt the bottom of a wall or chimney jointThe 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 wallOne long piece that sends water out over the shingles below
Valley flashingIn the V where two roof planes meetLines the valley, which carries more water than any other part of the roof
Chimney flashing and cricketAll four sides of a chimney, plus a small peaked roof on the uphill sideA set of apron, step, counter and cricket pieces that seal the chimney
Kickout flashingWhere a lower roof edge ends against a wallTurns water out into the gutter instead of down the wall
Pipe flashing (roof boot)Around plumbing vents and other round pipesA collar, often metal with a rubber seal, that slips over the pipe
Drip edgeAlong the eaves and rakesCarries water off the roof edge and away from the fascia
Skylight flashingAround a skylight frameUsually 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.

Sources: [1] [4] [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:

SpotFlashing usedCode or guide point
Chimney, downhill sideApron flashingFlange at least 4 inches over shingles, about 12 inches up the brick 4
Chimney, two sidesStep flashing plus counterflashingBase flashing at least 4 by 4 inches 1
Chimney, uphill sideCricket, flashed and counterflashedRequired: the chimney is wider than 30 inches and does not meet the ridge 2
Two vent pipesPipe bootsInstalled by the shingle maker's instructions 1
Porch valleyMetal valley liner or closed valleyMetal liner at least 24 inches wide if open 1
Garage roof to house wallStep flashing, then a kickout at the bottomFlashing must divert water away from the wall 1
Eaves and rakesDrip edgeRequired 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
System Where a roof needs flashing
Roof flashingMetal or membrane at every joint and opening 1
  • 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.

  1. The old shingles and, in most cases, the old flashing come off, and the wood at each joint is checked for rot.
  2. Drip edge goes on at the eaves, then underlayment, then drip edge at the rakes.
  3. Valleys are lined, by one of the methods the code allows, before shingles go near them 1.
  4. The apron goes across the downhill face of the chimney, then step flashing up each side, one piece per shingle course 4.
  5. On a wide chimney, the cricket is framed on the uphill side and flashed 2.
  6. Counterflashing is set into the mortar or brick and bent down over the step and base flashing 3.
  7. 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
Decision guide Flashing warning signs and what to ask
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.

Why flashing leaks are hard to spot

A flashing leak often does not drip through the ceiling right away. Water that gets behind step flashing or a missing kickout can soak into the wall sheathing and framing for a long time before anything shows inside. By the time paint peels or a stain appears, the wood behind may already be soft.

That is why roofers check flashing first when they look for a leak. If you see signs on this page, have a roofer check the flashing before the damage spreads. Ask the inspector to photograph each flashing joint, so you have a record for repairs, a future insurance claim or a home sale.

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.

2021 IRC R903.2, R905.2.8 and R1003.20 [irc] [irc10]
SectionRule
R903.2 FlashingFlashing must keep moisture out at joints, walls and every opening in the roof
R903.2.1 LocationsAt 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 saddlesOn 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 flashingBase: 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 ValleysOpen 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 flashingBase flashing at least 4 inches high and 4 inches wide; wall leg goes behind siding
R905.2.8.4 Other flashingAt front walls, soil stacks, vents and chimneys, by the shingle maker's printed instructions
R1003.20 Chimney cricketsNeeded when the chimney is over 30 inches wide along the ridge line and does not meet the ridge; flashed and counterflashed

Sources: [1] [2]

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 pitchCricket 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

PartWhat it isIts job
FlashingBent metal (or roll roofing) at jointsSeals the seams where the roof meets walls, openings and other planes
CounterflashingThe upper piece on a wall or chimneyCovers the top of base flashing so water cannot run behind it
UnderlaymentA sheet over the whole deckBackup layer if water gets past the shingles
Ice and water shieldSelf-sticking membraneSeals eaves and valleys against water backed up by ice
Sealant or roofing cementCaulk or tarHelps at edges; not a substitute for lapped metal
Drip edgeMetal strip at roof edgesThrows 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

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

  1. International Code Council, 2021 International Residential Code, Chapter 9 Roof Assemblies, §R903.2 and §R905.2.8 (Maryland adoption, read at UpCodes), retrieved .
  2. International Code Council, 2021 International Residential Code, Chapter 10, §R1003.20 Chimney crickets (Maryland adoption, read at UpCodes), retrieved .
  3. U.S. Department of Energy, Building Science Education, "Waterproofing Chimneys", retrieved .
  4. Fine Homebuilding, "Installing Chimney Flashing", retrieved .
  5. IKO, "What Is Roof Flashing?", retrieved .
  6. 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.