Defects in primary cilia result in human diseases known as ciliopathies. The retinitis pigmentosa GTPase regulator (RPGR), mutated in the most severe form of the eye disease, is located at the transition zone of the ciliary organelle. The RPGR-interacting partner PDEδ is involved in trafficking of farnesylated ciliary cargo, but the significance of this interaction is unknown. The crystal structure of the propeller domain of RPGR shows the location of patient mutations and how they perturb the structure. The RPGR·PDEδ complex structure shows PDEδ on a highly conserved surface patch of RPGR. Biochemical experiments and structural considerations show that RPGR can bind with high affinity to cargo-loaded PDEδ and exposes the Arl2/Arl3-binding site on PDEδ. On the basis of these results, we propose a model where RPGR is acting as a scaffold protein recruiting cargo-loaded PDEδ and Arl3 to release lipidated cargo into cilia.