Tired of Having Nightmares? 6 Tips to Prevent Them

McKenna Princing Fact Checked
A woman sits on the edge of her bed in a dark bedroom.
© B Krokodil / Stocksy United

Nightmares are so scary, there are horror movie plots about them (“Nightmare on Elm Street,” anyone?). Even though you know they aren’t real, they can still disturb you, making it hard to fall back asleep or even invading your daytime thoughts.  

Most of us have experienced a nightmare or two, but what can you do if nightmares are starting to disrupt your sleep — or your life?

Why nightmares happen  

Nightmares aren’t just bad dreams. They produce a physiological response in the body, activating your nervous system and making you feel fearful or anxious upon waking.  

“Both dreams and nightmares may help us to process memories and emotions related to experiences we’ve had,” says Catherine McCall, MD, an assistant professor of psychiatry and behavioral sciences at the UW School of Medicine and director of the VA Puget Sound Sleep Medicine Provider Clinics. “When these emotions are intense, you may wake up experiencing all of the ‘fight or flight’ physiological responses you might have during a scary event in waking life, such as a racing heart and fast breathing rate.”

Most dreaming, including nightmares, happens during rapid eye movement (REM) sleep, when areas of the brain that store memories and process feelings are more active than in other stages of sleep. 

Other factors that can contribute to nightmares include stress, mental health disorders, recalling scary memories near bedtime, and sleep disorders such as insomnia or sleep apnea that disrupt your sleep. Many medications, including common ones like blood pressure medicines, antidepressants and statins, can also cause nightmares.

What to do if you can’t fall back asleep after a nightmare

Since nightmares activate your nervous system, it’s helpful to do things that will calm your nervous system down to fall back asleep. Here are a few ideas:

Do a grounding exercise

McCall recommends trying a grounding exercise to remind yourself that you’re awake now and safe. Grounding exercises involve tuning into your senses, such as noting what you can see, hear, smell, taste and touch. Grounding can incorporate activities such as looking at treasured photos, smelling an unlit candle or listening to music.

“This is like a ship dropping an anchor during a storm: It does not stop the storm, but helps steady the ship until the storm passes,” McCall says.  

Take some deep breaths

Or try deep-breathing exercises, meditation, progressive muscle relaxation or another calming activity you enjoy.  

Try not to worry

And if nothing is working, don’t force it. You will fall asleep eventually, but worrying about it won’t help your body relax any sooner. If you can’t sleep, get out of bed and do something relaxing or boring, like reading or snuggling up on the couch, until you feel sleepy again. Just don’t look at screens or bright lights, which could make it harder to fall back asleep.

Reassure your little one

If you’re trying to help a child fall back asleep after a nightmare or night terror, make sure they feel safe and protected. Remind them that their dream won’t happen in real life, but follow their lead for what will help them calm down, such as looking under the bed or in the closet if they ask you to check for monsters.

Consider reading them a story, talking about happy memories or doing something else that will help take their mind off the nightmare if they are having a harder time calming down.  

How to prevent nightmares  

While you can’t control your dreams, you can take steps to be better rested and reduce your chances of having a nightmare:

  • Stick to a regular bedtime routine, including when you go to bed and when you get up, and try to have a relaxing bedtime routine that helps signal to your body that sleep is imminent.  
  • Make sure you allocate enough time for sleep. Generally, adults need between seven and nine hours each night.  
  • Rather than watching TV or doomscrolling on your phone, choose relaxing activities like reading or knitting prior to bedtime.
  • Make your bedroom a place you feel safe and cozy in, whether that means adding a soft blanket, controlling the temperature, turning on a white noise machine or using blackout curtains.  
  • Maintaining a healthy lifestyle through regular exercise, a balanced diet, doing activities you enjoy and managing stress can all help you sleep more soundly.  
  • Avoid caffeine, alcohol and nicotine before bed; too much of any of these things can disrupt your sleep.  

What to do if nightmares are disrupting your life  

Experiencing a nightmare now and then is normal, but if you’re waking up scared on a regular basis, or having nightmares so disturbing they affect your day-to-day life, that could signal you have a sleep disorder.  

If you’re anxious about having nightmares, fear going to sleep, feel fatigued or have trouble concentrating during the day, it’s worth bringing up to your doctor.  

Likewise, if you’re having recurring nightmares about something traumatic that happened to you, it could be a sign of post-traumatic stress disorder (PTSD) and is worth consulting a professional about.  

“After a stressful event, nightmares may help us to process the event and make sense of it. However, if they remain frequent after a month or so, it might mean the nightmare is stuck in a ‘rut’ and no longer able to provide this function,” McCall says. “Sometimes people need additional help to get the nightmare (or nightmares) out of that rut.”

And for those of you who have nightmares that aren’t linked to a mental health condition, don’t worry; there are treatments available for you, too, so make sure you talk with your doctor.

Back to sleep  

Nightmares are an unpleasant but normal part of life — unless they become so frequent that they disrupt your day-to-day experiences. Being mindful about your bedtime routine and creating optimal conditions for sleep can help prevent nightmares, but if those techniques aren’t working, it’s a good idea to talk with your doctor and ask for help. 

This article was originally published October 31, 2022. It has been reviewed and updated with new info.