A vapor barrier is a defined number, not a sales word. The International Residential Code sorts materials into three classes by permeance: Class I at 0.1 perm or less, Class II above 0.1 and up to 1.0 perm, Class III above 1.0 perm (DOE Building Energy Codes, vapor barriers). Nothing an insulation crew sprays in an attic reaches Class I. Here is what the published data actually says, assembled from the documents rather than from the sales sheet.

Material, at the stated thicknessWater vapor permeanceClass, and what the code does with it
Closed-cell foam at 1 inch0.8 perms, ASTM E-96Class II retarder (Carlisle Closed Cell)
Closed-cell foam at 3.5 inches0.23 perms, ASTM E-96Still Class II, never Class I (same data sheet)
Closed-cell foam, air permeance at 1 inchUnder 0.02 L/s-m2, ASTM E-2178Air impermeable, which is the property the attic code turns on (IRC R806.5 summary)
Open-cell foam at the roof deckVapor openNo vapor control, and a Class II coating is required only in zones 5 to 8 (Building America)
Polyethylene sheeting on the attic floor0.1 perm or lessClass I, and prohibited in an unvented attic assembly (class definitions)

Why the thing people shop for is the wrong label

The federal building science primer calls the term a mistake in print. Its wording: most materials, even glass, are unable to completely stop vapor diffusion, so calling something a vapor barrier is a bit of a wrong label, and typical building codes consider a material a vapor retarder if it has a perm rating of 1.0 or less (Building America, moisture flow). Retarder, not barrier. The difference is not pedantry, it decides what the foam is responsible for and what it is not.

Four mechanisms move water into a roof assembly, and vapor is the slowest. The same primer lists them: bulk water from rain or groundwater, capillary action, air transported moisture, and vapor diffusion (four transport mechanisms). Air transported moisture is water vapor hitchhiking on air through holes, and in a Gulf Coast attic it is the one that does damage. Closed-cell foam is excellent at that job, testing air impermeable under ASTM E-2178 at 1 inch (product data). It is mediocre at vapor by comparison and useless against bulk water, because nothing sprayed under a deck stops a roof leak.

In Climate Zone 2A the vapor layer is not what you are buying

Code asks for the vapor retarder in cold climates, and Southwest Louisiana is not one. IRC Section R806.5 attaches its vapor condition to a specific list: in Climate Zones 5, 6, 7 and 8, any air-impermeable insulation shall be a Class II vapor retarder or carry a Class II coating in contact with its underside (R806.5 conditions). Zone 2A appears nowhere in that sentence. The energy code guidance is blunter still: no vapor barrier is required for mild or hot climates, and building code requires them in colder climates, zones 5 through 8 (DOE).

The code actually forbids what most people picture when they say moisture barrier. R806.5 permits an unvented attic only if interior Class I vapor retarders, plastic sheeting being the example the code names, are not installed on the ceiling side of the assembly (unvented attic conditions). Stapling poly across the attic floor under new foam is not extra insurance. It is the one thing the assembly is not allowed to have, because it traps the drying path the roof deck needs.

That changes which line items are worth paying for. Published 2026 ranges put open-cell at $0.44 to $0.65 per board foot and closed-cell at $1 to $1.50 per board foot, with a separate vapor barrier, where code requires one, adding $0.65 to $1 per square foot (Bob Vila, 2026). In Zone 2A that third line is not a code requirement, so an attic quote that carries it is selling a cold-climate detail into a hot-humid parish.

The hazard window is wet wood, not humid air

One number decides whether a retrofit is safe, and it is measured on spray day. Modeling sponsored by the DOE Building America program and run by Building Science Corporation found that even with rainfall leaks of up to 1% through the roof sheathing, or initial moisture content of the wood framing and sheathing of up to 18%, roofs insulated with open-cell or closed-cell foam could dry out sufficiently on a seasonal basis. Damage could occur where wood moisture content was above 18% (Building America research summary).

So the question to ask an installer is a meter reading, not a reassurance. That threshold is the whole decision on a Southwest Louisiana retrofit, where a lot of decking has been rained on since the 2020 storms and a lot of it was replaced in a hurry. A meter goes on the framing and the sheathing before the gun does, and a reading above 18% means the attic dries first and sprays second. Foam over damp sheathing does not create water, it removes the drying path that was keeping the number falling.

Unvented roofs are not an experiment. Spray foam applied to the underside of the roof deck has been in use since the mid-1990s, in open-cell and closed-cell form, across every climate zone (Building America guide). The failures that make the rounds online are installation failures with named causes, which is a different claim from the assembly being unsound.

What high humidity in a spray foam attic is telling you

An unvented attic is inside the house, so it should read like the house. The first condition in R806.5 is that the unvented attic space sits completely within the building thermal envelope (R806.5, condition one). The EPA target for the conditioned space it now belongs to is indoor humidity below 60 percent, ideally between 30 and 50 percent relative humidity (EPA, mold and moisture). An attic sitting at 70 percent after a foam job is reporting that it never actually joined the conditioned space.

Four causes, in the order worth checking. No supply or return was extended into the newly conditioned attic, so the space has no air exchange with the house. The air conditioner is oversized, short-cycles, and never runs long enough to pull latent load out of the air. A return or supply duct leaks into the attic. Or a roof or condensate leak was never fixed, and the foam now hides the stain that used to be the early warning.

Most of the advice online was written for a different climate. The guidance that spray-foamed roofs need interior humidity held down is real, and it is scoped: Building Science Corporation recommends winter-time relative humidity in homes located in Climate Zones 6, 7 or 8 be maintained below 35% (cold climate recommendation). The Lake Charles problem is the reverse season and the reverse direction: summer latent load pushing in, not winter vapor pushing out.

So can spray foam cause moisture problems

Yes, in three specific ways, and vapor drive through cured foam is not one of them. First, foam sprayed over sheathing above 18% moisture content, which removes the drying path at the worst moment. Second, open-cell at the roof deck without the Class II coating the code requires in zones 5 through 8, which is a real failure mode in Minnesota and not a Zone 2A condition. Third, a bulk water leak under foam that is not a water barrier and never claimed to be, where the only thing that changed is how long it takes anyone to notice.

One date worth flagging. The Building America guidance above summarizes the 2018 IRC, while Louisiana enforces the 2021 code statewide for residential and commercial work (Building Energy Codes Program, Louisiana). The R806.5 conditions quoted here carry forward in substance. Where a figure in this guide comes from a model or a single manufacturer data sheet, it is labeled that way, because another product will test differently and the spec sheet for the foam actually going into the attic is the one that governs.

What to ask for before you sign

Ask for the moisture reading, in writing. A number on the quote, taken at the deck, below 18%. Ask which foam and why, stated in perms rather than adjectives, and ask for the data sheet. Ask how the attic becomes conditioned space, specifically which register or return gets extended, because the assembly does not work without it. Ask what happens to the duct system that is currently sitting in a 130 degree attic. And ask what the plan is if the deck reads wet on the day.

The two foam types answer these questions differently, which is the real decision underneath the moisture question: closed-cell spray foam buys the vapor class and the air seal in one pass, while open-cell spray foam is the cheaper air seal that leaves the assembly vapor open, which Zone 2A permits at the deck. For the attic itself see attic spray foam insulation, and if the humidity is coming up from below rather than down from the roof, the answer is crawl space encapsulation.