A pitched-roof solar array is only as good as its attachments. Every pound of uplift from a storm, every inch of snow load, and every drop of rain that would love to find its way into your attic all meet the building at the same place: the penetrations where the racking bolts to the roof. I've inspected installs that lasted decades without a weep and others that leaked in their first winter, and the difference was never the panel brand — it was flashing detail, lag bolt selection, and whether the installer actually hit the rafters. This guide covers the full attachment stack for pitched roofs: roof-type considerations, flashing techniques, lag bolt sizing and installation, spacing calculations, and waterproofing done right.
📋 Key Takeaways
- Every roof penetration must be flashed — sealant alone is not a waterproofing strategy.
- Lag bolts must land in structural members (rafters or trusses), with embedment depth driving pull-out strength.
- Attachment spacing comes from engineering calculations (wind, snow, racking span tables), not habit.
- The right attachment system varies by roof covering: shingle, tile, and metal each demand different hardware.
- A torque wrench and a stud finder with a brain behind it prevent more problems than any sealant ever made.
Roof Type Considerations
Before any hardware gets selected, identify what the array is actually attaching to and through. The roof covering, the deck, the structure underneath, and the local loads all shape the design.
Asphalt Shingle Roofs
The most common residential surface and the most forgiving to work with — when flashed properly. Composition shingles accept slip-under flashing plates that integrate with the shingle courses, shedding water the way the roof already knows how. The caveats: shingles near end-of-life should be replaced before an array goes on top of them (removing and reinstalling an array for a re-roof costs real money), and older brittle shingles demand careful lifting during flashing installation.
Tile Roofs
Concrete and clay tile change the game. Tiles crack under point loads and foot traffic, so attachment systems either replace individual tiles with flashed mounting plates or use hooks that reach under the tiles to the deck and structure. Tile work is slower, breakage is a budget line item (bring spares), and the flashing detail must route water onto the tile surface below, not into the batten space. On any tile job I specify replacement-style flashings wherever the layout allows — they convert a fragile penetration into a purpose-built one.
Metal Roofs
Standing-seam metal is the best solar roof surface there is: clamps grip the seam with set screws, and a properly engineered clamp system means zero penetrations. Corrugated or exposed-fastener metal is different — attachments go through the sheet into purlins or deck with butyl-gasketed brackets. Either way, match metals to avoid galvanic corrosion, and respect the roof manufacturer's clamp compatibility list, because seam geometry varies. On any metal roof I also check paint-system warranties before clamping — some finish warranties have specific attachment requirements, and a five-minute call to the roof manufacturer beats a warranty dispute later.
Whatever the covering, the attachment hardware itself should come from the engineered systems in the Quick Mount line, the broader mounting parts catalog, or the equivalent tier of manufacturer — mixed mystery-metal hardware from a bargain bin is where corrosion and callbacks come from. The panel mounting guide ties the attachment layer into the full racking assembly.
| Roof Type | Attachment Method | Flashing Type | Fastener |
|---|---|---|---|
| Asphalt Shingle | L-bracket to rafter | Slip-under metal plate with gasket | 5/16 in or 3/8 in lag bolt |
| Concrete/Clay Tile | Tile hook or replacement flashing | Tile replacement plate or hook (no penetration) | 5/16 in or 3/8 in lag bolt |
| Standing Seam Metal | Clamp to seam | None (no penetration) | Set screw on clamp |
| Corrugated Metal | Bracket through ridge | Rubber grommet + butyl tape | Roofing screw to purlin |
Flashing Techniques
Shingle Roof Flashing
The standard detail: a metal flashing plate (aluminum or galvanized steel) with an integrated or gasketed standoff that slips under the upslope shingle course and extends over the downslope one. Water hitting the standoff sheds onto the flashing, then onto the shingle below — gravity doing the work, not sealant. The installation sequence matters:
- Locate the rafter and mark the penetration point.
- Carefully lift the upslope shingle course without cracking it (warm shingles flex; cold ones snap).
- Slide the flashing into position so its top edge reaches at least one full course above the penetration.
- Pre-drill the pilot hole through flashing, shingles, and deck into the rafter center.
- Apply compatible sealant to the pilot hole area and the flashing's sealing surfaces per the manufacturer's detail.
- Set the lag bolt with the standoff and torque to spec.
- Dress the shingles back down over the flashing edges.
Tile Roof Flashing
Two legitimate approaches dominate. Replacement flashings substitute a formed aluminum plate for the tiles at each attachment, with a sealed penetration and integrated flashing that matches the tile profile. Hook systems hang the rail from hooks that pass beneath the tile and anchor to the structure, with the tile either notched or replaced by a flashing boot. Both work; the failure mode in both is treating tile like shingle — direct-penetration standoffs through brittle tile with a dab of sealant are how leaks and cracked-tile callbacks are born.
Lag Bolt Sizing and Selection
The lag bolt is the structural heart of the attachment. Its job is to resist uplift (wind trying to peel the array off), shear (sliding loads), and withdrawal over decades of thermal cycling. Pull-out strength scales with embedment depth into the structural member and the specific gravity of the lumber — and it must exceed the calculated loads with the safety factors your racking engineering letter specifies. Lumber species matters more than most installers realize: the published pull-out values assume a reference species, and old, dry, checked framing — or engineered lumber instead of sawn rafters — changes the number enough that the engineering letter should name the assumption. When the attic inspection reveals something unusual, that finding goes into the calc, not around it.
| Lag Bolt Size | Typical Embedment Depth | Pull-Out Strength (SPF Pine) | Common Application |
|---|---|---|---|
| 5/16 in × 3 in | 2.5 in | ~350 lb | Standard residential, low wind zone |
| 5/16 in × 4 in | 3.5 in | ~500 lb | Standard residential, moderate wind |
| 3/8 in × 4 in | 3.5 in | ~650 lb | High wind zones, commercial |
| 3/8 in × 5 in | 4.5 in | ~800 lb | High wind zones with thick flashing stack |
Selection rules that prevent problems: use 3/8-inch lags in high-wind or heavy-snow regions and anywhere the flashing stack is thick; require a minimum 2.5 inches of embedment into sound structural lumber (deck doesn't count); and use stainless or properly coated hardware matched to the environment — coastal salt air eats plain zinc for breakfast.
Lag Bolt Installation Best Practices
- Find the rafter, really. Tap, drill a small exploratory hole if needed, and use the deep-scan stud finder as confirmation, not gospel. A lag into deck alone has a fraction of the rated strength and will work loose.
- Pre-drill the pilot hole. Typically 60–70% of the lag's root diameter for softwood — a 5/16-inch lag wants roughly a 3/16-inch pilot. Too small splits rafters; too large kills withdrawal strength.
- Hit the center of the member. A rafter is 1.5 inches wide; an off-center bite into the edge grain is a weak bite. Mark both edges when you can.
- Torque to spec. Over-torquing crushes the gasket, strips the hole, or snaps the bolt; under-torquing leaves the standoff loose against the flashing. Use the wrench, not the impact gun's attitude.
- Check the bolt's residual length. If the lag bottoms out before the standoff seats, the attachment is pretending — re-spec the bolt length for the actual stack height.
Spacing Calculations
Determining Attachment Spacing
Attachment spacing is an engineering output, not a crew tradition. The calculation chain: local design wind speed → uplift pressure per ASCE 7 (with the array's roof zone and height factors) → load per attachment → check against lag withdrawal and the racking's published allowable span. Snow adds downward load; the racking span tables bound how far rails can bridge between attachments at a given load.
A simplified residential example, for intuition (real designs use the racking manufacturer's tables and a stamped letter): a 110 mph exposure-B roof zone might generate a net uplift on the order of 20–30 psf on the array. Each attachment supports the tributary area of rail around it — say a rail span of 48 inches times a 32-inch tributary width = about 10.7 sq ft, so 214–320 lb of uplift per attachment. A 5/16 × 4-inch lag with ~500 lb pull-out capacity covers that with margin; jump to a 140 mph coastal zone and the same tributary area can demand 400+ lb, pushing you to 3/8-inch lags, tighter spacing, or both. This is why the engineering letter exists, and why copying last year's spacing onto this year's wind zone is how arrays end up in yards.
| Design Condition (illustrative) | Approx. Net Uplift on Array | Tributary Area per Attachment (48 in span × 32 in) | Uplift per Attachment | Fastener Response |
|---|---|---|---|---|
| 100 mph, interior roof zone | ~18 psf | 10.7 sq ft | ~193 lb | 5/16 in × 3 in lag adequate |
| 115 mph, interior zone | ~24 psf | 10.7 sq ft | ~257 lb | 5/16 in × 4 in lag |
| 130 mph, interior zone | ~31 psf | 10.7 sq ft | ~332 lb | 3/8 in × 4 in lag, verify margins |
| 130 mph, edge/corner zone | ~47 psf | 10.7 sq ft | ~503 lb | Tighter spacing (32 in) + 3/8 in lags, engineered |
Edge and corner zones carry dramatically higher pressures — arrays should be set back from eaves and ridges per the racking manufacturer's zones, and spacing often tightens near the perimeter. The numbers above are illustrative of magnitude, not a substitute for the project-specific calc.
Waterproofing Best Practices
Water management is a system, and each layer has a job:
- The flashing is the primary defense. Sized, lapped, and integrated with the roof covering's own watershed pattern.
- Sealant is the backup, not the plan. Use the sealant the attachment manufacturer specifies (typically a high-quality roofing-grade butyl or polyurethane), in the locations their detail shows. Field-improvised caulk beads are how leak calls begin.
- Gaskets and EPDM washers at the standoff seal the bolt penetration itself — inspect them, don't crush them.
- Underlayment repairs where the deck was disturbed: slipped-in felt or membrane patches restore the secondary water barrier under the new flashing.
- Post-install verification. Water-test suspect details with a hose before the crew leaves, and re-check after the first hard rain.
One field habit worth copying: photograph every flashing before the module covers it. If a leak appears in year three, those photos are the difference between a one-hour repair and a roof archaeology project. Keep them with the job file alongside the layout drawing and the torque audit notes — future-you, or the next crew, will be grateful.
Common Failure Modes — and How to Prevent Them
Every attachment failure I've ever investigated traces back to one of a short list of causes. Know the list and you know the job:
- The missed rafter. A lag bolt into deck plywood alone delivers a fraction of its rated withdrawal strength and loosens with thermal cycling until the standoff wobbles and the flashing gap opens. Prevention: confirm the member by multiple methods, and if a hole misses, repair it properly (sealant and flashing detail per manufacturer) and re-locate — don't just fill it and hope.
- The crushed gasket. Over-torqued lags extrude the EPDM washer and crack the seal it was supposed to maintain. The attachment looks tight; the waterproofing is already dead. Prevention: torque wrench, every bolt, to the printed spec.
- The upside-down flashing. Flashing installed over the downslope shingle instead of under the upslope one routes water under the roof covering. It will hold until the first wind-driven rain, then leak into the deck. Prevention: think like water on every single penetration.
- The split rafter. No pilot hole, or a pilot too small, on old dry lumber — the rafter splits silently and the lag's withdrawal strength drops by half or more. Prevention: correct pilot sizing, and back off if the bolt screams on the way in.
- The galvanic couple. Aluminum flashing against copper, or plain steel fasteners in stainless standoffs, in a wet environment — corrosion eats the less noble metal. Prevention: matched-metal hardware kits from the racking manufacturer, not mixed bins.
- The uninspected underside. Nobody checked the attic for daylight, old leak stains, or undersized structure before the design was sold. Prevention: the attic inspection is part of the site survey, not an optional extra.
Tools and Materials Checklist for Attachment Work
A crew set up for quality attachment work carries more than lags and a drill:
- Deep-scan stud finder plus the discipline to verify by measurement and sounding.
- Correct pilot bits for the specified lags (sized to lumber species per the engineering).
- Calibrated torque wrench — not an impact driver with a prayer.
- Manufacturer-specified sealant, within shelf life, stored at workable temperature.
- Shingle bar and flat pry for lifting courses without cracking.
- Spare tiles (tile roofs) or matching shingles for breakage repair.
- Chalk line and layout tools so attachments land in straight, documented rows.
- Camera or phone for the pre-cover photo record of every flashing.
- Fall protection rated and rigged for the roof — none of the above matters if someone gets hurt.
Structural Readiness: Is the Roof Even Ready for Solar?
Attachments assume a roof worth attaching to. Before design, confirm the three readiness checks: roof covering age (asphalt shingles with fewer than ~10 years of life left should be replaced first — a mid-life re-roof under an array is an expensive, avoidable choreography); deck condition (delaminated or rotten decking can't hold anything, and you find it from the attic or with a careful foot, not from a drone photo); and structural capacity (the array adds roughly 3–4 psf distributed load plus concentrated attachment points — fine for code-built modern rafters, a real question for undersized or sagging older structure). When any of the three fails, fix the roof first. The array will wait; a compromised roof won't.
Putting It All Together: The Attachment Workflow
The full sequence, from survey to sign-off:
- Site survey: roof type, covering age, attic check, structure, obstructions, and the layout that respects edge-zone setbacks.
- Engineering: wind and snow loads, span tables, fastener spec, attachment spacing — the stamped letter for the permit set.
- Layout: chalked attachment grid tied to verified rafter locations.
- Attachment installation: flashing and lag detail per roof type, torqued and photographed.
- Rail and module installation per the racking manual, with wire management planned before panels land.
- Verification: torque audit sample, water-test on suspect details, and the photo record filed with the job documentation.
Do those six steps in order and the attachment layer of the system disappears into the background — which is exactly where it belongs. The panels get the glory; the flashings and lags quietly keep the roof dry and the array on it for thirty years. That's the whole job.
After the Install: Inspection and Maintenance
Attachment work isn't finished at commissioning — it's finished when it's still dry and tight years later. Build two habits into ownership. First, an annual visual from the ground or ladder: look for lifted shingles at flashing edges, standoffs that have backed out even a quarter turn, and sealant that's cracked or separated. Second, an attic check after the first major storm season and every few years after: daylight where it shouldn't be, fresh staining, or damp insulation all tell you a detail needs attention while it's still cheap. Ten minutes a year of looking beats any warranty claim ever filed.
Hardware Selection Summary
Putting the attachment stack together by roof type:
| Component Layer | Shingle Roof | Tile Roof | Standing-Seam Metal |
|---|---|---|---|
| Attachment | L-foot / standoff | Replacement flashing or tile hook | Seam clamp |
| Waterproofing | Slip-under flashing plate + gasket | Formed flashing matched to tile profile | None required (no penetration) |
| Structural fastener | 5/16–3/8 in lag into rafter | Lag into rafter via deck | Set screws into seam |
| Corrosion package | Stainless or coated hardware | Stainless preferred under tile | Clamp/seam metal compatibility |
| Skill sensitivity | Moderate | High — breakage risk | Low-moderate — clamp torque discipline |
Source the stack from manufacturers with published engineering — our roof mount kits, racking and mounting, and solar mounting systems collections carry the mainstream systems, and the flat-roof companion guide covers the low-slope case. Brand-specific depth dives: IronRidge, Unirac, and Quick Mount PV.
Frequently Asked Questions
How far apart should solar attachments be spaced on a pitched roof?
It comes from the engineering, typically 32–48 inches for residential rail systems, tightened at roof edges and in high-wind zones. Use the racking manufacturer's span tables for your wind speed, snow load, and roof zone — never habit spacing.
What size lag bolt should I use for solar panels?
5/16-inch lags with 2.5–3.5 inches of rafter embedment cover standard residential work; step up to 3/8-inch with 3.5–4.5 inches of embedment in high-wind regions or thick flashing stacks. Match the bolt to the calculated load, not to what's in the truck.
Do solar panel mounts cause roof leaks?
Properly flashed mounts don't leak — I've inspected arrays twenty years in with dry attics. Leaks come from missing or misinstalled flashing, missed rafters, and sealant-only details. The penetration isn't the risk; the workmanship is.
Can I install solar on a tile roof myself?
Tile is the least forgiving DIY surface — breakage is common even for pros, and the flashing details are specialized. If you DIY, use replacement-style flashings, buy 10% spare tiles, and walk the roof like it owes you nothing.
How do I find rafters under a finished roof?
Combine methods: measure from known reference points (eaves, ridge), use a deep-scan stud finder, tap for the change in sound, and confirm with a small exploratory hole when certainty matters. Guessing wrong means a lag in deck air — a weak attachment that will work loose.
Is sealant enough to waterproof a roof penetration?
No. Sealant ages, cracks, and separates under thermal cycling. Flashing sheds water mechanically and lasts the life of the array; sealant is the second line of defense. Any detail that relies on sealant alone is a future leak.

