A switching regulator according to the invention includes a resistor (R3) and a capacitor (C3) for generating a ramp signal from the AC component in the output of a hysteresis comparator (1). The switching regulator is characterized in that the hysteresis comparator (1) compares with a reference voltage outputted from a reference voltage source (2) a voltage obtained by superimposing the ramp signal on the divided voltage of the output voltage (VO) as obtained between resistors (R1 and R2).