This allows it to retain heat much better than hard flooring ... Before installing carpets — or any other type of flooring in your attic — be sure to check local building regulations.