The research on novel high-temperature resistant primary explosives is an inevitable trend to adapt to the development of weapons. In this paper, high temperature resistant primary explosive cadmium azide was prepared from sodium azide and cadmium nitrate tetrahydrate by hydrothermal reaction. Then, the high-temperature storage performance was tested by cook-off test, and the influence of high temperature was analyzed in combination with microscopic morphology, crystal structure, and thermal decomposition temperature. The reliable ignition voltage was tested by electric ignition sensitivity, and the initiation performance of cadmium azide was verified by using CL-20 as secondary explosive. The results show that cadmium azide is an excellent high temperature resistant initiating agent primary explosive with the thermal decomposition temperature of 384.21°C and a 50% electric ignition voltage of 4.82 V, which can reliably initiate the CL-20 into complete detonation.