NOVELTY - Recovering, separating and purifying erythromycin, involves mixing methacrylic acid, cross-linking agent, pore-forming agent, initiator and erythromycin molecule to obtain reaction mixture (I); dissolving polyvinyl alcohol in water to obtain dispersing phase (II); adding reaction mixture (I) into dispersing phase (II), and carrying out dispersion polymerization; taking out synthesized microspheres, washing, filling into separation column tube; and adding erythromycin crystallization mother liquor in separation column, washing, and collecting eluted component.    USE - For recovering, separating and purifying erythromycin (claimed).    ADVANTAGE - The method provides selective recovery and purification; is environment-friendly; and has high economic and environmental value.    DETAILED DESCRIPTION - Recovering, separating and purifying erythromycin using a molecular engram technology, involves (a) mixing methacrylic acid, cross-linking agent, pore-forming agent, initiator as a template and erythromycin molecule to obtain a reaction mixture (I), where molar ratio of methacrylic acid and erythromycin is 2-20:1, the molar ratio of methyl acrylic acid and cross-linking agent is 1.5-15:1, the volume of pore-forming agent for reaction mixture is 60-70 vol.%, and the amount of initiator is 0.01-1 mol.%; (b) dissolving 0.25-0.5% polyvinyl alcohol as dispersant in water to obtain a dispersing phase (II); (c) adding reaction mixture (I) into the dispersing phase (II) in a volume ratio of 1:8-15, and carrying out dispersion polymerization, where the polymerization temperature is controlled at 50-60 degrees C, and reaction time is 6-24 hours; (d) after finishing the reaction, taking out the synthesized microspheres, washing the microspheres to remove pore-forming agent and template molecule erythromycin, filling into the separation column tube to obtain erythromycin molecular engram separation column; and (e) adding erythromycin crystallization mother liquor into the waste liquid in the separation column, washing using water and an organic solvent in the separating column to remove impurities, then using eluent and collecting the eluted component.