Abstract The body–brain axis is emerging as a principal conductor of organismal physiology. It senses and controls organ function 1,2 , metabolism 3 and nutritional state 4–6 . Here we show that a peripheral immune insult strongly activates the body–brain axis to regulate immune responses. We demonstrate that pro-inflammatory and anti-inflammatory cytokines communicate with distinct populations of vagal neurons to inform the brain of an emerging inflammatory response. In turn, the brain tightly modulates the course of the peripheral immune response. Genetic silencing of this body–brain circuit produced unregulated and out-of-control inflammatory responses. By contrast, activating, rather than silencing, this circuit affords neural control of immune responses. We used single-cell RNA sequencing, combined with functional imaging, to identify the circuit components of this neuroimmune axis, and showed that its selective manipulation can effectively suppress the pro-inflammatory response while enhancing an anti-inflammatory state. The brain-evoked transformation of the course of an immune response offers new possibilities in the modulation of a wide range of immune disorders, from autoimmune diseases to cytokine storm and shock.