Lithium-metal fl uoride (MF) batteries offer the highest theoretical energy density, exceeding that of the sulfur-lithium cells. However, conversion-type MF cathodes suffer from high resistance, small capacity utilization at room temperature, irreversible structural changes, and rapid capacity fading with cycling. In this study, the successful application of the approach to overcome such limitations and dramatically enhance electrochemical performance of Li-MF cells is reported. By using iron fl uoride (FeF 2 ) as an example, Li-MF cells capable of achieving near-theoretical capacity utilization are shown when MF is infi ltrated into the carbon mesopores. Most importantly, the ability of electrolytes based on the lithium bis(fl uorosulfonyl)imide (LiFSI) salt is presented to successfully prevent the cathode dissolution and leaching via in situ formation of a Li ion permeable protective surface layer. This layer forms as a result of electrolyte reduction/oxidation reactions during the fi rst cycle of the conversion reaction, thus minimizing the capacity losses during cycling. Postmortem analysis shows the absence of Li dendrites, which is important for safer use of Li metal anodes. As a result, Li-FeF 2 cells demonstrate over 1000 stable cycles. Quantum chemistry calculations and postmortem analysis provide insights into the mechanisms of the passivation layer formation and the performance boost.