Together, our findings provide new insights into mechanisms of ZDHHC9-associated XLID and the palmitoylation-dependent control of myelination, a process first reported decades ago, but about which almost nothing is known. Here, ZDHHC9 is linked to cask-related x-linked intellectual disability.