TiO2 nanotubes with constant outer and adjustable inner diameter can be made by electrochemical anodization.