Single-crystal SrTiO 3 nanocages were prepared by a template-free method under high-temperature molten salt conditions and used for photocatalytic overall water splitting, with a 5.7-fold performance enhancement compared with porous SrTiO 3 controls.