If you’ve ever had trouble falling asleep at night, chances are someone has recommended that you try melatonin. This over-the-counter supplement can help regulate your sleep-wake cycle when taken about an hour before bed. But while melatonin is popular, it could also have some unintended side effects – and experts generally agree that it isn’t a long-term solution to your sleep problems.
One of the more surprising side effects people complain about when taking melatonin? Melatonin nightmares. In fact, #MelatoninNightmares has over 36,000 views on TikTok, where many users detail their experience using the supplement and experiencing weird, lucid, and often scary dreams. So can melatonin actually cause nightmares? We asked sleep experts to weigh in. Here’s what you need to know about melatonin nightmares, including if and why they happen and how to stop melatonin nightmares – plus, what you can do to get a more peaceful night’s sleep.
Can Melatonin Cause Nightmares?
If you’ve had terrifying dreams while taking melatonin, you’re not alone. While there is not a direct link between melatonin and nightmares, experts have a few theories as to what may be happening. Melatonin can help you fall asleep faster, but according to Lisa Medalie, PsyD, a board-certified behavioral sleep medicine specialist and creator of the children’s sleep app DrLullaby, it can also cause you to stay in the deeper stages of sleep longer, which could open the door for more vivid or intense dreams.
“Most people take melatonin because they are experiencing difficulty falling asleep, returning to sleep, or insufficient sleep,” Dr. Medalie tells POPSUGAR. If you’re struggling with any of those things, chances are you’re not sleeping long enough to experience periods of rapid eye movement (REM) sleep. “If melatonin is helpful and keeps such individuals asleep for longer, they may then actually experience longer and possibly higher-density REM sleep,” Dr. Medalie explains. “With longer bouts of REM from longer sleep periods – and even more likely, with higher-density REM sleep – this allows for the potential of more vivid or intense dream content, as dreams occur during REM sleep.”
Related: Feeling Headachy After Taking Melatonin? Doctors Explain Why There Could Be a Link
Kristen Willeumier, PhD, neuroscientist and author of “BioHack Your Brain: How to Boost Cognitive Health, Performance & Power,” agrees, citing research that suggests melatonin can normalize REM sleep percentage and REM sleep quality. “While it is currently unclear why melatonin causes nightmares, it is most likely due to its effects on REM sleep, a stage of the sleep cycle when we experience vivid dreams,” Dr. Willeumier tells POPSUGAR. “REM sleep is a time when we process our unresolved emotions in support of healthy social and emotional functioning. Dreams are a time when we can be exposed to fear-inducing stimuli (i.e., stress, anxiety, and worry) in a safe environment.”
So, while melatonin itself isn’t necessarily to blame for your nightmares, the deep sleep it allows you to have could be setting the stage for these dreams.
How to Stop Melatonin Nightmares
If you suspect melatonin is the sole cause of your nightmares, consider trying some alternative techniques to help you fall asleep at night. Dr. Willeumier recommends establishing a consistent sleep schedule, exercising regularly, refraining from eating three hours prior to sleep, avoiding caffeine-containing foods and beverages after 3 p.m., abstaining from alcohol before bed, dimming the lights in the evenings, using filters to block blue light from computer screens and smartphones, and keeping your bedroom temperature cool (between 60 and 67 degrees). If these healthy habits aren’t enough to help you get restful sleep, talk to your doctor. The solution may be as simple as incorporating some soothing stress-relief activities into your evening routine, or your doctor may prescribe a different medication or therapy altogether. They will also be able to assess whether melatonin is actually the cause of your lucid dreams and help you find an alternative sleep solution.
“In general, if you are taking any OTC or prescription medication that is producing unpleasant side effects, it is appropriate to talk to your doctor about how to safely discontinue,” Dr. Medalie says. She adds that regular nightmares can be cause for concern, regardless of whether you’re taking melatonin or some other supplement or medication. “If nightmares occur outside of taking melatonin, they might be a symptom of either post-traumatic stress disorder, or even nightmare disorder,” Dr. Medalie explains. “Those who have a history of trauma may experience flashbacks during sleep (i.e. nightmares), which can cause insomnia, sleep loss, and elevated distress.” In that case, it’s important that the underlying cause be treated. “If you are experiencing nightmares, the first thing to do would be to determine if they are related to any other existing general health or mental health issue,” Dr. Willeumier says. So, talk to your doctor, who can help get to the root of the problem and suggest a treatment plan or refer you to a specialist who’s better equipped to help. “Non-pharmacological treatment options include cognitive behavioral therapy (CBT), which focuses on addressing the distorted thoughts, emotions, and behaviors with techniques that help correct the distortions in cognition,” Dr. Willeumier tells POPSUGAR. “There are variations of CBT, including image rehearsal therapy, lucid dreaming, sleep dynamic therapy, systemic desensitization, hypnosis, EMDR therapy, and relaxation and rescripting therapy.”
No matter what, you shouldn’t have to suffer. Good sleep is important, so don’t give up on finding a solution that works best for you.
– Additional reporting by Alexis Jones