A fixing device of the present invention has first and second thermistors which detect the temperatures at predetermined positions in the longitudinally direction of a heating roller, first and second coils which can increase independently the temperatures at the center and the end of the heating roller, a driving circuit which supply power alternately to the coils, first and second switching circuits which supply a predetermined power to each coil, a control unit, and a temperature detection circuit.