3 doctors weighed in:

Can a rapid heart rate be caused by insomnia?

3 doctors weighed in
Dr. Ed Friedlander
Pathology
2 doctors agree

In brief: Coffee?

Sudden runs of rapid heartbeat that may take your breath away is supraventricular tachycardia.
If you are sleeping poorly and have svt, my first concern is too much caffeine. If your heart simply seems fast and you are not sleeping well, the cause may be anything from anxiety (which you recognize) to something more troublesome. More than 2 weeks, physician's office visit is in order. Good luck.

In brief: Coffee?

Sudden runs of rapid heartbeat that may take your breath away is supraventricular tachycardia.
If you are sleeping poorly and have svt, my first concern is too much caffeine. If your heart simply seems fast and you are not sleeping well, the cause may be anything from anxiety (which you recognize) to something more troublesome. More than 2 weeks, physician's office visit is in order. Good luck.
Dr. Ed Friedlander
Dr. Ed Friedlander
Thank
Read more answers from doctors