Last updated: June 11, 2026 | Written by Diana Mills | Reviewed by Jennifer Nakamura
Converting a ventilated attic to an unvented “hot roof” assembly with spray foam is one of the most transformative energy upgrades you can make to an existing home. It’s also one of the most misunderstood — and misapplied. This guide covers everything homeowners and contractors need to know to get attic spray foam right the first time.
Ventilated vs. Unvented Attic: What’s the Difference?
The traditional attic assembly uses ventilation — soffit vents, ridge vents, and/or gable vents — to remove moisture and prevent ice damming by keeping the roof deck cold. Insulation sits on the attic floor, and the attic space itself acts as an intentional buffer between the conditioned space and the outdoor environment.
An unvented (hot roof) assembly moves the insulation to the roof deck itself, using spray foam applied to the underside of the roof sheathing. The attic becomes part of the conditioned space. Mechanical equipment, ductwork, and plumbing in the attic are now inside the thermal envelope — a major efficiency gain in most climates since leaky ductwork in a conventional attic can lose 20-30% of conditioned air to an unconditioned space.
When a Hot Roof Assembly Makes Sense
Spray foam attic insulation is most beneficial when:
- Your HVAC equipment or ductwork is located in the attic
- You have cathedral ceilings or finished attic spaces
- Your region experiences ice damming (a symptom of heat escaping through a ventilated attic)
- Your home has an irregular roofline that makes attic ventilation difficult
- You want to bring the attic into the conditioned envelope for future living space
Spray foam attic insulation is typically not the best choice when: your attic is easily accessible and has no mechanical equipment, you’re looking for the lowest possible installed cost, or your climate zone’s code requires specific vapor control assemblies that complicate the foam design.
Open Cell vs. Closed Cell for Attics
For a detailed comparison of foam types, see our open cell vs. closed cell guide. For attic applications specifically:
Open-cell foam (Climate Zones 1-4): An excellent choice for unvented attic assemblies in warmer climates. It achieves the necessary air barrier performance at a significantly lower cost than closed-cell. The IRC requires at least 5.5″ of open-cell foam (R-20) in Climate Zone 4 for unvented attic assemblies, more in zones 5+.
Closed-cell foam (Climate Zones 5-8): The code-preferred choice in cold climates for unvented attic assemblies. It provides vapor control on the cold side of the assembly, preventing condensation. Required thicknesses vary by climate zone.
How Much Does Spray Foam Attic Insulation Cost?
Spray foam attic insulation is one of the more expensive applications. Here’s what to expect for a 1,500 sq ft home (approximately 1,800 sq ft of roof deck to cover at typical pitch):
| Climate Zone | Foam Type | Required Thickness | Estimated Cost (1,800 sq ft) |
|---|---|---|---|
| Zones 1-3 | Open-Cell | 5.5″ | $4,500–$7,000 |
| Zone 4 | Open-Cell | 5.5″ | $5,000–$8,000 |
| Zone 5 | Closed-Cell | 4″ | $9,000–$14,000 |
| Zone 6 | Closed-Cell | 5″ | $12,000–$18,000 |
Energy Savings: What to Expect
Studies by Oak Ridge National Laboratory and NREL have shown that converting a standard ventilated attic with R-30 blown insulation to an unvented assembly with spray foam at the roof deck can reduce whole-home HVAC energy use by 15-40%, with the wide range reflecting differences in duct leakage, home size, and climate.
The savings are most dramatic when ductwork is in the attic. A Florida study found that homes with ducts in an unvented, spray-foamed attic used 28% less cooling energy than identical homes with ducts in a conventional ventilated attic.
Important Code Requirements
Spray foam in attics is subject to several code requirements under the 2021 IRC and IBC:
- Ignition barrier or thermal barrier requirement: Spray foam must be covered with a thermal barrier (typically ½” drywall) in habitable spaces. Attics used only for storage may use an ignition barrier instead.
- Unvented attic assembly requirements: IRC Section R806.5 specifies minimum foam thicknesses for unvented assemblies by climate zone.
- Vapor control requirements: IRC Table R702.7.1 specifies vapor retarder requirements that vary by climate zone.
Always check with your local building department before beginning an attic spray foam project — requirements vary by jurisdiction and some areas have adopted amendments to the IRC that affect spray foam applications.
For help finding a qualified contractor for your attic project, visit our Applicator Directory. For answers to common attic insulation questions, see our FAQ page. And to compare your options, see our spray foam vs. fiberglass guide.
Questions about your specific attic situation? Our Community Forum has hundreds of attic insulation threads — chances are someone has faced the same situation as you.
Diana Mills is the founder and editor of Foam Insulation Review. With over 15 years of experience in the building materials and spray foam industry, she has tested hundreds of products, interviewed leading contractors, and published in-depth guides for homeowners and professionals alike. Diana is passionate about helping people make smarter insulation decisions.