A water purifier configured to eject hot water and purified water comprising: a housing forming a storage space; a filter provided inside the housing to purify water supplied from an external water supply source; a water ejection nozzle provided on the outside of the housing and configured to eject the water passing through the filter; a hot water module forming a heating flow path through which the purified water from the filter passes and configured to instantaneously heat the purified water passing through the heating flow path into hot water when hot water is ejected; a flow rate adjusting valve configured to adjust the flow rate of water flowing to the hot water module; a hot water flow path configured to guide the hot water passing through the hot water module toward the water ejection nozzle; and a controller configured to control the operation of the hot water module and the flow rate adjusting valve, wherein, when purified water is ejected, the controller is configured to turn off the hot water module, and the purified water discharged from the hot water module is ejected to the water ejection nozzle through the hot water flow path, wherein the opening degree of the flow rate adjusting valve is adjusted by the controller, and wherein, when hot water is ejected, the opening degree of the flow rate adjusting valve is adjusted to be smaller than the opening degree of the flow rate adjusting valve when purified water is ejected; and wherein a hot water valve configured to control the flow of water flowing through the hot water flow path is installed in the hot water flow path, and wherein, when hot water is ejected and purified water is ejected, the controller opens the hot water valve, and wherein, when hot water is ejected, the controller turns on the hot water module, and the hot water discharged from the hot water module is ejected to the water ejection nozzle through the hot water flow path. a housing forming a storage space; a filter provided inside the housing to purify water supplied from an external water supply source; a water ejection nozzle provided on the outside of the housing and configured to eject the water passing through the filter; a hot water module forming a heating flow path through which the purified water from the filter passes and configured to instantaneously heat the purified water passing through the heating flow path into hot water when hot water is ejected; a flow rate adjusting valve configured to adjust the flow rate of water flowing to the hot water module; a hot water flow path configured to guide the hot water passing through the hot water module toward the water ejection nozzle; and a controller configured to control the operation of the hot water module and the flow rate adjusting valve, wherein, when purified water is ejected, the controller is configured to turn off the hot water module, and the purified water discharged from the hot water module is ejected to the water ejection nozzle through the hot water flow path, wherein the opening degree of the flow rate adjusting valve is adjusted by the controller, and wherein, when hot water is ejected, the opening degree of the flow rate adjusting valve is adjusted to be smaller than the opening degree of the flow rate adjusting valve when purified water is ejected; and wherein a hot water valve configured to control the flow of water flowing through the hot water flow path is installed in the hot water flow path, and wherein, when hot water is ejected and purified water is ejected, the controller opens the hot water valve, and wherein, when hot water is ejected, the controller turns on the hot water module, and the hot water discharged from the hot water module is ejected to the water ejection nozzle through the hot water flow path.