A wall-mounted washing machine includes a cabinet, a tub installed inside the cabinet and having an open front surface, a tub front cover coupled to the front surface of the tub and having an opening corresponding to the open front surface of the tub, a drum rotatably installed inside the tub, and a gasket fitted to a rim of the opening of the tub front cover. The washing machine further includes a sterilization unit coupled to a front surface of the tub front cover. At least a part of the sterilization unit is configured to penetrate a side wall around the opening of the tub front cover. An insertion portion into which the sterilization unit is inserted is provided in a front portion of the gasket, and the sterilization unit is in the insertion portion in a sealed state.