A clothes dryer, comprising a housing, a tumbler and a heat exchange component, wherein the housing has an air cavity therein, the air cavity and the tumbler form a closed-loop air duct, a blower impeller for driving air in the closed-loop air duct to flow is provided in the housing, the heat exchange component comprises a compressor, and a condenser and an evaporator, wherein the condenser and the evaporator are placed inside the air cavity, the compressor is used to compress a working medium into a high temperature and high pressure state, and the condenser communicates with the evaporator through a throttle capillary, the heat exchange component further comprises a reversing valve, wherein the reversing valve is configured to switch between a first mode and a second mode through a remote control program, in the first mode, the working medium flows from the compressor to the condenser via the reversing valve, the working medium in the condenser flows into the evaporator, and the working medium in the evaporator flows back to the compressor via the reversing valve, and in the second mode, the working medium flows from the compressor to the evaporator via the reversing valve, the working medium in the evaporator flows into the condenser, and the working medium in the condenser flows back to the compressor via the reversing valve and characterized in that the clothes dryer has a cleaning mode being configured to switch the reversing valve to the first mode and to stop rotating the blower impeller such that the water vapor in the air condenses and frosts on the surface of the evaporator, wherein the cleaning mode is further configured to, after running for a period of time, to control the reversing valve to switch to second mode using the control program to thaw the previous frost on the surface of the evaporator into liquid water. the housing has an air cavity therein, the air cavity and the tumbler form a closed-loop air duct, a blower impeller for driving air in the closed-loop air duct to flow is provided in the housing, the heat exchange component comprises a compressor, and a condenser and an evaporator, wherein the condenser and the evaporator are placed inside the air cavity, the compressor is used to compress a working medium into a high temperature and high pressure state, and the condenser communicates with the evaporator through a throttle capillary, the condenser and the evaporator are placed inside the air cavity, the compressor is used to compress a working medium into a high temperature and high pressure state, and the condenser communicates with the evaporator through a throttle capillary, the heat exchange component further comprises a reversing valve, wherein the reversing valve is configured to switch between a first mode and a second mode through a remote control program, in the first mode, the working medium flows from the compressor to the condenser via the reversing valve, the working medium in the condenser flows into the evaporator, and the working medium in the evaporator flows back to the compressor via the reversing valve, and in the second mode, the working medium flows from the compressor to the evaporator via the reversing valve, the working medium in the evaporator flows into the condenser, and the working medium in the condenser flows back to the compressor via the reversing valve and characterized in that the reversing valve is configured to switch between a first mode and a second mode through a remote control program, in the first mode, the working medium flows from the compressor to the condenser via the reversing valve, the working medium in the condenser flows into the evaporator, and the working medium in the evaporator flows back to the compressor via the reversing valve, and in the second mode, the working medium flows from the compressor to the evaporator via the reversing valve, the working medium in the evaporator flows into the condenser, and the working medium in the condenser flows back to the compressor via the reversing valve and characterized in that the clothes dryer has a cleaning mode being configured to switch the reversing valve to the first mode and to stop rotating the blower impeller such that the water vapor in the air condenses and frosts on the surface of the evaporator, wherein the cleaning mode is further configured to, after running for a period of time, to control the reversing valve to switch to second mode using the control program to thaw the previous frost on the surface of the evaporator into liquid water.