AbstractHydrogen production through water splitting has been considered as a green, pure and high-efficient technique. As an important half-reaction involved, hydrogen evolution reaction is a complex electrochemical process involving liquid-solid-gas three-phase interface behaviour. Therefore, new concepts and strategies of material design are needed to smooth each pivotal step. Here we report a multiscale structural and electronic control of molybdenum disulfide foam to synergistically promote the hydrogen evolution process. The optimized three-dimensional molybdenum disulfide foam with uniform mesopores, vertically aligned two-dimensional layers and cobalt atoms doping demonstrated a high hydrogen evolution activity and stability. In addition, density functional theory calculations indicate that molybdenum disulfide with moderate cobalt doping content possesses the optimal activity. This study demonstrates the validity of multiscale control in molybdenum disulfide via overall consideration of the mass transport, and the accessibility, quantity and capability of active sites towards electrocatalytic hydrogen evolution, which may also be extended to other energy-related processes.</jats:p