Flexible Li-air batteries (LABs) have been consid-ered as promising power sources for wearable electronics owing toits higher energy density. However, when operated in ambient air,problems arise,such as Li anode passivation, poor cycle life as well as leakage of liquid electrolyte. Herein, we present a LAB with a tetraethylene glycol dimethyl ether (TEGDME, G4) gel electrolyte, inwhich the gel is formed in situ through across-linking reaction between the liquid G4 and the lithium ethylenediamine (LiEDA) grown on the surface of Li anode.Wedemonstrate that the gel can efficiently alleviate the corrosion of the Li anode, and thus the LAB shows acycle performance over 1175 hours (humidity:10%to 40%), which is much superior to previous reports. Further-more, the in situ formed gel enhances the electrode/electrolyte interfacial contact, which thus enables the cable-type LAB to exhibit agreat flexibility. © 2018 Wiley-VCH Verlag GmbH &Co. KGaA, Weinheim.