Should spray foam go on the roof deck or the attic floor?
There are two ways to insulate an attic with spray foam, and they make two different kinds of attic.
- Under the roof deck. Foam goes on the underside of the roof and the vents are closed off. The attic becomes an unvented attic — part of the insulated house.
- On the attic floor. The ceiling of the rooms below is sealed and insulated, and the attic above stays vented to the outside, like most attics.
| Roof deck (unvented) | Attic floor (vented) | |
|---|---|---|
| Ducts and HVAC in the attic | Brought inside the insulated space | Left out in the attic’s heat and cold |
| Cost | Usually more | Usually less |
| Spotting a roof leak | Harder | Easier |
| Pests | Fewer ways in, with the vents closed | Vents stay open |
| Coastal, hurricane or wildfire areas | Worth considering | Vents can let in wind-driven rain and embers |
When is the roof deck worth the extra cost?
Mostly when your ductwork or HVAC unit is in the attic. The U.S. Department of Energy’s Building America program puts it plainly: moving the insulation to the roof deck has significant advantages when the HVAC system is in the attic, because the equipment and ducts end up inside the home’s insulated envelope instead of baking or freezing above it. Any air that leaks from the ducts still ends up heating or cooling the house.
The same guidance suggests an unvented attic in coastal, hurricane and wildfire areas, since roof and soffit vents can let in wind-driven rain, burning embers and salty air.
If there are no ducts or equipment in your attic, the vented approach is usually the better value. The Department of Energy lists the reasons: attic-floor insulation materials cost less, and the floor is a smaller area than the underside of a sloped roof.
How much insulation does an attic need?
ENERGY STAR recommends these levels for an attic that has no insulation now. Find your climate zone on the map on ENERGY STAR’s page (linked in the sources below).
| Climate zone | Recommended attic R-value |
|---|---|
| Zone 1 | R-30 |
| Zones 2 and 3 | R-49 |
| Zones 4 through 8 | R-60 |
How many inches of spray foam is that?
Open cell insulates at about R-3.7 per inch and closed cell at about R-6.5, so the thickness needed to hit each target works out like this:
| Target | Open cell | Closed cell |
|---|---|---|
| R-30 | About 8 inches | About 4.5 inches |
| R-38 | About 10 inches | About 6 inches |
| R-49 | About 13 inches | About 7.5 inches |
| R-60 | About 16 inches | About 9 inches |
That is why the most useful question on any quote is “what R-value does this reach?” Two quotes can look far apart on price simply because they are for different thicknesses. If a quote comes in under the level for your zone, ask the installer why.
What does spray foam attic insulation cost?
Spray foam is priced by the board foot — one square foot, one inch thick. At August 2026 prices of about $0.40 to $0.65 per board foot for open cell and $1.00 to $1.50 for closed cell, reaching R-49 works out to roughly:
- Open cell: about $5.30 to $8.60 per square foot of roof deck
- Closed cell: about $7.50 to $11.30 per square foot of roof deck
So a 1,000-square-foot roof deck taken to R-49 with open cell would land somewhere around $5,300 to $8,600. Remember the roof deck is bigger than the floor under it, because the roof slopes. These are averages worked out from published prices, not a quote — real prices depend on your area, your attic, and the installer.
What does spray foam on the attic floor look like?
On the floor, spray foam is mainly there to seal air leaks into the rooms below. The Department of Energy’s guidance is at least an inch of spray foam over the attic floor to form a continuous air seal, then loose-fill insulation blown on top until the attic reaches the level the energy code requires. That gets the air sealing of foam without paying for foam all the way to R-49.
One catch: the same guidance does not recommend leaving ducts or an air handler in a vented attic. If yours are up there, that points back toward the roof deck.
Do cold climates need anything extra?
Yes. In climate zones 5 through 8, the building code (IRC R806.5) requires foam under the roof deck to act as a vapor retarder, or to be covered with one. Closed cell at enough thickness does that on its own; open cell needs a vapor-retarder coating or covering. It’s worth confirming with any installer before work starts.
Open cell or closed cell in the attic?
Both are used. Open cell is the budget choice under a roof deck when there is room for the thickness; closed cell reaches the same R-value in fewer inches and holds up to moisture. Some attics use both — one Department of Energy example pairs three inches of closed cell with seven and a half inches of open cell under the roof. Our full comparison is here: Open cell vs closed cell spray foam.
Who does this work?
Attic work is a big enough part of the trade that 177 companies in the FoamMatch directory have the word “attic” right in their business name. When you get quotes, ask each one the same three things: roof deck or floor, open or closed cell, and what R-value the job will reach.