Mitochondrial damage and activation of the cytosolic DNA sensor cGAS–STING pathway lead to cardiac pyroptosis and hypertrophy in diabetic cardiomyopathy mice. Here, CGAS is linked to diabetic cardiomyopathy.