MXene materials have exhibited potential in electrochemistry, particularly in gas sensing, due to their excellent conductivity, large specific surface area of layered materials, and unique functional groups. However, the gas sensing performance of intrinsic 2D MXene materials is often limited by their fluorine-containing terminals and interfacial structure. In this study, based on intrinsic Ti3C2Tx, we employed alkali treatment and annealing to prepare oxygen-rich Ti3C2(OH)x/Ti3C2Ox with expanded interlayer spacing, achieving enhanced gas sensing performance for NH3. The surface chemistry and structure of the sensing materials have been optimized through the synergistic regulation of MXene's unique surface terminations and the intercalation effect of layered materials. Compared to intrinsic Ti3C2Tx, the interlayer spacing of oxygen-rich Ti3C2(OH)x/Ti3C2Ox increased from 9.1Å to 12.1Å. The surface terminations of oxygen-rich Ti3C2(OH)x/Ti3C2Ox have been defluorinated and oxygenated. The maximum response value of oxygen-rich Ti3C2(OH)x/Ti3C2Ox to NH3 was 35.66, approximately twice that of the original Ti3C2Tx at an NH3 concentration of 200ppm. DFT (Density functional theory) calculations and DRIFT (In situ Diffuse Reflectance Infrared Fourier Transform Spectroscopy) tests explained the interaction between the surface terminals and NH3, indicating good selectivity and sensitivity of oxygen-rich Ti3C2(OH)x/Ti3C2Ox to NH3. The results demonstrated that the synergistic effects of surface chemistry and structural engineering are crucial for MXene to optimize the electrochemical performance, particularly the gas sensing performance. This provides a feasible approach for the performance optimization of intrinsic MXene materials.