Our study highlighted the importance of the protective effect of miR-17-5p by inhibiting the TXNIP/NLRP3 inflammasome pathway and pyroptosis, providing a more complete understanding of the therapeutical value of miR-17-5p in DM. Here, NLRP3 is linked to diabetes mellitus.