Spray foam insulation is made from polyurethane, which expands and hardens to form an insulating barrier.
Insulation typically lasts 20 to 30 years, though some types, like fiberglass and rockwool, can last up to 50 years.
Insulation should face the living space, with the vapor barrier (the paper or foil backing) towards the interior to help control moisture.