Through this study, we found that XPF could protect the myocardium and hippocampus in CUMS and ISO-induced CHD in depression rats by regulating the cAMP signal cascade. Here, ERCC4 is linked to major depressive disorder.