The day is over, the lights are out, and the moment it finally gets quiet, the heart makes itself known. It beats fast, sometimes irregularly, palpable up to the throat. You place your hand on your chest, count along, and the closer you listen, the stronger it becomes. A racing heart when falling asleep is a common and usually harmless phenomenon, but it causes anxiety – precisely because it happens in the dark, where there is nothing to distract. And anxiety further elevates the pulse. This very cycle is the core of the problem. This article explains what happens physiologically, which triggers can be influenced, which techniques actually lower the pulse, and at what signs you should not wait.
The short answer: A racing heart when falling asleep usually occurs because the nervous system is still in day mode while the body wants to rest. In the silence of the bedroom, all external stimuli are absent, so one's own heartbeat is suddenly perceived very loudly. Common amplifiers include caffeine, alcohol, late meals, physical exertion in the evening, and prolonged stress. Breathing with a significantly prolonged exhalation helps fastest, as it directly lowers the pulse via the vagus nerve. If you feel faint, experience chest pain, or shortness of breath, the symptom should be medically evaluated immediately.
- The resting heart rate for adults is usually between 60 and 100 beats per minute; at night, it typically drops by 10 to 20 percent.
- Prolonged exhalation (e.g., 4 seconds in, 6 to 8 seconds out) lowers the pulse within a few minutes.
- Caffeine has a half-life of about 5 to 6 hours – afternoon coffee still has an effect at night.
- Alcohol increases heart rate and awakenings, especially in the second half of the night.
- Seek immediate medical attention for: racing heart with chest pain, shortness of breath, dizziness leading to fainting, or lasting longer than 20 minutes.
What happens in the body when your heart races in the evening
The transition from wakefulness to sleep is a change of operating mode. During the day, the sympathetic nervous system dominates: it keeps heart rate, blood pressure, and attention up. To fall asleep, the parasympathetic nervous system must take over, the part that controls digestion, regeneration, and rest. For many people, this transition does not happen smoothly, because the day ends too abruptly – last email at 10:30 p.m., then lights out.
In addition, there is a perception effect. During the day, noises, movement, and thoughts drown out bodily signals. In the dark, quiet bedroom, this masking disappears, and signals that were always present move into the foreground. If you then lie on your left side, the heartbeat is often particularly noticeable due to anatomical reasons. Many people therefore experience a racing heart not because the heart suddenly beats faster, but because they hear it properly for the first time – and the resulting anxiety then actually drives the pulse up.
The second mechanism is genuine stress. Cortisol and adrenaline remain elevated for longer with persistent tension. Those who finally relax for the first time during the day in the evening often experience the deferred physical reaction to what happened during the day at that exact moment. More on this in the article about stress and rumination as a sleep problem.
The most common triggers – and how strong their effect is
| Trigger | Effect on pulse | Practical consequence |
|---|---|---|
| Caffeine | Increases heart rate and alertness, half-life 5–6 hours | Last coffee about 8 hours before bedtime |
| Alcohol | Pulse increases during metabolism, more awakenings | At least 3 hours gap, better to avoid entirely |
| Late, large meal | Digestive work increases heart rate | Last large meal 3 hours prior |
| Intense evening exercise | Elevated pulse and body temperature for hours | Finish tough workouts 3–4 hours before sleep |
| Nicotine | Directly stimulating, shortens deep sleep | Avoid in the evening |
| Fever, infection, dehydration | About 8–10 more beats per minute per degree of fever | Drink enough, recover from infection |

Immediate relief: three techniques that measurably lower your pulse
Technique 1 – Prolonged exhalation. Inhale for four seconds through your nose and exhale for six to eight seconds through your slightly open mouth. Exhaling increases vagal tone, and the heart rate decreases – this effect is called respiratory sinus arrhythmia and is easily measurable. Do this for five minutes without checking your pulse. A structured variant can be found under 4-7-8 breathing technique.
Technique 2 – Cool stimulus on the face. A cold, damp cloth on your forehead and cheeks for 20 to 30 seconds triggers the so-called diving reflex, which reflexively lowers the pulse. No ice water, no exaggeration – lukewarm cool is enough.
Technique 3 – Redirect attention. Monitoring your own heartbeat amplifies it. Consciously focus your attention elsewhere: Feel the contact surface of your heels, then your calves, then your pelvis – a body scan from bottom to top. This shift of attention reliably interrupts the escalation mechanism more effectively than any attempt at calming yourself with "I need to be calm now."
What you should not do: measure your pulse for minutes with a watch, search for symptoms online, or get up and get coffee. If you are still awake after 20 minutes, getting up is sensible – but with dimmed light and a quiet activity.
The difference between a racing heart, heart palpitations, and panic
These three phenomena feel similar but have different underlying causes. A racing heart (tachycardia) means a continuously elevated heart rate, usually over 100 beats per minute at rest. Heart palpitations (extrasystoles) are individual extra beats, often followed by a short pause perceived as a "skip" – very common in people with healthy hearts and generally harmless. Panic attacks are accompanied by a racing heart but typically come with additional symptoms: chest tightness, tingling in the hands and around the mouth, a feeling of loss of control, intense fear.
Distinguishing them is important because it leads to different approaches. Extrasystoles often improve simply by reducing caffeine and getting more sleep. Panic attacks respond very well to behavioral therapy approaches. And a true, persistent tachycardia should be examined by a cardiologist. Those who repeatedly wake up with panic at night can find initial guidance in the article on sleep and anxiety disorders.
Common mistakes that make it worse
Mistake 1: Constantly measuring your pulse. Every measurement focuses attention on the symptom and amplifies it. Sleep trackers can also be counterproductive here – more on this under Sleep Trackers and Wearables.
Mistake 2: Alcohol as a sedative. It has a short-term calming effect, but during its breakdown in the second half of the night, it raises the pulse and increases awakenings. This phenomenon is described in the article on Alcohol and Sleep Quality.
Mistake 3: Only winding down in bed. The transition from day mode to rest mode takes time. Those who leave screens and tasks running until the last minute demand a jump from the nervous system that it cannot make.
Mistake 4: Sleeping too warm. An elevated core body temperature keeps the pulse up and makes it harder to fall asleep. The target range of 16 to 19 °C is not a luxury here, but physiology – see ideal sleep temperature.
Mistake 5: Concealing symptoms. Out of fear of making themselves look ridiculous, many wait for months. A simple clarification with an EKG and blood count usually provides clarity quickly – and the reassurance often works better than any technique.
Practical guide: restructuring the hour before sleep
60 minutes before: Finish work. Really finish, not "just a quick one." Write down open items on a piece of paper – this demonstrably relieves circular thoughts.
45 minutes before: Dim the lights. Warm, indirect light below about 100 lux signals evening to the body. Bright overhead lighting keeps the activation level up.
30 minutes before: Put away screens or at least significantly reduce usage. Not just because of the light – primarily because of the content. News and discussions are sympathetic nervous system fuel.
20 minutes before: Take a warm shower or foot bath. The subsequent cooling of the skin lowers the core body temperature and promotes sleep.
10 minutes before: Relaxation techniques. Progressive muscle relaxation or a body scan are good candidates – both demonstrably lower sympathetic tone.
In bed: Try sleeping on your right side or back if your heartbeat is particularly noticeable on the left. And: no clock in view.

When not to wait
There are clear situations where a racing heart requires medical evaluation. Seek immediate help if a racing heart occurs together with chest pain, shortness of breath, cold sweats, severe dizziness, or feeling faint. You should also promptly have episodes clarified that begin and end suddenly like a light switch, last longer than 20 to 30 minutes, are accompanied by a very irregular pulse, or if a heart condition is known.
At the family doctor or cardiology department, an EKG, long-term EKG, blood count including thyroid values and iron status are usually the first steps. An overactive thyroid and a pronounced iron deficiency are two common, treatable causes of an elevated resting heart rate. Undiagnosed sleep apnea can also cause nocturnal heart rate spikes; typical signs include loud snoring and daytime sleepiness.
Why your sleep environment contributes more than you think
A body that feels uncomfortable has a harder time entering rest mode. Three factors directly affect heart rate: temperature, noise level, and lying comfort. Rooms that are too warm keep the pulse elevated because the circulatory system has to dissipate heat. Noises from about 40 decibels produce measurable arousal reactions, even if you don't consciously wake up. And those who lie uncomfortably change positions more frequently – each change is accompanied by a brief activation.
Lying comfort is about pressure distribution: shoulders and pelvis should be able to sink in, and the lumbar spine should remain supported. Those who constantly readjust their position don't give the nervous system a chance to wind down. This is not a substitute for the investigation of a cardiac arrhythmia, but a solid building block for a restful night – more basics can be found in sleep hygiene.
Get a CHF 25 discount
Subscribe to our newsletter and receive a one-time CHF 25 discount. ✓ 200 nights trial sleep ✓ 10-year warranty
Frequently Asked Questions about Racing Heart When Falling Asleep
Is a racing heart when falling asleep dangerous?
In most cases, no. It is often a heightened perception of the normal heartbeat in silence, combined with a nervous system that is still in day mode. It becomes dangerous if chest pain, shortness of breath, cold sweats, or a feeling of faintness occur – then seek immediate medical help.
What lowers the pulse fastest?
Breathing with a significantly prolonged exhalation: about four seconds in, six to eight seconds out, for five minutes. During exhalation, vagal tone increases, and the heart rate measurably decreases. Additionally, a cool, damp cloth on the forehead and cheeks for 20 to 30 seconds helps.
Why do I feel my heart especially on the left side?
The heart is anatomically slightly to the left of the center. When lying on the left side, it moves closer to the chest wall, making the beat more noticeable. This is a purely mechanical effect and not a sign of a problem. If it bothers you, you can try sleeping on your right side or back.
Can caffeine still work in the evening if I drank coffee at noon?
Yes. Caffeine has a half-life of about five to six hours. So, a coffee at 3 PM will still be about half as effective at 9 PM. If you are sensitive, move your last caffeinated cup to the early afternoon or morning.
Does magnesium help with a racing heart?
If magnesium deficiency is proven, supplementation can be beneficial, as magnesium is involved in nerve conduction. However, the scientific evidence for it as a general remedy for a racing heart is weak. More important are avoiding triggers like caffeine and alcohol, and having your thyroid function and iron status checked.
What should I do if I can't fall back asleep due to anxiety?
Don't stay awake in bed for more than about 20 minutes. Get up, go to another room, keep the light dim, and engage in a calm activity until you feel tired. Avoid screens and symptom research. If anxiety recurs, talking to a professional is advisable.
This article is for general information purposes only and does not replace medical advice.











Leave a comment
This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.