Pain is a complex experience encompassing sensory-discriminative, affective-motivational and cognitiv e-emotional components mediated by different mechanisms. Contrary to the traditional view that the cerebral cortex is not involved in pain perception, an extensive cortical network associated with pain processing has been revealed using multiple methods over the past decades. This network consistently includes, at least, the anterior cingulate cortex, the agranular insular cortex, the primary (SΙ) and secondary somatosensory (SΠ) cortices, the ventrolateral orbital cortex and the motor cortex. These cortical structures constitute the medial and lateral pain systems, the nucleus submedius-ventrolateral orbital cortex-periaqueductal gray system and motor cortex system, respectively. Multiple neurotransmitters, including opioid, glutamate, GABA and dopamine, are involved in the modulation of pain by these cortical structures. In addition, glial cells may also be involved in cortical modulation of pain and serve as one target for pain management research. This review discusses recent studies of pain modulation by these cerebral cortical structures in animals and human.