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. This evidence concerns the gene STAT3 and depressive disorder.