Provigil (modafinil) is a medication that promotes wakefulness. It is thought to work by altering the natural chemicals (neurotransmitters) in the brain. Provigil is used to treat excessive sleepiness caused by sleep apnea, narcolepsy, or shift work sleep disorder.