A refrigerator comprising: a sensor unit configured to measure a temperature inside a storage compartment of the refrigerator and an outside temperature outside the storage compartment of the refrigerator; a thermoelectric device module having a thermoelectric device and at least one fan and configured to cool the storage compartment ; and a controller configured to control the output power of the thermoelectric device based on the temperature of the storage compartment , a set temperature input by the user, and the outside temperature, wherein the controller determines the output power of the thermoelectric device based on whether the temperature of the storage compartment is within a first temperature region including the set temperature, a second temperature region higher than the first temperature region, or a third temperature region higher than the second temperature region, and whether the set temperature is a first set temperature lower than a reference set temperature or a second set temperature higher than the reference set temperature, and wherein, in the first temperature region, the controller controls the thermoelectric device to operate at a first output power which gradually increases as the outside temperature increases, in the second temperature region, the refrigerator is configured to control the thermoelectric device to operate at a second output power which gradually increases as the outside temperature increases and is greater than the first output power, and in the third temperature region, the controller controls the thermoelectric device to operate at a third output power which exceeds the first output power and is greater than or equal to the second output power. a sensor unit configured to measure a temperature inside a storage compartment of the refrigerator and an outside temperature outside the storage compartment of the refrigerator; a thermoelectric device module having a thermoelectric device and at least one fan and configured to cool the storage compartment ; and a controller configured to control the output power of the thermoelectric device based on the temperature of the storage compartment , a set temperature input by the user, and the outside temperature, wherein the controller determines the output power of the thermoelectric device based on whether the temperature of the storage compartment is within a first temperature region including the set temperature, a second temperature region higher than the first temperature region, or a third temperature region higher than the second temperature region, and whether the set temperature is a first set temperature lower than a reference set temperature or a second set temperature higher than the reference set temperature, and wherein, in the first temperature region, the controller controls the thermoelectric device to operate at a first output power which gradually increases as the outside temperature increases, in the second temperature region, the refrigerator is configured to control the thermoelectric device to operate at a second output power which gradually increases as the outside temperature increases and is greater than the first output power, and in the third temperature region, the controller controls the thermoelectric device to operate at a third output power which exceeds the first output power and is greater than or equal to the second output power. <EOS>