Fasting-induced molting (FIM) is a common method used to improve the laying performance of aged laying hens. Nevertheless, this approach may impose various stresses on chickens, such as disruptions in intestinal flora and inflammation issues within the intestines. However, the impact of an imbalance in intestinal flora on intestinal health during the FIM process remains elusive. Therefore, intestinal injury, the microbiome, and the metabolome were analyzed individually and integrated to elucidate the impact of the intestinal flora on intestinal health during the FIM process. The findings indicated that fasting resulted in a notable reduction in villus height and villus/crypt ratio, coupled with elevated levels of intestinal inflammation and permeability. During the fasting period, microbiota compositions changed. The abundance of Escherichia_Shigella increased, while the abundance of Ruminococcaceae_UCG-013 and Lactobacillus decreased. Escherichia_Shigella was positively correlated with Citrinin and Sterobilin, which lead to intestinal inflammation. Ruminococcaceae_UCG-013 and Lactobacillus exhibited positive correlations with Lanthionine and reduced Glutathione, thereby reducing intestinal inflammation. This study screened the intestinal probiotics, Ruminococcaceae UCG-013 and Lactobacillus, that influence gut health during the fasting period, providing an experimental basis for improving gut microbiota and reducing intestinal inflammation during the FIM process.