Almost everyone has a bad dream from time to time, but when nightmares start happening regularly, or the same one keeps coming back, it’s natural to wonder what’s actually causing them and whether anything can be done about it. This guide covers what triggers nightmares, why some people get them more often than others, and the approaches, from simple habit changes to therapy and medication, that can help.

A nightmare is a vivid, disturbing dream that typically triggers fear, anxiety, or distress, often causing you to wake up in the middle of it. Nightmares usually occur during REM (rapid eye movement) sleep, which happens more in the second half of the night, and unlike some other sleep disturbances, you generally remember a nightmare clearly after waking.
An occasional nightmare is extremely common and isn’t a cause for concern on its own. It’s when nightmares become frequent, distressing, or start affecting your daily life that it’s worth understanding what’s driving them.
These are often confused, but they’re quite different. Nightmares occur during REM sleep, and the person wakes up and usually remembers the dream in detail. Night terrors (also called sleep terrors) occur during deep non-REM sleep, often involve screaming, thrashing, or intense fear while still partly asleep, and the person typically doesn’t wake up fully or remember the episode afterward. Night terrors are more common in children, while nightmares can affect people of any age.

There’s no single cause of nightmares; they’re generally linked to a mix of physical, psychological, and lifestyle factors, including:
If you’ve recently started a new medication or noticed nightmares appearing alongside another health change, it’s worth mentioning this to your doctor, since identifying a specific trigger can make treatment much more straightforward.

Occasional bad dreams don’t need treatment, but when nightmares happen frequently and consistently disrupt sleep or daily functioning, this may be described as nightmare disorder, a recognised sleep condition. Doctors generally describe its severity based on frequency:
It’s also sometimes classified by how long it’s been going on, from acute (a month or less) to chronic (six months or longer). Nightmare disorder is more common in people with PTSD, anxiety, or depression, though it can occur without any of these being present.
For many people, especially those with occasional or stress-related nightmares, a few lifestyle adjustments can meaningfully reduce how often they occur:
These steps tend to help most with general stress-related nightmares, though they may have less effect on nightmares linked to trauma or an underlying mental health condition, which often respond better to targeted therapy.

For recurring or distressing nightmares, particularly nightmare disorder or PTSD-related nightmares, imagery rehearsal therapy (IRT) is considered the leading evidence-based treatment. It involves recalling a recurring nightmare while awake, consciously rewriting it with a less distressing or more neutral ending, and mentally rehearsing this new version regularly, often before bed. Over time, this can help reduce how often the original nightmare recurs and how distressing it feels.
Other approaches sometimes used include:
There’s currently no medication specifically approved just for treating nightmares in general, but doctors sometimes prescribe medication in specific situations, particularly for nightmares linked to PTSD.

It’s worth speaking to a doctor if:
A doctor can help identify whether there’s an underlying cause, such as a mental health condition, medication side effect, or another sleep disorder, and recommend the most appropriate treatment for your situation.
Nightmares can be triggered by stress, anxiety, irregular sleep, alcohol, certain medications, illness, or underlying conditions like PTSD, anxiety, or depression. Often, several factors contribute together.
Nightmares occurring nightly may indicate nightmare disorder, which is considered severe based on frequency. This is often linked to ongoing stress, trauma, or an underlying mental health condition, and is worth discussing with a doctor.
Improving sleep habits, managing stress, and limiting alcohol before bed can help with occasional nightmares. For recurring or distressing nightmares, imagery rehearsal therapy is the most well-supported treatment approach.
Nightmares occur during REM sleep and are usually remembered clearly upon waking. Night terrors occur during deep sleep, often involve screaming or thrashing, and typically aren’t remembered afterward.
There’s no medication approved specifically for nightmares in general, though prazosin is sometimes prescribed off-label for PTSD-related nightmares under a doctor’s supervision. Medication decisions should always be made with a doctor.
Occasional nightmares are a normal part of sleep and usually nothing to worry about, but frequent or distressing nightmares are worth taking seriously, both because they’re often treatable and because they can point to an underlying cause worth addressing. Simple sleep and stress habits help many people, while imagery rehearsal therapy and, in some cases, medication under medical supervision can help with more persistent cases.
If nightmares are affecting your sleep or daily life, you can consult a doctor online through MaNaDr App to discuss what might be causing them and what treatment options could help.