With the development of the chemical industry, benzene, toluene, ethylbenzene, and xylene (BTEX) have gradually become the major indoor air pollutants. Various gas treatment techniques are widely used to prevent the physical and mental health hazards of BTEX in semi-enclosed spaces. Chlorine dioxide (ClO2) is an alternative to chlorine as a secondary disinfectant with a strong oxidation ability, a wide range of action, and no carcinogenic effects. In addition, ClO2has a unique permeability which allows it to eliminate volatile contaminants from the source. However, little attention has been paid to the removal of BTEX by ClO2, due to the difficulty of removing BTEX in semi-enclosed areas and the lack of testing methods for the reaction intermediates. Therefore, this study explored the performance of ClO2advanced oxidation technology on both liquid and gaseous benzene, toluene, o-xylene, and m-xylene. The results showed that ClO2was efficient in the removal of BTEX. The byproducts were detected by gas chromatography-mass spectrometry (GC-MS) and the reaction mechanism was speculated using the ab initio molecular orbital calculations method. The results demonstrated that ClO2could remove the BTEX from the water and the air without causing secondary pollution.