A control apparatus for an electric power steering apparatus, including a section that calculates a dead time characteristic value a section that determines a steering status a gain section that varies a gain of the dead time characteristic value in accordance with a determination of the steering status a section that switches polarity determining methods in accordance with the determination of the steering status and determines a polarity on the basis of a detected current of a motor, a current command value or a model current a temperature sensor that detects a temperature of an inverter a calculating section that calculates a dead time temperature correction value corresponding to the temperature and a processing section that calculates and processes the dead time temperature correction value with respect to a dead time compensation value with polarity based on an output of the gain section and outputs a dead time compensation value.