- 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:
- Late caffeine. The 4pm chai or the coffee you had to get through the evening is still active at midnight.
- An evening drink. Alcohol raises your heart rate during the first hours of sleep (more on that below).
- A heavy, late dinner, a hot room, dehydration, or a workout close to bedtime.
- Lying on your left side. It doesn't speed the heart up, but each beat can feel stronger.
- Some medicines and supplements, such as decongestants, asthma inhalers or thyroid tablets. Ask your doctor or pharmacist if it started after something new.
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.
- Change position. Roll onto your back or right side, and put one hand on your belly.
- 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.
- 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.
- 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.

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:
- Something startled you: a noise, a vivid dream, a child crying. Your heart jumps before you're fully awake. It settles within a minute or two.
- Alcohol wearing off. In the second half of the night, as the alcohol clears, sleep gets lighter and you're more likely to wake (see waking up at 3am).
- A nocturnal panic attack. You wake suddenly from sleep with a racing heart, breathlessness, sweating and fear, without a nightmare to explain it. Craske and Tsao's review describes nocturnal panic as common among people who have panic attacks. It's frightening but not dangerous, and the same steps work as in the day: see what to do during a panic attack.
- Sleep apnoea. Your breathing repeatedly stops and starts during sleep, which strains the heart. Signs include loud snoring, gasping or choking, morning headaches and daytime sleepiness. In the Sleep Heart Health Study (Mehra et al., 2006), people with severe sleep-disordered breathing had about four times the odds of atrial fibrillation, an irregular heart rhythm. This one needs a doctor, not a breathing exercise.
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.
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 happening | What to do |
|---|---|
| Chest pain or pressure, breathlessness, fainting or nearly fainting, or a racing heart that won't settle | Call 112 now |
| It happens often, lasts a long time or is getting worse | See a doctor soon |
| Loud snoring, gasping or choking at night, very sleepy in the day | See a doctor about sleep apnoea |
| It started after a new medicine or supplement | Ask your doctor or pharmacist |
| You have a heart condition, or heart disease runs in your family | See a doctor, even if it feels mild |
| Doctor has checked you, and it's linked to stress or worry | Use 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:
- Move worry earlier. Ten minutes at around 7pm to write down what's on your mind and one next step for each. A worry time stops the day arriving in bed with you.
- A real wind-down hour. Dim lights, no work email, nothing that makes your heart jump. A warm shower an hour or two before bed helps too.
- Daily slow breathing, not only in emergencies. Five minutes in the evening trains the response so it's easier to reach at night.
- A fixed wake time, every day. It keeps your body clock steady, and a steady clock makes for steadier sleep.
- Move in the day, not late at night. A brisk walk after work helps you sleep; a hard workout at 10pm can keep your heart rate up.
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.
- NHS. Heart palpitations.
- 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.
- 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).
- 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.
- Balban MY et al. (2023). Brief structured respiration practices enhance mood and reduce physiological arousal. Cell Reports Medicine 4(1).
- Craske MG & Tsao JCI (2005). Assessment and treatment of nocturnal panic attacks. Sleep Medicine Reviews 9(3).
- 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).
- Espie CA et al. (2006). The attention-intention-effort pathway in the development of psychophysiologic insomnia. Sleep Medicine Reviews 10(4).
- Tele-MANAS, Ministry of Health and Family Welfare, Government of India.