Painful stimuli are detected by peripheral nociceptors, and the brain processes this nociceptive input into an unpleasant sensation. A new study identifies a brain circuit that integrates sensory and affective aspects of inflammatory and neuropathic pain.