In an inverter device equipped with torque suppression control implemented to protect a motor from overheating, when the motor is started without cooling, as the motor cannot be protected from overheating, the torque suppression value at the end is stored, but when the previous torque suppression value stored at the end is low, the torque of the motor is limited. Information related to the sleep time of the inverter or the motor is used. The torque suppression value is calculated based on the last torque suppression value at the end of the inverter operation, the temperature detection value, and the sleep time of the inverter or the motor for control according to the sleep time.