A closure device for connecting two assemblies to one another, comprising - a first closure part which is to be arranged on one of the assemblies and which has at least two locking pieces (41A, 41B) with in each case a locking section and at least one first magnetic element (43A, 43B), - a second closure part which is to be fastened to the other of the assemblies and which has at least two locking receptacles (51A, 51B) and at least one second magnetic element (43A, 43B), wherein the first closure part and the second closure part are attachable to one another in a closing direction and are connected to one another in a closed position, by the locking pieces (41A, 41B) of the first closure part being received in the locking receptacles (51A, 51B) of the second closure part (5, wherein the first magnetic element (43A, 43B) and the second magnetic element (53A, 53B) are configured to assist magnetically the attachment of the first closure part and the second closure part to one another, and - an arresting mechanism which is arranged on the second closure part and which has at least two arresting elements (524, 527) and an actuating mechanism which is operatively connected to the arresting elements (524, 527), wherein the arresting elements (524, 527) are able to be brought into operative connection with the locking sections of the locking pieces (41A, 41B) in the closed position, in order to produce a positively locked connection or a frictional connection between the first closure part and the second closure part, wherein the actuating mechanism is actuatable in order to adjust the arresting elements (524, 527) relative to the locking receptacles (51A, 51B) so that the first closure part and the second closure part are releasable from one another, characterized in that the actuating mechanism has a lever element which is pivotable relative to the second closure part in order to adjust the arresting elements (524, 527) relative to the locking receptacles (51A, 51B), wherein the actuating mechanism has a connecting lever which is connected at a first joint axis in an articulated manner to the lever element and at a second joint axis in an articulated manner to one of the arresting elements (524, 527). - a first closure part which is to be arranged on one of the assemblies and which has at least two locking pieces (41A, 41B) with in each case a locking section and at least one first magnetic element (43A, 43B), - a second closure part which is to be fastened to the other of the assemblies and which has at least two locking receptacles (51A, 51B) and at least one second magnetic element (43A, 43B), wherein the first closure part and the second closure part are attachable to one another in a closing direction and are connected to one another in a closed position, by the locking pieces (41A, 41B) of the first closure part being received in the locking receptacles (51A, 51B) of the second closure part (5, wherein the first magnetic element (43A, 43B) and the second magnetic element (53A, 53B) are configured to assist magnetically the attachment of the first closure part and the second closure part to one another, and - an arresting mechanism which is arranged on the second closure part and which has at least two arresting elements (524, 527) and an actuating mechanism which is operatively connected to the arresting elements (524, 527), wherein the arresting elements (524, 527) are able to be brought into operative connection with the locking sections of the locking pieces (41A, 41B) in the closed position, in order to produce a positively locked connection or a frictional connection between the first closure part and the second closure part, wherein the actuating mechanism is actuatable in order to adjust the arresting elements (524, 527) relative to the locking receptacles (51A, 51B) so that the first closure part and the second closure part are releasable from one another,