Can a rapid heart rate be caused by insomnia?

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.