Spray foam vs fiberglass is one of the most common questions on a commercial job, and the answer is simpler than it sounds. Neither one is better across the board. Closed-cell spray foam handles heat, air and vapor in one layer, which pays off on steel decks and anywhere moisture is a risk. Fiberglass hits the same R-value for less in a clean, properly sized cavity you can get to. The part of the building you're insulating decides it, not the product.
What decides it
Most of the back-and-forth ends quickly once you look at the actual surface being insulated. These five things settle it:
- Is the surface smooth and continuous, or full of odd shapes? Foam fits around penetrations, odd angles and gaps. Batts need a clean cavity of the right size.
- Does it need vapor control, or just R-value? This is the one that most often decides between closed-cell foam and everything else.
- Can it dry out if it gets wet, and in which direction? An assembly that can't dry leaves no room for the wrong vapor plan.
- Will anyone need to get into the cavity later? Working behind foam is harder than pulling out a batt.
- Is there a fire or sound requirement? Exposed foam plastic generally needs a thermal or ignition barrier, and blocking sound calls for different materials than holding heat.
Closed-cell spray foam
Closed-cell foam is the only one of the three that handles heat, air movement and vapor in one pass. On an exposed steel roof deck or a metal building wall, where humid air hitting cold steel is the real problem, that combination is what stops condensation instead of just slowing heat. It also stiffens light-gauge steel.
Foam needs a clean, dry, solid surface to stick to, so a leak or a damp deck gets taken care of before it goes on. It also needs fresh air and a waiting period while it's applied and cures, which a busy building plans around. Where it stays exposed, it generally needs a thermal or ignition barrier.
Open-cell spray foam
Open-cell foam fills and seals like closed-cell, but it lets vapor through and has less R-value per inch. Letting vapor through helps in walls that need to dry toward the inside, and it works against you where vapor has to be stopped. It does its best work on interior walls, sound separation between tenants, and odd-shaped cavities inside the building where air sealing matters more than vapor control.
Fiberglass batts and blown fiberglass
Fiberglass is the go-to choice for a framed cavity that's clean, dry, easy to reach and the right size. It hits the R-value target for less, it can come out and go back in for maintenance, and it doesn't need fresh air or a waiting period while it goes in.
It also depends a lot on how it's installed. A batt squeezed into a cavity that's too small, cut short around bracing, or left with gaps at the edges loses a big share of its rated R-value. Fiberglass doesn't stop air movement by itself, so where air leaks are the real problem, it's paired with an air barrier.
Where each one fits, and where it doesn't
- Foam goes on a dry, solid surface. Water getting in is fixed separately.
- Closed-cell foam on a wall that has to dry toward the inside needs the whole assembly checked first.
- Batts alone don't fix air leaks. Fiberglass holds heat, but it isn't an air barrier.
- Open-cell foam doesn't fit where vapor has to be stopped, like the warm side of a cold storage room.
- Foam plastic stays covered wherever the code calls for a thermal or ignition barrier.
Spray foam vs fiberglass, assembly by assembly
The same two products trade places depending on what the assembly has to do. This table is a starting point, not a spec.
| Assembly | Usually the better fit | Why | Watch for |
|---|---|---|---|
| Exposed steel roof deck in a humid climate | Closed-cell foam | Controls vapor and air right at the surface where condensation forms, and sticks directly to the deck | The deck has to be clean and dry, and exposed foam needs a thermal barrier or an approved assembly |
| Metal building roof and walls | Faced blanket or liner system, or closed-cell foam | Systems made for metal buildings handle the squeeze at purlins and girts, which is where R-value gets lost | Insulation squeezed over a purlin performs nothing like the label |
| Clean, properly sized framed cavity | Fiberglass | Hits the same R-value for less in a cavity that's already air sealed and sized for the product | Gaps, squeezing and missed cavities quietly undo the rating |
| Odd-shaped or hard-to-reach cavities | Spray foam | Fits the surface and seals as it fills, where a batt would have to be cut around everything | Room for the sprayer, fresh air, and a waiting period for the space |
| Interior walls for sound | Fiberglass or mineral wool, or open-cell foam | Fibrous insulation in the cavity raises the wall's sound rating at a sensible cost | Insulation alone doesn't stop sound going around the wall |
| Cooler or freezer | Closed-cell foam or a panel system | Vapor control and unbroken coverage decide whether the assembly lasts | The vapor barrier goes on the warm side, and every joint and opening matters |
How cost fits in
Closed-cell foam costs more per square foot than fiberglass at the same R-value, so that's where most comparisons start. The better question is what the assembly needs to do. If the building needs air and vapor control at the same spot, a fiberglass price isn't a fair comparison, because it's buying a different result, and a separate air barrier still has to go in. If it's a clean framed cavity that's already sealed, foam buys performance the building can't use.
Each system also brings its own needs. Foam adds masking, containment, fresh air and a waiting period before people can come back in. Fiberglass depends heavily on fit, so careful installation is what gets you the rated R-value. You can read more in our guide to commercial insulation cost.
Most buildings use more than one
A whole building rarely needs a single product everywhere. A distribution center might take closed-cell foam at the roof deck for condensation, fiberglass in the framed office walls, and open-cell foam around interior walls for sound. Matching each system to its spot keeps you from overspending on the easy areas or coming up short on the hard ones.
Picking the right mix for your building
Vapor, air, fire rules and cost are a lot to weigh, and you don't have to sort it out alone. Give us a call or send the form, and we'll walk through it with you and send you a quote.
Sources
The code, standard and safety details here come from the publishers below. We name each one so you can check it yourself.
- U.S. Department of Energy, Types of Insulation. Reviewed August 2026.
- International Code Council, International Energy Conservation Code, current adopted editions. Reviewed August 2026.
- OSHA, Respiratory Protection. Reviewed August 2026.
Code requirements, product approvals, fire protection details and required R-values vary by jurisdiction, building use and project. Your design team and local building official confirm what applies.






