Thus, we concluded that allicin significantly prevented and ameliorated ischemic stroke by increasing GPX1 levels to complete the complex physiological process. Here, GPX1 is linked to ischemic stroke.