Patients with inflammatory bowel disease (IBD) have higher rates of psychiatric pathology including depression. The dextran sulfate sodium (DSS)-treated mice exhibit IBD- and depressive-like phenotypes. A disturbed intestinal environment causes a decrease in serotonin and abnormal myelination in the brain, along with depressive-like behavior in rodents. However, the involvement of these factors in DSS-induced depressive-like behavior in mice remains unclear. In this study, we examined whether myelin proteins in the prefrontal cortex (PFC) and hippocampi were altered in DSS-treated mice, along with the changes in the serotonergic system in the PFC by western blotting and HPLC. The effects of brexpiprazole (Brx), a serotonin modulator, on DSS-induced depressive-like behavior using the tail-suspension test were evaluated. Subsequently, we investigated Brx's effects on the levels of myelin, nodal proteins, and neurotrophic molecules in the PFC with western blotting, and examined the altered node of Ranvier formation by immunohistochemistry. DSS-treated mice showed a reduction in myelin and nodal proteins, dysfunction of the serotonergic system, and impaired formation of the nodes of Ranvier in the PFC. Brx administration prevented the DSS-induced depressive-like behavior and demyelination in the PFC. However, the Brx-mediated effects were inhibited by the selective 5-HT1A antagonist, WAY100635, or the selective TrkB antagonist, ANA-12. Brx decreased the phosphorylation of ERK, CREB, and TrkB along with the expression of BDNF in the PFC of DSS-treated mice. Moreover, the effects of Brx were blocked by WAY100635. These findings indicated that myelination regulated by the activation of the ERK1/2-CREB-BDNF-TrkB pathway in the PFC may be involved in mediating the antidepressant effects of Brx.