Armodafinil is used to treat excessive sleepiness caused by narcolepsy (a condition that causes excessive daytime sleepiness) or shift work sleep disorder (sleepiness during scheduled waking hours and difficulty falling asleep or staying asleep during scheduled sleeping hours in people who work at night or on rotating