Sleep Disorders: Causes of Nightmares

Reviewed on 1/21/2021

What Are Nightmares?

Most people have nightmares from time to time.

Nightmares are dreams that may be upsetting, scary, or strange. They happen during REM sleep, also called rapid eye movement sleep. That's the stage when your brain is working hard, almost as hard as when you're awake. Nightmares are different from bad dreams, though. Nightmares will always wake you up during the night, but you'll sleep through a bad dream. It's normal to have nightmares from time to time.

What Causes Them?

Scientists don't exactly know what causes dreams, including bad dreams and nightmares.

Dreams -- including bad dreams and nightmares -- are still mysterious to scientists. Although we don't know what causes them, we do know about plenty of things that can make nightmares more likely.

Anxiety or Stress

Daily stresses of life and bigger life events can trigger nightmares.

Sometimes, the daily stresses of life can bring nightmares. Worrying about school or work can make you more likely to have one. Bigger events and life changes, like moving or losing a loved one, can bring nightmares, too.

Trauma and PTSD

Traumatic experiences may trigger nightmares.

It's not uncommon to have nightmares after something traumatic, like physical abuse, sexual abuse, or an accident. For people with posttraumatic stress disorder (PTSD), nightmares are common. If you have PTSD, you might have ones that are intense and happen often. Those nightmares can also make your PTSD worse.

Mental Health Conditions

Mental health conditions are often associated with nightmares.

If you're dealing with things like bipolar disorder, depression, general anxiety disorder, or schizophrenia, you're more likely to have nightmares. Your doctor might suggest things like stress-easing techniques or different types of therapy that can help keep your nightmares to a minimum.


Taking certain medications may make you more likely to have nightmares.

Some medicines can make nightmares more likely. These include drugs like:

  • Antidepressants
  • Antimicrobials
  • Beta-blockers
  • Blood pressure medicine
  • Drugs for Parkinson's disease
  • Drugs to help you stop smoking
  • Stimulants like amphetamine and methylphenidate (like those used to treat ADHD and narcolepsy)

If you think that meds cause your nightmares, talk with your doctor. They may be able to change the medicine or the dose that you take.

Substance Misuse and Withdrawal

Alcohol and drug use may be associated with nightmares.

If you misuse alcohol or drugs, you might find that you have more nightmares. Withdrawal from alcohol or drugs can also make them more likely. For example, opioid drugs affect parts of your body that regulate sleep. You might have heavy sleep, but you could also go back and forth between the stages of sleep much quicker. That can bring the nightmares. When you go through withdrawal and your patterns adjust again, the nightmares can persist.

Not Sleeping Enough

Lack of sleep or having an irregular sleep schedule may trigger migraines.

A lack of quality sleep could trigger a nightmare. A common cause of dips in restful sleep is a change in your schedule. For example, if you wake up or go to bed at times that are unusual for you, or if you have a hard time staying asleep. Insomnia also is a common cause of nightmares.

Eating Right Before Bed

Eating before bed may speed up your metabolism, make your brain more active, and may trigger nightmares.

A pre-bedtime meal or snack can speed up your metabolism, which can make your brain more active. If you find that you're having more nightmares, try to avoid those after-dinner indulgences.

Sleep Apnea

Sleep apnea can make nightmares more likely.

This is when you briefly stop breathing during your sleep. Although doctors aren't sure why, there is a belief that sleep apnea can make nightmares more likely. Some researchers think that the stress that can come with the condition causes them. Some research suggests CPAP therapy can lower your odds of having nightmares. In one study, 91% of participants said their nightmares went away once they had it.

Scary Books and Movies

Reading scary books and watching horror movies at night may trigger nightmares.

Sometimes, reading a scary book or watching a horror movie can cause nightmares, especially if you do them right before bed. Video games and TV shows that scare you can also make you more likely to have one. If you notice that you usually have nightmares after you read or watch something frightening, avoid those activities right before you go to sleep.

What You Can Do

You can make lifestyle adjustments to reduce the chances of getting nightmares.

Nightmares happen sometimes, but there are strategies that can cut your chances of having one. Try to:

  • Stick to a sleep schedule and get enough rest at night
  • Cut out alcohol, caffeine, and cigarettes
  • Work out earlier in the day
  • Relax before you fall asleep
  • Steer clear of frightening movies, video games, TV shows, and books

If these tips don't work, visit your doctor. They may be able to help you find another cause of your nightmares.

When to See a Doctor

See your doctor if you have frequent nightmares or nightmares that affect your mood, sleep, or daily activities.

It's normal to have a nightmare from time to time. But you should see your doctor if your nightmares:

  • Disrupt your sleep
  • Happen more than once a week
  • Affect your mood or activities
  • Make you scared to go to sleep
  • Make it harder for you to do daily tasks
  • Began at the same time that you started a new medication

Sleep Disorders: Causes of Nightmares

Sources: Sources

This tool does not provide medical advice. See additional information: Disclaimer

Health Solutions From Our Sponsors