Polyaniline organic Semiconductor polymer thin films have been prepared by oxidative polymerization at room temperature, this polymer was deposited on glass substrate with thickness 900nm, FTIR spectra was tested , the structural,optical and electrical properties were studied through XRD ,UV-Vis ,IR measurements ,the results was appeared that polymer thin film sensing to NH3 gas.