Spray foam insulation. Spray foam insulation is a great choice for insulating your home. A layer of foam is applied directly to your home's roof deck. There are two types of spray foam to choose from: closed-cell and open-cell. Closed cell spray foam provides better insulation, making it the most popular choice. Installation is typically handled by a insulation contractor.