Ammonia classified as one of the hazardous chemical to environment and human. Therefore, monitoring the ammonia in air is vital. Chitosan film was selected as a sensing material for ammonia detection in this study. Chitosan powder was dissolved in 2% of acetic acid to form chitosan solution gel. It was subsequently deposited on patterned electrode by using electrochemical deposition technique. The response of the chitosan sensor towards ammonia was tested via electrical testing by exposing different ammonia concentration ranging from 20 ppm, 100 ppm, 200 ppm, and 300 ppm using air exposure technique. The response of the chitosan sensor towards ammonia was recorded as output voltage. Sensor properties which include sensitivity, stability, recovery, and repeatability were studied. The electrical result showed that the response of chitosan sensor increases as the ammonia concentration increases. All the sensing properties were achieved. Finally, the structure characterization of the chitosan was studied using Fourier Transform Infrared Spectroscopy (FTIR). The appearance of N-H and O-H groups in FTIR spectrum of chitosan film provides evidence that the domain functional group exist in chitosan after it was processed into film.