A temperature detector for outputting a temperature signal comprises: a temperature sensing diode formed on the same chip as a semiconductor switching device and having a specific temperature vs. voltage characteristic, wherein the temperature detector outputs the anode potential of the temperature sensing diode as the temperature signal; a constant current circuit for supplying a current to the anode of the temperature sensing diode; and anode potential holding means for holding the anode potential of the temperature sensing diode as the temperature signal at the start of switching operation of the semiconductor switching device.