Tank water heaters last between 8 and 12 years on average, while tankless hot water heaters can last for up to 20 years.