Dehydrogenation of alkanes produces hydrogen and useful carbon molecules but typically requires harsh conditions to operate effectively. Here the authors show that Pt/TiO2 photocatalysts where Pt atoms are isolated from, yet still close to, one another are promising for visible-light-driven alkane dehydrogenation.