The life expectancy of a hot water tank can vary depending on factors such as the quality of the tank, maintenance, and usage. On average, a traditional tank-style water heater can last 8 to 12 years, while tankless water heaters can last 20 years or more. Regular maintenance can help prolong the lifespan of a water heater.