Modafinil is a wakefulness-promoting agent (or eugeroic) used for treatment of narcolepsy, shift work sleep disorder, and excessive daytime sleepiness associated with obstructive sleep apnea.