Subscribe

ADJACENCIES · July 5, 2026

Spray Foam Attic Insulation: Open vs Closed Cell, Cost, and R-Value

Spray foam attic insulation in 2026: open vs closed cell R-value, cost per sq ft, hot roof warranty and re-decking impact, and when it is worth it.

Spray foam attic insulation is a two-part polyurethane applied as a liquid that expands into a rigid or semi-rigid air seal, and it comes in two types: open cell at roughly R-3.6 per inch and closed cell at roughly R-6 to R-7 per inch. Installed, it runs about $1.50 to $3.50 per square foot for open cell and $1.75 to $4.50 for closed cell, or roughly $5,900 to $12,000 for a full existing attic. The choice that actually matters is not the foam type. It is whether you spray the attic floor or the roof deck, because spraying the deck converts your attic into an unvented “hot roof” and changes how your shingles, warranty, and resale work.

Most insulation guides stop at cost and R-value. This one covers the part a roofing site is built to answer: what foam under the deck does to the roof above it, when a manufacturer will still honor a shingle warranty, and why the next crew that re-decks your roof charges more. If you want the non-foam options first, start with our overview of attic insulation types and cost.

What is spray foam attic insulation and how does it work?

Spray foam attic insulation is a polyurethane insulation sprayed as a liquid that expands 30 to 100 times its volume within seconds, filling gaps and hardening into an air barrier. Unlike fiberglass or cellulose, which slow heat but let air pass, foam seals the cavity, so it insulates and air-seals in one step. That air seal is the main reason people pay a premium for it.

The foam goes in one of two locations, and this is the decision that drives everything else. Sprayed on the attic floor, it keeps the attic vented and outside the home’s conditioned space. Sprayed on the underside of the roof deck and rafters, it moves the insulation boundary up to the roof, sealing the attic vents and pulling the attic inside the thermal envelope. The second approach is called an unvented or conditioned attic, and roofers call the result a “hot roof.”

Open cell and closed cell describe the foam’s internal structure. Open-cell cells are broken and filled with air, making a soft, spongy, vapor-permeable foam. Closed-cell cells are sealed and packed tight, making a dense, rigid, vapor-resistant foam that doubles as a vapor barrier above about 1.5 to 2 inches. That single difference sets their R-value, cost, and where each one belongs.

Open cell vs closed cell attic foam: which one for the attic?

Closed cell wins when moisture resistance, high R-value in a shallow cavity, or added roof-deck stiffness matter, which is most roof-deck and cold-climate jobs. Open cell wins when budget and sound absorption matter more and the cavity is deep enough for the thickness. Both work in an attic; the right pick depends on climate zone, where you spray, and cavity depth.

Property Open cell Closed cell
R-value per inch ~R-3.6 ~R-6 to R-7
Installed cost per sq ft $1.50 to $3.50 $1.75 to $4.50
Density ~0.5 lb/cu ft ~2.0 lb/cu ft
Vapor barrier No (vapor permeable) Yes (at 1.5 to 2 in or more)
Thickness for roof deck ~7 in or more ~4 to 6 in
Air seal Yes Yes
Adds structural rigidity No Yes
Sound dampening Better Good

Open cell is vapor permeable, which cuts both ways. It lets a roof leak show up as an interior stain instead of hiding it, which helps you catch a problem. In cold climates (IRC zones 5 through 8), open cell under a roof deck usually needs a Class II vapor retarder coating to stop attic moisture from condensing inside the foam. Closed cell resists that moisture on its own, which is why deck jobs in cold and mixed climates lean closed cell.

For a floor application, open cell is often the cheaper way to hit a target like R-38 or R-49, since cost per R-value is lower and depth is not constrained. For a roof-deck application, closed cell’s higher R-value per inch fits the required assembly R-value between the rafters without furring them out. Check your target against our insulation R-value chart by zone before you commit to a thickness.

How much does spray foam attic insulation cost in 2026?

Spray foam attic insulation costs about $1.50 to $3.50 per square foot for open cell and $1.75 to $4.50 for closed cell, installed. A full existing attic typically runs $5,900 to $12,000, with the spread driven by foam type, attic size, target R-value, and whether old insulation has to be torn out first. Labor is 40 to 60 percent of the bill because attics are hot, tight, and slow to work in.

Cost factor Effect on price
Foam type Closed cell runs 20 to 40% more per board foot than open cell
Location sprayed Roof deck uses more square footage than the flat attic floor
Target R-value Higher R means more inches and more material
Old insulation removal Adds $1 to $2 per sq ft for tear-out and disposal
Access and complexity Low pitch, obstructions, and tight scuttles raise labor
Region Labor rates swing the total 20% or more

Foam is the most expensive common attic insulation per square foot. Blown-in cellulose or fiberglass on the floor often costs a third to a half as much for the same R-value, though it does not air-seal. If the goal is R-value per dollar rather than a conditioned attic, compare against blown-in insulation cost and R-value before you sign.

Attic floor or roof deck: does spray foam void a shingle warranty?

Spraying foam directly to the underside of the roof deck can affect a shingle warranty, but in 2026 it rarely voids one outright. The old concern was heat: an unvented deck can run a few degrees hotter, and manufacturers worried that shortened shingle life. Field measurements put the increase at roughly 2 to 4 degrees Fahrenheit, small enough that most major brands now warrant shingles over unvented decks, sometimes with a written acknowledgment.

Manufacturer policies still vary, so verify before you spray, not after. Get the shingle maker’s current unvented-assembly position in writing, and confirm whether your specific warranty tier is affected. GAF, Owens Corning, and CertainTeed each publish guidance on foam under the deck; the details differ by product line and can change year to year. Compare the big three warranties in our Owens Corning vs GAF vs CertainTeed breakdown.

The floor option sidesteps the warranty question entirely. Foam on the attic floor leaves the roof vented, so the shingles behave exactly as a standard warranty expects. If you only want the air seal and higher R-value and do not need a conditioned attic for ductwork or living space, spraying the floor keeps the roof simple.

What does a hot roof do to a future roof replacement?

An unvented “hot roof” makes the next roof replacement harder and more expensive, because closed-cell foam is glued to the deck and cannot be peeled off. If the crew has to replace rotted or storm-damaged decking, they cut the foam out with the sheathing, then a foam contractor re-sprays from inside. That is two trades instead of one, and it is the single most overlooked cost of the hot-roof decision.

Three things change when foam is bonded to the deck:

  1. Deck inspection gets blind. With foam covering the underside, no one sees a small leak or early rot until it spreads, because the sheathing is sealed from below. Open-cell foam at least lets a leak telegraph through as a stain; closed cell hides it.
  2. Re-decking costs more. Replacing sheathing means removing and re-applying foam in that section. Budget the foam re-spray on top of normal roof decking replacement cost.
  3. Some crews walk. A minority of roofers decline tear-offs over foamed decks, or price in the extra risk, which narrows your bidding pool.

None of this makes a hot roof wrong. It makes it a long-term commitment that should be a deliberate choice, usually when you want conditioned attic space, ducts inside the envelope, or a low-slope or complex roof that is hard to vent well. For roofs you plan to re-cover within a decade, the floor application avoids the entanglement.

What does the code require for an unvented spray foam attic?

The IRC allows unvented attics under Section R806.5, but only if the assembly meets specific air-tightness and moisture-control rules. The attic must sit fully inside the thermal envelope, no Class I vapor retarder can be installed on the attic floor, and in cold climates the foam has to control condensation on the underside of the deck. Skip these and you get moisture trapped against the sheathing.

The moisture rule is the one that drives foam choice. In climate zones 5 through 8, air-permeable-adjacent assemblies and open-cell foam generally need a Class II vapor retarder in contact with the deck, or a minimum ratio of closed-cell foam to keep the deck surface warm enough to avoid condensation. Closed cell at adequate thickness satisfies this on its own, which is why cold-climate deck jobs default to it.

Unvented attics also need a moisture-removal path in many designs, since sealing the vents removes the old drying route. A small exhaust or conditioned-air supply to the attic keeps humidity down. This is also why attic ventilation math still matters even when you go unvented: you are replacing passive venting with an engineered assembly, not skipping ventilation as a concept.

Is spray foam attic insulation worth it?

Spray foam is worth it when you need an air seal plus high R-value in one product, want a conditioned attic for ducts or living space, or have a roof that is genuinely hard to vent. It is usually not the best value when the only goal is R-value on the attic floor, where blown-in insulation delivers similar performance for a third to a half the cost. Match the tool to the goal.

The strongest cases for foam:

  • Ductwork and HVAC equipment live in the attic and you want them inside conditioned space.
  • The attic is finished or will be, so the roofline needs insulation.
  • The roof is low-slope or complex and passive venting underperforms.
  • Air leakage, not just conductive loss, is the main energy problem.

The weaker cases:

  • A simple vented attic where you only need to hit R-49 on the floor.
  • A roof you expect to tear off within 5 to 10 years.
  • A tight budget where blown-in gets you 80 percent of the benefit for far less.

Foam is also close to permanent, so a bad install is expensive to fix. Trapped odors from a prior leak or rodent activity, missed spots, and off-ratio foam all get sealed in. Vet the crew hard, get the vapor-control detail in writing, and confirm the roof warranty position before the truck shows up. If you are still weighing materials, our guide to the best insulation for your attic compares foam against the alternatives head to head.

Frequently asked questions

Is open cell or closed cell better for an attic?

Closed cell is better for roof-deck spraying and cold climates because it delivers about R-6 to R-7 per inch and acts as its own vapor barrier. Open cell is better for attic-floor jobs and tight budgets, giving roughly R-3.6 per inch at lower cost with better sound absorption. The right pick depends on where you spray, your climate zone, and how deep the cavity is.

How much does it cost to spray foam an attic?

Spray foam attic insulation costs about $1.50 to $3.50 per square foot for open cell and $1.75 to $4.50 for closed cell, installed. A full existing attic typically runs $5,900 to $12,000. Price depends on foam type, attic size, target R-value, and whether old insulation must be removed first, which adds roughly $1 to $2 per square foot.

Does spray foam attic insulation void a roof warranty?

It can, but in 2026 it usually does not. Foam under the roof deck raises shingle temperature only about 2 to 4 degrees, and most major shingle brands now warrant shingles over unvented decks, sometimes with a written acknowledgment. Policies vary by manufacturer and product line, so confirm your specific warranty in writing before spraying, or spray the attic floor to keep the roof vented.

What is a hot roof and is it a problem?

A hot roof is an unvented attic where spray foam is applied to the underside of the roof deck, sealing the vents and pulling the attic inside the conditioned space. It is not a problem when built to code with proper moisture control, but it complicates future roof work because foam bonded to the deck must be cut out and re-sprayed if the sheathing is replaced.

Can you remove spray foam from an attic?

Spray foam can be removed, but it is labor-intensive and costly because it bonds tightly to wood and cannot be peeled off cleanly. Closed cell often has to be scraped or cut away, and deck-applied foam usually comes off with the sheathing during re-decking. This near-permanence is why the location and foam type should be a deliberate long-term decision, not an afterthought.

Does spray foam attic insulation need ventilation?

An unvented spray foam attic replaces passive venting with a sealed, conditioned assembly, so it does not use soffit and ridge vents. It still needs a moisture-removal path in many designs, such as a small exhaust or conditioned-air supply, to keep humidity from building up against the deck. Attic-floor foam keeps the attic vented normally.

Reviewed by The Roofing Brief Team. Last reviewed July 2026.