Sleep deprivation impairs cognitive performance and reliably alters brain activation in wakefulness and sleep. Nevertheless, the molecular regulators of prolonged wakefulness remain poorly understood. Evidence from genetic, behavioral, pharmacologic and imaging studies suggest that dopaminergic signaling contributes to the behavioral and electroencephalographic (EEG) consequences of sleep loss, although direct human evidence thereof is missing. We tested whether dopamine neurotransmission regulate sustained attention and evolution of EEG power during prolonged wakefulness. Here, we studied the effects of functional genetic variation in the dopamine transporter (DAT1) and the dopamine D2 receptor (DRD2) genes, on psychomotor performance and standardized waking EEG oscillations during 40 hours of wakefulness in 64 to 82 healthy volunteers. Sleep deprivation consistently enhanced sleepiness, lapses of attention and the theta-to-alpha power ratio (TAR) in the waking EEG. Importantly, DAT1 and DRD2 genotypes distinctly modulated sleep loss-induced changes in subjective sleepiness, PVT lapses and TAR, according to inverted U-shaped relationships. Together, the data suggest that genetically determined differences in DAT1 and DRD2 expression modulate functional consequences of sleep deprivation, supporting the hypothesis that striato-thalamo-cortical dopaminergic pathways modulate the neurobehavioral and neurophysiological consequences of sleep loss in humans.