Barium azide may be prepared by reacting sodium azide with a soluble barium salt:1
Barium azide can be used to make azides of magnesium, sodium, potassium, lithium, rubidium and zinc with their respective sulfates.2
It can also be used as a source for high purity nitrogen by heating:
This reaction liberates metallic barium, which is used as a getter in vacuum applications.
Jobelius, Horst H.; Scharff, Hans-Dieter (2000). "Hydrazoic Acid and Azides". Ullmann's Encyclopedia of Industrial Chemistry. Wiley-VCH. doi:10.1002/14356007.a13_193. ISBN 9783527306732. 9783527306732 ↩
H. D. Fair; R. F. Walker, eds. (1977). Physics and Chemistry of the Inorganic Azides. Energetic Materials. Vol. 1. New York and London: Plenum Press. ISBN 9781489950093. 9781489950093 ↩