Modafinil is indicated for the treatment of excessive daytime sleepiness associated with narcolepsy, obstructive sleep apnea, and shift work sleep disorder. It is not a replacement for proper sleep and should not be used to treat tiredness or hold off sleep in people who do not have sleep disorders.