Using genetic screens and a method for the genome-wide mapping of DNA–protein adducts, DPC sequencing, we discover that Cockayne syndrome (CS) proteins CSB and CSA provide resistance to DPC-inducing agents by promoting DPC repair in actively transcribed genes. Here, ERCC8 is linked to Cockayne syndrome.