The anodic titanium dioxide (TiO2) films for photocatalyst were prepared by anodization in acid solution. The characteristics of surface layer and the photocatalytic efficiency of the anodic film have been investigated. The chemical states of anodic film were analyzed using XPS, and the photocatalytic efficiency was evaluated by the degradation rate of aniline blue. From XPS results the component elements of the electrolyte, P and S, were observed in the anodic film, which were incorporated from the electrolyte into the oxide layer during anodization. The porous TiO2 film exhibited high photocatalytic efficiency for degradation of aniline blue.