Pars compacta
The pars compacta is a portion of the substantia nigra.

# Anatomy
The pars compacta contains neurons which, in humans, are coloured black by the pigment neuromelanin that increases with age. This pigmentation is visible as a distinctive black stripe in brain sections and is the origin of the name given to this area. The neurons have particularly long and thick dendrites (Francois et al.). The ventral dendrites, particularly,  go down deeply in the pars reticulata.  Other similar neurons are more sparsely distributed in the mesencephalon and constitute "groups" with no clear borders, although continuous to the pars compacta, in a prerubral position. These have been given in early works in rats with not much respect for the anatomical subdivions the name of "area A8" and "A10". The pars compacta itself ("A9") is usually subdivided into a ventral and a dorsal tier, the last being calbindin positive. The ventral tier is considered as A9v. The dorsal tier A9d is linked to an ensemble comprising also A8 and A10, A8, A9d and A10 representing 28% of dopaminergic neurons. The long dendrites of compacta neurons receive striatal information. This cannot be the case for the more posterior groups that are located outside the striato-pallidonigral bundle territory. Neurons of the pars compacta receive inhibiting signals from the collateral axons from the neurons of the pars reticulata. All these neurons send their axons along the nigrostriatal pathway to the striatum where they release the neurotransmitter dopamine. There is an organization in which dopaminergic neurons of the fringes (the lowest) go to the sensorimotor striatum and the highest to the associative striatum. Dopaminergic axons also innervate other elements of the basal ganglia system including the lateral and medial pallidum, substantia nigra pars reticulata, and the subthalamic nucleus.

# Function
The function of the dopamine neurons in the substantia nigra pars compacta is complex. Contrary to what was thought initially it is not directly linked to movements. "Dopamine neurons are activated by novel, unexpected stimuli, by primary rewards in the absence of predictive stimuli and during learning". Dopamine neurons are thought to be involved in learning to predict which behaviours will lead to a reward (for example food or sex). In particular, it is suggested that dopamine neurons fire when a reward is greater than that previously expected; a key component of many reinforcement learning models. This signal can then be used to update the expected value of that action. Many drugs of abuse, such as cocaine, mimic this reward responseproviding an explanation for their addictive nature.

# Pathology
Degeneration of pigmented neurons in this region is the principal pathology that underlies Parkinson's disease. In a few people, the cause of Parkinson's disease is genetic, but in most cases, the reason for the death of these dopamine neurons is unknown. Parkinsonism can also be produced by viral infections such as encephalitis or a number of toxins, such as MPTP, an industrial toxin which can be mistakenly produced during synthesis of the meperidine analog MPPP.  Many such toxins appear to work by producing reactive oxygen species.  Binding to neuromelanin by means of charge transfer complexes may concentrate radical-generating toxins in the substantia nigra.
Pathological changes to the dopaminergic neurons of the pars compacta are also thought to be involved in schizophrenia (see the dopamine hypothesis of schizophrenia) and psychomotor retardation sometimes seen in clinical depression.