Closed-cell spray foam is dense and rigid. It resists moisture movement and adds strength to the surface it is applied to. It takes up less space, which makes it useful in tight areas. The material cost is higher, but it is often chosen when moisture control, durability, and performance are the priority.