ObjectiveThis study aimed to explore transcranial electrical stimulation (tES) to relieve peripartum anxiety and depressive symptoms in women undergoing cesarean section with combined spinal–epidural anesthesia.MethodsThis double-blind, randomized, sham-controlled trial was conducted in the Affiliated Hospital of Xuzhou Medical University from March 2021 and May 2021. One hundred and forty-eight full-term parturients giving birth by elective cesarean section were selected, and 126 were included in the intent-to-treat analysis. Parturients were provided standardized anesthesia and randomized to the active-tES (a-tES) group and sham-tES group. Parturients and outcome assessors were blinded to treatment allocation. The primary outcome was the changes in peripartum mental health disorders, including anxiety, assessed by the Pregnancy-Related Anxiety Questionnaire-Revised 2 (PRAQ-R2). Secondary outcomes included peripartum depressive symptoms, assessed by the Edinburgh Postnatal Depression Scale (EPDS), maternal satisfaction, fatigue level, sleep quality index, and pain score during and after operation. Data were collected before entering the operating room (T0), between post-anesthesia and pre-surgery (T1), before leaving the operating room (T2), and at 24 h post-surgery (T3).ResultsOne hundred and twenty-six eligible parturients were enrolled in the two groups: a-tES group (N = 62) and sham-tES group (N = 64). Treatment with tES resulted in significantly lower scores of anxiety compared with sham-tES (T2: P < 0.001; T3: P = 0.001). Moreover, the a-tES groups showed a significant reduction in depression scores (T2: P = 0.003; T3: P = 0.032).ConclusionIn this randomized pilot study, tES treatment is efficacious in alleviating peripartum anxiety and depressive symptoms in women undergoing cesarean section and has been demonstrated to be a novel strategy for improving peripartum mental health disorders.Clinical Trial Registration[www.chictr.org.cn], identifier [ChiCTR2000040963].