This paper presents a comparative study of the gas-sensing behavior of MoO3 thin films prepared by ion beam deposition and sol-gel techniques, respectively. The sensing response of these films to ammonia in the presence of interfering gases (such as NO2) is assessed. The microstructural characteristics of the sensing materials prepared by these two techniques are determined using electron microscopy and microanalysis techniques. MoO3 is shown to be highly sensitive to ammonia, and the sensitivity depends on processing. The sensing properties of MoO3 thin films and the origin of the p-n-type transition occurring in sol-gel processed films are correlated with the type of the MoO3 polymorph(s) used for sensing. (C) 2003 Elsevier B.V. All rights reserved.