How to Stop Having Nightmares: Psychiatrist's Guide 2026
- Justin Nepa, DO, FAPA
- 1 hour ago
- 8 min read
You go to bed exhausted, hoping for a normal night, and then it happens again. You jolt awake, heart racing, body tense, still half inside the dream, trying to tell yourself it wasn't real. If that sounds familiar, you're not weak, and you're not alone. Nightmares can feel random, but they often respond to the same kinds of targeted treatment I'd recommend in the clinic, especially CBT-based approaches, imagery rehearsal therapy, and careful attention to sleep habits and medications. For a related look at waking anxiety, see why some people wake up anxious.
That Jolting Moment You Wake Up
A patient will often describe the same sequence. They wake with a start, scan the room, and need a few seconds to remember where they are. The fear lingers even after the dream ends, and the body doesn't always get the memo that the danger is gone.
That's why nightmares are so disruptive. They don't just disturb sleep, they can bleed into the next day as dread, fatigue, or a growing fear of going back to bed. When someone asks me how to stop having nightmares, I don't start with vague reassurance. I start with the fact that there are structured, evidence-based treatments that target the dream itself, the fear response, and the sleep pattern together.
Practical rule: Don't treat recurring nightmares as a character flaw or a mystery you have to endure. Treat them like a clinical problem with a plan.
The good news is that this problem is often changeable. The most effective path usually combines a quick response after awakening, a better sleep routine, and, when nightmares repeat, a rescripting method that teaches the brain a new ending. That's the approach I use when I'm helping patients move from frightened awakenings to steadier sleep.
Understanding Your Nightmare Triggers

Nightmares usually don't come from nowhere. Stress, trauma, anxiety, and sleep disruption can all make the brain more likely to generate vivid, disturbing dreams. For some people, the trigger is emotional. For others, it's medication, withdrawal, or a sleep pattern that keeps fragmenting the night.
A useful place to start is with your own pattern. If nightmares show up after a medication change, after drinking alcohol, or during a period of more fragmented sleep, that timing matters. REM sleep is the stage most tied to vivid dreaming, and a deeper explanation of that stage is available in this overview of what REM sleep is, which helps explain why dreams can feel so intense when sleep is unstable.
When medication is the missing piece
A major review in Drug Safety reports that common medication classes can trigger vivid dreams or nightmares, including antidepressants, beta-blockers, dopaminergic drugs, acetylcholinesterase inhibitors, and some withdrawal states, and that dose, timing, or a switch in agent may be needed under clinician supervision. That's important because not every nightmare problem is a stress problem. Sometimes the right question is whether the body is reacting to a medication effect rather than a psychological trigger. For a deeper discussion of this distinction, see why you may feel unsafe for no clear reason.
What to track before you change anything
Recent medication changes: Note any new prescriptions, dose changes, or missed doses.
Substances before bed: Watch for alcohol, nicotine, or caffeine in the hours before sleep.
Sleep fragmentation: If you wake frequently, your dreams may feel more vivid.
Trauma reminders: Nightmares that replay a theme or event can point toward PTSD-related dreams.
Timing: If the pattern started soon after a change, bring that detail to a prescriber.
If you suspect a medication effect, don't stop a prescription on your own. The right move is to ask your clinician whether timing, dose, or the medication itself should be reviewed.
What to Do in the First Five Minutes After Waking Up

The first few minutes matter because panic can keep the body in alarm mode long after the dream ends. The goal isn't to “power through” it. The goal is to help your nervous system realize you're safe.
Start with your breath. Slow, deeper exhalations are better than fast, shallow gulps of air because they tell the body to stand down. Then ground yourself with something concrete, like the texture of the sheets or the feel of the floor under your feet. A quick scan of your room can help your brain separate the dream from the present.
A simple nighttime sequence
Breathe fully. Keep the exhale longer than the inhale.
Name five things you can see. Then four things you can feel, three you can hear, two you can smell, and one you can taste.
Say the truth out loud. “It was a dream. I'm in my room. I'm safe right now.”
Change the scene. Turn on a light, get water, or sit in another room for a minute.
Use a gentle distraction. Read a few pages or listen to calm music, not intense screens.
If the nightmare happened to a child, Mayo Clinic recommends a very similar bedside response, respond quickly, soothe the child, talk about the dream, and rewrite the ending into a happy one. That principle is useful for adults too, because active rescripting starts with reducing fear, not ignoring it. For more grounding options, see these grounding techniques.
Clinical insight: If you stay in bed while your body is still panicking, your brain can start to link the bed itself with threat. A brief reset can be more therapeutic than forcing yourself to “just sleep.”
Rewriting Your Nightmares with Imagery Rehearsal Therapy

The most useful behavioral method for repeated nightmares is Imagery Rehearsal Therapy, or IRT. The process is straightforward, even though the effect can be meaningful. You choose one recurring nightmare, change its ending while you are awake, and rehearse the revised version until your brain begins to expect a safer outcome.
Adult consensus guidance recommends identifying one recurring nightmare, rewriting it with a safer ending, and rehearsing the new script for about 10 minutes nightly, paired with relaxation before sleep. That order matters. The rehearsal works best when it is steady and when your body is already calmer, not when you are rushing through it in bed after a stressful day.
How to do IRT at home
Start with the nightmare that returns most often. Do not try to fix every dream at once. IRT works best when the brain has one stable target, because the method depends on repeated practice with one theme rather than random bad dreams.
Next, write the nightmare down with enough detail that you can picture it clearly. Then change one or more threatening elements. The new version does not have to be cheerful. It only needs to feel safer, more neutral, or more under your control. A patient might turn a chase scene into a moment where the door locks, a helper arrives, or the threat disappears.
A practical rehearsal structure
Write it during the day. Keep bedtime for rehearsal, not for drafting.
Change the ending. Pick the turning point where the story can shift.
Rehearse the new version daily. Use imagery, not passive reading.
Pair it with relaxation. Slow breathing works well.
Stay with one dream theme. Random dreams are harder to train.
Some guidance describes a daily rehearsal window of 5 to 10 minutes, while other clinical summaries recommend 10 to 20 minutes. The core method is the same, deliberate rescripting plus practice while awake, not endless analysis of what the dream “means.” For readers who want a more reflective angle on symbolic imagery, Jungian insights for entrepreneurs can be a useful complement, but IRT stays more structured and symptom-focused than dream interpretation.
If trauma is part of the picture, trauma-focused therapy can be the better fit, especially when nightmares replay a frightening event. A clinic resource on treating trauma nightmares with evidence-based therapies for PTSD can help you compare rescripting, exposure-based work, and trauma processing. In practice, the right choice depends on whether the nightmares are driven mainly by habit, trauma, or both.
Practical rule: If you rehearse the nightmare once and stop, you are not really doing IRT. The repetition is the treatment.
A 2000 review in American Family Physician reported that behavioral approaches like CBT and IRT can produce long-term reductions in nightmare frequency in more than 70% of patients. That is one reason I push patients to treat recurring nightmares as a therapy problem, not just a sleep annoyance.
Building a Nightmare-Resistant Sleep Routine

Sleep hygiene doesn't cure every nightmare problem, but it lowers the odds that your brain will be primed for them. The Sleep Foundation recommends going to bed and waking up at the same time every day, avoiding screen time for at least 1 hour before bed, and limiting caffeine and alcohol in the hours before sleep in its nightmare disorder guidance. Those habits reduce pre-bed arousal and sleep fragmentation, both of which can make dreams feel more intense.
What to standardize first
A steady sleep-wake schedule is the anchor. If bedtime swings around from night to night, your brain has to keep re-learning when sleep is supposed to happen. That instability can make the whole night feel lighter and more vulnerable to vivid dreaming.
A wind-down routine matters almost as much. Reading, a warm bath, stretching, or a quiet few minutes with dim lights can signal that the day is over. I often tell patients to think of this as a runway, not a switch.
What to limit before bed
Screens: Put the phone down early enough that your brain isn't still activated.
Caffeine: Keep it out of the late day and evening.
Alcohol: It may make you sleepy at first, but it can fragment sleep later.
Smoking or nicotine: These can keep the body aroused.
Heavy stimulation: Intense news, conflict, or work emails can carry straight into sleep.
For children, Mayo Clinic recommends a calming bedtime routine, quick reassurance after waking, and helping the child rewrite the ending of the dream, which fits well with the same rescripting model used in adults as outlined here. If sleep itself is unstable, a broader insomnia plan can help, so a practical overview of natural ways to approach insomnia treatment may be useful too.
Clinical insight: A stable routine won't erase trauma, but it can lower the volume on the physiology that keeps nightmares coming back.
When to Get Professional Help for Nightmares in Florida

The night can stop feeling simple when you start waking in a panic, expecting the same dream to return. If nightmares are occasional, self-help may be enough. If they become frequent, connect to trauma, or make you dread going to bed, that is a clear point to get professional care. The signs show up in daytime too, less focus, worse performance at work or school, strain in relationships, and a pattern that keeps returning even when your sleep habits are solid.
Treatment depends on the cause. A clinician may recommend trauma-focused psychotherapy, IRT, and a medication review to see whether sleep, anxiety, or trauma symptoms are being shaped by something treatable. In some cases, prazosin is considered for trauma-related nightmares, but the right choice depends on your diagnosis, other medications, and medical history. For people who want therapy and medication management together, Refresh Psychiatry & Therapy offers telepsychiatry in Florida, which can be especially helpful when nightmares sit inside a broader picture of PTSD, anxiety, or insomnia.
Sleep problems often show up in the body as well as the mind. If you are also dealing with jaw clenching, oral discomfort, or nighttime tension, the oral health and mental health connection is a useful reminder that fragmented sleep can affect more than mood alone.
Behavioral treatment has real staying power. A review in American Family Physician discussed how CBT and IRT can bring lasting reductions in nightmare frequency in more than 70% of patients. That kind of response is one reason to seek care when self-directed steps are not enough. Good treatment does more than reassure you. It gives your brain a repeated, structured way to respond differently to sleep.
Contact us or call Refresh Psychiatry at (954) 603-4081 to schedule your evaluation.
We accept Aetna, United Healthcare/ UHC, Cigna, Blue Cross Blue Shield, Humana, Tricare, UMR, and Oscar insurance plans.
This blog is for informational purposes only and does not constitute medical advice. Please consult a qualified mental health professional for personalized guidance.
A CTA for Refresh Psychiatry & Therapy is the most direct next step if nightmares are persistent, trauma-linked, or happening alongside anxiety, insomnia, or medication concerns. Reach out for a psychiatric evaluation, ask about telepsychiatry anywhere in Florida, and get a treatment plan that matches your symptoms, your schedule, and your insurance.
