In our study, we focused on gas sensing, particularly ammonia detection. We synthesized and examined three types of nanoparticles: pure and conducting polymer-based TiO2 nanoparticles. The nanoparticles were prepared by an easy sol-gel approach. All of the samples were characterized using XRD, FTIR, UV-vis, FESEM, EDAX and BET. Gas sensing measurements were carried out for each sample. Among them, PEG-TiO2 stood out with remarkable gas sensing abilities, distinguishing it from other gas detection technologies. We thoroughly investigated the sensor performance, focusing close scrutiny to metrics such as response and recovery times. The greatest reduction in response time and recovery time (95 s/123 s) was achieved at 25 ppm. These metrics provide insights into how quickly the sensor detects and recovers from the presence of the target gas. Our findings offer important insights for optimizing the sensor performance of PEG-TiO2, highlighting its remarkable gas sensing capabilities.