Together, these results highlight a new role for AMPAR trafficking via RAB39B in spine remodelling, explaining how RAB39B loss-of-function mutations lead to the pathogenesis of XLID. This evidence concerns the gene RAB39B and cask-related x-linked intellectual disability.