Network pharmacology analysis revealed that XPF may regulate targets, such as ACE2, HTR1A, HTR2A, AKT1, PKIA, CREB1, BDNF, BCL2, BAX, CASP3, cAMP signaling pathway, and cell apoptosis process in the treatment of CHD with depression. Here, HTR2A is linked to depressive disorder.