This neuroinflammation correlates with impaired cognitive functions and suggests that disruptions in the ZDHHC3-Cadm4 palmitoylation axis may contribute to the pathogenesis of several demyelinating diseases. Here, ZDHHC3 is linked to demyelinating disease.