With the advantages of high energy and power densities, Li-ion batteries (LiBs) are widely used to power an increasingly diverse range of applications, including portable electrochemical energy-storage devices, electric vehicles, and large energy-storage power plants. In addition, they are considered the most competitive power sources for future green smart grids. With the increasing demand for energy sources and storage devices, LiBs with high energy density are continuously being pursued. However, high energy densities could result in high safety risks. The conventional organic liquid electrolyte components and olefin-based separators used in existing LiBs are flammable. In addition, nonuniform distribution of components, inhomogeneous interfacial contacts, and electrical, thermal, or mechanical abuses in the battery operating process can cause internal short circuit, thus releasing large amounts of Joules heat, resulting in a rapid temperature rise and thermal runaway propagation, thus triggering toxic gas release, smoke, fire, combustion or even explosion. To improve the safety and cycling lifetime of LiBs, the mechanism and process of thermal runaway must be understood. In addition, detection and warning technologies must be developed for the early-stages warning of the battery thermal runaway. Compared with technologies on monitoring the terminal voltage, current, and surface temperature, the gas-sensing approach can effectively detect the thermal runaway at a very early stage. During the thermal runaway process, LiBs produce characteristic gases, such as O2, H2, carbon oxides (CO, CO2), hydrocarbons (C2H4, CH4, etc.), and fluorine gases (HF, POF3, etc.), through chemical or electrochemical reactions. As such, the thermal runaway behavior of LiBs could be monitored and early warnings can be issued by detecting the composition and concentration of the released characteristic gases. This review comprehensively presents the research progress and prospects of gas-sensing techniques for the thermal runaway of LiBs. First, the paper summarizes the main causes and processes of the thermal runaway of LiBs. Next, the characteristic gas generation and corresponding detecting techniques are described. Then, this paper elaborates on the research progress on the gas detecting and sensing technologies for the early warning of the thermal runaway. Furthermore, gas-sensing technologies for the early warning in the thermal runaway in LiBs are proposed. This review provides guidance for the gas sensing technologies to achieve an early warning system of the thermal runaway in LiBs. Moreover, the findings of this study show the development of LiBs with high safety and high energy density.