Genetic disorders caused by cilia dysfunction, termed ciliopathies, frequently involve the intraflagellar transport (IFT) system. Mutations in IFT subunits-including IFT-dynein motor DYNC2H1-impair ciliary structures and Hedgehog signalling, typically leading to "skeletal" ciliopathies such as Jeune asphyxiating thoracic dystrophy. Intriguingly, IFT gene mutations also cause eye, kidney and brain ciliopathies often linked to defects in the transition zone (TZ), a ciliary gate implicated in Hedgehog signalling. Here, we identify a C. elegans temperature-sensitive (ts) IFT-dynein mutant (che-3; human DYNC2H1) and use it to show a role for retrograde IFT in anterograde transport and ciliary maintenance. Unexpectedly, correct TZ assembly and gating function for periciliary proteins also require IFT-dynein. Using the reversibility of the novel ts-IFT-dynein, we show that restoring IFT in adults (post-developmentally) reverses defects in ciliary structure, TZ protein localisation and ciliary gating. Notably, this ability to reverse TZ defects declines as animals age. Together, our findings reveal a previously unknown role for IFT in TZ assembly in metazoans, providing new insights into the pathomechanism and potential phenotypic overlap between IFT- and TZ-associated ciliopathies.