Primary explosives with powerful and reliable stabilities have attractive applications in the field of military and civilian technologies. In this work, four two-dimensional, solventfree metal azide-based energetic coordination polymers [M-(N 3 ) 2 (btze)] n (M = Co for 1, Cd for 2; btze = 1,2-bis(tetrazol-1yl)ethane), [Cd 2 (N 3 ) 3 Cl(btze) 2 ] n 3, and [Cd 2 (N 3 ) 2 Br 2 (btze) 2 ] n 4 were prepared through a hydrothermal reaction and structurally characterized by single-crystal X-ray diffraction. All four compounds exhibit two times higher heats of detonation than that of the traditional lead azide (LA), high thermal stabilities (>200 °C), and relatively low sensitivities. The values of enthalpies of formation (Δ f H°) of 1 and 2 are high up to 4.088 and 3.925 kJ•g −1 , respectively, which belong to those of the largest Δ f H°values among metal-based primary explosives. Although 1 and 2 are isostructural energetic compounds, their mechanical sensitivities are discrepant, which mainly originates from different metal atomic radii and distinct levels of repulsive steric clashes between the adjacent azides. As the less sensitive ligand btze is present in place of the previously reported atrz (4,4′-azo-1,2,4-triazole), the resultant coordination polymers with the same metal center exhibit lower mechanical sensitivities confirmed by experimental results and theoretical analyses. The mechanical sensitivities of 3 and 4 with almost the same structures display similarities despite different types and amounts of halogen ions in place of azide ions. Compounds 1 and 2 are detonated with a powerful blast. The sensitivities of 1 and 2 are in the range of applicable primary explosives, which makes 1 and 2 act as competitive and safe primary explosives.