Short answer
Spray foam doesn't create moisture, but it can trap moisture that is already there. Closed-cell foam is a vapor retarder (1 perm or less at roughly 1¼ to 1⅞ inches, depending on the product), so wet wood sealed behind it dries slowly, and a roof leak can hide under it. Sprayed over dry framing (about 19% moisture content or less) in a building without leaks, it usually lowers condensation risk, because warm indoor air can no longer reach cold surfaces.
Key points
- Closed-cell foam: about 1.1 to 1.6 perms at 1 inch, and 1 perm or less (Class II) at roughly 1¼ to 1⅞ inches, depending on the product. Open-cell: more than 10 perms at normal thicknesses, which is vapor-open.
- The usual cold-climate condensation problem is indoor air leaking to cold sheathing. Foam stops that air.
- The real risks are spraying over wet framing, roof leaks that go unnoticed, open-cell under a cold roof deck without a vapor retarder, and foam that has pulled away from the framing.
- Every assembly needs a direction to dry. In a Western PA winter, that is usually toward the outside.
How moisture gets into walls and roofs
Water reaches a building assembly four ways, and spray foam changes each one differently. A DOE Building America study of spray-foamed roofs, led by Building Science Corporation, looked at the same list of risks.
| Moisture source | Example | What spray foam does |
|---|---|---|
| Liquid water | Roof leak, bad flashing, wet foundation | Nothing to stop it, and it can hide it |
| Air leakage | Warm indoor air leaking to cold sheathing | Stops it; this is foam's biggest advantage |
| Vapor diffusion | Vapor moving through solid materials | Closed-cell slows it a lot; open-cell a little |
| Built-in moisture | Rained-on framing, fresh concrete | Seals it in if it is there when you spray |
So the honest answer to "does spray foam trap moisture" is: it traps what is already there, and it stops most of what would have arrived by air.
Vapor permeance: closed-cell vs open-cell
Vapor retarders are graded by permeance, in perms, using the ASTM E96 dry cup test:
- Class I: 0.1 perm or less (a vapor barrier)
- Class II: more than 0.1, up to 1.0 perm
- Class III: more than 1.0, up to 10 perms
- Vapor-open: more than 10 perms
| Foam | Thickness | Permeance | Class |
|---|---|---|---|
| Closed-cell (about 2 lb/ft³) | 1 in. | About 1.1 to 1.6 perms | Class III |
| Closed-cell | 1¼ to 1⅞ in., depending on product | 1 perm or less | Class II |
| Open-cell (about 0.5 lb/ft³) | 3.5 to 5.5 in. | About 11 to 17 perms | Vapor-open |
These ranges come from data sheets from three manufacturers, listed under Sources. The exact thickness where a given foam reaches Class II is on its technical data sheet (TDS).
Two things follow. Closed-cell at normal thicknesses is a retarder, not a barrier: it slows vapor a great deal but does not stop it completely. Open-cell lets vapor through easily, which is why it needs a separate vapor retarder in Climate Zone 5 wherever winter vapor drive matters. Closed-cell vs open-cell in Zone 5 covers where each belongs.
Why foam usually lowers condensation risk
Take a January night in Erie: 20°F outside, 70°F and 35% relative humidity inside. That indoor air has a dew point of about 41°F. Any surface it touches that is colder than 41°F collects condensation or frost.
In a 2×6 wall with R-19 fiberglass batts, the inside face of the sheathing sits around 23°F in that weather. Fiberglass doesn't stop air, so indoor air leaking in around outlets and top plates reaches that 23°F sheathing and leaves frost on it. In spring the frost melts into the wood.
Now spray 3 inches of closed-cell foam against the sheathing instead, at about R-7 per inch, a typical aged value for HFO closed-cell (R-value per inch explains the range). The sheathing is just as cold, but no indoor air reaches it, because the foam is bonded to it with no gap. The room-side face of the foam sits around 66°F, far above the dew point. The 41°F line falls about 1.7 inches inside the foam, where there is no air movement and vapor moves at under 1 perm.
These are rough steady-state numbers, but the pattern holds. It is also why about 2 inches of closed-cell foam provides the Class II interior vapor retarder that framed walls in Zone 5 need under IRC R702.7.
When spray foam really can trap moisture
Wet framing
Foam sprayed over wet lumber seals the water in, and the wood then dries slowly through the foam. Manufacturers' limits for wood are typically 18 to 19% moisture content, and the DOE and BSC roof study recommended sheathing and framing below 18% before spraying. A house framed through a wet spring can be wetter than that. A pin-type moisture meter settles it: test several spots, especially low on walls, at plates and anywhere that took rain.
Roof leaks under foam
This is the risk most worth taking seriously. Closed-cell foam on the underside of a roof deck leaves the sheathing between the foam and the roofing, and that wood can't dry much in either direction. A small leak can go unnoticed until the wood is damaged. Because closed-cell foam sheds water, the drip can also travel along the foam or a rafter and show up away from the actual leak.
The DOE and BSC study found no known risk for foam under plywood and OSB roof decks when the roof meets the IRC, the roof covering is leak-free and the sheathing is dry when sprayed. It also warned that bigger or more frequent leaks than they modeled could cause damage. To manage it:
- Don't foam under a roof near the end of its life. Re-roof first.
- Have flashing at chimneys, valleys, skylights and vents checked before spraying.
- When re-roofing a foamed deck, consider a fully adhered underlayment over the whole roof, as the study recommends.
- Look over the attic once a year and after big storms. Dark stains or drips on the foam are the signs to chase.
Open-cell under a cold roof deck
In Climate Zone 5 and colder, foam under an unvented roof deck has to be a Class II vapor retarder or be covered by one (IRC R806.5), and the DOE study makes the same call for cold climates. Closed-cell meets that by itself. Open-cell, at more than 10 perms, needs a vapor retarder coating on its room-side face. Skip it and winter vapor can build up in the roof sheathing.
Wood sandwiched between two vapor retarders
Closed-cell on the inside of a wall that also has a low-perm layer outside, such as foil-faced foam board, leaves the sheathing almost no way to dry. That can work if the wood starts dry and stays dry, but it leaves no margin. Metal buildings are different: the foam bonds directly to the steel, with no wood or air space between them.
Foam that has pulled away
Foam that shrinks or separates from studs and rafters opens a gap air can use, and that brings back the cold-surface problem. Good foam looks even, smooth and uniform. Rippled, cracked, shrunken or discolored foam is a warning sign. Our guide to choosing a spray foam contractor covers what to look for.
Drying direction in a cold climate
Vapor moves from warm to cold, so in a Western PA winter it pushes outward. Plan where each assembly dries:
- Walls with closed-cell on the sheathing: the sheathing dries outward. Keep the outside vapor-open with housewrap and siding that has some air space behind it.
- Basement walls: concrete dries slowly inward. Keep closed-cell to a moderate thickness and don't add plastic over it. See basement wall insulation.
- Roof decks: dry very slowly in either direction. They have to start dry and stay dry.
Before any foam goes on, run this short check:
- Framing and sheathing read at or below the foam's moisture limit, typically 18 to 19%, on a moisture meter.
- The roof is sound and the flashings have been checked.
- There are no active foundation leaks.
- The assembly has a drying path to at least one side.
- Any foam under a roof deck in Zone 5 is a Class II vapor retarder or gets coated.
- The surface is at least 5°F above the dew point when sprayed, as manufacturers' application guides require.
Want a number for your own project? Price My Project or call (814) 208-3478.
FAQ
Do I need a plastic vapor barrier over closed-cell foam?
No. At about 2 inches, closed-cell is a Class II vapor retarder on its own. Adding plastic creates a second vapor retarder that can trap moisture in the wall between them.
Can spray foam rot a roof?
Foam doesn't rot wood; water does. The risk is a leak that goes unnoticed because the foam hides the wet sheathing, which is why the roof should be sound before it is foamed and checked afterward.
Will a foamed house feel more humid inside?
A tighter house holds onto the moisture people make by cooking, showering and breathing. Bath and kitchen exhaust fans, and planned mechanical ventilation in a very tight house, keep indoor humidity in check.
Sources
- HEATLOK HFO High Lift Technical Data Sheet, Huntsman Building Solutions (rev. 11.25.24)
- WALLTITE Max Series Technical Data Sheet, BASF (2023)
- JM Corbond IV Closed-Cell Spray Foam, Johns Manville
- WALLTITE Series HFO Closed-Cell SPF Application Guidelines, BASF (2023)
- Classic Ultra Select Technical Data Sheet, Huntsman Building Solutions
- ENERTITE G Open-Cell Technical Data Sheet, BASF (2017)
- BSD-106: Understanding Vapor Barriers, Building Science Corporation
- Building America Case Study: Spray Foam Application on Roof Sheathing, U.S. Department of Energy (2013)
- BSD-103: Understanding Basements, Building Science Corporation