Modafinil is a prescription medication originally developed to treat narcolepsy, shift work sleep disorder, and obstructive sleep apnea. It’s also marketed under the brand name Provigil. Thanks to its ability to improve alertness and focus, Modafinil has become widely used by students, professionals, and entrepreneurs.