Waking up with a racing heart at 3 AM: what to do
Not medical advice.
Published by Aama · Updated · 10 min read
Waking up with your heart pounding is frightening. This page is a checklist: urgent signs first, then what to do right now, then what might be behind it.
Why do I wake up with my heart racing at night?
Your heart rate naturally changes through the night. It slows in the deepest stages of sleep and speeds up a little during dreaming sleep and when you wake up. If you wake suddenly, your body can switch on its alert system in a second, and the result is a pounding heart before your mind has caught up. Common reasons include:
- Stress and anxiety. A tense day can leave your body primed to react, even asleep.
- A vivid or frightening dream. Waking from a nightmare often brings a fast heartbeat for a few minutes.
- Caffeine and alcohol. Caffeine can stay in your system for many hours. Alcohol can help you drop off but may make sleep lighter, and your heart rate can run faster as it wears off.
- A late meal, a hot room or dehydration. All of these can make your heartbeat more noticeable.
- Your body clock. Hormones such as cortisol begin to rise in the early hours, which is one reason 3 to 4 AM is a common time to wake up alert.
- Medicines and health factors. Some medicines, a fever, hormone changes, an overactive thyroid, reflux and sleep apnea can all play a part.
Most of the time the cause is ordinary and the feeling passes. Because some causes do need treatment, it is sensible to mention it to a doctor if it keeps happening.
Is it a panic attack?
Some people wake from sleep in a panic attack. It can bring a pounding heart, sweating, shaking, breathlessness and a sense of dread, usually peaking within about ten minutes. It is very frightening, but it is not dangerous in itself.
You cannot tell for sure at 3 AM whether something is a panic attack or something else, so the urgent-signs checklist above comes first every time. If you have chest pain, pain spreading to your arm or jaw, fainting or severe breathlessness, get medical help. If you are checked by a doctor and nothing physical is found, a doctor can help you with panic and with sleep. Our physiological sigh guide describes a quick breathing pattern some people use during a spike.
1. Check for urgent signs first
If any of these apply, call your local emergency number or get medical help now. Do not wait or try to breathe it away.
☐ Chest pain, pressure or tightness ☐ Pain spreading to your arm, back or jaw ☐ Severe shortness of breath ☐ Fainting, near-fainting or confusion ☐ A heartbeat that feels very irregular and does not settle
If none of these apply and you feel safe, go on to step 2.
2. What to do right now
☐ Turn the clock face down. Watching the time adds pressure. ☐ Sit up and put both feet on the floor. Feel the floor under your heels. ☐ Take a few slow sips of water. ☐ Breathe in gently through your nose, then out slowly through your mouth, a little longer than the in-breath. Keep it soft. See breathing exercises for sleep if you want a pattern. ☐ Look around the room and name five familiar things. ☐ After about twenty minutes, if you are still awake and tense, get up, sit somewhere dim and do something quiet. Go back to bed when sleepy. Soft rain from the free sleep sounds mixer can help.
3. Tick any that might apply tonight
These are common contributors. You do not need to find just one.
☐ A stressful day or period ☐ Caffeine in the afternoon or evening ☐ Alcohol close to bedtime ☐ A vivid or upsetting dream ☐ A late heavy meal ☐ A new medicine, or a change in dose ☐ Being unwell, or having a fever ☐ A hot, stuffy room
The body clock plays a part too. Hormones such as cortisol start to rise in the early hours, and the shift between sleep stages can leave you very aware of your pulse.
4. Tell your doctor if you notice
☐ It happens often, or more often over time ☐ Skipped or irregular beats ☐ Loud snoring, gasping or pauses in breathing while asleep, or heavy tiredness in the day ☐ Unexplained weight change, tremor, heat intolerance or sweating ☐ You are starting to dread going to sleep
A doctor can check your heart and look for causes such as rhythm problems, sleep apnea or thyroid conditions, and can suggest help for anxiety or sleep if that is what is behind it. Mention how much caffeine and alcohol you have, and any medicines or supplements.
What a doctor might check
You may be asked about your sleep, caffeine, alcohol, stress, medicines and family history. Depending on your answers, a doctor may check your pulse and blood pressure, record your heart rhythm (an ECG), run a blood test such as thyroid function, or suggest a sleep test if sleep apnea is possible. If your episodes come and go, a heart monitor you wear for a day or more can sometimes catch one. Keeping a short diary of when it happens, what you ate and drank, and how stressed you were can help.
A note on smartwatches and phones: seeing a number can be useful, but it can also make worry worse. If a device alerts you to something unusual, tell your doctor rather than trying to interpret it alone.
5. Make the next night easier
☐ Keep caffeine to the morning and early afternoon ☐ Write worries down earlier in the day. How to stop overthinking at night shows how ☐ Keep a regular bedtime and a short wind-down. See wind down before bed
If you ever feel overwhelmed or unsafe, our helplines page lists people who can talk with you at any hour.
Common questions
Why does my heart beat fast when I wake up in the night?
There are several common reasons: stress and anxiety, a vivid dream, caffeine or alcohol, and normal changes in sleep stages. Hormones such as cortisol also begin to rise in the early hours. Sometimes there is a medical cause, which is why it is worth discussing with a doctor if it keeps happening.
Is a racing heart at night dangerous?
Often it is linked to anxiety or stress and passes. But it can sometimes be caused by a heart rhythm problem, sleep apnea, thyroid problems or medicines. If it happens regularly, or comes with chest pain, fainting, severe breathlessness or pain spreading to your arm or jaw, seek medical help straight away.
Is it normal to wake up with a racing heart?
An occasional episode, especially after a stressful day, a vivid dream, caffeine or alcohol, is common and often passes within minutes. If it happens often, keeps getting worse, or you are worried, it is sensible to have it checked.
Can anxiety cause a racing heart at night?
Yes. Stress and anxiety keep the body alert, and the quiet of the night can make your pulse easier to notice. Anxiety is only one possible cause, so if it keeps happening it is worth a check-up to rule out other things.
What heart rate is too fast when I wake up at night?
A typical resting heart rate for most adults is about 60 to 100 beats a minute. A pounding heart on waking can be higher for a short time. If your heart rate stays above 100 while you are resting, or comes with chest pain, fainting or severe breathlessness, get medical help. If you are unsure, ask a doctor.
Should I stay in bed trying to fall back to sleep?
If you have been awake and tense for about 20 minutes, it usually helps to get up, sit somewhere dim, do something quiet, and return to bed when you feel sleepy.
Feeling unsafe? Get help now
Related guides
Breathing exercises for sleep: gentle techniques for bedtime
Easy breathing exercises to help you wind down for sleep, including 4-7-8, a longer out-breath and calm 5-5 breathing, plus how to build them into a bedtime routine.
How to stop overthinking at night
Why your mind races at night and how to stop overthinking in bed: a 5-minute reset, an evening worry list, and what to do if you are still awake.
How to calm racing thoughts at night
Why your brain loops at 1 AM, the cognitive shuffle trick to induce sleep, and gentle ways to park midnight worries.
The physiological sigh: a quick breathing trick for an anxiety spike
Learn the physiological sigh: two breaths in, one long breath out. How to do it, how often to repeat it, and what research says and its limits.

