The present invention relates to a washing machine including a door lock case detachably combined with a cover. The washing machine comprises: a casing; a tub installed inside the casing; a cover combined with an upper part of the casing, including an inlet; a door combined with the cover to open and close the inlet, including a door protrusion formed on a surface contacting with the cover; a door lock case detachably combined with one side of an upper surface of the cover to store the door protrusion; and a door lock device located on a lower part of the cover to penetrate the door lock case and be combined with the door protrusion. A door lock case detachably combines with the cover to be separated depending on the environment.