The rim joist is another huge source of energy loss and is often overlooked when it comes to home insulation. At the rim joist, heat is lost by conductive transfer to the outside, and cold air freely enters the basement through joints and other gaps drilled in the sill plate for plumbing, electricity and fuel lines. We used an expanding polyurethane spray foam to seal these areas.