[OH-].[Mg+2:2].[OH-].C(=O)([O-])[O-].[C:8]([CH2:11][S:12][CH2:13][C:14]([OH:16])=[O:15])([OH:10])=[O:9]>>[C:8]([CH2:11][S:12][CH2:13][C:14]([O-:16])=[O:15])([OH:10])=[O:9].[Mg+2:2].[C:8]([CH2:11][S:12][CH2:13][C:14]([O-:16])=[O:15])([OH:10])=[O:9]Magnesium (carboxymethylthio)acetate is prepared by reacting magnesium hydroxide or carbonate with (carboxymethylthio) acetic acid, this salt being a mucolytic agent of the invention. It is called compound LJ 1165 hereinafter.