2H-MoS 2 can be changed locally into 1T′-MoS 2 during the hydrogen evolution reaction, and it recovers after the reaction, which shows that the phase of the electrocatalyst during the reaction can be different from that before and after the reaction.