A refrigerator comprising: a cabinet in which a freezing compartment and a refrigerating compartment are defined; a freezing compartment door that opens and closes the freezing compartment; a refrigerating compartment door that opens and closes the refrigerating compartment; a dispenser to dispense ice, cooled water, and purified water; a water supply passage connected to an external water supply source; a water supply valve configured to open and close the water supply passage; a filter device installed in the refrigerating compartment to purify supplied water when the water supply valve is opened; a water tank configured to receive the purified water from the filter device; a cooled water valve configured to adjust a flow of the cooled water discharged from the water tank; a cooled water passage configured to guide the cooled water passing through the cooled water valve to the freezing compartment door, the cooled water passage passing through a hinge of the freezing compartment door; a purified water passage branched at a rear end of the filter device, the purified water passage being connected to a purified water valve disposed in a recessed cavity; an ice making passage branched together with the purified water passage at a rear end of the purified water valve; an ice making device to receive the purified water from the ice making passage, characterized in that the dispenser is located in the freezing compartment door; the purified water valve is disposed in a recessed cavity of the freezing compartment door; the ice making device is disposed in the freezing compartment door; a connection member is disposed in the freezing compartment door and at which the cooled water passage and the purified water passage are combined with each other; and a dispensing passage is connected to the connection member (6629 to dispense the cooled water and the purified water. a cabinet in which a freezing compartment and a refrigerating compartment are defined; a freezing compartment door that opens and closes the freezing compartment; a refrigerating compartment door that opens and closes the refrigerating compartment; a dispenser to dispense ice, cooled water, and purified water; a water supply passage connected to an external water supply source; a water supply valve configured to open and close the water supply passage; a filter device installed in the refrigerating compartment to purify supplied water when the water supply valve is opened; a water tank configured to receive the purified water from the filter device; a cooled water valve configured to adjust a flow of the cooled water discharged from the water tank; a cooled water passage configured to guide the cooled water passing through the cooled water valve to the freezing compartment door, the cooled water passage passing through a hinge of the freezing compartment door; a purified water passage branched at a rear end of the filter device, the purified water passage being connected to a purified water valve disposed in a recessed cavity; an ice making passage branched together with the purified water passage at a rear end of the purified water valve; an ice making device to receive the purified water from the ice making passage, characterized in that the dispenser is located in the freezing compartment door; the purified water valve is disposed in a recessed cavity of the freezing compartment door; the ice making device is disposed in the freezing compartment door; a connection member is disposed in the freezing compartment door and at which the cooled water passage and the purified water passage are combined with each other; and a dispensing passage is connected to the connection member (6629 to dispense the cooled water and the purified water.