Gut homeostasis plays an important role in maintaining the overall body health during aging. Rapamycin, a specific inhibitor of mTOR, exerts prolongevity effects in evolutionarily diverse species. However, its impact on the intestinal homeostasis remains poorly understood. Here, we demonstrate that rapamycin can slow down the proliferation rate of intestinal stem cells (ISCs) in the aging guts and induce autophagy in the intestinal epithelium in Drosophila. Rapamycin can also significantly affect the FOXO associated genes in intestine and up-regulate the negative regulators of IMD/Rel pathway, consequently delaying the microbial expansion in the aging guts. Collectively, these findings reveal that rapamycin can delay the intestinal aging by inhibiting mTOR and thus keeping stem cell proliferation in check. These results will further explain the mechanism of healthspan and lifespan extension by rapamycin in Drosophila.