The invention relates to a method for controlling water output of a water purifier and a water purifier, a specific implementation of the method comprises: when judging (101) that a container is placed in a water collecting region and there is no content in the container, determining (103a) a category of the container; judging (104a) a water output type matching with the container as a reference water output type based on the category of the container; determining (103b) a category of the content when there is content in the container; judging (104b) a water output type matching with the content as a reference water output type based on the category of the content; determining (105) information of a corresponding water output route according to the reference water output type information; and according to the information of the water output route, controlling (106) a water purifier to output water according to the water output route.