Why Is My Heart Racing at Night?
A racing heart at night is often linked to anxiety, caffeine, alcohol, a late meal or poor sleep, but heart rhythm problems and other conditions can cause it too. Learn the causes and red flags.

The short answer
A racing heart at night is often caused by anxiety or stress, caffeine, alcohol, nicotine, a large late meal, dehydration or waking from a bad dream. It can also come from heart rhythm problems, an overactive thyroid, sleep apnea or some medicines. Chest pain, fainting or severe breathlessness with it needs 911.
Key takeaways
- A racing heart usually means a resting rate above 100 beats per minute or a sense of pounding, fluttering or skipping beats.
- The AHA gives 60 to 100 beats per minute as the normal resting range for most adults.
- Anxiety, caffeine, alcohol, nicotine, late meals and dehydration are the most common triggers at night.
- Heart rhythm problems such as SVT and atrial fibrillation, an overactive thyroid, sleep apnea and anemia can also cause nighttime episodes.
- Decongestants, some inhalers, stimulant medicines and some supplements can speed up your heart.
- Doctors often use an ECG plus a wearable monitor to catch episodes that happen at night.
- Call 911 if a racing heart comes with chest pain, fainting, severe breathlessness or signs of stroke.
You are lying in bed, the house is quiet, and suddenly you can feel your heart thumping fast in your chest or hear it in your ears. It is unsettling, and it often feels worse at night simply because there is nothing else to distract you.
This article explains the common and less common reasons your heart might race at night, how to tell them apart, and which symptoms mean you should call 911. It can help you decide what to do next, but it cannot diagnose you. Only a medical assessment, often including a heart tracing, can do that.
What counts as a racing heart?
A racing heart usually means a heart rate above 100 beats per minute at rest, which doctors call tachycardia, or a sense that your heart is pounding, fluttering or skipping, which doctors call palpitations. You can have one without the other.
According to the American Heart Association, a normal resting heart rate for most adults is 60 to 100 beats per minute. During sleep it usually drops lower. Our article on your resting heart rate explains what is typical and how fitness, age and medicines change it.
A fast heartbeat is one of many everyday body signals, and the physical health guide puts it in the wider context of heart and whole-body health.
Why do I notice my heartbeat more at night?
You often notice your heartbeat more at night because the room is quiet, you are still, and lying on your side, especially your left side, can bring the heart closer to the chest wall. A heartbeat that would go unnoticed during the day can feel loud in bed.
That awareness alone can create a loop: you notice your pulse, feel worried, and the worry releases adrenaline, which speeds your heart up further. This does not mean the sensation is imagined. It means attention and anxiety can amplify a real, often harmless, change.
What are the common causes of a racing heart at night?
The most common causes are everyday triggers rather than heart disease: anxiety, stimulants, alcohol, late meals, dehydration and disrupted sleep. The table below sets them out with the clues that point to each.
| Cause | Typical clues | What may help |
|---|---|---|
| Anxiety or stress | Racing thoughts, worry, tight chest, often when trying to fall asleep | Slow breathing, a wind-down routine, treating the anxiety |
| Caffeine | Coffee, tea, soda, energy drinks or pre-workout in the afternoon or evening | Cut back and stop earlier in the day |
| Alcohol | Fast heartbeat a few hours after drinking, often with broken sleep | Drink less, especially near bedtime |
| Nicotine or other stimulants | Smoking, vaping or decongestant medicines in the evening | Avoid before bed; ask about quitting support |
| Large or late meal | Pounding heartbeat after a heavy dinner close to bedtime | Earlier, lighter evening meals |
| Dehydration | Thirst, dark urine, a hot day or exercise | Drink fluids through the day |
| Nightmares or night terrors | Waking suddenly, frightened, with a fast pulse | Address stress and sleep; see your doctor if frequent |
| Fever or infection | Feeling hot, unwell, sweaty | Treat the illness; see a doctor if severe |
Anxiety and panic
Anxiety is one of the most common reasons for a racing heart in bed. Some people also have nocturnal panic attacks, which are sudden surges of intense fear that wake you from sleep with a pounding heart, sweating and shortness of breath. Because the symptoms overlap with heart problems, our piece on telling a panic attack from a heart attack walks through the differences.
Caffeine and alcohol
Caffeine is a stimulant that can stay in your system for hours, so an afternoon coffee can still affect you at bedtime. The FDA cites 400 mg a day as an amount not generally linked with negative effects in healthy adults, but sensitivity varies a lot. Alcohol can make you drowsy at first, then raise your heart rate and disturb sleep later in the night.
Which medical conditions can make your heart race at night?
Several medical conditions can cause a fast or irregular heartbeat at night, and they are worth checking if the episodes are frequent, sudden or come with other symptoms. A doctor can test for most of them.
| Condition | What it is | Clues |
|---|---|---|
| Supraventricular tachycardia (SVT) | A rhythm problem in the upper heart that causes sudden, very fast regular beats | Starts and stops abruptly, like a switch |
| Atrial fibrillation (AFib) | An irregular, often fast rhythm in the upper chambers of the heart | Irregular pulse, breathlessness, tiredness; more common with age |
| Overactive thyroid (hyperthyroidism) | The thyroid makes too much hormone | Weight loss, feeling hot, tremor, anxiety |
| Sleep apnea | Breathing repeatedly stops and starts during sleep | Loud snoring, gasping, morning headaches, daytime sleepiness |
| Anemia | Too few healthy red blood cells to carry oxygen | Tiredness, pale skin, breathlessness on exertion |
| Low blood sugar | Blood glucose drops too low, usually with diabetes medicines | Sweating, shakiness, waking hungry or confused |
| Low blood pressure or blood loss | The heart speeds up to keep blood flowing | Dizziness, especially on standing |
According to NHLBI, atrial fibrillation raises the risk of stroke, which is one reason an irregular racing heartbeat should be checked rather than ignored. Sleep apnea is also linked with heart rhythm problems and high blood pressure. If you have had a high reading, the guide to blood pressure readings explains the AHA categories.
Can medicines and supplements cause a racing heart?
Yes, a number of medicines and supplements can speed up your heart. Common examples include decongestants such as pseudoephedrine, some asthma inhalers, thyroid hormone at too high a dose, stimulant medicines for ADHD, and some weight-loss or "energy" supplements.
Stopping some heart and blood pressure medicines suddenly, such as beta blockers, can also cause a rebound fast heartbeat. If your symptoms started after a new medicine or dose change, talk to your doctor or pharmacist before changing anything yourself.
Is a racing heart at night dangerous?
A racing heart at night is usually not dangerous, especially if it is short-lived, has an obvious trigger and you otherwise feel well. It is more concerning when it comes with chest pain, fainting, severe breathlessness, or when it is very fast, irregular or happens often without a clear cause.
People with known heart disease, a family history of sudden cardiac death at a young age, or episodes during exercise should be assessed promptly. The same goes for anyone over 65 who notices an irregular pulse, since AFib becomes more common with age.
What can you do when your heart is racing in bed?
If you feel well otherwise, you can often settle a racing heart by calming your body and removing obvious triggers. These steps are low risk and worth trying.
- Sit up and breathe slowly. Breathe in gently through your nose and out for longer than you breathed in, for a few minutes.
- Check your pulse. Count beats for 30 seconds and double it, and notice whether the rhythm is regular or irregular. A smartwatch reading is useful to share with your doctor but is not a diagnosis.
- Drink some water if you might be dehydrated.
- Change position. Lying on your back or right side can make your heartbeat feel less prominent.
- Get out of bed briefly if anxiety is building, and do something calm in dim light until you feel sleepy.
Over the following weeks, cut back on caffeine after midday, limit alcohol, avoid heavy meals close to bed, and keep a regular sleep schedule. Regular physical activity strengthens the heart over time, and the Physical Activity Guidelines for Americans recommend 150 to 300 minutes of moderate activity a week plus two strength days. Our article on why walking is underrated is an easy place to start.
Habits that help prevent nighttime episodes
Prevention mostly means taking the common triggers out of your evenings. Small, steady changes tend to work better than sudden overhauls, and they also improve sleep, which in turn helps steady your heart rate.
- Keep caffeine to the morning, and check labels on sodas, teas, energy drinks and pain relievers that contain it.
- If you drink alcohol, have less and finish earlier in the evening, with water alongside.
- If you smoke or vape, talk to your doctor about quitting support, since nicotine is a stimulant.
- Leave two to three hours between your last large meal and bedtime when you can.
- Build in a short wind-down routine, such as reading or a warm shower, to ease the shift from a busy day into rest.
- Review any cold medicines or supplements you take in the evening with a pharmacist.
If anxiety seems to drive most of your episodes, treating the anxiety itself, for example with talk therapy, often reduces how often your heart races at night.
How will a doctor find out why your heart races?
A doctor will usually start with questions about your symptoms, a physical exam and an electrocardiogram (ECG or EKG), a quick test that records your heart's electrical activity. Because night episodes rarely happen in the office, longer monitoring is common.
- Holter monitor: a portable ECG worn for a day or two.
- Event monitor or patch: worn for weeks, recording when symptoms happen.
- Blood tests: to check thyroid function, blood count and electrolytes.
- Echocardiogram: an ultrasound of the heart's structure.
- Sleep study: if sleep apnea is suspected.
Keeping a short diary helps: note the time, what you ate or drank, how long the episode lasted, your pulse, and any other symptoms.
When should you see a doctor or call 911?
See your doctor if your heart races at night often, if episodes start and stop suddenly, if your pulse feels irregular, or if you have a history of heart disease or thyroid problems. Book a visit too if you snore loudly or wake gasping.
Call 911 or go to the emergency room if a racing heart comes with any of these:
- Chest pain, pressure or tightness, or pain spreading to the arm, jaw, neck or back
- Fainting or nearly fainting
- Severe shortness of breath
- Sudden weakness or numbness on one side, facial drooping or trouble speaking, which can be signs of stroke
- Confusion, or a very fast heart rate that does not settle with rest
Do not drive yourself to the hospital if you have these symptoms. A racing heart at night is usually explainable and manageable, but getting the serious causes checked gives you peace of mind and, when needed, effective treatment.
Common questions
- Why does my heart race when I lie down at night?
- Usually because you notice it more in a quiet room, or because of anxiety, caffeine, alcohol or a late meal. Lying on your left side can make your heartbeat feel stronger. If episodes are frequent, start suddenly, feel irregular or come with chest pain or fainting, see a doctor.
- Is it normal for your heart to race at night?
- An occasional racing heart at night with an obvious trigger, such as a nightmare, stress or an evening coffee, is common and usually harmless. It is not normal for it to happen often without a reason, to feel irregular, or to come with chest pain, breathlessness or dizziness. Those need a medical check.
- Can anxiety cause a racing heart at night?
- Yes, anxiety is one of the most common causes. Worry releases adrenaline, which speeds up the heart, and some people have panic attacks that wake them from sleep. Because the symptoms overlap with heart problems, get new or severe symptoms checked before assuming anxiety is the cause.
- What should I do if my heart is racing while I'm in bed?
- Sit up, breathe slowly with longer exhales, check your pulse for regularity, and sip water. Most episodes settle within minutes. Call 911 if it comes with chest pain, fainting, severe shortness of breath, or signs of stroke, or if a very fast rate does not settle with rest.
- Can dehydration cause heart palpitations at night?
- Yes, dehydration lowers the amount of fluid in your blood, so the heart may beat faster to keep blood flowing. It is more likely after a hot day, exercise, alcohol, or illness with vomiting or diarrhea. Drinking fluids through the day may help, but frequent palpitations still deserve a doctor's visit.
- Can sleep apnea cause a racing heart at night?
- Yes, sleep apnea, where breathing repeatedly stops and starts during sleep, can trigger surges in heart rate and is linked with heart rhythm problems such as atrial fibrillation. Loud snoring, gasping, morning headaches and daytime sleepiness are clues. Ask your doctor about a sleep study.
Sources
Published research and guidance this page draws on. Check the original where a detail matters to you.
- 1Heart PalpitationsMedlinePlus, U.S. National Library of Medicine
- 2ArrhythmiasNational Heart, Lung, and Blood Institute
- 3Atrial FibrillationNational Heart, Lung, and Blood Institute
- 4Sleep ApneaNational Heart, Lung, and Blood Institute
- 5Hyperthyroidism (Overactive Thyroid)National Institute of Diabetes and Digestive and Kidney Diseases
- 6Tachycardia: Fast Heart RateAmerican Heart Association
- 7Spilling the Beans: How Much Caffeine Is Too Much?U.S. Food and Drug Administration
- 8ArrhythmiaMedlinePlus, U.S. National Library of Medicine
This article is for general education and is not a substitute for professional medical advice. Speak with a qualified healthcare provider about your individual circumstances.
About HealthPathCore
An independent health knowledge library
Every article here is built from published research and guidance issued by named health bodies, written in plain language, and dated so you can see how current it is. When the evidence moves, we come back and correct the piece.
How we research and write

