A closure device for connecting a container to a frame of a vehicle, in particular of a two-wheeler or a three-wheeler, having - a first closure part which is to be arranged on the frame and comprises a first magnet element (43A, 43B) and - a second closure part which is assigned to the container and comprises a second magnet element (53A, 53B), wherein the second closure part is positionable on the first closure part in a closing direction and is latched mechanically with the first closure part in a closed position, wherein the second closure part is releasably connectable to the container, wherein the first closure part comprises two first magnet elements (43A, 43B) which are spaced apart from one another transversely to the closing direction and the second closure part comprises two second magnet elements (53A, 53B) which are spaced apart from one another transversely to the closing direction, wherein one of the closure parts comprises at least one blocking piece (41A, 41B) and the other of the closure parts at least one locking element (51A, 51B), wherein the at least one blocking piece (41A, 41B) engages in the locking element (51A, 51B) in the closed position in such a manner that the second closure part is held on the first closure part in opposition to the closing direction, characterized in that the second closure part comprises a body and a fastening element which is arranged so as to be adjustable on the body and is realized to connect the second closure part to the container in a first position, and is transferrable from the first position into a second position in order to release the connection between the container and the second closure part. - a first closure part which is to be arranged on the frame and comprises a first magnet element (43A, 43B) and - a second closure part which is assigned to the container and comprises a second magnet element (53A, 53B), wherein the second closure part is positionable on the first closure part in a closing direction and is latched mechanically with the first closure part in a closed position, wherein the second closure part is releasably connectable to the container, wherein the first closure part comprises two first magnet elements (43A, 43B) which are spaced apart from one another transversely to the closing direction and the second closure part comprises two second magnet elements (53A, 53B) which are spaced apart from one another transversely to the closing direction, wherein one of the closure parts comprises at least one blocking piece (41A, 41B) and the other of the closure parts at least one locking element (51A, 51B), wherein the at least one blocking piece (41A, 41B) engages in the locking element (51A, 51B) in the closed position in such a manner that the second closure part is held on the first closure part in opposition to the closing direction, characterized in that the second closure part comprises a body and a fastening element which is arranged so as to be adjustable on the body and is realized to connect the second closure part to the container in a first position, and is transferrable from the first position into a second position in order to release the connection between the container and the second closure part.