The Hedgehog (Hh) pathway can drive oncogenesis, and current strategies to target it mainly focus on inhibitors of the G protein-coupled receptor Smoothened (SMO). SMO activates the downstream transcription factors GLI1 and GLI2, which transactivate Hh target genes. SMO inhibitors have demonstrated clinical efficacy, but resistance usually develops. Tang et al. now report that the epigenetic regulator BRD4, a BET bromodomain protein, controls GLI transcription by binding to the GLI1 and GLI2 promoters. The BRD4 inhibitor JQ1 was shown to downregulate Hh signalling, and had antitumour activity even in tumours that were resistant to SMO inhibitors.