Emerging evidence suggests that genetically highly specific triple-negative breast cancer (TNBC) possesses a relatively uniform transcriptional program that is abnormally dependent on cyclin-dependent kinase 7 (CDK7). In this study, we obtained an inhibitor of CDK7, N76-1, by attaching the side chain of the covalent CDK7 inhibitor THZ1 to the core of the anaplastic lymphoma kinase inhibitor ceritinib. This study aimed to elucidate the role and underlying mechanism of N76-1 in TNBC and evaluate its potential value as an anti-TNBC drug. The results of 3-(4,5-dimethylthiazol-2-yl)-2,5-diphenyltetrazolium bromide (MTT) and colony formation assays showed that N76-1 inhibited the viability of TNBC cells. Kinase activity and cellular thermal shift assays showed that N76-1 directly targeted CDK7. Flow cytometry results revealed that N76-1 induced apoptosis and cell cycle arrest in the G2/M phase. N76-1 also effectively inhibited the migration of TNBC cells by high-content detection. The RNA-seq analysis showed that the transcription of genes, especially those related to transcriptional regulation and cell cycle, was suppressed after N76-1 treatment. Moreover, N76-1 markedly inhibited the growth of TNBC xenografts and phosphorylation of RNAPII in tumor tissues. In summary, N76-1 exerts potent anticancer effects in TNBC by inhibiting CDK7 and provides a new strategy and research basis for the development of new drugs for TNBC.