A method of maintaining at very low values the cyanide content in baths of molten salts in which the main active principle is the cyanate anion CNO.sup.-, comprising conjointly providing in said bath sulphur in an amount between 0.001 and 0.1% by weight of said bath, introducing a substance containing at least one carbonyl group into said bath and maintaining said substance in said bath in a quantity such that, per kg. of bath and per 24 hours maintenance at working temperature, said substance has a weight of CO of between 1 and 25 grams, and maintaining the working temperature of said bath between 480.degree. and 650.degree. C.