HPX can alleviate cognitive dysfunction after focal cerebral ischemia-reperfusion injury through HO-1 pathway and preventing the impairment of the blood-brain barrier in rats. Here, HMOX1 is linked to brain ischemia.