A wall-mounted washing machine includes: a rear panel that can be mounted on a wall; a tub disposed on a front surface of the rear panel and that can hold wash water; a front panel having an opening and disposed on a front side of the tub; a water supply valve assembly disposed in the front panel and that can wash water from an external water source; a cover for the front panel; a detergent container inserted into the front panel from a front side of the cover or withdrawn out of the front side of the cover from the front panel, and including a detergent input space for accommodating detergent and a conditioner input space for accommodating conditioner; a door rotatably coupled to the cover to open or close a laundry inlet of the cover; and a cabinet coupled to the rear panel and surrounding the tub.