What Size Lag Screws Do You Need for Solar Racking?

If you buy fasteners for a solar EPC, you already know the short answer everyone repeats: 5/16-inch by 3-1/2-inch, 18-8 stainless. That's the default lag for rooftop racking attachment, and for a lot of jobs it's the right call.

The problem is that the default is a starting point, not a spec. The same 5/16 x 3-1/2 that sails through inspection on a Southern Pine rafter in one town gets flagged on a Spruce-Pine-Fir rafter in the next, because the pull-out math changed and nobody updated the order. And when you're buying for a pipeline instead of a single roof, the cost of getting it slightly wrong isn't one re-inspection. It's the same gap multiplied across every install your crews run this season.

This is the buyer's version of the lag screw question - the one that covers diameter, length, embedment, material, traceability, and the procurement decisions that keep a whole pipeline out of callback. The crew chief and the permit reviewer will find what they need in the middle. The buyer takeaway is at the top and the bottom: spec it once, spec it right, and put it on one vendor.

The Real Cost Isn't the Lag. It's the Callback.

A lag screw costs a few cents. A failed inspection costs an afternoon, a re-inspection fee, and a truck roll. A wrong attachment that passes inspection and then lets go in a wind event costs a roof repair, a warranty fight, and a customer who tells the next three prospects.

For a buyer, the math is simple and unforgiving. A spec gap that adds one re-inspection to even 5 percent of a 300-install season is 15 truck rolls you paid for to fix something a correct purchase order would have prevented. The lag is the cheapest line on the BOM and the most expensive one to get wrong. That's the frame for everything below.

Why the Deck Is Not the Rafter

Here is the single most common attachment mistake, and the one AHJs (the Authority Having Jurisdiction - your local code inspector) flag most often: the lag goes into the roof deck instead of the rafter beneath it.

From above, the two look identical. The standoff sits flat, the lag head is tight, the flashing is seated. But the roof deck - typically 7/16-inch OSB or plywood sheathing - is the skin, not the structure. Its job is to hold the shingles, not to resist a solar array trying to lift off in a windstorm. Connection strength comes from thread engagement in the rafter, the structural member underneath.

The numbers tell the story. A lag biting only into 7/16-inch sheathing has roughly a half-inch of engagement in a panel product with very low withdrawal resistance. The same lag driven 2.5 inches into a solid rafter has several times the pull-out capacity. ASCE 7-22 (the structural standard, Minimum Design Loads and Associated Criteria for Buildings and Other Structures, that permit reviews reference) sets the wind uplift load each attachment has to resist - commonly in the 400 to 700 pound range per point depending on location, exposure, roof zone, and pitch. A deck-only connection does not get there. The calc fails, and a careful inspector catches it on the plan set before the crew ever leaves the yard.

The crew that hits the rafter every time never sees this problem, because the inspection passes. The crew that misses a quarter of its rafters won't find out until a permit reviewer runs the math or a storm does.

How to Size the Lag: Embedment Is the Number That Matters

The spec that actually governs is not total lag length. It's embedment - how deep the thread bites into the rafter, past everything stacked on top of it.

On a typical asphalt shingle roof, the lag has to travel through the standoff base, the flashing, the shingle layer (roughly 3/16 to 3/8 inch), and the 7/16-inch sheathing before it reaches wood that counts. That's often 1.5 to 2 inches of "dead" travel before the first thread of structural engagement.

The widely cited minimum embedment into the rafter is 2.5 inches. Add that to the stack-up and the math is unforgiving: a 3-inch lag cannot get there. You need 4.5 to 5 inches of total length to land 2.5 inches of bite on standard construction. The 3/8 x 3 lags some crews keep on the truck are simply too short for a standoff installation, even though they look beefy in the bin.

This is exactly the kind of detail that goes wrong at the buyer level. Someone orders "3/8 lag screws" without specifying length, the warehouse ships what's in stock, and the crew burns a morning discovering they bottom out before they hit embedment. Length is part of the spec. It is not a field decision.

Wood Species: Why One Pull-Out Number Doesn't Travel

Withdrawal capacity depends on the specific gravity of the wood - denser wood holds a lag harder. The NDS (National Design Specification for Wood Construction, published by the American Wood Council) provides the tabulated values engineers and AHJs use. The practical takeaway for a buyer is that a spec written around one species can be non-conservative in another.

Approximate withdrawal capacity for a 5/16-inch lag at proper embedment, by common framing species:

  • Southern Yellow Pine (specific gravity ~0.55): the highest of the common species, most forgiving for pull-out

  • Douglas Fir-Larch (specific gravity ~0.50): strong, common in the West and in engineered lumber

  • Hem-Fir (specific gravity ~0.43): noticeably lower; calcs get tighter

  • Spruce-Pine-Fir / SPF (specific gravity ~0.42): the most conservative, and extremely common in Northeast residential framing


That last point matters for any EPC working New Jersey, New York, and Pennsylvania rooftops. A lot of generic solar attachment guidance is written around Douglas Fir or Southern Pine values. If your crews are driving into SPF rafters and your spec assumed Douglas Fir, your real-world pull-out is lower than the paper says. The fix is either a larger diameter, deeper embedment, or more attachment points - and the structural calc on the permit set should name the actual species, not just say "lumber."

The Sizing Table

Here is the working reference. Treat the 5/16 x 3-1/2 as the default and move up when the conditions below say so.

Condition Diameter Typical length Why
Standard residential rooftop, SYP or Doug Fir rafters 5/16" 3-1/2" to 4" Default. Hits 2.5" embedment on typical stack-up in dense framing.
SPF or Hem-Fir rafters (common Northeast) 3/8" 4" to 5" Lower specific gravity means less pull-out per inch; larger diameter recovers capacity.
High wind zone, heavy module, wide rafter spacing 3/8" 5" to 6" Higher uplift demand per attachment point; more bite required.
Coastal / high-humidity exposure Match above, in 316 stainless Match above Chloride exposure; 316 over 18-8 for salt air.

[H3] Stainless or Hot-Dip Galvanized? This Is a Buyer Decision.

On the roof, the installer doesn't care which one is in the bag. At the purchase order, the buyer should, because it changes cost, corrosion life, and galvanic compatibility.

18-8 stainless (304) is the default solar lag for good reason: it resists rust, it pairs cleanly with aluminum standoffs and rails without the galvanic problems carbon steel creates, and it carries no coating that can be scraped off in a driver. For most inland rooftop work, it's the right answer and not worth debating.

316 stainless adds molybdenum for chloride resistance. On coastal and shore-zone jobs - anywhere salt air is in play - the upgrade from 18-8 to 316 is cheap insurance against the lag that rusts at the head while the array is still under warranty.

Hot-dip galvanized carbon steel is lower cost and plenty strong, but it carries two cautions for solar. First, galvanic corrosion: a galvanized or bare carbon-steel lag in direct contact with an aluminum standoff sets up a couple that corrodes the aluminum over time. If the standoff and flashing are aluminum - and most are - stainless is the compatible choice. Second, coating damage: an impact driver can strip zinc at the threads, and bare steel under a coating is where rust starts. Galvanized lags have their place in racking-to-steel and ground-mount structural work, but for aluminum-standoff rooftop attachment, stainless is usually the better procurement call.

The buyer's rule: match the lag to the standoff metal, default to 18-8 stainless inland, step up to 316 on the coast, and reserve galvanized for the structural-steel and ground-mount applications where it belongs.

[H3] Traceability: What to Require So the Permit Package Is Bulletproof

This is the part installer-focused guides skip, and it's the part that protects an EPC. AHJs increasingly want the attachment fully documented on the permit set: lag diameter, length, embedment depth, material grade, attachment spacing, and the wind uplift demand per point per ASCE 7-22. The cleanest way to satisfy that is to install to the racking manufacturer's published attachment pattern and carry their ICC ESR (Evaluation Service Report - the free, public code-approval document from the International Code Council). If the install matches the ESR, the structural calc is usually covered by it, and a copy in the permit package eliminates inspector back-and-forth.

Where a buyer adds real value is in sourcing fasteners that come with traceability. For structural attachment, a supplier who can pull a material certification on the lag you bought - confirming grade and chemistry - turns a question from the inspector into a one-page answer. It also protects you against the low-cost import lag that tests at the bottom of every spec range at once. Ask your distributor whether they can document what they shipped. The good ones can.

[H3] The Buyer's Playbook

Standardize the spec, then enforce it. Pick the default - for most Northeast residential pipelines that's 5/16 or 3/8 stainless at 4 to 5 inches - and write diameter, length, and material on every PO, not just "lag screws." Build the deviations (coastal goes 316, high-wind goes longer, SPF goes up a diameter) into the buying rules so the warehouse ships right without a phone call.

Then consolidate. The same truck that needs lags needs flashings, Staubli connectors and the rest of the solar consumables, critter guard, and fall protection. Buying structural attachment hardware from a distributor who actually knows solar - and stocks the range in stainless and hot-dip galvanized lag bolts - is the difference between one vendor who gets the kit right and four who each get a piece of it. For the bigger picture on why fastener selection carries more weight in solar than most buyers expect, our earlier post on fasteners for solar is worth the read.

Spec it once, spec it right, document it, and put it on one vendor. That's how the cheapest line on the BOM stops being the most expensive mistake on the pipeline.


For pricing, availability, or help building a standardized lag spec for your solar pipeline, contact us at [email protected].

Next
Next

304 vs 316 vs 410 Stainless: Which Grade Is Right for Your Application?