The invention belongs to the technical field of gas sensors, and relates to a gas sensor based on a metal molybdate nanocomposite and a preparation method thereof. An annular gold electrode of the sensor is coated with a metal molybdate nanocomposite film; the specific preparation process of the metal molybdate nano composite material comprises the following steps: firstly, preparing MoS2 powder from ammonium molybdate, thiourea, ammonium fluoride and the like according to a hydrothermal synthesis method, and meanwhile, preparing a semiconductor metal oxide suspension from semiconductor metalsalt through the hydrothermal synthesis method; carrying out hydrothermal synthesis on the molybdenum sulfide powder and the semiconductor metal oxide suspension liquid to obtain a molybdenum sulfidenano composite material precursor, and calcining the prepared molybdenum sulfide nano composite material precursor in an atmosphere to obtain a metal molybdate nano composite material. The ethanol gassensor has the advantages of high selectivity, high sensitivity, good stability, long service life, short response time and recovery time to ethanol gas, excellent performance, and rapid and timely ethanol gas alarm.