Mentis

Sleep · Anxiety

Heart racing at night: why it happens and how to calm it

A racing heart at night is very often the stress response, a late chai or drink, or simply noticing your heartbeat in a quiet room. It is usually harmless. Slow breathing with a long exhale settles it within minutes. Chest pain, breathlessness or fainting are the exceptions, and they need a doctor straight away.

In short
  • A racing heart at night is usually harmless: the stress response, evening caffeine or alcohol, or noticing your heartbeat in a quiet room.
  • Noticing it makes you anxious, and anxiety speeds it up. Breaking that loop is most of the fix.
  • In bed: slow breathing with a long exhale for five minutes, a softer position, and no pulse-checking.
  • Call 112 if it comes with chest pain, breathlessness or fainting. See a doctor if it's frequent, getting worse, or comes with snoring and gasping.

Why does my heart race when I try to sleep?

Most of the time, your body is still in daytime mode. A tense day, an argument on the family WhatsApp group or a deadline tomorrow keeps adrenaline running, and adrenaline makes the heart beat faster and harder. The NHS lists stress, anxiety, caffeine, alcohol and nicotine among the most common triggers of palpitations, and says palpitations are usually harmless.

Bedtime is also when you finally notice. All day your heartbeat is drowned out by traffic, screens and people. Lying still in a dark room, you hear it in your ear on the pillow and feel it in your chest. That alone can feel alarming, even when the rate is completely normal.

Other everyday causes:

Why noticing your heartbeat makes it faster

Your heart speeds up, you notice, you worry that something is wrong, and the worry releases more adrenaline, so it speeds up again. This loop is the same one that drives sleep anxiety. The sleep researcher Colin Espie describes how paying close attention to sleep, and trying hard to get it, keeps the brain awake. Paying close attention to your heart does the same thing.

So checking your pulse, opening your smartwatch's heart-rate graph at 1am, or searching your symptoms in bed usually makes things worse. Each check tells your brain there's something to watch. The aim is to calm the body first and stop checking.

How do I calm a racing heart in bed?

Slow your breathing and lengthen the exhale. Breathing out slowly activates the parasympathetic "rest" side of the nervous system, which slows the heart. A systematic review by Zaccaro and colleagues (2018) found slow breathing, under 10 breaths a minute, linked to higher heart rate variability and to feeling more relaxed and less anxious.

  1. Change position. Roll onto your back or right side, and put one hand on your belly.
  2. Two sighs. Breathe in through your nose, take a second short sip of air on top, then let it all out slowly through your mouth. Do it twice. This is the physiological sigh. Balban et al. (2023) found that five minutes a day of this cyclic sighing improved mood and lowered breathing rate more than mindfulness meditation did.
  3. Slow breathing for five minutes. In for about 4 counts, out for about 6, so the exhale is longer. Feel the hand on your belly rise and fall. If counting helps, try 4-7-8 breathing.
  4. Name it, then leave it. Say to yourself, "This is my body's alarm, and it's settling." Then put your attention on the breath or on the weight of the blanket, not on your chest. Don't check your pulse.

Most people feel the pounding ease within a few minutes. If you're still wide awake after what feels like 20 minutes, get up, sit somewhere dim and do something dull until you feel sleepy. Lying in bed fighting it teaches your brain that bed is where the alarm goes off.

Mimi, the Mentis cloud
MimiYour heart's been working hard all day. Let's give it a long, slow breath out together.

Why do I wake up with my heart pounding?

Waking with a pounding heart is common, and the cause is usually one of four things:

Does chai, coffee or alcohol make it worse?

Yes, both can. In a study by Drake and colleagues (2013), caffeine taken six hours before bed still cut total sleep by more than an hour, and the participants didn't notice. So if your heart races at 11pm, the 5pm chai is a real suspect. Keep tea and coffee to before about 2pm for a fortnight and see whether nights change. Our page on caffeine and sleep has the full picture, including the cups people forget (cola, energy drinks, green tea).

Alcohol relaxes you at first, but it doesn't relax your heart. Pietilä et al. (2018) tracked heart rhythm overnight in 4,098 Finnish employees. On nights they drank, their heart rate during the first hours of sleep was higher, and their body's recovery measure dropped in step with the dose: by about 9 percentage units with a low intake, 24 with a moderate one and 39 with a high one. Even the low-intake nights showed a drop.

Try one week with no weeknight drink and no caffeine after 2pm. If your heart settles at bedtime, you've found a big part of the cause.

When should I see a doctor?

A racing heart is usually harmless, but you shouldn't assume it is. Get it checked once, so you can stop wondering.

What's happeningWhat to do
Chest pain or pressure, breathlessness, fainting or nearly fainting, or a racing heart that won't settleCall 112 now
It happens often, lasts a long time or is getting worseSee a doctor soon
Loud snoring, gasping or choking at night, very sleepy in the daySee a doctor about sleep apnoea
It started after a new medicine or supplementAsk your doctor or pharmacist
You have a heart condition, or heart disease runs in your familySee a doctor, even if it feels mild
Doctor has checked you, and it's linked to stress or worryUse the steps on this page, and get support for the anxiety itself

Doctors usually start with an ECG and simple blood tests (thyroid levels and anaemia are common things to rule out). If the episodes come and go, they may give you a monitor to wear for a day or two. A smartwatch reading is a useful clue, but it can't tell you the cause.

How do I stop it happening every night?

Calming the heart in bed helps tonight. Making it rarer means turning down the alarm before bedtime:

How Mentis can help

The Deep Sleep Reset plan in Mentis works on exactly these pieces, a few minutes a day. The "Nothing borrowed" chapter tracks caffeine and alcohol, with activities like "The 3 pm chai is still in you at 11" and "If you drink: this week, no weeknight drink". "The hour before bed" builds a wind-down. "The 3am mind" covers waking in the night, starting with "Waking at 3 isn't the problem".

If your racing heart comes with worry, the Overthinking plan has a chapter called "Out of the head, into the body", with "When it's the body, not the thought" and a guided relaxation, "Tighten, let go: the long form". In your daily check-in with Mimi, your Sleep sky shows how your nights are going, and after a few check-ins Mimi points out patterns, such as rough nights following late chai or heavy workdays.

Mentis is day-to-day wellness support, not a substitute for a doctor. If anxiety is wearing you down, you can talk to a trained counsellor for free, any time, on Tele-MANAS: 14416 or 1-800-891-4416.

Frequently asked questions

Why does my heart race when I lie down to sleep?

Usually because the day's stress is still running in your body, or because you've had caffeine or alcohol in the evening. Lying still in a quiet room also makes you notice your heartbeat more, and noticing it can make you anxious, which speeds it up. Slow breathing with a long exhale is the quickest way to settle it.

Is it normal to wake up with your heart pounding?

It's common. A loud noise, a bad dream, a drop in alcohol levels in the second half of the night, or a nocturnal panic attack can all wake you with a pounding heart. If it happens often, or comes with gasping, choking or loud snoring, see a doctor, because sleep apnoea can cause it.

Can anxiety cause heart palpitations at night?

Yes. Anxiety releases adrenaline, which makes the heart beat faster and harder. The NHS lists stress, anxiety and panic among the common triggers of palpitations. It's still worth getting palpitations checked once by a doctor, so you know what you're dealing with.

When should I worry about my heart racing at night?

Get urgent help (call 112) if it comes with chest pain, breathlessness, fainting or feeling faint, or if it won't settle. See a doctor soon if it happens often, lasts a long time, is getting worse, started after a new medicine, or if you have a heart condition.

Does sleeping on my left side make my heart race?

It doesn't make it faster, but it can make each beat feel stronger, because the heart sits a little closer to the chest wall. If you notice your heartbeat on your left side, try your right side or your back.

Raat ko dil tez dhadakta hai, kya karein?

Pehle dheere saans lein: naak se saans andar, phir munh se lambi saans bahar, 5 minute tak. Shaam ke baad chai, coffee aur sharab kam karein. Agar seene mein dard, saans phoolna ya chakkar aaye, to turant 112 par call karein ya doctor ko dikhayein.

Need to talk to someone right now? Call Tele-MANAS 14416 (free, 24×7, in Indian languages) or 1-800-891-4416. In an emergency, call 112. Mentis is a self-help wellness app, not an emergency or medical service. More help options
Sources
  1. NHS. Heart palpitations.
  2. Pietilä J et al. (2018). Acute effect of alcohol intake on cardiovascular autonomic regulation during the first hours of sleep in a large real-world sample of Finnish employees. JMIR Mental Health 5(1):e23.
  3. Drake C et al. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med 9(11).
  4. Zaccaro A et al. (2018). How breath-control can change your life: a systematic review on psycho-physiological correlates of slow breathing. Frontiers in Human Neuroscience 12:353.
  5. Balban MY et al. (2023). Brief structured respiration practices enhance mood and reduce physiological arousal. Cell Reports Medicine 4(1).
  6. Craske MG & Tsao JCI (2005). Assessment and treatment of nocturnal panic attacks. Sleep Medicine Reviews 9(3).
  7. Mehra R et al. (2006). Association of nocturnal arrhythmias with sleep-disordered breathing: the Sleep Heart Health Study. Am J Respir Crit Care Med 173(8).
  8. Espie CA et al. (2006). The attention-intention-effort pathway in the development of psychophysiologic insomnia. Sleep Medicine Reviews 10(4).
  9. Tele-MANAS, Ministry of Health and Family Welfare, Government of India.