Abstract When ground-to-air missile is launched vertically, the missile needs initial azimuth setting via Launch Control Unit for initial alignment, as the initial attitude error is one of the key factors that affect the handover of missile midcourse/terminal guidance. This paper analyzes the error link of initial azimuth via Launch Control Unit and the causes of big azimuth error currently. For this problem, it is considered to transform the composite roll error to the composite yaw error to get high accuracy initial azimuth, accordingly a method making use of twice self-alignment in missile erection to get high accuracy initial attitude for vertical launching is designed. Finally, the hardware-in-the-loop simulation is verified and the result shows that the algorithm can effectively reduce the initial attitude error from current 1.5° to less than 0.3° in the premise of no effect on the preparation procedure of missile launch.