AIM: To study the effect of autophagy in MTB's infection and the expression of its related gene. METHODS: The formation of autophagy was induced by Rapamycin and observed by the transmission electron microscope. The cleaning role of autophagy to the MTB H37Rv virulent strain after its formation was detected by clone forming unit (CFU). Realtime PCR was used to detect the mRNA of the autophagy related gene was expressed. RESULTS: The RAW264.7 cell could form autophagosome under the induction of the Rapamycin, and it had the determinate cleaning role to the H37Rv strain in the cell after which formed. The mRNA of atg5, atg8 and atg12 which participated the formation of autophagy were expressed more, but the expression of atg7 had no change. CONCLUSION: Autophagy participated the process of immune response of anti-MTB. Atg5, atg8 and atg12 were the important molecule which control the formation of autophagy when MTB infected.