The invention relates to a wall-mounted washing machine. The washing machine comprises an outer tub part, an inner tub part, a mounting rack and a washing machine housing, and the outer tub part comprises an outer tub bottom plate and an outer tub; the mounting rack comprises a mounting plate, a front panel of the mounting plate extends out to form a first fixing part and a second fixing part, anaccommodating chamber is formed among the mounting plate, the first fixing part and the second fixing part, the outer tub bottom plate is inserted into the accommodating chamber, the first fixing partfixes the outer tub bottom plate in the horizontal direction, and the second fixing part fixes the outer tub bottom plate in the vertical direction. According to the washing machine, the wall-mountedinstallation of the washing machine is achieved, and the convenience of disassembly and assembly is enhanced; in the disassembly and assembly process, the disassembly and assembly of the whole machine can be completed without the need to disassemble the housing, and the operation is convenient, fast and safe; for the washing machine of which the outer tub part has the same matching unit, different types of washing machines can be cooperatively installed on the same mounting rack without the need to disassemble and replace the mounting rack, and the compatibility of washing machine wall mounting is improved.