Barium azide may be prepared by reacting sodium azide with a soluble barium salt. Care should be taken to prevent large crystals from forming in the solution as barium azide crystals will explode if subjected to friction/shock or if fully dried. The product should be stored submerged in ethanol.