The short explanation
Feeling your heart race when you lie down to sleep is common, and anxiety is one of the most frequent reasons. When the house is quiet, worries come to the front, the body releases stress hormones and the heart speeds up. Lying still in bed also makes you more aware of your heartbeat, which can feed the worry. Other everyday causes include tea, coffee, energy drinks or cola later in the day, heavy late meals, dehydration, some cold or asthma medicines, and lack of sleep. Less often, a racing heart comes from thyroid overactivity, anaemia or a heart rhythm problem, so it is worth being checked if it keeps happening.
What depends on your situation
The parts of this that change from woman to woman. Uncertainty is stated, not hidden.
- Slow breathing with a longer breath out, relaxing muscles one group at a time, and writing down worries before bed can calm the body. Cutting caffeine after lunch and keeping a regular sleep time help many people.
- Note how often it happens, how long it lasts, whether it is regular or irregular, and if it ever comes with other symptoms. This helps a doctor decide whether an ECG or blood tests are needed.
What this answer cannot determine
The boundary of online education. These need a clinician who can see you.
- This cannot tell whether your racing heart is anxiety or a heart or thyroid problem. A clinician can listen to your heart, check your pulse and arrange tests if needed.
Questions for your clinician
Take these with you. You can add any of them to an appointment card.
- Should I have an ECG or thyroid test?
- Could anaemia be causing this?
- What can I do to manage anxiety at bedtime?
- Is counselling available through my college?
When to seek help
Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.
Emergency — call 112 now
- Call 112 if a racing heart comes with chest pain, fainting or difficulty breathing.
Get help the same day
- Get checked the same day if the racing lasts a long time or feels very irregular.
Book an appointment soon
- Book a check within a few days if it happens often. Tele-MANAS on 14416 offers free support for anxiety.
Sources
The evidence this explanation is built on.
- Insomnia MedlinePlus (US National Library of Medicine)
- Insomnia NHS
- Sleep disorders MedlinePlus (NIH)
Who wrote and reviewed this
Every AskHer answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.
- Author
- AskHer Editorial (AI-assisted) AskHer's editorial team — not an individual clinician Works in English, தமிழ், हिन्दी
- Clinical reviewer
- Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHer’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
- Review status
- Editorially reviewed
- Last reviewed
- Last reviewed 11 November 2026
- Version
- 1
Correction history
Substantive changes are listed, not quietly edited away.
No corrections have been made since this answer was first published.
Did this answer your question?
Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.
“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.
Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.

