This study explored the effect of EPHX2 on the prognosis of MDD for the first time. This evidence concerns the gene EPHX2 and major depressive disorder.