Although there is an extensive body of literature on thin-film coatings for protecting integrated circuits and optical elements such as filters and lenses, there is very little prior art concerning the protection of electrochromic coatings exposed to the environment.