Provigil (Modafinil) is a medication used to treat sleep disorders such as narcolepsy, sleep apnea, and shift work sleep disorder. It works by promoting wakefulness and increasing alertness and attention. Provigil is classified as a stimulant medication, but the exact way it works is not well understood. It is only available with a prescription from a licensed healthcare provider and should be used under the supervision of a doctor.