Most countries deployed their military in some capacity to combat the COVID-19 pandemic. We present original data on early pandemic-related deployments, identifying seven types of deployment: logistic operations, enforcement, international involvement, border protection, information provision, intelligence operations, and domestic protection. We find that military deployments are shaped by capacity and electoral considerations, even after accounting for cross-country differences in perceptions of the military. Countries with elected leaders were significantly more likely to deploy the military for border protection. Incumbents facing reelection were especially sensitive to electoral concerns, becoming significantly less likely to deploy the military for domestic enforcement when facing an imminent election.