The lifespan of a data center ranges from 20 to 50 or more years, although the internal IT hardware is replaced much sooner and has a shorter lifespan of around 3 to 5 years.
The actual data center building has a life of around 30 to 50 or more years, and some accounting schedules also depreciate buildings up to 40 years, while the structural shells of the data center building can last much longer.
The cooling units, electrical distribution boards, and generators often last 10 to 30 years for a data center, depending on the maintenance and upgrades that are done.
For the servers and the IT hardware these things are often kept for 3 to 5 years, before they are replaced and around 41 months on average as new faster chips and higher AI power demands make the older servers and IT hardware outdated.
The actual data center facility can be physically usable for 20 to 30 years, although it's economically productive life often caps out around 10 to 15 years if retrofitting any new power and cooling for newer workloads becomes too costly for the data center.
Also newer AI workloads for data centers now require much more power and cooling capacity than the older layouts in data centers that were built for non AI, which push data center operators to refresh their data center hardware faster or even remodel the data centers.
Regular upkeep of the data center and equipment also extends the life of the data center and it's components.
And short colocation leases like 5 year leases don't mean that the data center facility shuts down, as another tenant will take over the space in the data center that was colocated.
Data centers generally run and operate for 15 years to 30 or more years, instead of closing after a 5 year lease, relying on equipment replacements to keep them operating.
Many data center buildings will remain operating for several years even when new equipment is being installed and the data center being upgraded or remodeled.
Data centers are costly and time consuming to build and plan and get online so they operate for many years before they would actually shut down completely for a new data center.