Barium azide is an inorganic azide with the formula Ba(N 3 ) 2 . Like most azides, it is explosive. It is less sensitive to mechanical shock than lead azide .
Barium azide can be used to form magnesium, sodium, potassium, lithium, rubidium, and zinc with their respective sulfates.
Ba(N3)2 + Li2SO4 → 2 LiN3 + BaSO4
It can also be used as a source of high pure nitrogen by heating:
Ba(N3)2 → Ba + 3 N2
This reaction liberates the metallic barium, which is used as a getter in vacuum applications.