A hybrid of N-doped carbon encapsulated ultrasmall Mo 2 C nanodots on Ti 3 C 2 T x MXene exhibits excellent HER performance in the entire pH range.