Our study unravels the molecular mechanism and cellular machinery regulating Gli ciliary localization and identifies Kapβ2 as a critical regulator of the Hh pathway and a potential drug target for Hh-driven cancers. This evidence concerns the gene GLI1 and cancer.