Why Does My Heart Race? Causes and When to Worry

A racing heart happens when your heart beats faster than 100 beats per minute at rest, a threshold doctors call tachycardia. Most of the time, it’s a normal response to something your body is processing, whether that’s stress, caffeine, dehydration, or a sudden change in position. But sometimes a persistently or unexpectedly fast heartbeat signals something that needs attention.

How Your Body Controls Heart Rate

Your heart rate is managed by two branches of your nervous system that work like a gas pedal and a brake. The sympathetic branch is the gas pedal: it speeds your heart up during stress, exercise, or danger, powering the “fight or flight” response. The parasympathetic branch is the brake, slowing things down during rest and digestion. These two systems constantly push and pull against each other to keep your heart rate appropriate for what you’re doing at any given moment.

When something disrupts this balance, your heart rate can climb even when you’re sitting still. That disruption can come from outside your body (a cup of coffee, a stressful email) or from inside it (a thyroid problem, an electrical glitch in the heart itself). Understanding which category your racing heart falls into is the key to knowing whether it’s harmless or worth investigating.

Common Everyday Triggers

The most frequent reasons for a racing heart are things you encounter daily. Caffeine is one of the biggest. Research published by the American College of Cardiology found that chronic caffeine consumption at around 400 mg per day (roughly four standard cups of coffee) significantly raises heart rate and blood pressure by stimulating the same nervous system branch responsible for your fight-or-flight response. Even if you’ve been drinking coffee for years, it can still be driving your resting heart rate higher than it would otherwise be.

Alcohol has a similar effect. It dilates blood vessels, which forces your heart to pump faster to maintain blood pressure. Even moderate drinking can cause noticeable palpitations, especially in the hours after your last drink. Dehydration works through a related mechanism: when your blood volume drops, your heart compensates by beating faster to keep oxygen moving. This is why a racing heart after exercise, a hot day, or a night of drinking often improves simply by rehydrating.

Stress and anxiety deserve their own mention because they can create a feedback loop. Your brain perceives a threat (real or imagined), triggers the sympathetic nervous system, and your heart speeds up. You then notice your heart racing, which makes you more anxious, which keeps the cycle going. Panic attacks are the extreme version of this, where heart rates can spike to 150 beats per minute or higher despite no physical exertion.

Hormonal and Nutritional Causes

An overactive thyroid gland is one of the most underrecognized causes of a persistently racing heart. Excess thyroid hormone shifts the balance between your sympathetic and parasympathetic nervous systems, essentially leaving the gas pedal partially pressed at all times. People with hyperthyroidism often notice their resting heart rate creeping above 90 or 100 even when they feel calm. Other signs include unexplained weight loss, heat intolerance, trembling hands, and difficulty sleeping. A simple blood test can confirm or rule this out.

Electrolyte imbalances, particularly low potassium or low magnesium, can also make your heart race or beat irregularly. These minerals help regulate the electrical signals that coordinate each heartbeat. When potassium drops below normal levels, it changes how excitable cardiac tissue is, which can produce abnormal rhythms ranging from mild palpitations to dangerous arrhythmias. Low magnesium has a similar effect and can trigger a specific type of rapid, chaotic rhythm. Both deficiencies are common in people who sweat heavily, take certain medications (like diuretics), eat restrictively, or experience frequent vomiting or diarrhea.

Heart Rhythm Disorders

Sometimes a racing heart isn’t just beating fast. It’s beating in the wrong pattern. Two of the most common rhythm disorders feel quite different from each other.

Supraventricular tachycardia (SVT) happens when an abnormal electrical signal above the lower chambers of the heart overrides the normal rhythm. The result is a very fast but regular heartbeat, sometimes reaching 200 beats per minute. Episodes tend to start and stop abruptly, almost like flipping a switch. Many people describe SVT as a sudden “fluttering” that lasts minutes to hours, then disappears completely.

Atrial fibrillation (AFib) is different. Instead of one rogue signal, the upper chambers of the heart fire chaotically over 300 times per minute, causing them to quiver rather than contract normally. The lower chambers try to keep up but beat irregularly. AFib often feels like a disorganized thumping or fluttering rather than the steady, rapid beat of SVT. It’s the more concerning of the two because blood can pool in the quivering upper chambers and form clots, raising the risk of stroke.

POTS and Position-Related Racing

If your heart races specifically when you stand up, you may be dealing with postural orthostatic tachycardia syndrome (POTS). The diagnostic hallmark is a heart rate increase of at least 30 beats per minute within 10 minutes of standing (or 40 beats per minute in adolescents), without a significant drop in blood pressure. So if your resting heart rate is 70 lying down and it jumps to 100 or higher just from getting out of bed, that pattern is worth mentioning to a doctor.

POTS is most common in women between 15 and 50 and often appears after a viral illness, surgery, or pregnancy. Beyond the racing heart, people typically experience lightheadedness, brain fog, fatigue, and sometimes fainting. It’s not dangerous in most cases, but it can significantly affect daily life. Treatment usually focuses on increasing fluid and salt intake, compression garments, and gradual exercise programs to retrain the cardiovascular system.

What to Do During an Episode

If your heart suddenly starts racing and you’re not exercising, a technique called the Valsalva maneuver can sometimes reset it. Lie on your back, take a deep breath, then try to exhale forcefully with your nose and mouth closed for 10 to 30 seconds. It should feel like you’re trying to blow air through a blocked straw. This activates the parasympathetic “brake” on your heart and can slow it within seconds, particularly for SVT episodes.

Other simple approaches include splashing cold water on your face, bearing down as if you’re having a bowel movement, or coughing forcefully. These all stimulate the same nerve pathway. If none of these work and your heart continues racing for more than a few minutes, or if it’s accompanied by chest pain, shortness of breath, lightheadedness, or fainting, that combination of symptoms warrants emergency evaluation. Pain or pressure that spreads to your shoulder, arm, jaw, or back is especially concerning and should never be ignored.

How Doctors Investigate Palpitations

The challenge with a racing heart is that it often isn’t happening when you’re sitting in the doctor’s office. A standard electrocardiogram (EKG) captures only a few seconds of your heart’s electrical activity, which is useful if something abnormal is happening at that exact moment but useless for episodes that come and go.

For intermittent palpitations, doctors typically turn to portable monitors. A Holter monitor records your heart rhythm continuously for 24 to 48 hours while you go about your normal life. If your episodes are less frequent, an event monitor is more practical: you wear it for several weeks or even a month, and when you feel symptoms, you press a button. The device saves the 30 seconds before you pressed it and the 30 seconds after, capturing exactly what your heart was doing when it raced. This is often the test that finally catches a pattern and leads to a diagnosis.

Blood work is usually part of the workup too, checking thyroid function, electrolyte levels, and markers of anemia, all of which can drive a fast heart rate and all of which are treatable once identified.