Magnesium azideMagnesium azide is an inorganic chemical compound with the formula. It is composed of the magnesium cation and the azide anions.PropertiesMagnesium azide hydrolyzes easily. Like most azides, it is explosive.