Solar energy conversion of water into H2 through photocatalysis is considered a promising approach for H2 production. However, the separation efficiency of charge carriers is the key to improving the efficiency of photocatalytic hydrogen production. A recent study reveals that the double-layered porous nanotubes with spatially separated photoredox surfaces were synthesized by a self-template strategy and show enhanced photocatalytic activity toward hydrogen production.