An apparatus for producing carbonated water includes a gas cylinder configured to store carbon dioxide gas, a cold water storage unit configured to store cold water, a producing tank defining a closed space where the carbonated water is produced, a water supply passage configured to connect the cold water storage unit to the producing tank, the water supply passage including a water supply valve that controls supply of the cold water, a gas supply passage connecting the gas cylinder to the producing tank, the gas supply passage including a gas valve that controls supply of the carbon dioxide, a first relief valve provided along the gas supply passage, the first relief valve configured to control the discharge of the carbon dioxide gas, a dispensing passage connecting the producing tank to a dispensing member, and the dispensing member configured to dispense the carbonated water from a front surface of a refrigerator.