A metal roof without trim is just a field of panels waiting to leak. Metal roof trim pieces are the formed flashing components that seal every edge, transition, and penetration on the roof — and they account for a surprising share of installation failures when they’re skipped, undersized, or installed in the wrong order. Most panel manufacturers make trim in matching Kynar 500 or SMP paint finishes, so there’s no excuse for a mismatched patchwork. Here’s what each piece does, where it goes, and the sequencing mistakes that cause callbacks.
Part of our Roofing guide — explore the full guide →
- Why Trim Matters More on Metal Than on Shingles
- Eave Trim and Drip Edge
- Gable (Rake) Trim
- Ridge Cap and Hip Cap
- Sidewall, Endwall, and Transition Flashing
- Valley Flashing
- Closure Strips, Zee Trim, and Small Parts
- Installation Order and Fastening Rules
- Ordering and Budgeting Trim
- Maintenance and Common Trim Failures
- Frequently Asked Questions
Why Trim Matters More on Metal Than on Shingles
Asphalt shingles are forgiving. They overlap in hundreds of small increments, so water shedding is built into the field itself. Metal panels run 10 to 40 feet in a single sheet, which means every edge of that sheet is a potential entry point for wind-driven rain. Trim closes those edges mechanically rather than relying on sealant alone.
Trim also handles thermal movement. A 24-foot steel panel expands and contracts roughly 3/8 inch across a 100°F temperature swing. Properly hemmed trim lets panels float while still keeping the joint weathertight. Caulk-only details crack within two or three seasons; formed trim with butyl tape lasts as long as the roof — 40 to 60 years for a quality standing seam system.
Eave Trim and Drip Edge
Eave trim goes on first, before any panels or underlayment laps over it. It covers the lower horizontal edge of the roof deck, kicks water into the gutter, and protects the fascia board. On exposed-fastener roofs it’s often a simple L-shaped drip edge; on standing seam it’s usually a hemmed eave cleat that the panel hooks onto, which eliminates face fasteners entirely at the most visible edge of the roof.
Standard eave trim runs in 10-foot or 10-foot-6-inch lengths (the extra 6 inches allows for overlap), with a typical face height of 1.5 to 3 inches. Overlap adjacent pieces at least 1 inch and bed the lap in butyl sealant. Expect to pay $8 to $18 per stick for painted 26-gauge steel at a metal supplier, more for 24-gauge or aluminum.
Gable (Rake) Trim
Rake trim covers the sloped edges of the roof where panels meet the gable end. It does double duty: it seals the cut or ribbed edge of the outermost panel and gives the roofline a clean finished sightline from the street. Two common profiles exist:
- Standard gable trim — screws down through the top of the last panel rib into the framing, used on exposed-fastener panels like PBR or tuff-rib.
- Zee-cleat gable trim — hooks over a concealed zee closure on standing seam roofs, so no fasteners show on the face.
Size the vertical leg to cover the fascia plus at least 1 inch, and always run the eave trim first so the rake laps over it at the corner. Corners get a field-cut miter or a manufacturer’s preformed corner box.
Ridge Cap and Hip Cap
Ridge cap closes the peak where two roof planes meet. On a vented assembly, it pairs with a vented closure or profile-matched foam closure strips beneath it so air can exhaust while rain, snow, and insects stay out. Hip caps are the same profile run down the hips of a hip roof, installed over solid closures because hips don’t vent.
Standard ridge cap is 10 to 14 inches wide opened flat and bends to match the roof pitch. On a 3:12 roof the cap sits nearly flat; on a 12:12 it folds sharply, so order caps broken to your pitch rather than trying to spring a flat cap into place. Fasten through the top of the panel ribs — never in the flat pan where water travels.
Sidewall, Endwall, and Transition Flashing
Anywhere a roof plane dies into a vertical wall, you need one of two pieces. Endwall flashing (sometimes called headwall or apron flashing) handles the horizontal joint where the top of a roof section meets a wall — think of the wall above a porch roof. Sidewall flashing runs up the slope where the side of a panel run meets a wall, like along a dormer cheek.
Both should tuck behind the wall’s weather-resistive barrier or counter-flashing, not simply caulk to the surface of the siding. Transition flashing covers pitch changes, such as where a 10:12 main roof breaks to a 3:12 porch. The upper panel laps over the transition piece, which laps over the lower panel — always shingle-fashion, high over low.
Valley Flashing
Valleys concentrate the most water on the entire roof, so valley metal is wider and heavier than other trim. A W-valley — with a raised rib down the center — is the standard for metal roofs because the rib stops water rushing down one plane from riding across and under the panels on the opposite side. Use a minimum 16-inch-wide valley on short runs and 24 inches on anything over 20 feet or in snow country, with panels cut back to leave a 3- to 6-inch open channel. Hem the panel edges or add offset cleats so fasteners never penetrate the valley pan itself.
Closure Strips, Zee Trim, and Small Parts
The supporting cast matters as much as the big profiles. Foam closure strips are die-cut to match your panel profile and fill the gaps under ridge caps and above eave trim. Zee trim (Z-flashing) is a small zee-shaped cleat used as a cleat for gable and ridge details on standing seam. Butyl tape — not tube caulk — is the correct sealant between metal-to-metal laps because it stays elastic for decades. Pipe boots handle round penetrations; buy EPDM boots rated for high temperatures on dark roofs, or silicone boots ($15 to $30) which outlast EPDM in direct sun.
Installation Order and Fastening Rules
Sequence prevents most leaks. The standard order is:
- Eave trim over the fascia, under the underlayment’s lower edge (or with underlayment lapped onto it per the manufacturer).
- Valley flashing over the underlayment, before panels.
- Sidewall and endwall pieces integrated as panels progress upslope.
- Panels, working across the roof.
- Gable trim over the finished panel edges.
- Ridge and hip caps last.
Fasten with the screws the trim system specifies — usually #10 metal-to-wood screws with EPDM washers at 12 to 24 inches on center, or 1/8-inch stainless rivets for metal-to-metal trim laps. Snug the washer until it just compresses; overdriven screws dish the metal and pump water. Keep fasteners out of flat pans wherever the profile allows.
Ordering and Budgeting Trim
Measure every eave, rake, ridge, hip, valley, and wall intersection separately, then add 10 percent for laps and waste. Trim typically adds 15 to 25 percent to a metal roofing material order — on a $6,000 panel package, budget $900 to $1,500 for trim and closures. Order everything from the same supplier in the same production run so paint batches match; a color shift between panels and trim is visible from the curb and permanent. If your roof has an unusual pitch or fascia depth, most regional roll formers will custom-brake trim from flat stock for a small upcharge, usually $2 to $5 extra per piece, which beats field-bending with a hand seamer every time.
Maintenance and Common Trim Failures
Trim is where a metal roof shows its age first, so an annual walk-around from the ground with binoculars pays off. Look for backed-out fasteners along gable and ridge lines — thermal cycling slowly works screws loose, and a raised screw head with a sun-baked washer is a slow leak in progress. Replace suspect screws with the next size up (#12 replacing #10, or #14 replacing #12) so the threads bite fresh metal, and swap any washer that’s cracked or chalky. Ten minutes with a driver every few years keeps a 40-year roof on schedule.
The other recurring failure is sealant fatigue at trim laps. Butyl tape buried inside a lap lasts decades, but exposed tube sealant at cut ends and terminations weathers out in 5 to 10 years. Rake back failed caulk and re-seal with a polyether or MS-polymer product rated for metal — avoid cheap acrylic caulk, which shrinks and peels off painted steel within a couple of seasons. Watch valleys, too: leaves and pine needles that collect against the valley rib hold moisture against the paint system and can push water sideways under panel edges during downpours, so clear them each fall. Finally, if a trim piece takes physical damage — a ladder dent in the eave, hail creases on a ridge cap — replace the piece rather than trying to dress it out. Individual trim components unclip or unscrew without disturbing the panel field, which is one of the quiet advantages metal holds over shingles: the wear parts of the roof are modular, inexpensive, and replaceable one stick at a time.
Frequently Asked Questions
What gauge should metal roof trim be?
Trim is usually the same gauge and paint system as the panels, most often 26-gauge or 24-gauge steel on residential roofs. Matching the gauge keeps the trim as stiff as the panel field and keeps the finish and warranty consistent. Heavier 24-gauge trim resists dents and oil-canning better on long rake and ridge runs, while aluminum trim is common near the coast.
How do you cut metal roof trim without causing rust?
Cut painted steel trim with aviation snips, a nibbler, or electric shears rather than an abrasive cutoff wheel. Abrasive blades burn the paint along the cut and throw hot metal filings that embed in the finish and rust within weeks. Brush or blow filings off the roof the same day, and keep cut edges where they will be lapped or hidden by another piece.
Can you touch up scratches on metal roof trim?
Yes, small scratches can be touched up with the matching touch-up paint the panel maker sells for that color. Apply it sparingly with a fine brush only on the scratch, because touch-up paint weathers differently from the factory finish and large painted patches can look mismatched over time. A badly scraped or dented piece is better replaced, since trim swaps one stick at a time.
Can you install metal roof trim yourself?
On a simple, low-slope, single-story roof, a careful DIYer with snips, a hand seamer, and a screw gun can install trim by following the panel maker’s details and order. Steep pitches, two-story eaves, and complex valleys or wall flashings are better left to a roofing contractor, both for the leak risk and for fall safety. Always use proper fall protection on any roof.