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, ERCC4 is linked to coronary artery disorder.