Taken together, pyroptosis-related genes Casp8, Gsdmd, and Trem2 exhibited higher expression levels in the brain tissues of mice with cerebral infarction. Here, GSDMD is linked to cerebral infarction.