The carboxy-terminal domain (CTD) of RNA polymerase II is a repetitive and unstructured domain that is dynamically modified by post-translational modifications, which collectively constitute the 'CTD code'. Recent studies have revealed how CTD function is also promoted by phase separation in the presence of other low-complexity domains.