This study showed that ERCC1 rs3212986, ERCC1 rs3212986-rs11615, ERCC2 rs13181-rs3916874-rs238416 were associated with anxiety or depression in LC patients. This evidence concerns the gene ERCC1 and major depressive disorder.