The production of magnesium ingots adopts the Pidgeon smelting process. The specific process is as follows: preheat the refining pot to 773~873K, first add 2# flux at the bottom of the refining pot as the bottom flux, and the flux amount is 15%~20% of the mass of the finished magnesium. After the flux melts, add the crude magnesium transported from the reduction workshop into the refining pot, sprinkle a certain amount of fire-extinguishing flux on the surface of the crude magnesium, and heat and melt it at a temperature of 943K. When the magnesium in the refining pot reaches the effective volume height of the refining pot, keep the temperature of the magnesium liquid at 983K, then add the refining flux at an amount of 20kg per ton of magnesium, stir while adding, so that the flux and the magnesium liquid are fully mixed to achieve the purification effect. The refining time is about 10~20min, then control the temperature at 1013~1023K, and let it stand for 15~20min to fully separate the impurities and magnesium. Since the iron content in the molten magnesium increases with temperature, the temperature of the molten magnesium is lowered from 1013K to 983K after standing, and the temperature is maintained at this temperature. Use a magnesium liquid pump to transport the refined magnesium liquid in the upper layer of the refining pot to the continuous casting machine for pouring. The continuous casting machine is constantly rotating at a slow speed. The cast magnesium ingots immediately enter the cooling section, and sulfur powder is sprayed on the surface of the magnesium ingots to prevent oxidation and combustion. After the magnesium ingot comes out of the cooling section, the surface has solidified and will not burn when in contact with air. Then it enters the second stage of cooling until the magnesium ingot is completely formed and releases from the mold.