Modafinil, often marketed under the brand name Provigil, is a prescription medication primarily used to treat sleep disorders such as narcolepsy, obstructive sleep apnea, and shift work sleep disorder. As a wakefulness-promoting agent, modafinil enhances alertness and cognitive function without the jitteriness commonly associated with traditional stimulants like amphetamines.