This study showed that ERCC1 rs3212986, ERCC1 rs3212986-rs11615, ERCC2 rs13181-rs3916874-rs238416 were associated with anxiety or depression in LC patients. Here, ERCC2 is linked to major depressive disorder.