A closure device having a first closure part comprising a body, and a second closure part, said closure parts (2, 3) for closing the closure device are placeable against one another along a closing direction and in a closing position being connected to one another; and at least one locking element which is disposed so as to be adjustable on the body of the first closure part, and at least one engagement portion which is molded on the second closure part, wherein the at least one locking element and the at least one engagement portion in a closing position are mutually engaged in such a manner that the first closure part and the second closure part are locked to one another, wherein the first closure part has a first magnetic installation and the second closure part has a second magnetic installation, wherein the first magnetic installation and the second magnetic installation when placing the first closure part and the second closure part against one another mutually interact in a magnetically attracting manner, and the at least one locking element is magnetically configured in such a manner that the at least one locking element in the closing position by way of the first magnetic installation and/or the second magnetic installation is loaded in the direction of engaging with the at least one engagement portion, wherein the at least one locking element is disposed on the first closure part so as to be adjustable in a linear manner or pivotable in a plane defined by the closing direction and a transverse direction extending transversely to the closing direction, wherein the at least one locking element is received so as to be adjustable in a receptacle opening of the first closure part, wherein the receptacle opening in relation to the closing direction and in relation to the transverse direction extends obliquely in such a manner that the at least one locking element in the receptacle opening is adjustable along an adjustment direction which extends obliquely in relation to the closing direction and obliquely in relation to the transverse direction. a first closure part comprising a body, and a second closure part, said closure parts (2, 3) for closing the closure device are placeable against one another along a closing direction and in a closing position being connected to one another; and at least one locking element which is disposed so as to be adjustable on the body of the first closure part, and at least one engagement portion which is molded on the second closure part, wherein the at least one locking element and the at least one engagement portion in a closing position are mutually engaged in such a manner that the first closure part and the second closure part are locked to one another, wherein the first closure part has a first magnetic installation and the second closure part has a second magnetic installation, wherein the first magnetic installation and the second magnetic installation when placing the first closure part and the second closure part against one another mutually interact in a magnetically attracting manner, and the at least one locking element is magnetically configured in such a manner that the at least one locking element in the closing position by way of the first magnetic installation and/or the second magnetic installation is loaded in the direction of engaging with the at least one engagement portion, wherein the at least one locking element is disposed on the first closure part so as to be adjustable in a linear manner or pivotable in a plane defined by the closing direction and a transverse direction extending transversely to the closing direction, wherein the at least one locking element is received so as to be adjustable in a receptacle opening of the first closure part, wherein the receptacle opening in relation to the closing direction and in relation to the transverse direction extends obliquely in such a manner that the at least one locking element in the receptacle opening is adjustable along an adjustment direction which extends obliquely in relation to the closing direction and obliquely in relation to the transverse direction.