The invention relates to a method for extracting 1-deoxynojirimycin from ramulus mori. The method is characterized in that the ramulus mori is taken as a 
raw material and the method comprises the following steps: (1) extracting the ramulus mori by using an 
alcohol-water solution to obtain a crude extract; (2) performing ungrease treatment on the crude extract to obtain a semi-finished product; (3) dissolving the semi-finished product with an 
ethanol-water solution to obtain a loading solution with the 
turbidity lower than 0.5 degree, performing wet-process loading by adopting a 
macroporous resin D101 
separation column, standing until resin reaches 
adsorption equilibrium, performing 
gradient elution or isocratic 
stepwise elution by taking the 
ethanol-water solution as an eluant, collecting eluant with the 
mass fraction of the 1-deoxynojirimycin greater than 20%, merging, concentrating, and 
drying to obtain a crude product; (4) repeating the purification in step (3) for the crude product, collecting eluant with the 
mass fraction of the 1-deoxynojirimycin greater than or equal to 95%, merging, concentrating, and 
drying to obtain the 1-deoxynojirimycin. The method can extract the 1-deoxynojirimycin efficiently from the ramulus mori, the operation is simple, the cost is low, and the method is suitable for 
mass production.