Some sleeping pills have potentially harmful side effects, including parasomnias. Parasomnias are behaviors and actions over which you have no control, like sleepwalking. During a parasomnia, you are asleep and unaware of what is happening.
Parasomnias with sleeping pills are complex sleep behaviors and may include sleep eating, making phone calls, or having sex while in a sleep state. Sleep driving, which is driving while not fully awake, is another serious sleeping pill side effect. Though rare, parasomnias are difficult to detect once the medication takes effect.