In this study, we reported for the first time that SF ameliorated cognitive deficits induced by STZ in rats through inhibition of neuroinflammation and tau protein hyperphosphorylation via regulating the PI3K/Akt/GSK-3β pathway. The gene discussed is AKT1; the disease is Cognitive impairment.