Short answer

FoamGuard sprays closed-cell foam on the underside of the roof deck: about 7 inches for R-49, or at least R-20 (about 3 inches) with batts below. The attic and its ducts end up inside the house, sealed against air leaks and winter condensation.

Key points

  • Closed-cell foam under the roof deck seals the attic, and its ducts, inside the heated house.
  • In Climate Zone 5, IRC R806.5 requires foam against the deck to be, or carry, a Class II vapor retarder. Closed-cell is one by about 2 inches.
  • With batts below, the foam must reach R-20, about 3 inches of closed-cell. All foam to R-49 is about 7 inches.
  • Open-cell under a roof deck here takes a rated Class II coating; on its own it passes 11 to 17 perms at 3½ to 5½ inches.
  • Seven inches under a 1,600-square-foot roof deck is 11,200 board feet, or $16,800–$25,200 at $1.50–$2.25 per board foot.
An attic cutaway with spray foam sealed to the underside of the roof deck, where gold is the foam and blue is the air and moisture it stops.

Roof deck or attic floor in Western PA

Closed-cell foam bonded to the underside of the roof deck stops air, slows vapor and insulates in one application: about R-7 per inch aged, an air barrier at about 1 inch and a Class II vapor retarder by about 2 inches.

Western PA is Climate Zone 5A: cold winters, lake-effect snow near Erie, humid summers. In an Erie January the roof sheathing averages about 30°F, and indoor air at 70°F and 35% humidity has a dew point of about 41°F. Foam on the deck keeps that air off the cold wood.

Lake-effect bands drop 2 to 3 inches of snow an hour; Erie took 32.6 inches in 24 hours at Christmas 2017. A foot of snow insulates like R-10 to R-15, so attic heat warms the deck above 32°F, and the melt refreezes at the cold eave as an ice dam. Foam on the deck moves the thermal boundary to the roof.

A sealed attic is the right job when ducts or a furnace sit in the attic, when hips and dormers make the ceiling hard to seal, or under a cathedral ceiling. Ducts in a vented attic can see a 150°F difference from the air around them; a sealed attic puts them indoors. An empty, accessible attic under a simple gable roof is a floor job: seal the top plates, penetrations and hatch, then blow in cellulose or fiberglass.

How thick FoamGuard sprays a roof deck

Two numbers set the thickness. Pennsylvania's energy code asks R-49 of a zone 5 ceiling. R806.5 asks at least R-20 of foam against the deck when batts or blown insulation go below (how thick spray foam should be).

Area Foam Typical thickness R-value Why
Roof deck, all foam Closed-cell About 7 in., in layers About R-49 Meets the ceiling value and R806.5 alone
Roof deck, hybrid Closed-cell, batts or blown below About 3 in. (R-20 is 2.9 in.) About R-21 of foam; R-49 in all Table R806.5 minimum for zone 5
Cathedral ceiling with no room for R-49 Closed-cell About 4.3 in. About R-30 IRC N1102.2.2: up to 500 sq ft or 20% of the ceiling, whichever is less
Vented attic floor Closed-cell at top plates and penetrations About 1 in. at the gaps Air seal; blown insulation adds the R Stops the leaks that warm the deck

In flash and batt, the batts touch the foam; less than R-20 of foam under a deck does not meet code here.

We spray open-cell too. It stops air but passes vapor, so under a roof deck R806.5 requires a Class II vapor retarder, 1.0 perm or less, on its underside. Our Erie moisture math, a steady-state estimate, puts the vapor reaching the sheathing through open-cell at 14 to 34 times what passes 3 inches of closed-cell. Closed-cell meets the rule alone, so we quote it for roof decks, or open-cell with a rated Class II coating (the open-cell roof deck catch).

Closed-cell vs open-cell vs blown-in

Closed-cell meets R806.5 on its own and reaches R-49 in about 7 inches (closed-cell vs open-cell in zone 5).

Closed-cell on the roof deck Open-cell on the roof deck Blown-in on the attic floor (vented attic)
R per inch About R-7 (aged HFO R-6.3 to R-7.4) About R-3.7 Cellulose R-3.2 to R-3.8; blown fiberglass R-2.2 to R-2.7
Depth for R-49 About 7 in. About 13 to 14 in. Cellulose 12.9–15.3 in.; fiberglass 18.1–22.3 in.
Air barrier Yes, at about 1 in. Yes, at about 3 to 5½ in., by product No; seal the ceiling first
Vapor control, zone 5 Class II by about 2 in.; meets R806.5 alone 11 to 17 perms; needs a rated Class II coating Attic ventilation carries moisture off
At rafters, plates and seams Bonds to wood; no seams Bonds; the coating must cover every face Thin at the eaves without baffles; cellulose settles up to 20%
Ducts in the attic Inside the house Inside the house Outside, in attic air
Installed cost $10.50–$15.75 per sq ft at 7 in. ($1.50–$2.25 per board foot) See the calculator; add the coating $1.28–$2.37 per sq ft to add R-49 (national, calculator)

Board-foot math for a 1,600-square-foot roof deck

Closed-cell is priced by the board foot (square feet × inches) at $1.50–$2.25. Assume 1,600 square feet of roof deck measured on the slope, with gables priced separately.

  • All foam, R-49: 1,600 × 7 in. = 11,200 board feet. 11,200 × $1.50 = $16,800; 11,200 × $2.25 = $25,200.
  • Hybrid, about R-21 of foam: 1,600 × 3 in. = 4,800 board feet. 4,800 × $1.50 = $7,200; 4,800 × $2.25 = $10,800, plus the layer below.

Price an attic floor or open-cell in the free insulation cost calculator. Minimum job $1,500; 0% APR financing up to 22 months for qualified buyers. Price My Project.

How the job goes

  • Roof first. Bad sheathing and leaks are fixed, and shingles near the end of their life replaced, before foam.
  • Vents. Soffit and ridge vents are closed, gables foamed, and bath, dryer and kitchen exhausts run outdoors.
  • Equipment. A fuel-burning appliance in the attic should be sealed-combustion, reviewed by an HVAC contractor before the vents close. A working furnace stays; size any replacement to the tighter house (HVAC after spray foam).
  • Fire code. Foam in an attic entered only for service needs an ignition barrier (IRC R316.5.3), such as ⅜-inch gypsum board, or a foam fire-tested for that use. Storage or living space needs a thermal barrier: ½-inch drywall or a coating listed for that foam, which we offer as an add-on (thermal vs ignition barrier).
  • Old insulation. We arrange removal at cost, or you hire it; we project-manage at no markup.
  • Quote and depth. Every area, thickness, product and R-value is in writing, good 30 days, price fixed 3 months once signed. We spray to +¼ inch over nominal, checked with a depth gauge.
  • Finish. Trim and clean-up are included; re-occupancy is typically 24 hours. Photos, a thermal scan and a project file with lot numbers are emailed at completion. A Craftsman's Promise, our 5-year written workmanship warranty with a lookup ID, plus the foam manufacturer's written product warranty, is issued once paid in full (warranty lookup).

Questions

Will spray foam on the roof deck stop ice dams?

A sealed, insulated roof deck keeps house heat off the shingles, and that heat is what melts snow into ice dams. In the heaviest snow-load areas, Building Science Corporation adds a vented layer above the deck too.

Can open-cell foam go under my roof deck?

Yes, with a rated Class II vapor-retarder coating, 1.0 perm or less at the rate applied, as IRC R806.5 requires in zone 5. Closed-cell meets the rule without a second product.

Does foam under the deck affect my shingle warranty?

GAF's bulletin TAB-R-135 says its limited warranty against manufacturing defects stays in effect, and excludes damage it attributes to the foam or to a lack of ventilation. Get your shingle maker's current statement in writing.

Sources

  1. 2021 International Residential Code, Chapter 8: Section R806.5 and Table R806.5 — ICC (copy hosted by GreenBuildingAdvisor)
  2. BSD-149: Unvented Roof Assemblies for All Climates — Building Science Corporation
  3. Pennsylvania Energy Code: 2021 IECC with PA amendments, effective January 1, 2026 — Insulation Institute (NAIMA)
  4. Cathedral Ceiling Assemblies — Pennsylvania Housing Research Center, Penn State
  5. HEATLOK HFO High Lift Technical Data Sheet — Huntsman Building Solutions
  6. Classic Ultra Select open-cell Technical Data Sheet — Huntsman Building Solutions
  7. ENERTITE G open-cell Technical Data Sheet — BASF
  8. Erie, PA average temperatures by month, 1991–2020 NOAA normals — Current Results
  9. Lake Effect Snow — National Weather Service
  10. Revised Erie, PA snowfall records — National Weather Service Cleveland
  11. BSD-135: Ice Dams — Building Science Corporation
  12. Ice Dam performance brief — U.S. DOE Building America (PNNL)
  13. Loose-Fill Insulation: settled R-value per inch — PNNL Building America Solution Center
  14. Blown Insulation for Attics: Fiberglass vs. Cellulose — Fine Homebuilding
  15. GAF Technical Advisory Bulletin TAB-R-135: Under Deck Sprayed-In-Place Foam Insulation — GAF
  16. Know the Code: Using Spray Foam Insulation in Attics and Crawl Spaces — Center for the Polyurethanes Industry
  17. Insulation Cost Calculator: installed prices by type, October 31, 2026 — FoamGuard