A system and method that uses a high-temperature condenser to collect magnesium produced by thermal reduction, electrolysis, or distillation. The condenser is a common heat exchanger design (shell/tube, plate/plate, etc.) and uses a heat transfer fluid to cool and condense magnesium gas, e.g., to 200-900 C. under vacuum or pressure conditions. Solid or liquid magnesium is collected in the condenser along with any by-products or impurities at a purity greater than 35 wt-% Mg. Magnesium is subsequently liberated from the condenser by raising the temperature of the system, lowering the pressure, or both, to induce a phase change in the metal, such as melting or distillation, for further purification to, e.g., >90 wt-% Mg.