Modafinil Treatment to improve wakefulness in patients with excessive sleepiness associated with shift work disorder. Modafinil is a smart drug, also known as a nootropic. It enhances your cognitive function in a variety of ways.