Two-dimensional (2D) molybdenum disulphide (MoS 2) atomic layers have a strong potential to be used as 2D electronic sensor components. However, intrinsic synthesis challenges have made this task difficult. In addition, the detection mechanisms for gas molecules are not fully understood. Here, we report a high-performance gas sensor constructed using atomic-layered MoS 2 synthesised by chemical vapour deposition (CVD). A highly sensitive and selective gas sensor based on the CVD-synthesised MoS 2 was developed. In situ photoluminescence characterisation revealed the charge transfer mechanism between the gas molecules and MoS 2, which was validated by theoretical calculations. First-principles density functional theory calculations indicated that NO 2 and NH 3 molecules have negative adsorption energies (i.e., the adsorption processes are exothermic). Thus, NO 2 and NH 3 molecules are likely to adsorb onto the surface of the MoS 2. The in situ PL characterisation of the changes in the peaks corresponding to charged trions and neutral excitons via gas adsorption processes was used to elucidate the mechanisms of charge transfer between the MoS 2 and the gas molecules.