The present invention concerns methods for treating high-risk basal cell carcinoma (BCC) or high-risk basal cell carcinoma nevus syndrome (BCCNS) in a subject, comprising administering a composition comprising an azole inhibitor of the Hedgehog signaling pathway (azole inhibitor) to the subject.