1. A washing machine comprising:a main body;
a main washing unit disposed in the inside of the main body; and
a door unit configured to open or close a main entrance formed in the main body to communicate with the main washing unit, wherein the door unit comprises:
a main door having a body unit formed with an auxiliary entrance,
an auxiliary washing unit formed to be recessed from the body unit and having an opening, and
an auxiliary door rotatably coupled with the main door and including an auxiliary rotation shaft, wherein the auxiliary door is configured to rotate about the auxiliary rotation shaft between a first position, to close the auxiliary entrance and open the opening, and a second position, to open the auxiliary entrance and close the opening,
wherein if the auxiliary door opens, the auxiliary door is further configured to close the opening to form an auxiliary washing space in which water is able to be contained.