Molten salts, in contrast to aqueous solutions in which an electrolyte (acid, base, salt) is dissolved in a molecular solvent, are essentially completely ionic. This article begins with an overview of the thermodynamics of cells and classification of electrodes for molten salts: reference electrodes and indicator electrodes. It explains that corrosion in molten salts can be caused by the solubility of the metal in the salt, particularly if the metal dissolves in its own chloride. The article describes the factors that affect the corrosion of titanium, namely, the titanium chloride content of the magnesium chloride melt, magnesium or sodium content, and oxygen content of the product. It concludes with a discussion on the oxygen activity in the titanium metal product.