Low-cost, layered transition-metal dichalcogenides (MX<
sub>
2<
/sub>
) based on molybdenum and tungsten have attracted substantial interest as alternative catalysts for the hydrogen evolution reaction (HER). These materials have high intrinsic per-site HER activity
however, a significant challenge is the limited density of active sites, which are concentrated at the layer edges. Here we unravel electronic factors underlying catalytic activity on MX<
sub>
2<
/sub>
surfaces, and leverage the understanding to report group-5 MX<
sub>
2<
/sub>
(H-TaS<
sub>
2<
/sub>
and H-NbS<
sub>
2<
/sub>
) electrocatalysts whose performance instead mainly derives from highly active basal-plane sites, as suggested by our first-principles calculations and performance comparisons with edge-active counterparts. Beyond high catalytic activity, they are found to exhibit an unusual ability to optimize their morphology for enhanced charge transfer and accessibility of active sites as the HER proceeds, offering a practical advantage for scalable processing. In conclusion, the catalysts reach 10 mA cm<
sup>
?2<
/sup>
current density at an overpotential of ~50?60 mV with a loading of 10?55 ?g cm<
sup>
?2<
/sup>
, surpassing other reported MX<
sub>
2<
/sub>
candidates without any performance-enhancing additives.