A refrigerator comprising a compressor for supplying chilled air into a refrigerator compartment and a freezer compartment, the refrigerator comprising: an inrush current preventing unit for preventing an excessive current from being supplied when an input power is supplied to the refrigerator; and a controller for driving the compressor; characterized by a bypass unit connected to the inrush current preventing unit to bypass the input power; and a voltage measuring unit for measuring a voltage of rectified and smoothed input power; wherein the controller is configured to control the input power inputted through the inrush current preventing unit to bypass to the bypass unit in response to a magnitude of a voltage measured by the voltage measuring unit, for recovering an inrush current preventing function of the inrush current preventing unit, wherein the inrush current preventing unit comprises a variable resistor or a negative temperature coefficient thermistor resistance of which is decreased by heat generated when an electric power is applied, of which is increased as the heat is decreased when the electric power is not applied or current of the applied electric power decreases, wherein when the input power is bypassed, the current flowing through the inrush current preventing unit is decreased or does not flow so that the resistance of the inrush current preventing unit is increased and an inrush current preventing function is recovered, wherein the controller controls the bypass unit to be conducted when a magnitude of the voltage measured by the voltage measuring unit is greater than a reference voltage, and to be immediately re-operated when stopped after operation for a predetermined time. an inrush current preventing unit for preventing an excessive current from being supplied when an input power is supplied to the refrigerator; and a controller for driving the compressor; characterized by a bypass unit connected to the inrush current preventing unit to bypass the input power; and a voltage measuring unit for measuring a voltage of rectified and smoothed input power; wherein the controller is configured to control the input power inputted through the inrush current preventing unit to bypass to the bypass unit in response to a magnitude of a voltage measured by the voltage measuring unit, for recovering an inrush current preventing function of the inrush current preventing unit, wherein the inrush current preventing unit comprises a variable resistor or a negative temperature coefficient thermistor resistance of which is decreased by heat generated when an electric power is applied, of which is increased as the heat is decreased when the electric power is not applied or current of the applied electric power decreases, wherein when the input power is bypassed, the current flowing through the inrush current preventing unit is decreased or does not flow so that the resistance of the inrush current preventing unit is increased and an inrush current preventing function is recovered, wherein the controller controls the bypass unit to be conducted when a magnitude of the voltage measured by the voltage measuring unit is greater than a reference voltage, and to be immediately re-operated when stopped after operation for a predetermined time.