A core–shell CoMn-P@NG heterostructure electrode demonstrated impressive performance of hydrogen evolution over a broad pH range and maintained excellent stability.