Magnesium/air batteries are a possible high-energy density power source that, to date, have not received strong commercial interest due to issues with the corrosion of the magnesium and evaporation of the electrolyte. In this work we report on the use of ionic liquid based electrolytes to stabilise the metal/electrolyte interface and their impact on the electrochemical performance. Galvanostatic measurements indicate that the water content of the ionic liquid electrolyte plays an important role in the cell discharge characteristics. Surface characterisation using EIS, ATR-FTIR and powder diffraction examined the unique properties of the surface film formed on the magnesium anode.