A wall mounted washing machine includes a rear panel coupled to a cabinet and mounted on a wall; a front panel installed in a tub; a cover installed in the front panel; a door rotatably coupled to the cover; a door opening and closing device to lock or unlock the door and the cover; and a control unit disposed in a front surface of the rear panel with respect to the inside of the cabinet. The control unit includes a wash controller to control washing states; a valve controller to selectively control the supply of wash water; a door opening and closing controller to control the door opening and closing device. The door opening and closing controller allows the door to be automatically opened after receiving a wash completion signal from the wash controller.