Barium cyanide is a chemical compound with the formula Ba(CN)2.
It is synthesized by the reaction of hydrogen cyanide and barium hydroxide in water or petroleum ether.
Barium cyanide is used in electroplating and other metallurgical processes.
Barium cyanide reacts with water and carbon dioxide in air slowly, producing highly toxic hydrogen cyanide gas.
[citation needed] Aqueous solutions of barium cyanide dissolve insoluble cyanides of some of the heavy metals forming crystalline double salts.