The present invention relates to a washing machine (1) comprising a body (2); a door (5) that is disposed on the body (2), that provides access into the body (2) and that has a first door group (3) and a second door group (4) that are attached to each other; at least one first connection element (6) that is disposed on the first door group (3), and at least one second connection element (7) that is disposed on the second door group (4) and that enables the second door group (4) to be attached to the first door group (3) by engaging with the first connection element (6) when the second door group (4) is rotated on the first door group (3) in an assembly direction.