Geraniol effectively attenuated cerebral infarction and pathological injury after CIRI, had a protective effect against CIRI, significantly reduced the expression of the ER-stress-related proteins P-PERK, ATF4, CHOP, and GRP78 and the pro-apoptotic protein BAX, increased the expression of the anti-apoptotic protein BCL-2, and reduced the occurrence of apoptosis. The gene discussed is HSPA5; the disease is cerebral infarction.