A water dispenser including a body and a water outlet mechanism, the body includes a base and a supply pipe inside of the body, multiple mounting grooves set on the side of the base; the water outlet mechanism arranged on the base, including a diversion component including a diversion pipe and a diversion valve installed in a pipeline of the diversion pipe; an end of the diversion pipe is connected to the supply pipes, the other end of the diversion pipe extending into the mounting groove; a linkage component, an inner end of that connected to the valve, an outer end of that extending into the mounting groove; when the outer end of the linkage component suffers an inward force, making the valve move to conduct the water inlet chamber and the diversion chamber; and a resetting component that connects the base and the linkage component.