The invention discloses a constant-temperature numerical-control ultrasonic cleaning method and device. The constant-temperature numerical-control ultrasonic cleaning method includes the steps that the temperature of ultrasonic liquid inside the constant-temperature numerical-control ultrasonic cleaning device is detected, when the temperature of the ultrasonic liquid is higher than a set value, a certain amount of low-temperature ultrasonic liquid is added into the constant-temperature numerical-control ultrasonic cleaning device and evenly stirred, meanwhile, a certain amount of ultrasonic liquid is discharged out of the constant-temperature numerical-control ultrasonic cleaning device, and when the temperature of the ultrasonic liquid is lower than the set value, the ultrasonic liquid is heated to the set value. By means of the operation, constant-temperature and constant-amount dynamic balance of the ultrasonic liquid in the constant-temperature numerical-control ultrasonic cleaning device is maintained so as to achieve the aim of constant-temperature ultrasonic cleaning. The constant-temperature numerical-control ultrasonic cleaning device comprises a liquid storage tank. A technological material frame (1) is arranged on the upper portion of the liquid storage tank, a liquid inlet pipe is arranged on the lateral side of the liquid storage tank, a liquid outlet pipe is arranged on the bottom face of the liquid storage tank, a temperature sensor (2) and a heater (3) are arranged inside the liquid storage tank, and a magnetic stirring apparatus (7) and an ultrasonic transducer (8) are arranged below the liquid storage tank. According to the constant-temperature numerical-control ultrasonic cleaning method and device, a refrigerating system in a traditional constant-temperature ultrasonic cleaning device is eliminated, the production cost is greatly reduced, and the size of the constant-temperature ultrasonic cleaning device is reduced.