HMOX1 and ischemia: In summary, our study provides insights into how ischemia-induced endogenous Nrf2/HO-1 axis activation modulates MG phenotypes and restrains ischemic brain injury and reveals that diabetes-induced attenuation of endogenous Nrf2/HO-1 axis activation in MG exacerbates ischemic brain injury after stroke.