The salts of magnesium that form permanent hardness sometimes tend to cause corrosion instead of hard scale formation, e.g. magnesium chloride in an untreated boiler hydrolyses to form corrosive hydrochloric acid.
Ang mga asin ng magnesium ay maaari ding magdulot ng corrosion, tulad ng magnesium chloride na maaaring bumuo ng hydrochloric acid.