A wall mounted washing machine and a door gasket thereof are provided to reduce manufacturing costs and solve the problem of the cost increase incurred in the assembling process. The wall mounted washing machine includes: a rear panel mounted on a wall; a tub supported on the rear panel, the tub being filled with wash water; a front panel having an opening formed therein and installed in the tub; a drum rotatably installed in the tub and having a drum inlet portion for loading laundry; a cover installed on the front panel to cover the front panel; a door rotatably coupled to the cover to open or close a laundry inlet of the cover and having a door glass; and a door gasket disposed between the cover and the front panel and having a plurality of walls to prevent foreign material from entering.