Spray Foam vs. Fiberglass Batts: Which Is Better for Air Sealing?
Spray foam is better for air sealing because it can be the air barrier itself; fiberglass batts only work well for air leakage after you seal the assembly first. Poor air sealing lets conditioned air escape, pulls in outdoor air, and raises heating and cooling bills while also increasing moisture problems inside wall, attic, and rim-joist cavities. This guide compares spray foam and batts by assembly, including where each fits, how moisture changes the choice, and how installed cost usually lands.
| Decision factor | Spray foam | fiberglass batts | Winner |
|---|---|---|---|
| Air sealing | Can be the air barrier itself when installed to the right thickness | Needs a separate air sealing pass | Spray foam |
| R-value per inch | Closed-cell: about R-6 to R-7 per inch; open-cell: about R-3.5 to R-4.0 per inch | About R-3 to R-4 per inch | Spray foam |
| Moisture control | Closed-cell can act as a vapor retarder at about 2 inches; open-cell often needs a separate vapor retarder | Usually needs a separate vapor retarder or smart membrane in some assemblies | Spray foam |
| Installed cost | Higher labor and material cost; closed-cell pro cost is shown at $3.00 to $5.00 per sq ft | Fiberglass batt DIY cost is shown at $0.50 to $1.00 per sq ft | fiberglass batts |
| Best fit in tight cavities | Works where space is limited and the assembly needs an air barrier | Can fit, but does not solve leakage by itself | Spray foam |
Spray foam vs. fiberglass batts: the basic trade-off
The trade-off is simple. Spray foam and fiberglass are not interchangeable. Foam can make insulation and air barrier one layer, while fiberglass requires a separate sealing strategy before the batt can do its thermal job well.
That difference matters more than the label on the package. R-value only works when still air stays still, and fiberglass batts can leave pathways for air to move through if the framing plane is leaky or the batt is compressed.
Air sealing versus thermal resistance
Air sealing limits drafts, reduces temperature swings, and cuts moisture carried by moving air. Thermal resistance slows heat flow, but it does not stop air movement through gaps, seams, and penetrations.
Closed-cell spray foam is listed at about R-6.0 to R-7.0 per inch. Open-cell spray foam is listed at about R-3.5 to R-4.0 per inch, and fiberglass batts are shown at about R-2.9 to R-3.8 per inch.
Why assembly location changes the answer
Some assemblies need an air barrier at the material layer itself because there is little room for separate detailing. Rim joists, cathedral ceilings, and below-grade walls are common examples.
Other assemblies can be made to work with batts if you seal the framing plane first. An attic floor with careful air sealing is the clearest case, because the insulation can then sit over a continuous barrier instead of trying to act as one.
What the comparison table should settle
The table should answer three questions: where does the air barrier live, how much thickness is available, and how much moisture risk exists. If the answer is “the insulation must also be the air barrier,” foam wins. If the answer is “the air barrier is already continuous,” batts can be a sensible choice.
Which insulation seals best by assembly?
This decision matrix is the shortest way to match material to location. It assumes the goal is air sealing plus insulation, not insulation alone.

| Assembly | Air-sealing ability | Moisture risk | Thickness limits | Cost tier | Best-use recommendation |
|---|---|---|---|---|---|
| Rim joist | Spray foam can seal the cracks, seams, and band-joist transitions | Moderate to high in cold or humid basements | Space is usually shallow and irregular | High | Spray foam |
| Attic floor | Good if the plane is sealed first | Moderate if bath fans, wiring, or can lights leak upward | Usually generous depth for insulation | Low to medium | fiberglass batts only after air sealing; loose fill often fits better |
| Cathedral ceiling | Needs a continuous air barrier in a compact cavity | Higher if indoor moisture can reach cold sheathing | Very limited | High | Spray foam |
| 2×4 wall | Batts do not stop air leaks by themselves | Moderate if wind washing or leakage reaches the cavity | Shallow cavity limits total R-value | Low for batts, high for foam | Spray foam if you need air sealing; batts if the plane is already sealed |
| 2×6 wall | Good with either material only if the air barrier is continuous | Moderate, depending on climate and siding details | More room than a 2×4 wall | Medium | fiberglass batts when the wall is already sealed; foam when leakage control matters more |
| Basement wall | Foam seals against concrete irregularities better | Higher because of damp concrete and condensation risk | Often space-limited at ledges and obstructions | High | Spray foam |
| Crawl space | Foam handles rim edges and awkward transitions well | Higher if ground moisture or cold surfaces are present | Access and clearance are often limited | High | Spray foam |
Rim joist
Rim joists are a high-leakage framing area. Spray foam is often the better air-sealing choice because it can bridge framing joints, wood irregularities, and small penetrations in one pass.
Fiberglass batts are hard to detail well here. Even if you fit them into the cavity, they do not stop leakage through the framing plane unless you seal that plane first.
Attic floor
An attic floor works best when the ceiling plane is sealed before insulation is added. That means sealing around top plates, wiring holes, plumbing chases, and light fixtures first.
After that, fiberglass batts can work if installed without gaps or compression, although deep loose fill is often the more forgiving choice. Without that sealing step, the batts are insulating a leaky assembly.
Cathedral ceiling
A cathedral ceiling usually gives you limited depth and a lot of downside if warm indoor air reaches a cold roof deck. That is why a continuous air barrier and high R-value per inch matter so much here.
Closed-cell foam fits well when space is tight. Open-cell foam can also work if it is installed to the needed thickness and paired with the right vapor control for the climate zone.
2×4 wall
A 2×4 wall leaves little room for extra layers. That makes fiberglass less forgiving, because the cavity can fill quickly and any gaps matter more.
Spray foam is the stronger choice when you need both air sealing and insulation in a shallow cavity. Fiberglass batts can still work if the wall already has a continuous air barrier and the cavity is dry.
2×6 wall
A 2×6 wall gives you more thickness, so fiberglass has a better chance to perform well if the assembly is already sealed. It is still a batt, though, so the separate air sealing step remains necessary.
Use spray foam here when leakage control, condensation control, or compact design matters more than first cost. Use batts when the air barrier is already in place and you want a lower installed price.
Basement wall
Below-grade walls often have cold concrete, small irregularities, and some moisture exposure. Closed-cell spray foam is common here because it insulates and seals at the same time, while also helping reduce the need for a separate vapor retarder in some cases.
Fiberglass batts are a poor fit if the wall can see dampness or air movement. If the wall is framed and sealed carefully, batts can be part of a dry, protected assembly, but they are less forgiving than foam.
Crawl space
Crawl spaces often combine low clearance, awkward transitions, and moisture exposure. That is a difficult combination for fiberglass because any air movement can reduce its effective performance.
Spray foam is usually the stronger air-sealing choice at crawl-space walls and rim areas. Closed-cell foam is especially useful where space is limited and moisture risk is part of the design problem.
Does fiberglass stop air leaks?
Fiberglass batts do not stop air leaks by themselves. They can slow heat loss through still air, but they still need a separate air sealing pass because the material can leave pathways for air to move through.
If the wall, ceiling, or floor plane is already continuous, fiberglass can perform much better. If the framing plane is leaky, the batt becomes a thermal layer on top of an airflow problem.
Where batts fail without separate air sealing
Failures usually show up at seams, plumbing holes, electrical penetrations, attic bypasses, and odd framing details. The batt may look full, yet the cavity can still leak through the surrounding structure.
Compression is another problem. A squeezed batt loses thickness, which lowers R-value, and it can create voids that let air move around the insulation rather than through still air inside it.
How gaps, compression, and wind washing reduce performance
Gaps turn insulated cavities into mixed air channels. Compression lowers the thickness that the labeled R-value depends on, which weakens the thermal result even if the batt appears neatly installed.
Wind washing is common near attic eaves and other exposed edges. Moving air strips away the still air that fiberglass depends on, so the assembly performs worse than the label suggests.
What a sealed framing plane changes
Once the framing plane is sealed, fiberglass can do what it does best: provide thermal resistance at a lower installed cost. The batt is then insulated within a controlled cavity, not asked to solve leakage on its own.
That is why an attic floor can be a good batt assembly after sealing. The same logic applies to walls that already have a continuous interior or exterior air barrier.
How do open-cell and closed-cell foam compare?
Open-cell and closed-cell spray foam both air seal when installed to the right thickness, but they are not the same product. Closed-cell is denser, has a higher R-value per inch, and can serve as a vapor retarder at about 2 inches. Open-cell is softer and lighter, and it reaches air-barrier performance at 3.75 inches.

That means the best choice depends on cavity depth, moisture risk, and the need for vapor control. The right foam for a roofline is not always the right foam for a basement wall.
R-value per inch
Closed-cell foam gives more thermal resistance in less space. That is why it gets used where every inch counts, such as rim joists, tight roof cavities, and some below-grade assemblies.
Open-cell foam still outperforms fiberglass per inch, but it does not deliver the same compact R-value. If thickness is not limited, it can still be a good air-sealing material in the right assembly.
Air-barrier thickness requirements
Closed-cell foam provides an air barrier at just 1 inch thickness. Open-cell foam needs 3.75 inches to reach air-barrier performance.
That difference matters in shallow cavities. If you cannot fit the needed open-cell thickness, the foam may still insulate, but it will not complete the air-sealing job by itself.
Vapor control and moisture risk
Closed-cell foam can reduce vapor flow, which helps in assemblies that face condensation risk. That does not mean every wall or roof can skip vapor control, but it can reduce the need for a separate layer in some cases.
Open-cell foam is more vapor-open and often needs a separate vapor retarder in many assemblies. That is a planning issue, not a flaw, but it has to match the climate and the rest of the wall or roof design.
Where each foam fits best
Choose closed-cell when space is tight, moisture control matters, or you need the air barrier with minimal thickness. Choose open-cell when you need air sealing in a larger cavity and can add the right vapor control layer.
Both are better air-sealing materials than fiberglass batts. The difference is where each one fits and what extra layers the assembly still needs.
Choose spray foam if… / Choose fiberglass batts if…
Choose spray foam when the assembly itself needs to become the air barrier, when thickness is limited, or when moisture and condensation risk are part of the problem. Choose fiberglass batts when the air barrier is already continuous and the cavity can hold full-depth insulation without leakage paths.
Choose spray foam if…
- You are insulating a rim joist, crawl-space wall, or basement wall with irregular framing.
- You need a compact assembly in a cathedral ceiling or shallow cavity.
- You want the insulation layer to double as the air barrier.
- You need extra vapor control in a cold or moisture-sensitive assembly.
Choose fiberglass batts if…
- The attic floor, wall, or ceiling plane is already sealed.
- You want the lower installed-cost option and can keep the batt full depth.
- The cavity is dry, accessible, and easy to detail without compression.
- You are pairing batts with a separate air-sealing strategy or a hybrid assembly.
Say your attic floor is already sealed at every top plate, wire hole, and can-light opening. In that case, fiberglass batts can work well over the sealed plane because the batt is no longer being asked to stop air movement.
Suppose a 2×4 band-joist area above an unfinished basement has gaps, small pipes, and no room for a separate membrane. Closed-cell spray foam fits that situation better because it seals the space while adding insulation and moisture resistance in one layer.
What does moisture change?

Moisture changes the choice because wet insulation performs worse, and warm indoor air can carry moisture into cold parts of the assembly. Once that moisture reaches a cold surface, condensation can form and the insulation may lose performance.
That risk is higher in cold climates, in below-grade assemblies, and anywhere the air barrier is weak. A material that seals well is not just about comfort; it also helps keep indoor moisture where it belongs.
Condensation risk in cold assemblies
Cold sheathing and cold concrete are the main concern. If warm air reaches them through leaks, the assembly can see condensation, staining, or damp insulation over time.
Closed-cell foam is often used where that risk is high because it seals and resists vapor flow better than fiberglass. Open-cell foam can still work, but many assemblies need an added vapor retarder or smart membrane.
Wet insulation and lost performance
Fiberglass loses performance quickly if it gets damp or if moving air passes through it. The batt may still be there, but its real-world thermal effect drops when the cavity is no longer full of still air.
That is why moisture clues matter. Staining, musty odors, or repeated winter condensation are signs to look hard at air leakage and vapor control, not just at thickness.
Vapor retarder needs by assembly and climate
Some fiberglass assemblies need a separate vapor retarder, especially in cold conditions. Open-cell foam often needs one as well, depending on the assembly and climate.
Closed-cell foam can reduce the need for a separate layer in some cases, but it does not remove the need to plan the whole assembly. The wall or roof still has to dry in the right direction.
How much does closed-cell spray foam cost compared with fiberglass batts?
Installed cost is the biggest reason batts remain popular. The sourced price points show fiberglass batt DIY cost at $0.50 to $1.00 per sq ft, while closed-cell spray foam pro cost is shown at $3.00 to $5.00 per sq ft.
That gap is real, but it is not the whole story. Labor complexity, cavity depth, access, and the need for extra air sealing can narrow the difference in some assemblies and widen it in others.
Why installed cost depends on the assembly
A simple open wall costs less to insulate than a rim joist or crawl space. Foam crews need access, setup time, and careful detailing, so awkward areas push the price higher.
Batts are cheaper when the framing is regular and the air barrier is already in place. If the assembly needs separate sealing work first, the total cost picture changes.
When is spray foam worth the extra cost over batts?
Spray foam is worth the premium when the cavity is hard to air seal, space is tight, or moisture risk is high. It is also a stronger choice when the insulation must serve as the air barrier and there is no clean place for a separate sealing layer.
Batts are the better value when the assembly is already sealed and the cavity can take full-thickness insulation without compression. In that case, the lower material cost actually buys the intended performance.
Frequently asked questions
Is spray foam better than fiberglass batts for air sealing?
Yes. Spray foam is better for air sealing because it can become the air barrier itself when installed at the right thickness. Fiberglass batts need a separate air sealing step, so the batt alone does not solve leakage through the framing plane.
Does fiberglass batt insulation stop air leaks at all?
No, not on its own. Fiberglass batts can slow heat flow, but they still leave pathways for air to move through unless you seal the assembly first. If gaps, penetrations, or compressions remain, the cavity still leaks.
Do open-cell and closed-cell spray foam air seal differently?
Yes. Closed-cell spray foam provides an air barrier at just 1 inch thickness, while open-cell spray foam reaches air-barrier thickness at 3.75 inches. Closed-cell also delivers more R-value per inch, so it fits better where space is tight.
Can you use fiberglass batts in an attic if you air seal first?
Yes. An attic floor can work well with fiberglass batts after the ceiling plane is sealed at penetrations, top plates, and bypasses. Once the air barrier is continuous, the batt can do its thermal job without being asked to stop leakage.
Which insulation is better for rim joists and cathedral ceilings?
Spray foam is usually better for both. Rim joists are difficult to seal neatly with batts, and cathedral ceilings often need high R-value per inch plus an integrated air barrier. Those two assemblies are common spray foam applications for that reason.
What happens if fiberglass gets air movement or moisture?
Its performance drops. Air movement can carry heat through the cavity and reduce the benefit of the batt, while moisture can lower insulation performance and create condensation issues. That is why air sealing and vapor control matter so much with fiberglass.
Sponsored / affiliate links. As an Amazon Associate I earn from qualifying purchases. I may earn additional commission from eligible campaigns.

