Does Spray Foam Need a Vapor Barrier? The Answer Depends on the Assembly
- Jul 18
- 12 min read

Ask three people whether spray foam needs a vapor barrier and you may get three completely different answers. One builder will tell you plastic always belongs on the warm side. Another will say spray foam replaces the vapor barrier altogether. The foam rep may tell you closed-cell handles everything, while the inspector wants a vapor-retarder coating added before the job can pass.
The problem is not that everyone is completely wrong. The problem is that they are usually answering without knowing the rest of the assembly.
Spray foam does not always need a separate vapor barrier, but it does not automatically eliminate the need for vapor control either. The correct answer depends on the foam product, the installed thickness, the climate, the materials on both sides of the foam, and where the assembly is expected to dry when moisture gets into it.
And moisture will eventually get into buildings. Roofs leak. Concrete releases moisture. Framing gets covered before it is fully dry. Indoor humidity reaches cold surfaces. Rain gets behind siding. Plumbing fails. A good wall or roof assembly is not designed around the idea that it will remain perfectly dry forever. It is designed to manage moisture when real life happens.
“Vapor Barrier” Is Usually Not the Best Term
“Vapor barrier” is the phrase most people use, but vapor retarder is usually more accurate. Vapor control is not an on-or-off switch. Different materials slow the movement of water vapor by different amounts.

Building codes generally separate vapor retarders into three classes. Class I materials are highly vapor restrictive. Polyethylene sheeting is the most familiar example. Class II materials still provide substantial vapor resistance but allow more movement than Class I materials. Class III materials are more vapor open.
That distinction matters because a wall does not necessarily need a sheet of plastic to have vapor control. The spray foam itself may already provide it. A coating, facing, layer of exterior insulation, or even the interior paint can also affect how vapor moves through the assembly.
The goal is not to make every wall as vapor-tight as possible. The goal is to provide enough vapor control in the right location without creating a wall or roof that has no practical way to dry.
Spray Foam Can Do More Than One Job
Part of the appeal of spray foam is that one installation can perform several functions. It insulates, it can create an effective air-control layer, and some products can also provide meaningful vapor resistance. Those jobs are related, but they are not the same.
The insulation part is straightforward. Spray foam slows heat flow through the building enclosure. That is the R-value side of the job.
The air-control function is just as important. Properly installed foam can seal cracks, gaps, and irregular framing that would be difficult to address with other insulation materials. That helps control drafts, but it also helps control moisture because moving air can carry a surprising amount of water into walls and roofs.
Vapor movement is different. A material can stop air leakage while still allowing water vapor to diffuse through it. Open-cell spray foam is a good example. It can form an air-control layer while remaining relatively vapor permeable. Closed-cell foam is more vapor restrictive, but its actual performance still depends on the specific product and the thickness at which it is installed.
There is also one job spray foam should not be expected to do: stop bulk water. Foam is not roofing, flashing, exterior drainage, foundation waterproofing, or a replacement for a properly installed water-resistive barrier. It will not correct poor grading, missing flashing, groundwater intrusion, or a roof that already leaks.
You can build an airtight, well-insulated assembly and still have it fail because the water-control details were never handled correctly.
Open-Cell and Closed-Cell Foam Handle Vapor Differently
Most of the confusion around vapor barriers comes from trying to reduce the entire discussion to open-cell versus closed-cell.
Open-cell foam is generally more vapor permeable. That means water vapor can move through it more easily, which may allow an assembly to dry through the foam. In the right application, that drying potential can be useful. In the wrong application, it can allow interior moisture to reach cold sheathing and accumulate there.
Closed-cell foam provides more vapor resistance. At the proper thickness, many closed-cell products can serve as the vapor-control layer for the assembly. That can be a major advantage when the goal is to limit moisture movement toward a cold surface.
But greater vapor resistance is not automatically better. When closed-cell foam is installed against roof sheathing or wall sheathing, it may also reduce that material’s ability to dry toward the interior. If water enters from the exterior, the foam may slow the drying process even though it is performing exactly as designed.
That is why “open-cell” and “closed-cell” are only the beginning of the conversation. Contractors need the tested vapor permeance of the actual product at the thickness being proposed. A generic number from a sales sheet or an old training class is not enough.
Different products behave differently, and adding thickness changes the way vapor moves through the foam.
The Assembly Makes the Decision
The better question is not, “Does spray foam need a vapor barrier?”
The better question is, “What is already in this assembly, and where can it dry?”
That answer changes depending on whether the foam is being installed in an exterior wall, against a roof deck, on a basement wall, or inside a crawlspace.
Exterior Walls
A conventional framed wall with ventilated siding, housewrap, wood sheathing, and painted drywall behaves very differently from a wall with foil-faced exterior insulation, closed-cell foam, and an impermeable interior finish.
They may look nearly identical once the drywall is installed, but they do not handle moisture the same way.
Before adding another vapor-control layer, look at the whole wall. What type of sheathing is being used? Is there exterior continuous insulation? Is the water-resistive barrier vapor open or highly restrictive? Is there a drainage space behind the siding? What is going on the interior side? Are there any existing membranes, foil facings, polyethylene sheets, vapor-retarder coatings, vinyl wallcoverings, or other low-perm materials?
Climate matters too. A wall in a cold northern climate sees different conditions than a wall in a hot-humid region. Mixed climates may see vapor pressure pushing in opposite directions at different times of the year. Exterior insulation can also keep the sheathing warmer and completely change what is needed on the interior side.
This is why adding polyethylene simply because “that is how walls are done around here” can backfire. The wall may need it, but the foam or exterior layers may already provide enough vapor resistance. Adding another restrictive layer can remove the only useful drying path the wall has left.
The wall does not care how the details were handled twenty years ago. It only cares whether the layers being installed today can manage moisture together.
Unvented Roof Decks and Conditioned Attics
Roof decks are where this conversation gets serious.
When spray foam is installed directly against the underside of the roof sheathing, the attic or rafter cavity becomes part of an unvented roof assembly. At that point, the foam type, roof covering, indoor humidity, climate, and drying strategy all need to work together.
Open-cell foam can provide excellent air sealing while still allowing vapor to pass through it. In a cold climate, interior moisture may move through the foam and reach cold roof sheathing. If that sheathing remains cold for long periods, the moisture can accumulate faster than the roof can dry.
Closed-cell foam provides more resistance to that vapor movement and may protect the roof deck more effectively. But the product still needs to be installed thick enough to provide the required vapor control. The word “closed-cell” by itself does not prove that the installed thickness is sufficient.
In some cold-climate roof assemblies, open-cell foam may need an approved vapor-retarder coating. That coating is not there because open-cell foam is defective. It is there because the assembly needs more vapor resistance than the foam alone provides.
The answer is not to throw polyethylene beneath every foamed roof either. A highly restrictive interior layer may prevent the sheathing from drying inward after a roof leak. If the roofing materials above are also low-perm, the roof deck can end up trapped between two layers with very little drying potential.
That is not extra protection. It is a smaller margin for error.
For a deeper breakdown of that particular issue, see Should You Use Open-Cell Foam on Roof Decks?
Basements and Foundation Walls
Below grade, the first question should not be, “Where does the vapor barrier go?”
It should be, “Why is this wall wet?”
Basement moisture can come from groundwater, poor grading, missing gutters, cracks, capillary movement, humid indoor air, or vapor moving through the concrete itself. Spray foam may be part of a successful insulation system, but it does not repair active leaks or replace proper drainage and waterproofing.
Closed-cell foam installed directly against a suitable foundation wall can provide insulation, air control, and vapor resistance. It can also reduce the chance that warm, humid interior air will reach the cold concrete surface and condense.
The problems often begin when a framed wall is built in front of damp concrete, filled with vapor-permeable insulation, and covered with polyethylene on the room side. Moisture reaches the cold side of the wall, but the interior plastic makes it difficult for that moisture to dry back into the basement. Everything may look fine from the finished side while the hidden side keeps getting wetter.
If the foundation is visibly wet before the crew arrives, insulation is not the first problem that needs solved. Foam should not be sold as a cure for water that is already coming through the wall.
Crawlspaces
Crawlspaces create another common misunderstanding. The foundation walls and rim joists get sprayed, the space looks sealed, and everyone assumes the moisture problem is handled.
Meanwhile, the floor is still dirt.
Foam on the walls does not stop moisture vapor and soil gases from coming through exposed earth. An unvented crawlspace with a dirt floor still generally needs a continuous, properly sealed ground vapor retarder. The seams, penetrations, piers, and perimeter edges all matter.
The wall foam controls the wall. The ground membrane controls the ground. One does not replace the other.
Drainage, plumbing leaks, groundwater, conditioning, and dehumidification also have to be considered. A sealed crawlspace is a complete moisture-management system. It is not simply a foam job with loose plastic tossed over the soil after the crew leaves.
When More Vapor Resistance Becomes a Trap
It is easy to assume that more vapor protection must be better. If one restrictive layer slows moisture, two should slow it even more.
The problem is that moisture does not only enter through vapor diffusion. It can come from a roof leak, wet lumber, failed flashing, damp concrete, plumbing, or construction materials that were enclosed too soon. Once that moisture gets into the assembly, the surrounding materials determine whether it can get back out.
Closed-cell foam paired with interior polyethylene is one example. Closed-cell foam inside a wall with foil-faced exterior insulation is another. A roof may have closed-cell foam beneath the sheathing and a low-perm membrane above it. In an older building, a contractor may spray into an assembly without realizing that plastic, foil, asphalt-coated materials, or other restrictive layers are already buried inside.
Two vapor-restrictive layers do not guarantee failure, but they take away the assembly’s ability to recover when something goes wrong. When a roof leaks or wet framing gets buried, that moisture has fewer ways out. The assembly does not care that it looked perfect on spray day.
The important question is not whether moisture was supposed to get in. The important question is what happens when it does.
“Put It on the Warm Side” Is Not Enough
One of the oldest rules in insulation work is that the vapor barrier belongs on the warm side.
That sounds simple until you ask which side is warm.
In winter, the interior may be warm and the exterior cold. In summer, an air-conditioned interior may be cooler than the hot, humid exterior. Mixed climates can see vapor pressure pushing in different directions throughout the year.
Pools, commercial kitchens, livestock buildings, refrigerated spaces, metal structures, and other high-humidity buildings can create conditions that have very little in common with a typical house.
The correct location for vapor control depends on the climate, indoor humidity, surrounding materials, and overall assembly design. A rule of thumb can be a useful starting point, but it is not a substitute for knowing what you are actually building.
What to Check Before You Bid the Job

A contractor does not need to turn every estimate into a building-science seminar, but there are a few questions that should be answered before promising that the foam “takes care of the vapor barrier.”
Start with the exact foam product. Know the manufacturer, product name, technical data, and tested vapor permeance at the proposed thickness. Do not stop at “open-cell” or “closed-cell.”
Next, look at what you are actually spraying. A roof deck is not a basement wall, and a metal building is not a conventional stud cavity. Those assemblies see different temperatures, different moisture loads, and very different consequences when vapor control is handled poorly.
Then identify what is already on the other side. Roofing membranes, synthetic underlayments, foil facings, adhered housewraps, exterior rigid insulation, polyethylene, vapor-retarder paint, metal skins, and impermeable finishes can all change the drying potential.
Someone should also be able to explain where the assembly is supposed to dry. Is it expected to dry inward, outward, or in both directions? Is one side intentionally vapor restrictive? Has anybody actually thought through what happens after a leak?
Finally, confirm what the plans, product documentation, locally adopted code, and inspector require. The model code is not necessarily the code being enforced in every city or state, and local amendments can change the answer.
These are much easier questions to settle before the rig is parked outside than after the foam is already on the wall.
Vapor Control Belongs in the Bid
Vapor control is not only a building-science issue. It affects the estimate.
The moisture strategy may change the foam product, installed thickness, number of sets, surface preparation, or need for an additional coating. It may add masking, labor, drying time, inspection documentation, another mobilization, or coordination with painters, drywall crews, roofers, or foundation contractors.
Those items cost money. They should not become free additions because someone finally asks about them during the final inspection.
A proposal should make the scope clear. Something as simple as the following can prevent a lot of confusion:
This proposal includes spray polyurethane foam insulation in the areas and thicknesses listed. Any separate vapor-retarder coating, membrane, crawlspace ground cover, waterproofing, drainage correction, or building-assembly redesign is included only where specifically identified in this proposal.
That language does not excuse poor work or remove the contractor’s responsibility for the foam installation. It simply keeps unrelated moisture-control work from being quietly added to the scope after the price has been agreed upon.
When vapor control changes the product, thickness, coating, labor, or sequencing, it changes the bid.
Know When to Slow Down
Some jobs deserve more than a quick rule of thumb. Open-cell foam under a roof deck in a cold climate is one. High-humidity buildings, metal structures without a clear condensation-control plan, damp basement walls, wet framing, and assemblies with several low-perm materials should also get a closer look.
Existing buildings can be especially tricky because membranes and facings may be hidden. A specification that simply says “provide vapor barrier” without identifying the material, class, or location is another sign that the assembly has not been fully thought through.
Those situations do not automatically mean the contractor should walk away. They mean somebody needs to define the assembly. Call the product manufacturer. Ask for the wall or roof detail. Get the architect, builder, or code official involved. Put the answer in writing.
The most dangerous job is not always the unusual one. Sometimes it is the ordinary-looking wall where every trade assumes someone else handled the moisture plan.
Final Thoughts
Spray foam does not always need a separate vapor barrier. Sometimes open-cell foam needs additional vapor control. Sometimes its ability to allow drying is exactly what the assembly needs. Sometimes closed-cell foam provides all the vapor resistance required. Other times, adding it between two already restrictive materials creates a wall or roof with almost no room for error.
There is no universal answer because there is no universal assembly.
Check the foam product. Check the thickness. Look at the climate and every major material on both sides. Find the drying path. Confirm what the plans, product documentation, adopted code, and inspector require.
The real question is not simply whether spray foam needs a vapor barrier. The better question is what that particular assembly needs in order to stay dry.
Because you are not just filling a cavity. You are changing how that wall, roof, basement, or crawlspace handles heat, air, and moisture for the rest of its life.

by Gage Jaeger, Owner and Founder of Foambid
Frequently Asked Questions
Does Closed-Cell Spray Foam Count as a Vapor Barrier?
Closed-cell spray foam may qualify as a vapor retarder at a specified installed thickness. The exact rating varies by product, so the manufacturer’s technical data and evaluation report should be checked rather than assuming every closed-cell foam performs the same way.
Does Open-Cell Spray Foam Need a Vapor Barrier?
Not in every application. Open-cell foam is more vapor permeable and may need additional vapor control in certain climates and assemblies, particularly some unvented roof applications. In other assemblies, its ability to permit drying may be an advantage.
Can You Install Polyethylene Over Spray Foam?
It can be appropriate in certain approved assemblies, but it should not be added automatically. Polyethylene is highly vapor restrictive and may eliminate an important drying path. Whether it belongs depends on the climate, foam product, exterior layers, and locally adopted code.
Does Spray Foam Trap Moisture?
Spray foam does not create moisture, but vapor-restrictive foam can reduce an assembly’s ability to dry. Problems develop when water enters through leaks, damp materials, indoor humidity, or another source and the surrounding layers give it no practical way out.
Does a Spray-Foamed Crawlspace Still Need a Ground Vapor Retarder?
Generally, yes. Foam on the crawlspace walls and rim joists does not prevent moisture from entering through exposed soil. A continuous and properly sealed ground vapor retarder is normally still part of an unvented crawlspace system.
Which Side of the Wall Should the Vapor Barrier Go On?
There is no dependable nationwide answer based only on the inside, outside, or “warm side.” The correct location depends on the climate, wall design, exterior insulation, indoor humidity, surrounding materials, and locally adopted code.