On average, traditional tank-style water heaters last about 8-12 years, while tankless water heaters can last up to 20 years or more. However, the actual lifespan can vary depending on factors like the quality of the unit, the hardness of your water, and how well the water heater is maintained.