← All articles

November 27, 2026

Waking Up at 3am With a Racing Heart Every Night?

By the My Circadian Health editorial team. Reviewed by Brandon Korenek, Founder.

Unmade bed with rumpled blue sheets beside a window in a dim bedroom

Why you keep waking up at 3am with a racing heart

Waking up at 3am with a racing heart every night usually comes from one of two directions. Either your brain is setting off an alarm, through anxiety, nocturnal panic, or the worry that builds around insomnia, or something physical is jolting you awake and your heart is reacting to it. The most common physical triggers are alcohol in the evening, interrupted breathing from sleep apnea, and needing to urinate.

Sorting out which one applies to you matters, because the fixes are different. A racing heart that follows a gasp or a snort points toward a breathing problem that needs testing. One that arrives with a flood of dread points toward an arousal problem that behavioral treatment can address. And a small number of people have a heart rhythm problem that deserves a medical look on its own.

This article focuses on the racing heart itself. If your main problem is simply waking too early, see our guide to not sleeping through the night. If you cannot fall asleep until the early hours, a delayed body clock may be the better fit.

When a racing heart at night needs urgent care

Start here, before any self-sorting. The National Heart, Lung, and Blood Institute lists chest pain or discomfort, difficulty breathing or gasping during sleep, dizziness, and fainting among the symptoms of heart rhythm problems, and advises seeking emergency care for very serious symptoms such as chest pain or difficulty breathing (NHLBI).

Call 911 if a nighttime racing heart comes with chest pain or pressure, trouble breathing, fainting or nearly fainting, or confusion. Do not wait to see whether it happens again.

Book a prompt in-person appointment if your heartbeat feels irregular (skipping, fluttering, or uneven rather than just fast), if episodes also happen during the day, or if you have known heart disease.

The arousal side: anxiety, panic, and insomnia

Nocturnal panic

Nocturnal panic means waking suddenly from sleep in a state of panic without an obvious trigger: pounding heart, shortness of breath, sweating, a sense of doom. Researchers estimate that roughly half of people with panic disorder have nocturnal panic attacks as well as daytime ones (Smith & Capron, 2021). In that study, fear of sleep was one of the features that set people with nocturnal panic apart from those whose attacks happened only during the day.

Clues that point this way:

  • The surge of fear and the racing heart arrive together, often within seconds of waking
  • There is no snort, gasp, or choking sensation first
  • It eases over several minutes as you get your bearings
  • You have had panic attacks while awake, or you have started to dread going to bed

If dread of bedtime is now part of the pattern, our article on being scared to go to bed covers how that fear loop works.

The insomnia "alarm" response

You do not need panic disorder for 3 a.m. to feel like an emergency. Insomnia is closely tied to hyperarousal, a state of heightened alertness in the brain and body. A 2023 review in the Journal of Sleep Research found the strongest evidence for cortical arousal and for cognitive-emotional arousal (insomnia-related thoughts, worry, and the emotions that come with them), while the evidence that heart rate itself is elevated in insomnia was not conclusive (Dressle & Riemann, 2023).

In plain terms, the pounding heart may be less a constant feature of your body and more a reaction to waking and thinking, "Not again." That reaction is real, and it is the part structured insomnia treatment targets.

Cognitive behavioral therapy for insomnia (CBT-I) addresses that cycle directly, with techniques for getting out of bed when you are wide awake, stopping clock-watching, and changing the thoughts that turn a waking into an emergency. A 2015 meta-analysis of 20 randomized trials found CBT-I reduced time spent awake after first falling asleep by about 26 minutes compared with inactive controls (Trauer et al., 2015).

The physical side: what can trigger a racing heart during sleep

Alcohol

A drink in the evening can feel relaxing, but your heart may not experience it that way. In a real-world study of 4,098 Finnish employees whose heart rhythm was recorded during sleep, alcohol was associated, in a dose-dependent way, with increased sympathetic (fight-or-flight) activity and reduced recovery during the first hours of sleep. The effect showed up even at low intake (Pietilä et al., 2018).

If your racing-heart nights line up with nights you drank, that is a pattern worth noticing. A two-week log can show it quickly. If you have recently cut back on drinking and your sleep is still unsettled, see still can't sleep after quitting alcohol.

Sleep apnea

Obstructive sleep apnea causes repeated pauses or reductions in breathing during sleep, bringing repeated drops in oxygen and surges of fight-or-flight activity.

The link to heart rhythm is documented. In the Sleep Heart Health Study, people with severe sleep-disordered breathing had more nighttime rhythm problems than matched participants without it, including atrial fibrillation (4.8% vs 0.9%) and complex ventricular ectopy, a pattern of extra beats (25.0% vs 14.5%) (Mehra et al., 2006).

In the Sleep Heart Health Study, nighttime heart rhythm problems were more common in people with severe sleep-disordered breathing Source: Mehra et al., 2006, American Journal of Respiratory and Critical Care Medicine

Clues that point toward apnea:

  • Loud snoring, or a bed partner who has seen you stop breathing
  • Waking with a gasp, snort, or choking feeling before the heart starts racing
  • Morning headaches, dry mouth, or heavy daytime sleepiness
  • Getting up to urinate more than once a night (see below)

Sleep apnea needs a proper diagnosis, usually with a sleep study, and its own treatment. Please raise it with a physician in person or through your primary care office. We cover the overlap with insomnia in insomnia or sleep apnea.

Needing to urinate

Waking to use the bathroom is common, but frequent nighttime urination is also linked with sleep apnea. A meta-analysis of 13 studies found people with obstructive sleep apnea had a higher risk of nocturia (relative risk 1.41), with the association clearest in men and in more severe apnea (Zhou et al., 2020). So "I just wake up to pee" is worth mentioning to a clinician rather than dismissing.

Medicines, caffeine, and other health conditions

Some prescription and over-the-counter medicines, stimulants, nicotine, and caffeine can all play a part, as can conditions outside sleep. Bring a full list of what you take, including supplements, to your appointment. Do not stop a prescribed medicine on your own; ask the prescriber first.

How to tell which side you are on

For two weeks, keep a short note each morning:

  1. What woke you? A gasp or snort, a need to urinate, a noise, or nothing you could identify.
  2. What came first? The racing heart, or the anxious thought.
  3. What was the evening like? Alcohol, caffeine, a late heavy meal, a stressful day.
  4. How did it feel? Fast but steady, or irregular and fluttering.
  5. How long did it last, and did you get back to sleep?

A pattern of gasps, snoring reports, and bathroom trips leans physical. A pattern of fear-first waking on stressful days leans toward arousal. Many people have a mix, which is one more reason to get an evaluation instead of guessing.

When to see a physician about a racing heart at night

Outside the emergency signs above, it is reasonable to book an evaluation when:

  • It happens most nights for more than a few weeks
  • You have any apnea clues: snoring, witnessed pauses, gasping, daytime sleepiness
  • Your heartbeat feels irregular, or you also notice it during the day
  • Night waking is affecting your mood, work, or safety while driving
  • You are relying on alcohol or over-the-counter sleep aids to get through the night

A physician can review your symptoms and medicines, check your heart rhythm, decide whether you need a sleep study, and look at whether anxiety or insomnia is driving the pattern. If panic or low mood is a big part of it, an in-person mental health professional is a good partner too. If you are having thoughts of suicide or self-harm, call or text 988 to reach the 988 Suicide and Crisis Lifeline, available 24 hours a day in the U.S.

Frequently asked questions

Why do I wake up with my heart pounding for no reason?

Common explanations include nocturnal panic, the anxious alarm reaction that comes with insomnia, alcohol earlier in the evening, and breathing interruptions from sleep apnea. A two-week log of what woke you and what came first can help a clinician narrow it down. If it comes with chest pain, fainting, or trouble breathing, seek emergency care.

Can sleep apnea cause a racing heart at night?

It can be involved. Research from the Sleep Heart Health Study found nighttime heart rhythm problems were more common in people with severe sleep-disordered breathing (Mehra et al., 2006). Diagnosis requires a sleep study, so talk with a physician if you snore or gasp at night.

Is a nocturnal panic attack dangerous?

Nocturnal panic attacks feel frightening but are a recognized feature of panic disorder, affecting roughly half of people with that condition (Smith & Capron, 2021). Because the symptoms overlap with heart and breathing problems, it is worth having a clinician rule those out before assuming it is panic.

Why does a racing heart at night happen at the same time each night?

Your bedtime, evening alcohol, and the worry that builds after a few bad nights can all shape when you wake, and clock-watching can make an anxious waking worse. Tracking the pattern for a couple of weeks gives a clinician something concrete to work with.

Sources

  • Dressle RJ, Riemann D. (2023). Hyperarousal in insomnia disorder: current evidence and potential mechanisms. Journal of Sleep Research. https://doi.org/10.1111/jsr.13928
  • Mehra R, Benjamin EJ, Shahar E, et al. (2006). Association of nocturnal arrhythmias with sleep-disordered breathing: the Sleep Heart Health Study. American Journal of Respiratory and Critical Care Medicine. https://doi.org/10.1164/rccm.200509-1442OC
  • National Heart, Lung, and Blood Institute. Arrhythmias: symptoms. https://www.nhlbi.nih.gov/health/arrhythmias/symptoms
  • Pietilä J, Helander E, Korhonen I, 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: observational study. JMIR Mental Health. https://doi.org/10.2196/mental.9519
  • Smith NS, Capron DW. (2021). Expanding fear of loss of vigilance: intolerance of uncertainty, responsibility for harm, and fear of sleep for predicting nocturnal panic. Behavioral Sleep Medicine. https://doi.org/10.1080/15402002.2020.1860988
  • Trauer JM, Qian MY, Doyle JS, et al. (2015). Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis. Annals of Internal Medicine. https://doi.org/10.7326/M14-2841
  • Zhou J, Xia S, Li T, Liu R. (2020). Association between obstructive sleep apnea syndrome and nocturia: a meta-analysis. Sleep and Breathing. https://doi.org/10.1007/s11325-019-01981-6

This article is for general education and is not medical advice. Talk with a licensed clinician about your own symptoms before starting, stopping, or changing any treatment.

Join the newsletter