Inhibition of cyclin-dependent kinases (CDKs) has evolved as an emerging anti-cancer strategy. In addition to the cell cycle-regulating CDKs, the transcriptional kinases Cdk12 and Cdk13 have become the focus of interest as they mediate a variety of functions, including the transition from transcription initiation to elongation and termination, precursor mRNA splicing, and intronic polyadenylation. Here we determine the crystal structure of the small molecular inhibitor SR-4835 bound to the Cdk12/Cyclin K complex at 2.68 Å resolution. The compound's benzimidazole moiety is embedded in a unique hydrogen bond network mediated by the kinase hinge region with flanking hydroxy groups of the Y815 and D819 side chains. Whereas the SR-4835 head group targets the adenine-binding pocket, the kinase's glycine-rich loop is shifted down towards the activation loop. Additionally, the αC-helix adopts an inward conformation, and the phosphorylated T-loop threonine interacts with all three canonical arginines, a hallmark of CDK activation that is altered in Cdk12 and Cdk13. Dose-response inhibition measurements with recombinant CMGC kinases show that SR-4835 is highly specific for Cdk12 and Cdk13 following a ten-fold lower potency for Cdk10. Whereas other CDK-targeting compounds exhibit tighter binding affinities and higher potencies for kinase inhibition, SR-4835 can be considered a selective transcription elongation antagonist. Our results provide the basis for a rational improvement of SR-4835 towards Cdk12 inhibition and a gain in selectivity over other transcription regulating CDKs.