In this research, TiO2 nanotube was fabricated on glasses by electrochemistry method, and investigated by transmittance, scanning electron microscopy (SEM), and ultraviolet-visible absorption spectra analyses. Transmittance curves reveal that the transmittance of annealed TiO2 nanotube is about 80%~90%, and is obviously higher than non-annealed TiO2 nanotube. SEM images reveal that the diameter and height of TiO2 nanotube are 70 nm and 230 nm, respectively. The absorption band of annealed TiO2 nanotube is at 330~370 nm. This annealed TiO2 nanotube can be applied on the electrode of dye-sensitized solar cell to increase the contact area between TiO2 and dye, resulting in the enhancement of efficiency for dye-sensitized solar cell.