Nightmares are vivid, disturbing dreams charged with strong emotions such as fear, anxiety, sadness or anger. They usually wake you up, and you remember them clearly. Most happen in the second half of the night, during REM sleep, when dreaming is most intense. An occasional nightmare is not a sign of illness. Frequent nightmares that wreck your sleep and spill into your day, however, can point to severe stress, trauma or a condition that deserves proper assessment, and there are effective treatments.

What are nightmares, and when do they become a problem?

A nightmare typically involves a threat to your safety, life or dignity: being chased, falling, losing someone you love, failing an exam, missing something important. You wake up tense, perhaps with a racing heart and sweating, but you quickly become fully alert and know where you are.

Nightmares become a problem when:

  • they happen often, weekly or more, over a long period;
  • you start dreading sleep and putting off going to bed;
  • you feel tired, drowsy or unable to focus at work or school;
  • they affect your mood or relationships, or keep bringing back a specific painful memory.

Nightmare disorder

Modern classifications, including ICD-11 and DSM-5-TR, recognise nightmare disorder. It describes repeated, intensely distressing dreams that are clearly remembered and cause real distress or interfere with daily life, and that are not simply the direct effect of a medication, substance or another medical condition. It can occur on its own or alongside anxiety, depression or post-traumatic stress disorder. Working out which applies to you is a job for a specialist, not for guesswork.

Causes of nightmares: stress, trauma and medication

There is rarely a single cause. Biological factors, psychological factors and life circumstances usually interact.

Stress and anxiety

Exam season, pressure at work, conflict in a marriage, worries about money or children: all of these can show up in dreams. The mind keeps processing its concerns during sleep, and some of that processing surfaces as nightmares.

Trauma

After an accident, violence, a sudden loss or a disaster, nightmares may replay the event or carry its emotions. Recurrent nightmares are one of the common symptoms of post-traumatic stress disorder (PTSD), and treating them is part of recovery.

Medication and substances

Some medicines, including certain drugs that act on the nervous system or blood pressure, are linked with disturbing dreams in some people. Alcohol and drugs, or stopping them suddenly, can also increase nightmares. If your nightmares started after a new medication, do not stop it on your own; talk to the doctor who prescribed it.

Other factors

  • Not enough sleep, or an irregular sleep schedule.
  • Other sleep disorders, such as sleep apnoea.
  • Depression and long-standing anxiety.
  • Watching violent or frightening content right before bed.
  • Temperament: some people are simply more sensitive to events than others.

In assessment it helps to look at three areas together: genetic and biological predisposition, life experiences across the lifespan, and personality traits that were there before the problem began. That fuller picture makes treatment more precise.

Night terrors in children vs nightmares

Parents often confuse nightmares with night terrors. The difference matters:

  • Timing: night terrors usually happen in the first third of the night, during deep sleep; nightmares come later.
  • The child's state: during a night terror a child may scream, sit up with eyes open and look terrified, yet not respond to or recognise the people around them. After a nightmare, the child is fully awake and looks for a parent for comfort.
  • Memory: children usually do not remember a night terror the next morning, but they can describe a nightmare.
  • What to do: do not try to force a child awake during a night terror. Stay close and calm and keep them safe from falls or knocks until it passes. After a nightmare, a hug and reassurance are what they need.

Night terrors are common in childhood and usually fade with age. If episodes are frequent, involve risky movement or sleepwalking, or continue for years, it is worth seeing a specialist.

How nightmares are assessed

An accurate diagnosis is the foundation of good treatment. A psychiatrist will ask in detail about the dreams and how often they happen, your sleep and wake times, any medicines or substances, important events in your life and your mood. You may be asked to keep a sleep diary for a couple of weeks. Psychological rating scales are sometimes used, and a sleep study may be arranged if another sleep disorder is suspected.

The aim is not just to name the problem but to understand what lies behind it. Are these isolated nightmares, or part of PTSD, depression or anxiety? Each calls for a different plan.

Treatment, including imagery rehearsal therapy

Imagery rehearsal therapy

One of the best-studied psychological treatments for recurrent nightmares is imagery rehearsal therapy (IRT). The idea is simple and is usually learned with a trained therapist:

  1. Choose a recurring nightmare and write it down.
  2. Rewrite the story any way you like, so the ending becomes safe, neutral or even funny.
  3. Rehearse the new version in your imagination for a few minutes every day while awake.

Over time the brain learns the new script, and nightmares tend to become less frequent and less intense. If the nightmares are linked to trauma, it is best done with professional support.

Cognitive behavioural therapy

CBT for insomnia and trauma-focused therapies address the roots: anxiety, painful memories and habits that disrupt sleep. In therapy, talking is itself a treatment; having a safe space to say what frightens you can take much of the weight off a nightmare.

Medication

For some people, especially when nightmares are severe or linked to PTSD or depression, a psychiatrist may decide that medication is a useful part of the plan. That decision is made and monitored by the psychiatrist. Please do not take sleeping pills without medical advice.

Sleep habits that help

  • Keep regular sleep and wake times.
  • Cut down on coffee and tea in the evening.
  • Avoid news, frightening content and screens before bed.
  • Try simple breathing or relaxation exercises at bedtime.
  • Avoid alcohol and drugs, which worsen sleep.

How family and friends can help

Listening calmly, without mocking or dramatising, is the first form of support. Avoid saying it is just a dream, and do not link nightmares to superstition or make the person more afraid of them. With children, a steady bedtime routine, a calm story, a dim light and the reassurance that you are nearby go a long way. With adults, encourage professional help if the problem persists; seeking treatment is a sign of good sense, not weakness.

When to seek help urgently

See a psychiatrist if nightmares last for weeks, affect your work, studies or relationships, began after a trauma, or come with deep sadness or constant anxiety. If nightmares come with thoughts of harming yourself or ending your life, or a feeling that life is not worth living, do not wait: go to the nearest emergency department immediately or call emergency services, and tell someone you trust what you are going through.