1 Why this measure earns its place
Spray foam in wall cavities addresses two of the biggest drivers of heat loss and gain at once: missing insulation and air leakage. In many homes, wall cavities are either empty, partially filled, or filled with a material that has settled or was never installed to full depth. Even when insulation is present, gaps around outlets, top plates, and framing members let air move through the assembly. Spray foam expands to fill those irregular spaces, creating a continuous layer that resists both conductive and convective heat flow. That combination can make a noticeable difference in rooms that are drafty or hard to keep comfortable.
The appeal is not just thermal performance. By sealing the cavity, spray foam can reduce the movement of humid indoor air into the wall, where it might otherwise condense on cold surfaces. That said, the same sealing power means moisture management must be planned deliberately. Walls need a way to dry, and mechanical ventilation may need to be adjusted to maintain indoor air quality. When those details are handled, spray foam can be a durable, low-maintenance part of a high-performance envelope. It is not a universal fix, but in the right wall assembly it earns its place by making the whole system work better together.
2 Reading the assembly: where it sits
In a typical wood-framed wall, the cavity sits between the exterior sheathing and the interior drywall. The insulation fills that space, and its performance depends on how well it contacts the sheathing, the studs, and the top and bottom plates. Spray foam is applied directly into the cavity, where it expands to fill voids and bond to the surrounding surfaces. In a closed-cell application, the foam also acts as a vapor retarder at a certain thickness, which changes how the wall handles moisture. In an open-cell application, the foam is vapor-permeable and allows some drying inward, but it is not an air barrier on its own unless applied at sufficient thickness.
Where the wall meets the floor or ceiling, the rim joist area is often a major leak site. Spray foam can be used there as well, but the geometry and access differ from a flat wall cavity. The assembly also includes the exterior cladding, sheathing, and any weather-resistive barrier, all of which influence how water and vapor move. Before choosing a foam type, it helps to understand the wall's drying potential: which side is warmer in winter, whether there is a vapor retarder on the interior, and how the exterior is detailed. The foam is only one layer, and its success depends on the layers around it.
3 Materials and rated R-values
Closed-cell spray foam is a two-component material that expands into a rigid, dense foam. Its rated R-value is typically between R-6 and R-7 per inch, and it also provides a strong air barrier and a moderate vapor retarder at thicknesses common in wall cavities. Because it is dense, it adds some structural rigidity to the assembly, though it should not be relied on for structural support. Open-cell spray foam is lighter and more flexible, with an R-value of roughly R-3.5 to R-4.5 per inch. It fills cavities well and is vapor-permeable, but it is not a vapor retarder and does not block air movement as effectively unless applied at greater thickness.
The choice between them often comes down to the target R-value and the available cavity depth. A 2x4 wall provides about 3.5 inches of depth, so closed-cell foam can reach roughly R-21 to R-24, while open-cell foam might reach R-12 to R-16. A 2x6 wall offers about 5.5 inches, allowing higher values. In cold climates, closed-cell foam is often chosen for its higher R-value per inch and its ability to control vapor at the interior surface. In mixed or warm climates, open-cell foam may be sufficient and can allow the wall to dry inward. Neither material is inherently better; the right choice depends on the assembly, the climate, and the moisture control strategy.
4 What the work actually costs
Installed costs for spray foam in wall cavities vary widely by region, access, and thickness. As a broad range, open-cell foam might cost between $1.50 and $3.50 per square foot, while closed-cell foam might run from $2.50 to $5.50 per square foot. These figures typically include labor, equipment, and material, but they can rise if the walls are finished and need to be opened, if there are many obstructions, or if the job requires extensive preparation. For a typical 1,500-square-foot home with about 1,000 square feet of exterior wall area, a full cavity fill could range from a few thousand dollars to well over ten thousand, depending on the foam type and thickness.
It is important to get multiple quotes and to ask what is included: masking and protection, trimming, cleanup, and any necessary ventilation or moisture control measures. Some contractors may also recommend a combination of materials, such as closed-cell foam in the rim joist and open-cell foam in the field of the wall. Costs can also be affected by the need for a thermal barrier, such as drywall, which must cover the foam in living spaces for fire safety. Do not treat any estimate as a promise of savings; the actual effect on energy bills depends on your climate, your existing insulation, and how your home is used. Think of the cost as an investment in comfort and durability, with energy savings as a secondary benefit.
5 How the savings tend to show up
The energy savings from spray foam in walls usually show up as a reduction in heating and cooling demand, but the size of that reduction depends on what was there before. If a wall was completely uninsulated, the change can be significant. If it had moderate insulation but lots of air leakage, the air sealing effect may be the larger contributor. In general, homeowners might see a reduction in heating and cooling costs in the range of 10 to 25 percent compared with an uninsulated or poorly sealed wall, though this is not a guarantee. The savings often appear first as improved comfort: fewer drafts, more stable room temperatures, and less noise from outside.
In some homes, the savings may be partially offset by changes in how the house operates. A tighter wall can reduce natural infiltration, which means mechanical ventilation may need to run more to maintain indoor air quality. That can add a small electrical load. In cooling-dominated climates, the benefit may be more about reducing heat gain and peak demand than about annual cost. It is also worth noting that spray foam is not a substitute for attic insulation, window upgrades, or air sealing in other areas. The wall is one part of the envelope, and the savings tend to be cumulative. A home energy assessment can help you understand where the biggest opportunities are before you commit to a wall project.
6 Moisture, air, and mistakes that undo it
Moisture is the most common reason spray foam projects fail to deliver. Closed-cell foam can act as a vapor retarder, which means it can trap moisture against the sheathing if the wall gets wet from the outside. If the exterior has a history of leaks or if the cladding is not properly detailed, that moisture may not be able to dry inward. Open-cell foam is more forgiving because it allows some drying, but it can still hold water if the wall is persistently wet. In either case, the assembly must be designed to manage water: proper flashing, drainage planes, and interior vapor control are all part of the system. A wall that cannot dry is a wall that will eventually have problems.
Air sealing is another area where mistakes happen. Spray foam must bond to the framing and sheathing to be an effective air barrier. If the cavity is dirty, wet, or too cold, the foam may not adhere properly, leaving gaps. Overfilling can also cause the foam to push out drywall or distort the wall. In some cases, the foam can shrink slightly as it cures, creating small gaps at the edges. These are not always visible, but they can undermine performance. Finally, safety matters: spray foam chemicals require proper personal protective equipment and ventilation during installation, and the cured foam must be covered with a thermal barrier in occupied spaces. Skipping these steps can create health and fire risks that outweigh any energy benefit.
7 Doing it yourself or calling a crew
Spray foam is not a typical do-it-yourself project. The two-component kits sold for small jobs can work for sealing rim joists or small gaps, but they are not practical for filling entire wall cavities. The equipment, mixing, and application technique required for a uniform, properly bonded layer are best handled by trained professionals. Mistakes can be costly: poor mixing can leave sticky, non-curing foam, and improper thickness can fail to meet the intended R-value or vapor control. If you are handy, you can prepare the area by removing obstructions, sealing obvious air leaks with caulk or canned foam, and ensuring the cavity is clean and dry. You can also handle the thermal barrier and finish work after the foam is installed.
Hiring a crew means you should vet them carefully. Ask about their experience with your specific wall assembly and climate, and request references for similar projects. Confirm that they will follow the manufacturer's instructions for temperature and thickness, and that they will protect your home from overspray. A good contractor will also discuss moisture management and ventilation with you, not just the foam. In some cases, a home energy assessor can help you decide whether spray foam is the right choice or whether other measures, such as dense-pack cellulose or exterior insulation, might be more appropriate. The goal is a durable, comfortable, and safe wall, and that requires a team effort between you and the installer.