Modifying with rare earth elements has been proven to be an effective means of enhancing the gas-sensing properties of oxides. In this work, Gd-In2O3 based sensor was developed, which showed high response to 100 ppm xylene gas (\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$${R}_{a}/{R}_{g}$$\end{document} \documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$${R}_{a}/{R}_{g}$$\end{document} = 17.8) fast response time (11 s) at 350 °C, this response value was 5.4 times higher compared to the unmodified In2O3 sensor (\documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$${R}_{a}/{R}_{g}$$\end{document} \documentclass[12pt]{minimal}\usepackage{amsmath}\usepackage{wasysym}\usepackage{amsfonts}\usepackage{amssymb}\usepackage{amsbsy}\usepackage{mathrsfs}\usepackage{upgreek}\setlength{\oddsidemargin}{-69pt}\begin{document}$${R}_{a}/{R}_{g}$$\end{document}=3.3). The introduction of the rare earth element not only improves the electrical properties of the sensitive material to provide a more suitable resistance but also strengthens the gas adsorption ability and the catalytic effect on the surface of the sensitive material, leading to enhanced sensing performance.