The invention discloses a water purifier. The water purifier comprises a shell, a waterway board and filter elements, wherein the filter elements are arranged in the shell, and are connected with thewaterway board in a sealed mode, an inner partition board is arranged in the shell, the interior of the shell is divided into a front cavity and a rear cavity by the inner partition board, the filterelements are arranged in the front cavity, the waterway board is arranged in the rear cavity, filter element connection openings are formed in the waterway board, connection holes are formed in the inner partition board, and water inlets and water outlets of the filter elements penetrate through the connection holes, and are connected with the filter element connection openings in a sealed mode. According to the water purifier, by arranging the inner partition board in the shell to make the front cavity face the outer portion, the waterway board arranged in the rear cavity can be sheltered, corresponding structures of various kinds of connectors, valves and the like on the waterway board are all sheltered, and are not liable to be covered by dust, and a user can only see the filter elements located in the front cavity when checking at a normal installation angle of the water purifier, so that the cleanness and attractiveness of the interior of the water purifier are guaranteed.