Doctors Note Logo

Published on: 3/15/2026

Does Magnesium Help with Heart Palpitations? What the Science Says

Magnesium may reduce palpitations for some people, especially when levels are low or when anxiety is a trigger, but it is not likely to help if levels are normal or a separate heart rhythm problem is present.

There are several factors to consider. See below to understand who is at risk for deficiency, how to choose a safe form and dose, key interactions and side effects, and the warning signs that mean you should seek medical care.

answer background

Explanation

Does Magnesium Help with Heart Palpitations? What the Science Says

Heart palpitations can feel unsettling. You might notice a fluttering, pounding, skipped beat, or racing sensation in your chest. While many palpitations are harmless, they can understandably cause concern — especially if they happen often or alongside anxiety.

One common question people ask is: Does magnesium help with heart palpitations?

The short answer is: Sometimes — especially if your magnesium levels are low. Let's look at what the science actually says, and how magnesium for anxiety and palpitations may play a role.


What Are Heart Palpitations?

Heart palpitations are sensations of irregular or forceful heartbeats. They can feel like:

  • A fluttering in your chest
  • A skipped beat
  • A rapid or racing heart
  • A pounding heartbeat
  • Thumping in the throat or neck

Common causes include:

  • Stress or anxiety
  • Caffeine
  • Dehydration
  • Hormonal changes
  • Lack of sleep
  • Certain medications
  • Electrolyte imbalances (including low magnesium)

In many cases, palpitations are due to benign arrhythmias, meaning they are not dangerous. If you're experiencing these symptoms and want to understand whether they might be harmless, try this free Benign Arrhythmias (Palpitations) symptom checker to get personalized insights about your heart health.

That said, some palpitations can signal a more serious heart rhythm problem. We'll cover when to seek medical help below.


Why Magnesium Matters for the Heart

Magnesium is an essential mineral involved in over 300 biochemical reactions in the body. It plays a key role in:

  • Regulating heart rhythm
  • Supporting muscle contraction and relaxation
  • Balancing electrolytes (like potassium and calcium)
  • Supporting the nervous system
  • Reducing stress responses

Your heart is a muscle — and magnesium helps control how that muscle contracts and relaxes.

Low magnesium levels (hypomagnesemia) can disrupt electrical signaling in the heart. This may contribute to:

  • Irregular heart rhythms
  • Premature beats (PVCs and PACs)
  • Increased sensitivity to stress

Hospitals routinely use intravenous magnesium in certain arrhythmias, including:

  • Torsades de pointes (a specific dangerous rhythm)
  • Some cases of atrial fibrillation
  • Digitalis-related arrhythmias

This tells us something important: Magnesium directly affects heart rhythm stability.


What the Science Says About Magnesium for Heart Palpitations

1. Magnesium and Arrhythmias

Research shows that low magnesium levels are associated with:

  • Increased risk of atrial fibrillation
  • More frequent premature ventricular contractions (PVCs)
  • Greater likelihood of heart rhythm instability

Clinical studies suggest that magnesium supplementation can:

  • Reduce the frequency of premature beats in some people
  • Improve symptoms in individuals with documented magnesium deficiency
  • Help stabilize heart rhythm in certain arrhythmias

However, magnesium is not a universal cure for palpitations. It tends to help most when:

  • Blood magnesium levels are low
  • Dietary intake is inadequate
  • There are contributing electrolyte imbalances

If magnesium levels are normal, supplementation may not significantly change symptoms.


Magnesium for Anxiety and Palpitations

Anxiety is one of the most common causes of palpitations. When you're anxious:

  • Adrenaline increases
  • Heart rate rises
  • Breathing changes
  • Muscle tension increases

Magnesium plays an important role in calming the nervous system. It:

  • Supports GABA activity (a calming brain chemical)
  • Helps regulate stress hormones
  • Reduces sympathetic "fight-or-flight" activation

Several studies suggest magnesium supplementation may:

  • Reduce mild to moderate anxiety symptoms
  • Improve stress resilience
  • Decrease physical symptoms of anxiety, including palpitations

So when people search for magnesium for anxiety and palpitations, they're often addressing two linked issues:

  • Stress triggering palpitations
  • Magnesium deficiency worsening stress response

If your palpitations mainly occur during stressful periods, magnesium may help indirectly by reducing anxiety-related triggers.


Who Is More Likely to Be Low in Magnesium?

Magnesium deficiency is more common than many realize. Risk factors include:

  • Diet low in leafy greens, nuts, seeds, and whole grains
  • Chronic stress
  • Excess caffeine or alcohol
  • Digestive disorders (like Crohn's or celiac disease)
  • Type 2 diabetes
  • Use of certain medications:
    • Diuretics
    • Proton pump inhibitors (PPIs)
    • Some antibiotics

Mild magnesium deficiency often causes subtle symptoms, such as:

  • Muscle cramps
  • Fatigue
  • Anxiety
  • Sleep disturbances
  • Heart palpitations

A simple blood test can check magnesium levels, although blood levels don't always reflect total body stores perfectly.


Types of Magnesium: Does It Matter?

If you and your doctor decide to try supplementation, the form does matter.

Common types include:

  • Magnesium glycinate – often preferred for anxiety and palpitations due to good absorption and gentle effect on the stomach
  • Magnesium citrate – well absorbed but may cause loose stools
  • Magnesium oxide – less bioavailable
  • Magnesium taurate – sometimes used for heart health

Typical supplemental doses range from 200–400 mg per day, but the right amount varies by person. Too much magnesium can cause:

  • Diarrhea
  • Low blood pressure
  • Irregular heartbeat (in extreme overdose cases)

This is why it's important to speak with a doctor before starting supplementation — especially if you have kidney disease or heart conditions.


When Magnesium Is Not Enough

Magnesium can help in certain cases, but it's not a replacement for medical evaluation.

Seek medical attention urgently if palpitations occur with:

  • Chest pain
  • Shortness of breath
  • Dizziness or fainting
  • Severe weakness
  • A known heart condition

You should also see a doctor if:

  • Palpitations are new and persistent
  • They're getting more frequent
  • They last several minutes at a time
  • You have a family history of sudden cardiac death

While many palpitations are benign, some arrhythmias require monitoring, medication, or other treatments.


Practical Steps If You're Experiencing Palpitations

Here's a balanced approach:

1. Track Your Symptoms

Note:

  • When they happen
  • Duration
  • Triggers (stress, caffeine, lack of sleep)
  • Associated symptoms

2. Reduce Common Triggers

  • Cut back on caffeine
  • Stay hydrated
  • Improve sleep
  • Manage stress

3. Consider Magnesium — Carefully

Magnesium for anxiety and palpitations may help if:

  • You have low intake
  • You have mild anxiety
  • Your doctor confirms it's appropriate

4. Rule Out Serious Causes

If you're unsure about your symptoms, using a free online Benign Arrhythmias (Palpitations) symptom assessment can help you better understand what might be causing your palpitations and whether they warrant immediate medical attention.


The Bottom Line

Does magnesium help with heart palpitations?

  • ✅ Yes — if low magnesium is contributing
  • ✅ Possibly — if anxiety is a major trigger
  • ❌ Not always — especially if levels are normal or an underlying arrhythmia is present

Magnesium plays a clear role in heart rhythm stability and nervous system regulation. For some people, correcting a deficiency can meaningfully reduce palpitations. For others, it may have little effect.

The key is identifying the root cause.

If you are experiencing frequent, severe, or concerning palpitations, speak to a doctor. Some heart rhythm issues can be serious or life-threatening, and it's important not to ignore warning signs.

Used thoughtfully and under medical guidance, magnesium can be a helpful part of a broader plan — but it's not a one-size-fits-all solution.

If you're concerned, start by understanding your symptoms, reduce common triggers, and have an informed conversation with your healthcare provider.

(References)

  • * Sarfraz Z, Saleem G, Nasti M, et al. The role of magnesium in cardiac arrhythmias. Cureus. 2023 Feb 1;15(2):e34588. doi: 10.7759/cureus.34588. PMID: 36873528.

  • * Guévin C, Al-Arabi AM, Nadeau L, et al. Intravenous magnesium for the treatment of acute arrhythmias: a systematic review. Am J Emerg Med. 2020 Mar;38(3):616-621. doi: 10.1016/j.ajem.2019.04.053. Epub 2019 May 4. PMID: 31053535.

  • * Shi Y, Peng X, Zhang Q, et al. Oral magnesium for the prevention of atrial fibrillation: a systematic review and meta-analysis. J Cardiovasc Electrophysiol. 2020 Jul;31(7):1858-1865. doi: 10.1111/jce.14533. Epub 2020 May 13. PMID: 32267597.

  • * Zeana C, Sinescu C, Cinteza M, et al. Oral magnesium supplementation reduces the frequency of premature beats in patients with mitral valve prolapse and symptoms of palpitation. J Am Coll Nutr. 2001 Feb;20(1):62-9. doi: 10.1080/07315724.2001.10719022. PMID: 11293472.

  • * DiNicolantonio JJ, O'Keefe JH, Wilson W. Magnesium and cardiovascular disease: a quarter-century review. J Am Coll Nutr. 2018 Jan;37(1):1-14. doi: 10.1080/07315724.2017.1370217. Epub 2017 Dec 21. PMID: 29272193.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Learn more about diseases

Benign Arrhythmias (Palpitations)

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.