We find that melanoma cells harbor constitutively high CDK12 activity, and that its inhibition decreases the expression of long genes containing multiple exons, including many genes involved in DNA repair. Here, CDK12 is linked to melanoma.