Inhibition of p38 or ERK2 reduced cerebral infarction volume and improved cognitive functions. Here, MAPK1 is linked to cerebral infarction.