2lbs density polyurethane spray foam is ideal for insulating rim joists. This provides a uniform seal, air barrier and after two inches, a vapor barrier. Latest job done just outside of Moncton for this particular application in the Scoudouc industrial park at the new bumper shop.