A refrigerator having a freezer compartment and a refrigerator compartment, the refrigerator including an icemaker provided at the freezer compartment door configured to open/close the freezer compartment, a dispenser provided at a refrigerator compartment door configured to open/close the refrigerator compartment, and a water tank provided at the refrigerator compartment door, the water tank having an inlet through which water is introduced into the water tank, a first outlet for supplying water to the dispenser, and a second outlet for supplying water to a pump, wherein the pump is configured to pump water from the water tank to the icemaker.