By adjusting the oxidation voltage, electrolyte, anodizing time and other parameters, TiO2 nanotubes with high aspect ratio can be prepared by oxidation in organic system because anodic oxidation method has the advantage of simple preparation process, low material cost and controllable morphology. This review focusses on the influence of anodizing parameters on the morphology of TiO2 nanotube arrays prepared by anodizing. In order to improve the photocatalytic activity of TiO2 nanotubes under visible light and to prolong the life of photo-generated carriers, the research status of improving the photocatalytic activity of TiO2 nanotubes in recent years is reviewed. This review focusses on the preparation and modification of TiO2 nanotubes by anodic oxidation, which is helpful to understand the best structure of TiO2 nanotubes and the appropriate modification methods, thus guiding the application of TiO2 nanotubes in practical photocatalysis. Finally, the development of TiO2 nanotubes is prospected.