The properties of H2S gas sensing were investigated using a ZnO nanostructure prepared with AZO (zinc oxide with aluminium) and Al surfaces which were developed on a MEMS (Micro Electromechanical System) device. Hydrothermal synthesis was implemented for the deposition of the ZnO nanostructure. To find the optimal conditions for H2S gas sensing, different ZnO growth times and different temperatures were considered and tested, and the results were analysed. At 250 °C and 90 min growth time, a ZnO sensor prepared with AZO and 40 nm Al recorded an 8.5% H2S gas-sensing response at a 200 ppb gas concentration and a 14% sensing response at a gas concentration of 1000 ppb. The dominant sensing response provided the optimal conditions for the ZnO sensor, which were 250 °C temperature and 90 min growth time. Gas sensor selectivity was tested with five different gases (CO, SO2, NO2, NH3 and H2S) and the sensor showed great selectivity towards H2S gas.