A switching power supply device includes: a non-linear control type switching control unit that, in accordance with a result of a comparison between a feedback voltage and a reference voltage, performs on/off control of a switch element, and thereby generates an output voltage from an input voltage; a backflow current detection unit that, upon detecting a backflow current flowing to the switch element, forcibly switches off the switch element; and an on-time setting unit that sets an on-time of the switch element, in a case of the backflow current not being detected, in accordance with a duty of the switch element, and in a case of the backflow current being detected, in accordance with a switch voltage appearing at one end of the switch element or the output voltage.