Spray Foam Attic Insulation: Unvented Attics, Pros and Costs
Spray foam attic insulation changes how an attic works, not just how well it insulates. Sprayed against the underside of the roof deck, it turns a cold, vented attic into a semi-conditioned space that sits inside the building envelope. Sprayed on the attic floor, it acts more like a high-performance air seal under conventional insulation. Both approaches can cut air leakage and improve comfort, but they carry different implications for ventilation, ice dams, roof-deck moisture, fire-safety barriers, re-occupancy after installation, future inspections and cost. This guide covers the two main installation strategies, how open-cell and closed-cell foams are typically used in attics, what changes for ventilation design, what code and safety questions to raise with an installer, how spray foam compares with blown-in insulation on price, and what buyers and inspectors look for afterward. Cost figures are general 2026 ranges that vary by region, foam type, thickness and access.
Part of our Crawl Space & Attic Guide guide — start there for the full picture →
What Spray Foam Attic Insulation Does and Where It Goes
Spray polyurethane foam (SPF) is applied as a liquid that expands and cures in place, filling gaps, cracks and irregular cavities. Unlike fiberglass or cellulose, which slow heat flow but let air pass through, spray foam also acts as an air barrier at sufficient thickness. That combination is the reason it is chosen for attics with complicated framing, ductwork, recessed lights and many penetrations.
There are two basic places to put it in an attic:
- At the roofline, sprayed to the underside of the roof sheathing and rafters or truss top chords, along with the gable walls. This creates an unvented (sometimes called conditioned or sealed) attic.
- On the attic floor, sprayed over the top of the ceiling drywall between and over ceiling joists. The attic above stays vented and cold.
The choice depends on where the HVAC equipment and ducts are, how complex the roof is, how the attic is used, local code requirements and budget.
Roofline Spray Foam: Unvented, Conditioned Attics
Moving the insulation to the roof deck brings the attic inside the thermal envelope. Ducts and air handlers located in the attic then sit in a space much closer to indoor temperature, instead of in an attic that can be very cold in a Front Range January or very hot in July. That is the main argument for roofline foam in homes with attic ductwork.
Benefits commonly cited for unvented attics include:
- Reduced energy losses from ducts and equipment located in the attic.
- Elimination of most air leakage paths between living space and a vented attic, since the attic is now part of the conditioned space.
- More usable storage in a space that is less extreme in temperature.
- Fewer issues with snow or dust blowing in through attic vents.
The tradeoffs:
- More surface area to insulate. A sloped roof has more area than the flat ceiling below it, so roofline foam uses more material.
- Hidden roof deck. The underside of the sheathing is covered, which makes roof leaks and deck condition harder to see.
- Code-driven design. Unvented attics must meet specific code conditions covering insulation type, R-value and air-impermeable insulation at the deck.
- Ventilation changes. Existing soffit, ridge and gable vents are sealed, so the attic no longer functions as a vented space.
Best Spray Foam: our top 3 picks
| Product | Best for | Key features | Price | Buy |
|---|---|---|---|---|
| Great Stuff Gaps and Cracks | Best everyday gap sealer |
| $50.49as of Nov 19, 2026 9:16 am GMT+0000 | Buy now →Check current price |
| Loctite Tite Foam Big Gaps | Best for gaps up to 3 inches |
| $8.28as of Nov 19, 2026 9:16 am GMT+0000 | Buy now →Check current price |
| Great Stuff Smart Dispenser | Best reusable can |
| $9.59as of Nov 19, 2026 9:16 am GMT+0000 | Buy now →Check current price |
Prices are Amazon’s listed prices as of the time shown and change often; check Amazon for today’s price. As an Amazon Associate we earn from qualifying purchases.
Attic-Floor Spray Foam
A thinner layer of foam on the attic floor seals the ceiling plane, including top plates, wire and pipe penetrations, chases and light fixtures, which are common sources of warm, moist air leaking into the attic. Conventional blown insulation is often added on top to reach the target R-value at lower cost. This hybrid approach keeps a standard vented attic and is generally simpler from a code and moisture standpoint.
Attic-floor foam makes less sense when ducts or an air handler are in the attic, because they stay outside the thermal envelope. It also makes future access to ceiling wiring, junction boxes and light fixtures more difficult. Recessed lights must be rated for contact with insulation and air sealing, and many contractors box or dam around fixtures and flues before spraying. ENERGY STAR’s attic air sealing guidance emphasizes keeping insulation and expanding foam away from flues and chimneys and using sheet metal and high-temperature caulk at those openings instead.
Open-Cell vs Closed-Cell Foam in Attics
Both open-cell and closed-cell foams are used in attics, and the choice affects cost, thickness, vapor control and the moisture behavior of the roof deck. The broad pattern: open-cell foam is less expensive per inch and more permeable to vapor, while closed-cell foam has a higher R-value per inch, is denser and acts as a vapor retarder at typical thicknesses. In colder climates, roofline open-cell foam may need an additional vapor retarder or specific design to manage moisture at the deck, depending on code and the manufacturer’s guidance.
The full comparison, including per-inch R-values and typical price differences, is in our guide to open vs closed cell spray foam, so this guide focuses on what changes in the attic itself.
How Spray Foam Affects Attic Ventilation and Ice Dams
A traditional vented attic relies on intake vents at the soffits and exhaust vents near the ridge to carry away heat and moisture that leak in from the house. Roofline spray foam replaces that strategy: the attic is sealed and the foam controls heat and air flow at the deck. Mixing the two, for example spraying foam to the roof deck but leaving ridge and soffit vents open, creates a confusing hybrid that can undermine both strategies. Our guide to attic ventilation explains how vented systems are designed and why intake and exhaust balance matters.
Ice dams form when heat escaping into the attic warms the roof deck, melting snow that refreezes at the colder eaves. Most ice dam problems trace back to air leaks and thin insulation. Both roofline and attic-floor foam can reduce the heat reaching the roof surface by sealing leaks, which can help reduce ice dams. Roofline foam needs adequate thickness at the eaves, where space is tight and insulation is often thinnest. For the full picture of causes and prevention, see our guide to ice dams.
Roof-Deck Moisture and Inspection Access
The most debated issue with roofline spray foam is moisture at the roof sheathing. When foam is bonded to the underside of the deck, small roof leaks can be absorbed into the sheathing without dripping into the attic, so they may go unnoticed for longer. With open-cell foam, interior moisture can also migrate into the foam and toward a cold deck in winter if vapor control is inadequate.
Practical steps that reduce risk:
- Start with a sound roof. Inspect and repair the roof, flashing and sheathing before foam is installed. Replacing sheathing later is much harder.
- Follow the manufacturer’s assembly guidance. Many foam manufacturers publish climate-specific details for unvented roofs.
- Control indoor humidity. Bringing the attic into the conditioned space means attic air should be managed like the rest of the house.
- Leave inspection paths. Ask whether the installer can leave a strip or small areas accessible near valleys, chimneys and skylights, or how deck condition can be checked later. Some inspectors use moisture meters or core samples where accessible.
- Document the job. Keep the foam type, thickness, installer, product data sheet and any code paperwork for future buyers and roofers.
Roof replacement is another factor. Roofers may need to treat a foamed deck differently, and some shingle manufacturers address unvented assemblies in their warranty terms. Ask both the foam installer and the roofer before committing.
Fire Safety: Thermal and Ignition Barriers
Spray foam is a foam plastic, and residential codes generally require that it be separated from occupied spaces by a thermal barrier, such as half-inch gypsum board, unless the specific product has been tested and approved for use without one. Attics and crawl spaces entered only for service of utilities may be allowed a less stringent ignition barrier, or a product-specific coating, depending on the code edition and the foam’s evaluation report. A finished or regularly used attic is likely to be treated differently from a service-only attic.
These requirements come from the model International Residential Code, which the International Code Council describes as a stand-alone residential code that establishes minimum regulations for one- and two-family dwellings and townhouses. Colorado jurisdictions adopt different editions with local amendments, and requirements for unvented attic assemblies, foam plastic barriers and permits can vary by city and county. Before work begins, ask the installer which code edition applies, whether a permit is required, which barrier or coating will be used, and to provide the product’s evaluation report. When in doubt, confirm with the local building department.
Off-Gassing, Odors and Re-Occupancy
Spray foam is made by mixing two chemical components at the job site, and the chemistry during application is a real safety issue for installers and occupants. OSHA explains that isocyanates are the raw materials that make up all polyurethane products, that foam-blowing is among the jobs that may involve exposure, and that the main effects of hazardous exposures are occupational asthma and other lung problems, along with irritation of the eyes, nose, throat and skin.
For homeowners, the practical guidance is to stay out of the home during spraying and for the re-occupancy period specified by the foam manufacturer, which installers should state in writing. Ask how the work area will be isolated and ventilated, how long fans will run after spraying, and what the re-occupancy time is for the specific product. Some people report lingering odors after installation; a persistent strong odor can indicate improper mixing or application and is worth raising with the installer promptly. People with asthma or chemical sensitivities may want to discuss the plan with their physician before scheduling.
Spray Foam vs Blown-In Attic Insulation Costs
Spray foam is usually the most expensive way to insulate an attic per unit of R-value, but it also provides air sealing that blown-in insulation does not. These general 2026 ranges are for budgeting only:
| Approach | Typical cost range | Notes |
|---|---|---|
| Open-cell roofline foam | Often roughly $1.00 to $2.00 per sq ft of roof surface, depending on thickness | More area than the attic floor; vapor control may add cost |
| Closed-cell roofline foam | Often roughly $2.00 to $4.50 or more per sq ft of roof surface | Higher R per inch; thickness drives price |
| Attic-floor flash coat plus blown-in | Varies widely; often less than full roofline foam | Combines air sealing with lower-cost bulk insulation |
| Air sealing plus blown-in cellulose or fiberglass | Commonly well below spray foam for the same attic | Keeps a vented attic; easier to access later |
| Removing old insulation first | Adds cost, often several hundred to a few thousand dollars | Needed when existing insulation is contaminated or in the way |
For a side-by-side look at blown-in, batts and foam by attic size, see our breakdown of attic insulation cost. On the target R-value, ENERGY STAR’s recommended levels for retrofitting existing wood-framed buildings list R60 for an uninsulated attic floor in climate zones 4A, 4B, 5 and 6, or R49 where there are already 3 to 4 inches of insulation. Much of the Front Range falls in climate zone 5, but confirm the zone for a specific address. ENERGY STAR also notes that sealing air leaks and adding insulation can save up to 10 percent on annual energy bills.
Utility rebates and federal tax credit eligibility change over time. Check current programs before signing a contract.
Resale and Home Inspection Notes
Spray foam in an attic shows up immediately during a home inspection. The ASHI Standard of Practice directs inspectors to inspect and describe insulation and vapor retarders in unfinished spaces, to inspect ventilation of attics and foundation areas, and to describe the absence of insulation in unfinished spaces at conditioned surfaces. It also states that the inspector is not required to disturb insulation, so the roof deck behind foam is generally not evaluated.
Inspectors commonly note whether the attic is vented or unvented, whether vents were sealed consistently, whether foam appears to be covered by a barrier or coating where required, gaps or shrinkage at the edges, foam in contact with flues or chimneys, and any odor. Buyers often ask for installation records, including the product, thickness, installer and any permit or code sign-off. Those records can make a foam installation easier to evaluate and may reassure buyers and lenders. For buyers comparing homes, our insulation hub covering crawl spaces and attics collects related guides, and a blower door test can verify how much air sealing the foam actually delivered.
Questions to Ask a Spray Foam Contractor
Quotes for spray foam can be hard to compare because contractors may propose different foams, thicknesses and strategies. Asking the same questions of each bidder makes the differences clearer:
- Is the proposal for a roofline (unvented) or attic-floor installation, and why is that the right choice for this house?
- Which product will be used, open-cell or closed-cell, and at what installed thickness and R-value?
- How will existing soffit, ridge and gable vents be handled?
- What thermal or ignition barrier or coating is required, and is it included in the price?
- Is a building permit required, and who pulls it?
- How will flues, chimneys, recessed lights and electrical boxes be protected?
- What is the written re-occupancy time, and how will the work area be ventilated?
- Will the old insulation be removed, and how will the roof deck be checked first?
- What warranty covers adhesion, shrinkage and workmanship, and for how long?
A contractor who answers clearly, provides product data sheets and puts the details in writing is easier to hold accountable if something goes wrong later.
Is Spray Foam the Right Choice for Your Attic?
Spray foam tends to make the most sense when an attic holds ducts or an air handler, when the roof is complex with many penetrations, or when an unvented design is planned as part of a larger renovation. A simpler vented attic with air sealing and blown-in insulation is often the more economical route when ducts are not in the attic and the main goal is reaching a target R-value. Getting quotes for both approaches, along with a clear explanation of how each handles ventilation, moisture and code barriers, is the best way to compare.
More Questions About Spray Foam Attic Insulation
How thick should spray foam be on an attic roofline?
Spray foam on an attic roofline is usually sized to meet the local energy code R-value, which in colder climates means roughly 5 to 6 inches of closed-cell foam or 8 to 10 inches or more of open-cell foam. Closed-cell foam delivers about R-6 to R-7 per inch, while open-cell foam sits closer to R-3.5 to R-4 per inch.
Some jurisdictions accept a lower foam R-value under specific code paths for unvented assemblies, so the required depth varies. Ask the contractor to state the target R-value and planned thickness on the written quote, and to leave depth markers or allow spot checks after spraying.
Can spray foam go over existing attic insulation?
Spray foam generally should not be sprayed over existing loose-fill or batt insulation on the attic floor when the plan is a roofline (unvented) attic. Once the roof deck is foamed, the attic becomes part of the conditioned space and old floor insulation can trap heat and moisture where it is no longer useful.
Many contractors remove old insulation first, especially if it is compressed, wet or contaminated by rodents. Removal typically adds cost per square foot. For attic-floor foam, the old material must still come up so the foam can bond to the ceiling drywall and seal bypasses.
Does spray foam in the attic void a shingle warranty?
Spray foam on the roof deck can affect some asphalt shingle warranties, so homeowners should read the manufacturer’s terms before an unvented attic conversion. Many major shingle makers now accept unvented, foam-insulated assemblies when they are built to code, but some reduce coverage or require specific installation details.
The concern is higher deck temperatures and hidden moisture. Request written confirmation from the shingle manufacturer or roofer, and keep it with the house records. If a reroof is due within a few years, coordinating the two jobs can avoid trouble later.
How long does spray foam attic insulation last?
Spray foam attic insulation that is installed correctly typically lasts the life of the house, often quoted as 50 years or more, because the cured foam does not settle the way loose-fill or batt insulation can. Closed-cell foam is especially stable once cured.
Performance problems over time usually come from installation errors rather than age: poor adhesion, shrinkage from an off-ratio mix, or gaps at framing. Roof leaks are the bigger long-term risk, since foam can hide wet sheathing. A periodic look at the deck around penetrations and valleys helps catch problems early.
Is spray foam a good idea in an attic with ductwork?
Spray foam at the roofline is often a strong choice when ducts and an air handler sit in the attic, because it brings that equipment inside the conditioned space. Duct leaks then lose air into a mild attic rather than a very hot or very cold one, which can noticeably cut heating and cooling losses.
Attic-floor foam does not give that benefit: ducts stay outside the thermal boundary. Where equipment is in the attic, ask the contractor and the HVAC installer whether the system needs a small supply or return in the newly conditioned space to control humidity.
References
- The International Residential Code — International Code Council
- Isocyanates Overview — Occupational Safety and Health Administration
- Recommended Home Insulation R-Values — ENERGY STAR
- Attic Air Sealing Project — ENERGY STAR
- ASHI Standard of Practice for Home Inspections — American Society of Home Inspectors
Frequently asked questions
Is spray foam good for attic insulation?
It can be, especially when ducts or HVAC equipment sit in the attic or the roof has many penetrations to seal. It costs more than blown-in insulation and changes how the attic is ventilated, so the design needs to match the house and local code.
Should spray foam go on the roof deck or the attic floor?
Roofline foam creates an unvented attic and brings ducts inside the conditioned space. Attic-floor foam seals the ceiling and keeps a vented attic, usually with blown insulation on top. Duct location, roof complexity and budget usually decide which fits.
Do you need attic vents with spray foam?
Not when foam is applied at the roofline as an unvented attic design; those vents are typically sealed as part of the assembly. When foam is applied only on the attic floor, the attic generally stays vented. Mixing the two approaches is usually discouraged.
How long should you stay out of the house after spray foam?
Follow the re-occupancy time specified by the foam manufacturer for the product used, and ask the installer to provide it in writing. OSHA notes that isocyanates used in polyurethane foam can irritate the eyes, nose, throat and skin and can cause asthma.
Does spray foam in the attic affect home inspections or resale?
Inspectors will note whether the attic is vented or unvented, barriers or coatings, gaps and odors, but are not required to disturb insulation, so the roof deck behind the foam usually is not evaluated. Keeping installation records helps buyers evaluate the work.
Can you spray foam an attic in winter?
Spray foam attic insulation can be installed in winter, but the roof deck and foam chemicals must stay within the manufacturer's temperature range, which often means heating the attic and warming the drums. Cold substrates can cause poor adhesion and shrinkage, so experienced crews check deck temperature and moisture before spraying.
Does spray foam in the attic make a house quieter?
Spray foam in an attic usually reduces outside noise to some degree, mainly by sealing air gaps that carry sound. Open-cell foam absorbs more airborne sound than closed-cell foam. Noise from rain on the roof and traffic often drops, though spray foam is not a substitute for dedicated soundproofing.
Should the attic be inspected before spray foam is installed?
An attic should be checked before spray foam goes in, because foam makes later inspection of the roof deck, wiring and framing much harder. Look for roof leaks, damp or moldy sheathing, knob-and-tube wiring, rodent damage and bath fans venting into the attic, and fix those first.
Buying a Front Range home with a spray-foamed attic and want a second set of eyes on it? Get in touch and we can connect you with a local inspector familiar with unvented attic assemblies.


