In conclusion, our study found that hypericin improved depression-like behaviors in UCMS mice, while upregulating METTL3 and WTAP expression in the hippocampi of UCMS mice and modifying the neurotrophin signaling pathway through m6A modification to exhibit antidepressant effects. This evidence concerns the gene WTAP and major depressive disorder.