Why do I keep having bad dreams, and how do I stop them?

If you keep having bad dreams, the usual reason is that something from your waking life is still running when you fall asleep. Stress, anxiety, a worry you never finished thinking through and plain exhaustion top the list. Short or broken sleep, heavy drinking and some medicines can add to it. The good part is that repeat bad dreams tend to ease when you lighten what's feeding them, and a dream that keeps coming back can be rewritten with a simple exercise you do on your own.
Why do I keep having bad dreams?
A bad dream is a dream with a frightening or upsetting story. When it wakes you and you can remember it, it's called a nightmare. What causes bad dreams is usually ordinary. The NHS lists the common causes of nightmares as being very tired or unwell, sleep that gets broken up, and anything that frightened you or left you stressed, anxious or worried.
The most common reasons for bad dreams:
- Stress you carried to bed. A deadline, a money worry, a conversation you're dreading.
- Anxiety. If your mind spends the day scanning for what could go wrong, it often keeps scanning at night.
- Exhaustion and poor sleep. In a survey of 13,922 Finnish adults, insomnia and exhaustion were the strongest risk factors for frequent nightmares, each with close to seven times the odds.
- Being hard on yourself. The same survey found that a low, down-on-yourself outlook went with more nightmares too.
- Alcohol. Frequent heavy drinking was strongly linked to frequent nightmares in that survey as well.
- Some medicines. The NHS names certain medicines, such as antidepressants, as a cause. Don't stop one on your own. Ask whoever prescribed it whether it could be part of the picture.
- Interrupted sleep. Sudden noises or getting up to pee can disturb deep sleep, and conditions that affect sleep, like sleep apnoea, can bring on nightmares.
- Something scary late in the evening. A horror film, a grim news story, a tense argument by text.
Often it's a few of these at once: a hard week, too little sleep and a couple of drinks to unwind. Work out which ones are yours and you know where to start.
Why do we have bad dreams at all?
Nobody knows for sure. One idea researchers are testing is that dreams help the brain process emotions and get ready for future scares. A 2020 brain-imaging study from Geneva tested part of that idea. Among 89 people, those who reported more fear in their dreams reacted less strongly to frightening images while awake. They also showed more activity in a front part of the brain tied to keeping emotions in check.
So a scary dream now and then may be doing a job. That study looked at everyday fear in dreams, though, not nightmares that wake you three nights a week. When bad dreams keep coming back and cost you sleep, they're worth working on.
Can stress and anxiety cause bad dreams?
Yes. Stress and anxiety are two of the most common causes of bad dreams. Dream researchers call it continuity: what you live through by day shows up, reshaped, at night. In a study of ordinary sleepers, not patients, what was happening in people's lives at the time explained how often they had nightmares. Personality traits, such as being a worrier by nature, added nothing on top. The author read it as support for the idea that nightmares reflect negative waking-life experiences.
That's worth knowing, because a stressful stretch is something you can change. You don't have to become a different person to have calmer nights.
It runs the other way too. Can bad dreams cause anxiety? They can leave you uneasy the next morning, and a run of them can make you dread going to bed. That dread makes it harder to fall asleep, and poor sleep is one of the things most closely tied to more nightmares. You can break the loop from either end: ease the day, or work on the dream itself.
Stress dreams: when the day follows you to bed
What are stress dreams? They're bad dreams that borrow the feeling of pressure from your day. The plot is rarely your actual problem. You're sitting an exam you didn't study for, your phone won't dial, you're back at a job you left years ago, you can't find your car. The feeling is the clue: rushed, unprepared, out of control.
Try this the morning after one. Skip the plot and ask: where in my life do I feel exactly like that right now? The unprepared-for-an-exam dream might point to a project you haven't started. Missing a flight might point to a week with too much crammed into it. Name the real pressure and you can act on it.
Stressful weeks also tend to bring more vivid dreams, the kind you remember in detail at breakfast. If you're having stress dreams every night, check these:
- Are you going to bed straight from email, work chat or a tense conversation?
- Are you sleeping less than you need, or at different times every night?
- Is there one task you keep avoiding that sits in the back of your mind?
Anxiety dreams and waking up uneasy
Anxiety dreams feel different. Stress dreams tend to be about a task: late, behind, unprepared. Anxiety dreams are more about danger or loss. Someone you love gets hurt, you're being chased, something terrible is about to happen and you can't stop it. You wake with your heart pounding and a dread that hangs around for the morning.
A quick way to tell anxiety in dreams from everyday stress in dreams:
- If the dreams track a deadline or a packed week and fade once it passes, stress is the likely driver.
- If the dread shows up on calm weeks too, or echoes worries you carry all day, anxiety is more likely behind it.
To shake the feeling off after waking:
- Name it. "That was a dream. I feel shaky, and that's left over from the dream."
- Check the facts if it helps. Dreamed your sister was in trouble? A normal good-morning text settles it.
- Get light and movement. Open the curtains, walk around the kitchen, splash your face with cold water.
- Say what it was about. Tell someone, or write three lines. A dream put into words usually loses some of its weight.
How to stop having bad dreams
To stop having bad dreams, work on what feeds them. The NHS suggests a relaxing bedtime routine, a sleep diary to spot the causes, and dealing with whatever is making you stressed or anxious. In practice, here's how to prevent bad dreams:
- Protect your sleep. Exhaustion and insomnia were the biggest risk factors in that Finnish survey. Go to bed and get up at about the same times, weekends included. Here are more sleep habits that help you sleep better.
- Move drinks earlier, or skip them. A nightcap feels like it helps, but frequent heavy drinking goes with more nightmares.
- Keep the last hour gentle. No horror, no doom-scrolling, no settling arguments by text.
- Keep a two-week sleep and dream diary. Write down bedtime, what you drank, what stressed you and whether you had a bad dream. Patterns show up quickly.
- Ask about new medicines. If the bad dreams started around a new prescription, mention it to your doctor or pharmacist.
- Give the daytime worry a time slot. Ten minutes in the late afternoon to look at what's bothering you and pick one next step. Worry that gets attention by day has less reason to show up at night.
That last one is the main lever for how to stop stress dreams and anxiety dreams. The dreams usually quiet down when the day stops handing them material.
Rewriting a dream that keeps coming back
If the same bad dream keeps returning, you can change its script while you're awake. The method is called imagery rehearsal, and it's the best-supported psychological approach for repeat nightmares. You can do it on your own. In a trial of 399 people recruited through a nightmare website, six weeks of self-help imagery rehearsal reduced how often people had nightmares and how upsetting they were, compared with a waiting list. Sleep quality and anxiety improved too. Even just keeping a nightmare diary helped a little.
Here's how to do it:
- Pick one dream. Start with one that's upsetting but not your very worst.
- Write it down in a few lines, in the present tense. You can stop before the worst moment.
- Change it, any way you like. Big or small both work. The thing chasing you turns out to be your old dog, or the exam room door opens onto a beach.
- Rehearse the new version for about ten minutes a day while awake, picturing it in as much detail as you can.
- Give it time. The trial ran for six weeks, so try it for at least a few weeks before you decide how it's going.
You're showing your brain that the story has another ending. Researchers think that growing sense of control over the dream is a big part of why the method works.
Clearing your head before bed
The hour before sleep is where you can cut stress dreams off at the source. The goal is to get the day's open loops out of your head and somewhere else.
- Write tomorrow's list. Every open task, with the first small step next to each. Once it's on paper, you don't have to hold on to it overnight.
- Do a two-line worry dump. "I'm worried that ___. The next thing I can do is ___." If there's no step tonight, write "tomorrow, 10 a.m." and leave it there.
- Talk it out. Tell your partner, text a friend, or type it into an AI chat. Saying a worry out loud often makes it feel smaller and more manageable.
- Breathe slowly for a few minutes, with the out-breath longer than the in-breath, as in 4-7-8 breathing. Here are more breathing methods for falling asleep.
- Choose easy screens. A familiar comfort show beats a cliffhanger or the late news.
If it's mostly your job that follows you to bed, read why you can't stop thinking about work at night.
What to do right after a nightmare
When a nightmare wakes you, settle your body first, then go back to sleep. A few steps help:
- Tell yourself where you are. "That was a dream. I'm in my bed. It's 3 a.m." Press your feet into the mattress or the floor.
- Slow your breathing. In for a count of four, out for six to eight, for a couple of minutes.
- Give it a quick new ending in your head, then switch to something dull and pleasant, like planning tomorrow's lunch.
- Get up if you can't settle. If you're still wide awake after 20 minutes or so, sit somewhere comfortable in low light, do something calm, and go back to bed when you feel sleepy. Here's more on what to do when you're lying awake.
Quick answers
Can bad dreams cause anxiety?
Yes, they can. A bad dream can leave you on edge for the morning, and a run of them can make you dread bedtime. In the self-help trial above, people who rewrote their nightmares also felt less anxious. If the dread is about sleep itself, work on the dream, and if it's about your days, start there.
Is it normal to have stress dreams every night?
It's common during a heavy stretch, and it usually eases when the pressure does. If it's been going on for weeks, look at how much you're sleeping, how much you're drinking and how close to bedtime you stop working. A written to-do list and a calm last hour are the easiest places to start.
Should I go back to sleep after a nightmare?
Yes. Settle your body first with a few slow breaths and a reminder that it was a dream, then lie back down. If you're still wide awake after about 20 minutes, get up for a bit and try again once you feel sleepy.
Unload the day with Moodu
Moodu has a guided conversation for rough nights called Sleep Serenity. It opens with: "Rough nights lately? Tell me what bedtime usually looks like for you and we'll find a calmer routine." Use it before bed to unload whatever has been building up during the day, so it isn't the last thing on your mind when the lights go off. Or open it when a bad dream wakes you, talk the dream through, and work out a new ending together. You can type, or tap the mic and say it out loud.
If your heart is still racing, 4-7-8 breathing runs with an on-screen timer so you only have to follow along. Chats are encrypted before they're saved and never used for ads. Moodu is $39.99 a year after a 3-day free trial, or $4.99 a week.
If bad dreams are breaking up your sleep most nights for weeks, or spilling into your days, tell your doctor. It's common and very treatable.
Talk it through with Moodu
Moodu is a kind AI companion you can talk to any time, with mood check-ins, guides and breathing exercises.
3 days free, then $39.99 a year. Or $4.99 a week.
This article is general information, not medical advice. Moodu is an AI companion, not a therapist, and not for emergencies. If you're in crisis, call or text 988 (US) or your local emergency number.