Medications can affect sleep in a wide variety of ways. Commonly, they facilitate or complicate falling asleep; however, medications can also lead to unusual behavior during sleep. This condition is called parasomnia due to a medication. Sleep-related hallucinations, REM behavior disorders, and sleep-related eating disorders are parasomnias triggered by medication.