The invention provides a refrigeration device, comprising: a box body; a door body, which can be opened and closed on the box body; an electromagnet assembly, the electromagnet assembly includes a first electromagnet and a second electromagnet, the first electromagnet is arranged On the box body, the second electromagnet is arranged on the door body, and the first electromagnet is provided with a first contact surface, and the second electromagnet is provided with a second contact surface opposite to the first contact surface; the controller, It is connected with the first electromagnet and the second electromagnet, and is used to control the polarity of the first contact surface and the second contact surface, so as to control the opening and closing state of the door body. In this technical solution, by setting the first electromagnet and the second electromagnet on the box body and the door body respectively, the door body is closed and sucked by using the principle that the contact surfaces of the two electromagnets attract each other when the polarities are different poles. Tightly on the box body, so as to ensure the sealing between the box body and the door body, use the polarity of the contact surface of the two electromagnets to repel each other when they are at the same level, overcome the magnetic force of the door seal, and achieve the purpose of opening the door with resistance.