Modafinil belongs to the group of medications called psychostimulants. It is used in the treatment of narcolepsy in adults. Modafinil 200 mg tablets are also used to treat obstructive sleep apnea (obstruction of the airway during sleep), shift work problem, and circadian rhythm sleep disruption.