2D MXene nanomaterials have excellent potential for application in novel electrochemical energy storage technologies such as supercapacitors and batteries, but the existing pure MXene is difficult to meet the practical needs. Although the electrochemical properties of modified MXene have been improved, the unclear ion storage mechanism still hinders the development of MXene-based electrode materials. Herein, the study develops flexible self-supported nitrogen-doped Ti3C2 (Py-Ti3C2) films by the highly mobile, high nitrogen content, oxygen-free pyridine-assisted solvothermal method, and then deeply investigates the energy storage mechanism of hybrid supercapacitors in four aqueous electrolytes (H2SO4, Li2SO4, Na2SO4, and MgSO4). The experimental results suggest that the Py-Ti3C2 film electrode exhibits a pseudocapacitance-dominated energy storage mechanism. Particularly, the specific capacity of the Py-Ti3C2 in 1M H2SO4 (506 F g-1 at 0.1 A g-1) is 4-5 times higher than other electrolytes (≈110 F g-1), which could be attributed to the substantially higher ionic diffusion coefficient of H+ than those of Li+, Na+, Mg2+ with small ionic size, high ionic conductivity, and fast pseudocapacitance response. Theoretical analysis further confirms that Py-Ti3C2 has strengthened conductivity and electrical double-layer capacitance performance. Meanwhile, it has lower free energy for protonation and deprotonation of functional groups, which gives excellent pseudocapacitance performance.