Our study revealed the effects of P. distasonis in the treatment of T2D via intestinal barrier repairment and inflammation reduction and highlighted a host-microbial co-metabolite indoleacrylic acid that could active AhR to perform its physiological effects. Here, AHR is linked to type 2 diabetes mellitus.