Cockayne syndrome protein B (CSB) is a member of the SNF2/SWI2 ATPase family and is essential for transcription-coupled nucleotide excision DNA repair (TC-NER). CSB also plays critical roles in transcription regulation. CSB can hydrolyze ATP in a DNA-dependent manner, alter protein-DNA contacts and anneal DNA strands. How the different biochemical activities of CSB are utilized in these cellular processes have only begun to become clear in recent years. Mutations in the gene encoding CSB account for majority of the Cockayne syndrome cases, which result in extreme sun sensitivity, premature aging features and/or abnormalities in neurology and development. Here, we summarize and integrate recent biochemical, structural, single-molecule and somatic cell genetic studies that have advanced our understanding of CSB. First, we review studies on the mechanisms that regulate the different biochemical activities of CSB. Next, we summarize how CSB is targeted to regulate transcription under different growth conditions. We then discuss recent advances in our understanding of how CSB regulates transcription mechanistically. Lastly, we summarize the various roles that CSB plays in the different steps of TC-NER, integrating the results of different studies and proposing a model as to how CSB facilitates TC-NER.