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