The fabrication of reliable and cost‐effective gas sensor for low concentrations of toxic gases such as ammonia is still a challenging task, in this work the authors report structural, topography, and optical properties of pure and Ba‐doped Mn3O4 thin films prepared by chemical spray pyrolysis (CSP) as well as its gas sensing performance toward low concentrations of ammonia gas. XRD analyses prove the films have tetragonal spinel structure with a preferred orientation along the direction (103). AFM and SEM measurements show the films have homogeneous with rough surfaces and porous structures. EDS measurement confirms the presence of Mn, O, and Ba elements according to a doping concentration ratio. Optical measurements show the optical band gap redshifts and the bond length expands as Ba concentration increases. The optimal results are achieved in Mn3O4:Ba1% thin films where porous structure, rough surface, high crystallinity, and maximum response toward (20, 30, 40, and 50 ppm) of ammonia gas with great stability. Empirical equations are suggested to evaluate the sensitivity in terms of relative bond length and RMS roughness. These results show the films are good candidates in p‐type MOS gas sensors.