In this work, PAni nanofibers (NFs) are successfully synthesized via hydrothermal method. The structural, surface morphological, optical, electrical and H2S gas sensing properties have been investigated for PAni thin films deposited by spin coating technique. The XRD pattern reveals crystalline nature of PAni NFs with crystallite size of 9.2 nm. The SEM image of Polyaniline clearly indicates that the polymer possesses nanofiber like structure. The optical properties show that the optical energy gap follows allowed direct electronic transition calculated using Tauc’s equation. Intense hotoluminescence (PL) peaks at 309, 340 and 605 nm are observed. The electrical properties such as D.C. conductivity and Hall effect have been studied where D.C. conductivity shows reversible insulator-to-metal electrical behavior. Hall measurements for PAni reveal p-type conductivity. The H2S toxic gas sensing properties of PAni NFs thin film are investigated as a function of time and operating temperature. High sensitivity (528%) was achieved at operating temperature of 200 °C with fast response and recovery times