-Pure magnesium is commonly made by separating it from seawater. This process is known as electrolysis. The liquid magnesium formed is cooled into convenient blocks of metal known as ingots. The chlorine gas is recycled to form hydrochloric acid for the production of more magnesium chloride.