To explore the effects of antiepileptic drugs on MRI images, neurological cognition, and JAK1/STAT3 pathways in the hippocampus of rats with depression, this study established a rat model of depression and gave sodium valproate injection treatment on this basis. The gene discussed is JAK1; the disease is major depressive disorder.