The electric cabinet air conditioner compresses the refrigerant through the compressor, condenses and releases heat, and then evaporates and absorbs heat to reduce the ambient temperature. When installed on the control cabinet, the calorimeter in the cabinet can be transferred to the outside of the cabinet in a closed case, so as to avoid high temperature dust and corrosive gases in the outside environment entering the control cabinet. The temperature and humidity in the electric cabinet are always constant in the ideal state, so that the service life and working stability of electronic components are guaranteed.