Numerous factors can cause a person to awaken with a racing heart, including stress, inadequate sleep, sleep apnea, and even nightmares. At times, individuals may experience an abrupt awakening with their heart pounding rapidly or throbbing within their chest. This sensation may also be accompanied by a sense of trembling or alertness, which might be due to panic attacks; if so, we advise you to see a doctor for more evaluations.