Hardness of water may be temporary or permanent. Permanent hardness is due to the presence of

Permanent hardness in water is caused due to the presence of soluble salts of magnesium and calcium in the form of chlorides or sulphates in water.

So the chlorides as well as sulphates are responsible for causing permanent hardness in water.

1