The invention discloses a magnesium-rare-earth alloy melt purification refinement composite treatment flux. The mass percentage range of ingredients is 30-40% magnesium chloride, 8-15% potassium chloride, 8-15% sodium chloride, 15-20% barium chloride, 5-8% barium sulfate, 10-15% zirconium diboride , 10-15% zirconium sulfate. First melt and mix magnesium chloride, potassium chloride, sodium chloride, barium chloride, and barium sulfate, cool and solidify to obtain a refining agent compound salt block, and then mix and sieve the refining agent compound salt block with zirconium diboride and zirconium sulfate A purification and refinement composite treatment flux is prepared. The composite flux of the invention can improve the purification efficiency of the melt, prolong the time of Zr refinement, realize the refinement and purification treatment of the alloy melt in one step, and greatly shorten the preparation process of the magnesium-rare-earth alloy melt.