Low vitamin D levels in human immunodeficiency virus type-1 (HIV) infected persons are associated with more rapid disease progression and increased risk for Mycobacterium tuberculosis infection. We report that physiological concentrations of 1α,25-dihydroxycholecalciferol (1,25D3), the active form of vitamin D, inhibits M. tuberculosis and HIV replication in co-infected macrophages through human cathelicidin microbial peptide-dependent autophagy that requires phagosomal maturation. These findings provide a biological explanation for the importance of vitamin D sufficiency in HIV and M. tuberculosis-infected persons, and provide new insights into novel approaches to prevent and treat HIV infection and related opportunistic infections.