A nightmare can leave your body on alert even after you recognize that you are awake. The first goal is not to interpret the dream or force yourself back to sleep. It is to feel safe, become oriented to the room, and let the immediate distress settle.
An occasional nightmare is common and usually does not mean that you have a disorder. Nightmares become a clinical concern when they keep returning and cause meaningful distress, fear of sleep, repeated awakenings, or problems with mood, concentration, energy, school, work, or relationships 1.
What to do right after a nightmare
Use the smallest response that helps you feel safe:
- Check your surroundings. Turn on a low light if needed. Notice where you are, the date or time, and whether you or anyone beside you was injured.
- Reconnect with the present. Put your feet on the floor or feel the mattress supporting you. Name a few things you can see, hear, and feel. Breathe at a pace that feels comfortable, with a relaxed exhale.
- Choose comfort without forcing a retelling. Take a sip of water, adjust the room, or contact a trusted person if that is reassuring. You do not need to search for a hidden meaning or write down graphic details in the middle of the night.
- Return to bed when you feel ready. If you remain alert or distressed, use a quiet, familiar activity in a safe place until you feel sleepier. Do not turn the night into a test that you must pass.
These steps are for immediate recovery. They do not prevent future nightmares or treat an underlying condition.
Is it a nightmare or something else?
A typical nightmare is a distressing dream that wakes you. Once awake, you can usually think clearly and recall at least part of the dream 1.
That pattern differs from some other nighttime events:
- Dream enactment: Punching, kicking, shouting, falling out of bed, or injuring yourself or a bed partner may indicate a separate parasomnia, including REM sleep behavior disorder. Make the area safer and arrange a sleep-medicine assessment. The American Academy of Sleep Medicine emphasizes injury prevention because dream enactment can be dangerous 2.
- Sleep terrors: A person may scream, thrash, look terrified, remain difficult to wake or comfort, and have little or no memory later. In children, these events commonly occur earlier in the night and are not handled like a remembered nightmare 3.
- Awake hallucinations or severe confusion: Seeing or hearing things after you are fully awake, being unable to orient to your surroundings, or behaving dangerously is not something to dismiss as a bad dream.
A clinician will need the pattern of events, your health history, and, when relevant, a bed partner's observations to tell these experiences apart. A vivid memory by itself cannot diagnose nightmare disorder, PTSD, REM sleep behavior disorder, sleep apnea, or another condition.
Track the pattern without recording every detail
A short, low-detail record can make an appointment more useful. For several mornings, or until you have enough examples to see a pattern, note:
- whether a nightmare woke you and whether you were clear-headed afterward
- the approximate part of the night
- any talking, shouting, movement, fall, or injury reported by someone else
- how much sleep you had and whether insomnia was already present
- any recent prescription, nonprescription, alcohol, cannabis, nicotine, or other substance change
- fever, acute illness, major stress, or a trauma reminder near the onset
- loud snoring, gasping, observed breathing pauses, or marked daytime sleepiness
- next-day distress, sleep avoidance, fatigue, or impaired functioning
You do not need a detailed dream diary. The timing, consequences, and events around the nightmare are usually more useful for deciding what needs evaluation.
Look for a cause that changes the plan
Nightmares do not have one universal cause. Their timing and the symptoms around them matter more than a long list of supposed triggers.
Trauma and PTSD
Trauma-related nightmares can occur with PTSD, but one nightmare does not establish that diagnosis. PTSD involves a wider pattern of symptoms and impairment. If nightmares began after trauma, repeat part of it, or make you avoid sleep, a trauma-informed clinician can assess the whole picture without requiring you to recount more than is safe in an article or self-help exercise.
The VA and Department of Defense recommend clinician-delivered trauma-focused treatments such as cognitive processing therapy, eye movement desensitization and reprocessing, and prolonged exposure for PTSD overall. These are structured treatments, not instructions to recreate a traumatic event alone at night. Improvement in PTSD may help sleep, but these therapies are not guaranteed to stop nightmares specifically 4.
Medication, substance use, and withdrawal
Some medications and substances can be associated with nightmares, especially when one is started, stopped, or changed near the onset 1. Bring the exact product, dose, timing, and change to the prescriber or pharmacist. Do not stop a prescription or alter its dose on your own.
Abruptly stopping or rapidly reducing a benzodiazepine can cause life-threatening withdrawal, including seizures, hallucinations, mania, psychosis, and suicidal thoughts. The FDA advises an individualized, gradual plan under clinical supervision 5. Alcohol withdrawal can also progress to agitation, hallucinations, confusion, seizures, or delirium and may require urgent monitored care 6.
A nightmare that occurs during a medication or substance change should therefore prompt a safety review, not a guess about dream meaning.
Sleep loss and insomnia
Sleep deprivation and insomnia are associated with a higher risk of nightmares, but the available evidence does not justify a simple claim that every nightmare is caused by “REM rebound” 1. If difficulty falling or staying asleep continues even on nights without nightmares, evaluate the insomnia as a related problem.
Cognitive behavioral therapy for insomnia, or CBT-I, targets persistent insomnia with more than general sleep-hygiene tips. The AASM position paper says CBT-I may be used for PTSD-associated nightmares, but that does not make it a direct substitute for nightmare-focused treatment 7.
Other sleep, medical, and mood conditions
If nightmares began during a fever or acute illness, record that timing and seek care based on the illness and its symptoms. Do not assume that the dream itself needs therapy.
Loud snoring, gasping, observed pauses in breathing, and strong daytime sleepiness point to a possible breathing disorder that deserves its own assessment. They do not prove that sleep apnea caused the nightmare. Likewise, dream enactment needs a parasomnia evaluation rather than a nightmare remedy 2.
Depression, anxiety, and other mental health conditions can occur alongside recurrent nightmares 1. A markedly reduced need for sleep with unusually high or irritable mood, racing thoughts, fast speech, increased activity, poor judgment, hallucinations, or delusions may be mania or psychosis rather than an ordinary response to a nightmare 8.
How imagery rehearsal therapy works
Imagery rehearsal therapy, or IRT, is a nightmare-focused psychological treatment. It does not try to decode a dream. In a common version, a person:
- chooses a recurring nightmare or nightmare theme while awake
- writes a changed version with a safer, neutral, or more manageable direction
- mentally rehearses the revised version while awake
The change does not need a cheerful ending. It can be as simple as finding an exit, receiving help, reducing the threat, or moving the scene somewhere neutral. Protocols differ in how a nightmare is selected, how much is written, and how often the new version is rehearsed.
The AASM recommends IRT for nightmare disorder in adults and for PTSD-associated nightmares 7. A 2023 systematic review found substantial overall support for exposure-based and imagery rehearsal or rescripting approaches, but the studies varied widely and the pediatric evidence was sparse 9.
PTSD-specific guidance is more cautious. The 2023 VA and Department of Defense guideline found insufficient evidence to recommend for or against IRT specifically for PTSD-associated nightmares because results across PTSD trials were inconsistent 4. These positions are not as contradictory as they first appear. They consider different populations, evidence-review methods, and thresholds for a recommendation.
IRT is therefore a reasonable treatment to discuss, not a promise. If changing the dream increases panic, dissociation, intrusive memories, self-harm urges, or distress that lasts after practice, stop and seek trauma-informed support. A clinician may begin with a less intense nightmare, work with a broad theme instead of detailed trauma content, or choose another treatment.
Where CBT and trauma therapy fit
“Therapy for nightmares” can refer to different treatments:
- IRT or imagery rescripting directly changes and rehearses nightmare imagery while awake.
- CBT-I treats coexisting chronic insomnia. It is more structured than improving a bedtime routine.
- Trauma-focused therapy treats PTSD as a whole. It should be delivered by a trained clinician and is not a do-it-yourself nightmare exercise 4.
- Other cognitive or exposure-based approaches may help some adults, but protocols and evidence vary 79.
A clinician can choose the starting point based on the main problem. Someone with an isolated recurring nightmare may need a different plan from someone with PTSD, severe insomnia, substance withdrawal, dream enactment, or a mood episode.
Can medication stop nightmares?
Medication is not the default answer for every recurring nightmare. A prescriber should first confirm what is being treated, review current medications and substances, and weigh adverse effects and interactions.
The VA and Department of Defense weakly suggest prazosin for nightmares associated with PTSD. The recommendation is limited by low-certainty and mixed evidence, including one large negative trial, while pooled reviews still suggested benefit. Prazosin can contribute to dizziness and low blood pressure, and risk may change with other blood-pressure-lowering medicines 4.
This does not support taking prazosin for an occasional nightmare or using someone else's prescription. Do not start, stop, or change prazosin or another medicine without the prescriber.
Nightmares in children
After a child wakes from a nightmare, offer calm reassurance and help them recognize that they are safe. Do not pressure them to describe the dream in detail. A child who was never fully awake, was difficult to comfort, and remembers nothing in the morning may have had a sleep terror rather than a nightmare 3.
Contact the child's pediatrician when nightmares keep returning, cause fear of sleep, affect behavior or daytime functioning, follow a traumatic event, or occur with unusual movements, breathing concerns, medication changes, or injury. Evidence for nightmare treatments in children is much thinner than the adult evidence, so adult IRT instructions should not be applied automatically 9.
When to seek help
Arrange a clinical assessment if nightmares:
- keep returning and cause distress, sleep avoidance, disrupted sleep, or daytime impairment
- began after trauma or occur with other possible PTSD symptoms
- began around a medication, alcohol, or substance change
- occur with persistent insomnia, loud snoring, gasping, breathing pauses, or marked daytime sleepiness
- include shouting, punching, kicking, falling from bed, or injury
- are difficult to distinguish from sleep terrors, hallucinations, or episodes of confusion
Seek urgent or emergency help if there is immediate danger, suicidal thinking or self-harm, a seizure, severe confusion, awake hallucinations, dangerous behavior, or signs of severe alcohol or sedative withdrawal. Urgent assessment is also appropriate when very little sleep occurs alongside a reduced need for sleep, racing thoughts, unusual energy, worsening judgment, or psychosis 568.
Do not drive when nightmare-related sleep loss leaves you drowsy or unable to concentrate. Sleepiness impairs performance and increases crash risk, and caffeine cannot reliably make severe sleep deprivation safe 10.
There is no single trick that guarantees nightmares will stop. Recover calmly after an isolated event. When a pattern develops, identify what accompanies it and choose treatment for that specific problem.




