Spray foam is applied to help seal and insulate the crawl space walls. When Closed Cell spray foam is applied at a 1.5-inch thickness it prevents air and vapor from seeping through it, preventing moisture from entering through the porous block walls. Any moisture that would flow through open vents gets sealed off from the crawl space.