There are a lot of factors that go into how long a roof will last. While most roofs have a warranty, this doesn’t mean that your roof will necessarily go this long without needing to be replaced. Some will wear out faster due to severe weather and environmental conditions, while others could last longer.
Most roofs, however, are designed to last between 15 and 25 years; some types of slate and metal roofs could last longer. According to Bob Vila, asphalt shingle roofs have a warranty typically up to 25 years. You also may get different estimates from different residential roofing companies.