The invention discloses a preparation method of metformin hydrochloride. The method is characterized by including the following steps of firstly, adding dicyandiamide and dimethylamine hydrochloride in a reaction still, and adding cyclohexanol, wherein the mole ratio of dicyandiamide to dimethylamine hydrochloride is 1:1.2, and the mole ratio of cyclohexanol to dicyandiamide is 3:1; secondly, starting a stirring device, controlling the rotating speed at 45-50 r/min, regulating the vacuum degree in the reaction still to 0.08-0.09 MPa, heating the mixture to 135-145 DEG C, and preparing crude metformin hydrochloride after the reaction is conducted for 2.5 hours; thirdly, conducting recrystallization on the crude product through ethyl alcohol, and conducting filtering and drying to obtain the metformin hydrochloride. By means of the method, the reaction time is greatly shortened, the production cost is reduced, side reactions can be effectively restrained, the impurity content is reduced, and therefore the yield of the product is greatly improved.