Provided is a voltage regulator having an overcurrent protective circuit,
which is excellent in detection precision and small in current
consumption. The voltage regulator having the overcurrent protective
circuit which detects that overcurrent flows in an output transistor, and
limits the current of the output transistor, includes a regulated cascode
circuit that makes a voltage at a source of the output transistor equal
to a voltage at a source of the output current detection transistor, in
which the operating current of the regulated cascode circuit is supplied
by a transistor that is controlled by the output voltage of an error
amplifier circuit.