In this study, we used secondary anodization to prepare open-end TiO 2 nanotube arrays and then transferred them to fluorine-doped tin oxide (FTO) glass attached to front-illuminated dye-sensitized solar cells (DSSCs). X-ray diffraction (XRD) patterns found that TiO 2 nanotubes form the anatase phase when the annealing temperature is greater than 280 °C. The best annealing temperature for TiO 2 nanotubes is 450 °C. From field-emission scanning electron microscopy (FE-SEM) analysis, the lengths of TiO 2 nanotubes were 15, 21, and 28 μm when anodized for 2, 3, and 4 h, respectively. The conversion efficiency for different lengths of TiO 2 nanotube photoelectrodes was 4.82, 5.08, and 4.85% for lengths of 15, 21, and 28 μm, respectively. From the results of electrochemistry impedance spectroscopy (EIS), the value of R k was 5.4, 5.5, and 5.4 Ω for lengths of TiO 2 nanotubes of 15, 21, and 28 μm, respectively. These results indicate that the electron recombination rates for different lengths of TiO 2 nanotubes are nearly identical. In addition, the value of R d ware 8.6, 7.2, and 8.5 Ω for lengths of TiO 2 nanotubes of 15, 21, and 28 μm, respectively. This result reveals that overlong TiO 2 nanotubes make it difficult for the I 3 − anion to diffuse to the counter electrode, resulting in an increase in diffusion transfer resistance R d and a decrease in conversion efficiency of the DSSCs. In general, the open-end TiO 2 nanotubes attached to front-illuminated DSSCs have a better conversion efficiency for DSSCs than those with backside illumination, and the best conversion efficiency for DSSCs is 5.08% when the length of the TiO 2 nanotubes is 21 μm.