Systemic injections of Palmostatin B, a depalmitoylating enzyme inhibitor (including the one acting on PSD-95), rescues memory deficits in female AD model mice and restores PSD-95 palmitoylation levels. Here, DLG4 is linked to Alzheimer disease.