MXenes are promising electrocatalysts for sustainable hydrogen generation, but establishing reliable structure–activity relationships to achieve phase purity and control surface terminations remains challenging. Here, we report phase-pure Ti3C2-F and Ti3C2-O MXenes synthesised via a molten-salt process, achieving purities >99.6%. Ti₃C₂-F exhibits excellent performance in the hydrogen evolution reaction (HER) in acidic solutions, with a very low overpotential of 86 mV at 10 mA cm-2 and a Tafel slope of 55 mV dec-1. Ti₃C₂-O shows bifunctional catalytic activity in alkaline conditions, with HER and oxygen evolution reaction (OER) overpotentials of 76 and 134 mV at 10 mA cm⁻², and Tafel slopes of 86 and 102 mV dec⁻¹, respectively. Their outstanding activities and stabilities are attributed to phase-purity and tunable surface terminations, enabling different pathways for hydrogen and hydroxide activation. These findings not only elucidate the underlying reaction mechanisms but also demonstrate the potential of termination-controlled MXenes for efficient energy conversion.