The present application can provide a water purifier. The water purifier includes an RO filter including a non-filtering portion into which
raw water flows, a filtering portion from which
purified water is discharged, and a
reverse osmosis membrane that divides the non-filtering portion and the filtering portion and filters the
raw water into the
purified water; a
purified water storage portion that stores the purified water; a
raw water storage portion that stores the raw water; a flow passage that provides a passage through which the raw water and the purified
water flow; a valve portion including at least one valve module that selectively opens and closes to adjust the flow of the raw water and the purified water in the flow passage; a sterilization module that sterilizes the raw water discharged from the non-filtering portion; and a controller that controls the opening and closing of the valve module and the sterilization module based on a plurality of flow
modes. Among the plurality of flow
modes, there is a flushing mode in which the
reverse osmosis membrane is cleaned with the purified water of the purified
water storage portion, and the controller, in the flushing mode, opens and closes the at least one valve module so that the purified water discharged from the purified
water storage portion flows into the non-filtering portion side, and the flushing drain water discharged from the non-filtering portion flows toward the raw
water storage portion, drives the sterilization module to sterilize the flushing drain water.