The function of the ERCC1 protein is predominantly in nucleotide excision repair (NER) of damaged DNA. NER is one of five separate DNA repair mechanisms that also include recombination repair, base excision repair, mismatch repair, and translesion synthesis.