In this study, we have identified folic acid might be a putative drug for treating DCM through bioinformatics analysis, and experimentally proved that folic acid alleviated T2DM induced pyroptosis of cardiomyocytes by reducing NLRP3 inflammasome via the Hippo signaling pathway. The gene discussed is NLRP3; the disease is familial dilated cardiomyopathy.