TiO2 nanotubes (TNTs) and bamboo-type TNTs structure films were synthesized via anodization from sputtered titanium (Ti) films on indium tin oxide (ITO) glass. Herein, the anodization process was adjusted electrolyte with different amounts of deionized water and ethylene glycol. The optical and structural properties of all films before and after annealing were investigated, which affected electrochromic application. The increasing deionized water content in electrolytes resulted in an increase in the average diameter and a decrease in the average length of TNTs. Furthermore, the bamboo-type TNTs structure was produced at the deionized water volume condition of 3 vol%. The crystallite size of annealed TNTs (a-TNTs) was calculated from the Scherrer equation, which was enhanced when increasing deionized water. TNTs conditions before annealing showed that the amorphous structure and high energy band gap (Eg) exhibited more electrochromic phenomena than the crystal structure. Due to the disordered arrangement of structures, it was easy to insert ions in TNTs. The bamboo-like structure with separate tubes increased the surface area of the reaction, thus exhibiting the best electrochromic properties with ΔT equal to 12.58%.