High-energy-density lithium metal batteries with high safety and stability are urgently needed. Designing the novel nonflammable electrolytes possessing superior interface compatibility and stability is critical to achieve the stable cycling of battery. Herein, the functional additive dimethyl allyl-phosphate and fluoroethylene carbonate were introduced to triethyl phosphate electrolytes to stabilize the deposition of metallic lithium and accommodate the electrode–electrolyte interface. In comparison with traditional carbonate electrolyte, the designed electrolyte shows high thermostability and inflaming retarding characteristics. Meanwhile, the Li||Li symmetrical batteries with designed phosphonic-based electrolytes exhibit a superior cycling stability of 700 h at the condition of 0.2 mA cm−2, 0.2 mAh cm−2. Additionally, the smooth- and dense-deposited morphology was observed on an cycled Li anode surface, demonstrating that the designed electrolytes show better interface compatibility with metallic lithium anodes. The Li||LiNi0.8Co0.1Mn0.1O2and Li||LiNi0.6Co0.2Mn0.2O2batteries paired with phosphonic-based electrolytes show better cycling stability after 200 and 450 cycles at the rate of 0.2 C, respectively. Our work provides a new way to ameliorate nonflammable electrolytes in advanced energy storage systems.