Modafinil and Dopamine: How This Medication Affects Brain Chemistry Modafinil is a medication primarily used to treat sleep disorders such as narcolepsy, obstructive sleep apnea, and shift work sleep disorder. Known for its wakefulness-promoting effects, it has also gained popularity off-label as a cognitive enhancer. Central to understanding modafinil's impact on cognitive function and alertness is its effect on brain chemistry, particularly its influence on...