These data suggested that AS-IV ameliorated cognitive impairment in T2DM mice possibly through modulating Nrf2/Keap1/HO1/NQO1 pathway. Here, HMOX1 is linked to type 2 diabetes mellitus.