As a kind of clean energy, magnesium batteries have become the main research direction of next-generation batteries. A long voltage lag time and irreversibility in aqueous electrolytes are problems faced by magnesium aqueous batteries. For the first time, we modified the anode of a magnesium aqueous battery with MXene. The modified battery not only reduced the voltage lag time of the battery but also improved the reversibility, cycle stability, and intermittent discharge performance of the magnesium aqueous battery. The calculation results of density functional theory showed that there is a high adsorption energy between MXene film and magnesium alloy. The calculation results of the ion diffusion energy barrier indicated that magnesium ions have a lower migration barrier on the surface of the MXene film layer. This research is of great significance to the development and application of magnesium batteries.