The A-kinase anchoring protein 150 (AKAP150) organizes kinases and phosphatases to regulate AMPA receptors (AMPARs) that are pivotal for synaptic plasticity. AKAP150 itself undergoes S-palmitoylation. However, the roles of AKAP150 and its palmitoylation in spinal nociceptive processing remain unknown. In this study, we found that intraplantar injection of complete Freund's adjuvant (CFA) significantly increased the synaptic expression of AKAP150 and caused a reorganization of AKAP150 signaling complex in spinal dorsal horn. Knockdown of AKAP150 or interruption of its interactions with kinases effectively suppressed the CFA-induced synaptic expression of GluA1 subunit of AMPARs. Our data also showed that an upregulation of AKAP150 palmitoylation was involved in the synaptic redistribution of AKAP150. Inhibition of AKAP150 palmitoylation by expression of palmitoylation-defective mutant AKAP150 (C36, 123S) effectively repressed the CFA-induced phosphorylation and synaptic expression of GluA1 subunit, meanwhile, attenuated the development of mechanical allodynia and thermal hyperalgesia. Furthermore, we found that an increased expression of palmitoyl acyltransferase ZDHHC2 contributed to the upregulation of AKAP150 palmitoylation and GluA1 accumulation in inflamed mouse. These data indicated that AKAP150 and its palmitoylation were involved in AMPA receptor-dependent modification of nociceptive transmission, and the manipulations of AKAP150 signaling complex and palmitoylation might serve as potential therapeutic strategies for persistent pain after inflammation.