Pain can be very intense or only mild, and can be well localized or diffuse. To date, little is known as to how such distinct sensory aspects of noxious stimuli are processed by the human brain. Using functional magnetic resonance imaging and a delayed match-to-sample task, we show that discrimination of pain intensity, a nonspatial aspect of pain, activates a ventrally directed pathway extending bilaterally from the insular cortex to the prefrontal cortex. This activation is distinct from the dorsally directed activation of the posterior parietal cortex and right dorsolateral prefrontal cortex that occurs during spatial discrimination of pain. Both intensity and spatial discrimination tasks activate highly similar aspects of the anterior cingulate cortex, suggesting that this structure contributes to common elements of the discrimination task such as the monitoring of sensory comparisons and response selection. Together, these results provide the foundation for a new model of pain in which bidirectional dorsal and ventral streams preferentially amplify and process distinct sensory features of noxious stimuli according to top-down task demands.