Understanding insomnia

Heart Beating Fast at Night, Can't Sleep: What It Means

By Angus Munro, Clinical Psychologist (AHPRA PSY0001626434) · Last clinically reviewed 2026-07-10 · 7 min read

If your heart is beating fast at night and you can't sleep, the most likely explanation is not your heart. It's arousal. When you lie awake, your nervous system quietly shifts into a low-grade threat state, and a quicker heartbeat is one of the first things it does. The racing pulse is rarely the cause of your sleeplessness. It's a signal that your body is running slightly hot at the exact moment it's meant to be winding down.

Can't sleep, heart racing, mind scanning the dark for what's wrong. I know that combination, and I'm not going to wave it away. A pounding chest at 2am feels alarming, and the alarm is real. But feeling alarming and being dangerous are two different things, and for most people who land on this page, the machinery underneath is ordinary and reversible.

Let me show you how it runs.

Why your heart races at night when you can't sleep

During the day your attention is full. Noise, movement, tasks, other people. At night all of that falls away, and for the first time in hours there is nothing between you and your own body. So you notice things you normally screen out: your breathing, a thought that won't settle, and your heartbeat.

Here is the part that matters. Your brain is a threat-detection machine first and a rational analyst second. When it is dark and quiet and you are the only thing awake, an unexplained fast heartbeat gets read the way our ancestors read a rustle in the grass: as possible danger. It does not wait for proof. It releases a little more adrenaline, just in case. Your heart answers by beating faster still.

Now you have a faster heartbeat, which your brain reads as more danger, which produces more arousal, which speeds the heart again. That is the loop. Nothing has gone wrong. Your body is doing what it was built to do, at the worst possible time to do it. The can't-sleep, racing-heart pattern is one state seen twice, not two problems stacked together. It is one of the most common faces of insomnia, and your body clock plays a part: at night your circadian rhythm is trying to wind you down, while a hot nervous system works against it.

The harder you try to calm it, the faster it goes

Once you notice the racing, the natural move is to do something about it. Check your pulse. Take deep breaths and monitor whether they are working. Order yourself to relax.

Every one of those moves is effort aimed at your own arousal, and arousal is the one thing effort makes worse. Watching your heartbeat welds your attention to the exact signal feeding the loop. Willing yourself to relax is a demand, and demands raise arousal, they do not lower it.

It is like drinking seawater when you are thirsty. Every sip feels like it should help. Every sip leaves you drier.

This is the cruelty of sleep as a problem. It is the one domain of life where trying harder reliably backfires. When people tell me nothing has worked, this is usually why. Not because they have not tried, but because trying, in the way they were taught, is part of what keeps the heart racing.

When a racing heart at night should be checked by a doctor

Most nighttime palpitations are arousal, not illness. But a racing heart is a physical symptom, and some physical symptoms deserve a physical check before you treat them as anxiety. This is care, not a scare.

See your GP first if any of these are in the picture: a racing or irregular heartbeat with chest pain, breathlessness, dizziness or fainting; palpitations that arrive out of the blue during the day, not only at night; loud snoring or gasping a partner has noticed, which can point to a sleep-breathing problem; or unexplained weight loss, tremor or heat intolerance, which can accompany an overactive thyroid. Caffeine, alcohol and some medications can drive a fast heart at night too, and those are worth reviewing with your doctor.

None of that means something is wrong. It means the physical possibilities get ruled out, so you are not aiming a psychological tool at a medical problem, or the reverse. And once your GP is satisfied your heart is healthy, that reassurance becomes a tool of its own. The next time your chest pounds in the dark, "I have had this checked" is a true and steadying thing to know.

Why the sleep tips have not fixed it

By the time people reach me they have usually done the hygiene. Dark room, no screens, no late coffee, cool temperature. Good conditions matter, and I would never tell you to abandon them. But sleep hygiene was never built to switch off a wired nervous system. It is the floor, not the treatment. The American Academy of Sleep Medicine, in its 2021 clinical guideline, recommends against sleep hygiene as a standalone therapy precisely because on its own it does not do enough (Edinger et al., 2021).

So if you have been diligent with the tips and your heart still races the moment your head hits the pillow, that is not a personal failure. You have been doing the right maintenance and mistaking it for the cure.

The thing that actually moves a racing heart at night is the thing underneath it. The arousal, and your relationship to it.

What actually settles a racing heart at night

The evidence-based foundation here is cognitive behavioural therapy for insomnia, CBT-I. Major bodies recommend it as first-line treatment for chronic insomnia, ahead of medication; the American College of Physicians said exactly that in 2016 (Qaseem et al., 2016). Pooled across twenty randomised trials, CBT-I helps people fall asleep faster and spend less time awake at night, with gains that hold at follow-up, though those trials were of moderate quality (Trauer et al., 2015). It also works delivered as a structured online program, not only face to face: in one placebo-controlled trial, automated web-based CBT-I beat an active placebo, so the benefit is not merely the effect of engaging with an app (Espie et al., 2012).

Insomnia Reset is built on that foundation and adapts it for people whose core problem is exactly this: a body that runs hot at night and a mind that watches it. That is why the program does not ask you to keep a nightly sleep diary. For a hypervigilant sleeper, logging every awakening tends to feed the very monitoring that keeps the heart racing. We work with your arousal, not measure it to death.

And none of this is about white-knuckling through a pounding chest until it passes. One of the tools in the program, Find-the-Five, rests on a simple principle: facing a wired, sleepless night does not mean forcing yourself through maximum distress. The work stays at a level you can actually stay with, and steps back when it climbs too high.

If you want a clearer sense of where your own sleep sits, the Sleep Clarity quiz is a short self-assessment you can take in a few minutes. It will not diagnose anything, and it is not a medical test. It is a way to see the pattern you are in more clearly, and seeing the pattern is where change starts.

Frequently asked questions

Is a racing heart at night a sign of something serious?

Usually not. For most people it is ordinary nighttime arousal, not heart disease. But because it is a physical symptom, it is worth having your GP check it once, especially if it comes with chest pain, breathlessness, dizziness or an irregular beat. Once a genuine medical cause is ruled out, you can treat the racing as what it usually is: a nervous system that has not wound down.

Can anxiety leave you unable to sleep with your heart racing?

Yes, and it is one of the most common patterns I see. Heart racing, can't sleep, mind running: that is anxiety and arousal wearing different labels. When you can't sleep and your heart is racing, you are not facing two conditions stacked on top of each other. You are seeing one over-aroused nervous system from two angles.

Should I track my heart rate when I can't sleep?

I would gently steer you away from it. Checking a pulse or staring at a wearable in the night keeps your attention fixed on the signal that is driving the loop, and chasing a "good" number becomes its own source of anxiety. The aim is not better data about your arousal. It is less monitoring of it.

Will medication stop my heart racing at night?

That is a conversation for you and a prescriber, not something to settle from an article. Medication can have a place, and the choice is yours and your doctor's. Worth knowing, though: in a long-term trial, the people with the best two-year outcomes were those who started with CBT and then continued it without ongoing medication, and extended nightly medication added no durable benefit (Morin et al., 2009). The skills tend to outlast the tablets.

Frequently asked questions

Is a racing heart at night a sign of something serious?

Usually not. For most people it is ordinary nighttime arousal, not heart disease. But because it is a physical symptom, it is worth having your GP check it once, especially if it comes with chest pain, breathlessness, dizziness or an irregular beat. Once a genuine medical cause is ruled out, you can treat the racing as what it usually is: a nervous system that has not wound down.

Can anxiety leave you unable to sleep with your heart racing?

Yes, and it is one of the most common patterns I see. Heart racing, can't sleep, mind running: that is anxiety and arousal wearing different labels. When you can't sleep and your heart is racing, you are not facing two conditions stacked on top of each other. You are seeing one over-aroused nervous system from two angles.

Should I track my heart rate when I can't sleep?

I would gently steer you away from it. Checking a pulse or staring at a wearable in the night keeps your attention fixed on the signal that is driving the loop, and chasing a "good" number becomes its own source of anxiety. The aim is not better data about your arousal. It is less monitoring of it.

Will medication stop my heart racing at night?

That is a conversation for you and a prescriber, not something to settle from an article. Medication can have a place, and the choice is yours and your doctor's. Worth knowing, though: in a long-term trial, the people with the best two-year outcomes were those who started with CBT and then continued it without ongoing medication, and extended nightly medication added no durable benefit (Morin et al., 2009). The skills tend to outlast the tablets.

This article is general information written by a clinical psychologist. It is not a substitute for individual assessment or treatment. If sleep problems are affecting your health or daily life, speak with your GP or a registered psychologist.
If you need support now. If sleep loss comes with thoughts of harming yourself, or you feel you can't keep yourself safe, please reach out now — in Australia, Lifeline 13 11 14 or 13YARN 13 92 76; in the US, 988; in the UK, Samaritans 116 123. If you are in immediate danger, call your local emergency number.

Work on the mechanism, not another tip

Insomnia Reset is a structured, psychologist-designed program for exactly this pattern. If you're ready to work on the mechanism rather than chase another tip, that's what it's for.

Explore Insomnia Reset →