Calcitonin gene-related peptide (CGRP), an immunomodulatory neuropeptide, is important for regulating pain transmission, vasodilation, and the inflammatory response. However, the molecular mechanisms of the CGRP-mediated immune response remain unknown. The effects of CGRP on bacterial meningitis (BM) and its underlying mechanisms were investigated in BM mice in vivo and macrophages in vitro. Peripheral injection of CGRP attenuated cytokine storms and protected mice from fatal pneumococcal meningitis, marked by increased bacterial clearance, improved neuroethology, and reduced mortality. When the underlying mechanisms were investigated, we found that CGRP induces proteasome-dependent degradation of major histocompatibility complex class II (MHC-II) in macrophages and then inhibits CD4+ T-cell activation. MARCH1 was identified as an E3 ligase that can be induced by CGRP engagement and promote K48-linked ubiquitination and degradation of MHC-II in macrophages. These results provide new insights into neuropeptide CGRP-mediated immune regulation mechanisms. We conclude that targeting the nervous system and manipulating neuroimmune communication is a promising strategy for treating intracranial infections like BM.