NOVELTY - Preparing agricultural based chemical fertilizer, by recovering rare earth metals from wastewater by passing the wastewater through column packed with activated carbon, passing pretreated wastewater through electrodialysis concentrator, evaporating concentrate, composting slurry, concentrating slurry, separating crystals by centrifugation, granulating portion of mother solution, mixing crystalline ammonium chloride with granules, activating waste residues, stirring mixture, granulating mixture, drying granules, sorting dried granules and packaging cooled granules.    USE - The method is useful for preparing agricultural based chemical fertilizer (claimed).    ADVANTAGE - The method is simple and cost-effective, and causes no secondary pollution.    DETAILED DESCRIPTION - Method for preparing agricultural based chemical fertilizer using rare earth metals and ammonium chloride recovered from wastewater, involves (a) recovering rare earth metals from the wastewater by passing the wastewater containing 6-8% ammonium chloride through pretreated filtration column packed with activated carbon for reducing concentration of the organic substance in the wastewater to 0.5 mg/l, (b) passing pretreated wastewater through an electrodialysis concentrator so that concentration of the ammonium chloride is increased to 10-13% in the wastewater, and adjusting pH of obtained concentrate to 3-5 using hydrochloric acid, (c) subjecting the concentrate to evaporator for further increasing concentration of the ammonium chloride to 45-48%, composting obtained slurry containing ammonium chloride, condensing distilled water and returning ammonium bicarbonate to precipitation and recycling processes, (d) concentrating the slurry containing ammonium chloride to 45-48% in cooling based crystallization tank, performing centrifugal separation of formed crystals when temperature of the slurry reaches close to room temperature to obtain crystalline solid ammonium chloride, granulating a portion of mother solution containing organic and inorganic fertilizer compounds and returning residual mother solution to three-way evaporation concentrator, and (e) mixing the crystalline ammonium chloride with granules obtained in the step (d) to obtain mixture containing 60 %mass ammonium chloride, performing three-way activation of waste residues, stirring the mixture, conveying the mixture to conveyor belt of drum granulator, spraying the residual mother solution on the mixture, granulating the mixture, subjecting obtained granules to a dryer, drying the granules, sorting dried granules, cooling sorted granules and packaging obtained cooled fertilizer granules.