The interaction of water with oxide surfaces has drawn considerable interest, owing to its application to problems in diverse scientific fields. Atomic-scale insights into water molecules on the oxide surface have long been recognized as essential for a fundamental understanding of the molecular processes occurring there. Here, we report the dissociation of a single water molecule on an ultrathin MgO film using low-temperature scanning tunnelling microscopy. Two types of dissociation pathwayvibrational excitation and electronic excitationare selectively achieved by means of injecting tunnelling electrons at the single-molecule level, resulting in different dissociated products according to the reaction paths. Our results reveal the advantage of using a MgO film, rather than bulk MgO, as a substrate in chemical reactions.