A refrigerator comprising: a cabinet defining a storage space, wherein the cabinet includes a rear wall forming a rear surface of the cabinet; a machine room provided at a lower portion of the cabinet; a door (21, 22) configured to open and close the storage space, wherein the door includes a left door and a right door that are rotatably disposed on both left and right sides of the cabinet, respectively; at least one of a dispenser for dispensing water and an ice maker for making ice being provided in one of the left door and the right door; a water tank provided in the storage space; a pump assembly configured to supply water from the water tank to the at least one of the dispenser and the ice maker; and a water supply passage configured to guide water from the water tank to the at least one of the dispenser and the ice maker, wherein the water supply passage includes a first water supply passage connecting the water tank to the pump assembly and a second water supply passage connecting the pump assembly to the at least one of the dispenser and the ice maker, and wherein at least a portion of the second water supply passage extends at an outside of the cabinet; characterized in that: the pump assembly is provided in the machine room, and at least a portion of the first water supply passage extends at the outside of the cabinet; wherein the rear wall includes an upper opening and a lower opening through which the first and second water supply passages (61, 62) pass, respectively, wherein the machine room has an opening to connect the pump assembly and the first and second water supply passages (61, 62); wherein the water tank, the pump assembly, and the water supply passage are all disposed on the same side of the cabinet as the at least one of the dispenser and the ice maker; and wherein the upper opening, the lower opening, and the opening of the machine room are arranged on one vertical extension line. a cabinet defining a storage space, wherein the cabinet includes a rear wall forming a rear surface of the cabinet; a machine room provided at a lower portion of the cabinet; a door (21, 22) configured to open and close the storage space, wherein the door includes a left door and a right door that are rotatably disposed on both left and right sides of the cabinet, respectively; at least one of a dispenser for dispensing water and an ice maker for making ice being provided in one of the left door and the right door; a water tank provided in the storage space; a pump assembly configured to supply water from the water tank to the at least one of the dispenser and the ice maker; and a water supply passage configured to guide water from the water tank to the at least one of the dispenser and the ice maker, wherein the water supply passage includes a first water supply passage connecting the water tank to the pump assembly and a second water supply passage connecting the pump assembly to the at least one of the dispenser and the ice maker, and wherein at least a portion of the second water supply passage extends at an outside of the cabinet; the pump assembly is provided in the machine room, and at least a portion of the first water supply passage extends at the outside of the cabinet; wherein the rear wall includes an upper opening and a lower opening through which the first and second water supply passages (61, 62) pass, respectively, wherein the machine room has an opening to connect the pump assembly and the first and second water supply passages (61, 62); wherein the water tank, the pump assembly, and the water supply passage are all disposed on the same side of the cabinet as the at least one of the dispenser and the ice maker; and wherein the upper opening, the lower opening, and the opening of the machine room are arranged on one vertical extension line.