The invention belongs to the technical field of cement grinding aid preparation, and particularly relates to a method for preparing a cement grinding aid from a leachate. The method comprises the following steps: S1, adding activated carbon into the landfill leachate, adsorbing peculiar smell in the landfill leachate, decolorizing at the same time, and filtering the activated carbon through a filter screen after no peculiar smell exists in the landfill leachate; S2, adding a treating agent into the landfill leachate, stirring to form a flocculation precipitate, and filtering the flocculation precipitate; S3, adjusting the pH value of the landfill leachate to 9-11 to obtain a modified landfill leachate; and S4, adding the modified landfill leachate, triethanolamine, glycerol triacetate, propylene glycol, triisopropanolamine, sodium silicate and molasses into water, and stirring and mixing to obtain the cement grinding aid. The landfill leachate is used as a main raw material to replace heavy alcohol in the cement grinding aid, and the addition amount of the heavy alcohol is reduced, so that the cost of the cement grinding aid is greatly reduced.