The size and complexity of the roof, the temperature, and the availability of materials are some of the factors that affect how long it takes to construct or replace a roof. An installation of a residential roof typically takes a few days to a few weeks. However, it is best to consult with a roofing contractor who can assess your specific project and provide a more accurate timeline based on the unique requirements and circumstances.