Nociceptor sensory neurons protect organisms from dangers by eliciting pain and driving avoidance. Pain also accompanies many types of inflammation and injury. It is increasingly clear that active crosstalk occurs between nociceptor neurons and the immune system to regulate pain, host defense, and inflammatory diseases. Immune cells at peripheral nerve terminals and within the spinal cord release mediators that modulate mechanical and thermal sensitivity. In turn, nociceptor neurons release neuropeptides and neurotransmitters from nerve terminals that regulate vascular, innate, and adaptive immune cell responses. Therefore, the dialogue between nociceptor neurons and the immune system is a fundamental aspect of inflammation, both acute and chronic. A better understanding of these interactions could produce approaches to treat chronic pain and inflammatory diseases.