Designing high performing low-cost nanomaterials for catalyzing hydrogen evolution reaction (HER) remains challenging. Here, the authors report a volcano-shape correlation between HER activity and cobalt atomic configuration in single-atom doped CoSe2-DETA (DETA = diethylenetriamine) nanobelts toward achieving high performance.