The average lifespan of a storage tank-style water heater is between 8 and 12 years. Tankless water heaters last longer, up to 20 years in some cases. Most modern units have a 6-year warranty. But keep in mind that all of these numbers are estimates and depend on many factors, including the quality of the unit and how it was installed.