Autophagy plays a pivotal role in activating the antimicrobial host defense against Mycobacterium tuberculosis (M.tb.). The emerging roles of microRNAs (miRNAs) in regulating immune responses have attracted increasing attention in recent years. Appreciating the potential of host-directed therapies designed to control autophagy during mycobacterial infection, we focused on the influence of miR-23a-5p on the activation of macrophage autophagy during M.tb. infection in bone marrow-derived macrophages (BMDMs) and murine RAW264.7 cells. Here, we demonstrated that M.tb.-infection of macrophages lead to markedly enhanced expression of miR-23a-5p in a time- and dose-dependent manner. Furthermore, forced expression of miR-23a-5p accelerated the survival rate of intracellular mycobacteria, while transfection with miR-23a-5p inhibitors attenuated mycobacterial survival. More importantly, overexpression of miR-23a-5p dramatically prevented M.tb.-induced activation of autophagy in macrophages, whereas inhibitors of miR-23a-5p remarkably accelerated M.tb.-induced autophagy. Mechanistically, miR-23a-5p is able to modulate TLR2/MyD88/NF-κB signaling activity by targeting TLR2 in RAW264.7 cells in response to M.tb.-infection. Collectively, these findings demonstrated that miR-23a-5p modulated the innate host defense by promoting mycobacteria survival and inhibiting the activation of autophagy against M.tb. through TLR2/MyD88/NF-κB pathway by targeting TLR2, which may provide a promising therapeutic target for tuberculosis.