Together, our findings show a regulatory role of AIM2, mediated by IL-18, in shaping gut microbiota and reducing bacterial translocation and proinflammatory response against insulin-producing β cells, which ultimately results in protection against T1D onset in an STZ-induced diabetes model. Here, INS is linked to diabetes mellitus.