TiO2 nanotubes with laterally spaced ordering enable optimized hierarchical structures with significantly enhanced photocatalytic H2 generation.