An inverter control device that controls an inverter unit that converts a DC voltage from a converter unit to an AC voltage and supplies the AC voltage to a DC motor , where the converter unit converts a voltage from a commercial AC power supply to the DC voltage, the inverter control device comprising: a short-circuit control unit that is incorporated in the converter unit and that controls the DC voltage to be applied from the converter unit to the inverter unit by a diode bridge driven by switching of a short-circuit element ; a magnet-temperature detection unit that detects a magnet temperature of the DC motor; a bus-voltage detection unit that detects, as a first bus voltage, the DC voltage to be applied to the inverter unit; a primary-current detection unit that detects a primary current to be input to the converter unit; a primary-voltage detection unit that detects a primary voltage to be applied to the converter unit; and a control unit that controls the inverter unit, wherein the control unit includes a storage unit that stores therein information regarding a synchronization-loss limit, a primary-power calculation unit that calculates primary power on a basis of the primary current and the primary voltage, a bus-voltage calculation unit that calculates a second bus voltage required to drive the DC motor on a basis of the primary power and the information regarding the synchronization-loss limit, a bus-voltage control unit that compares the first bus voltage with the second bus voltage and that, when the first bus voltage is equal to or lower than the second bus voltage, outputs a generation command to generate a drive signal such that the first bus voltage becomes equal to or higher than the second bus voltage, and, when the first bus voltage exceeds the second bus voltage, outputs a generation command to generate a drive signal such that the first bus voltage becomes equal to or lower than the second bus voltage, and a drive-signal generation unit that generates a drive signal corresponding to the generation command and that outputs the drive signal to the short-circuit control unit. a storage unit that stores therein information regarding a synchronization-loss limit, a primary-power calculation unit that calculates primary power on a basis of the primary current and the primary voltage, a bus-voltage calculation unit that calculates a second bus voltage required to drive the DC motor on a basis of the primary power and the information regarding the synchronization-loss limit, a bus-voltage control unit that compares the first bus voltage with the second bus voltage and that, when the first bus voltage is equal to or lower than the second bus voltage, outputs a generation command to generate a drive signal such that the first bus voltage becomes equal to or higher than the second bus voltage, and, when the first bus voltage exceeds the second bus voltage, outputs a generation command to generate a drive signal such that the first bus voltage becomes equal to or lower than the second bus voltage, and a drive-signal generation unit that generates a drive signal corresponding to the generation command and that outputs the drive signal to the short-circuit control unit. <EOS>