• It is the first time that Co-InN is used as the adsorbent to remove the decomposition components of SF 6 -N 2. • Co-InN shows good adsorption properties to NO 2 , SOF 4 , SOF 2 , SO 2 F 2 by chemisorption. • The theoretical calculation results are important to guide the development of resistive gas sensor based on the Co-InN. This paper presents a detection method of partial discharge decomposition components of SF 6 -N 2 mixture by Co-doped InN. The severity of partial discharge in gas insulated switchgear (GIS) can be judged by the gas components when SF 6 -N 2 decomposes. Exploring sensors with excellent gas-sensing detection capabilities can provide method to partial discharge decomposition component detection and fault diagnosis of GIS. Undoped InN is a wide bandgap semiconductor with good sensing properties. In this paper, the adsorption of SF 6 -N 2 decomposition components on Co-doped InN monolayer, as well as the adsorption mechanism and gas sensitivity characteristics were investigated by density functional theory (DFT), including adsorption energy, charge transfer, the density of state theory and molecular orbital theory. Our calculations found that Co-doped InN has the optimal structure at the T N site and has good adsorption performance for NO 2 , SOF 4 , SOF 2 , and SO 2 F 2 gas molecule. All adsorption reactions belong to chemisorption. These results could direct the development of gas sensor based on the Co-doped InN monolayer, and provides methods to online monitoring of GIS discharge failures.