Photoelectrochemical applications for a corrosion prevention of stainless steel using solar energy to minimize the losses cause by corrosion and to increase the economic value, become interesting topic recently. In this study, TiO 2 nanotube (TiO 2 NT) were synthesized by anodizing method to maximize its activity for corrosion prevention performance under UV light exposure. The TiO 2 NT films were synthesized by anodization of titanium metal in electrolyte containing water, glycerol and fluoride ion, followed by calcination at 500 oC. Variation of anodizing voltage and calcination temperature were conducted to obtain a good TiO 2 NT films. The produced TiO 2 NT films were characterized by SEM, XRD, Surface Area Analyzer and electrochemical work station. The results showed that typically a highly ordered TiO 2 NT with mostly anatase phase and having mesoporous character were obtained. During corrosion test, it was observed that the photopotential Misriyani et al shifted to the more negative value ie from-0,332 V to-0,440 V for stainless steel coupled with TiO 2 NT films. This result indicated that the TiO 2 NT, which was arranged in a photo-electrochemical manner, could prevent the corrosion of stainless steel.