Insights into the rational design of single-atom metal catalysts remains obscure in heterogeneous catalysis. Here, the authors establish the atomic-level structure–activity relationship for a wide-pH-range hydrogen evolution reaction through the electronic metal–support interaction modulation.