Can Metformin Cause Palpitations?

Metformin is not known to directly cause palpitations, and it is not listed as a common cardiac side effect on standard drug labeling. However, several indirect pathways link long-term metformin use to the sensation of a racing, pounding, or irregular heartbeat. These pathways run through blood sugar dips, vitamin deficiencies, electrolyte shifts driven by gastrointestinal problems, and subtle changes in thyroid function. What makes the topic especially interesting is that research increasingly suggests metformin may actually protect the heart against certain rhythm disturbances, even as it creates the conditions for palpitations through these roundabout routes.

Palpitations as a Symptom of Low Blood Sugar

Metformin works by reducing how much glucose your liver releases and by improving your body’s sensitivity to insulin. On its own, it rarely pushes blood sugar dangerously low because it does not force the pancreas to produce extra insulin. But when metformin is combined with insulin injections, sulfonylureas, or other glucose-lowering drugs, hypoglycemia becomes a real possibility. And palpitations are one of the hallmark symptoms of a blood sugar drop. Other signs include hunger, trembling, sweating, anxiety, dizziness, and blurred vision.1Journal of Diabetes & Metabolic Disorders. The Side Effects of Metformin – A Review – Section: THE SIDE EFFECTS OF METFORMIN

When blood sugar falls, your body mounts a counter-regulatory response. The adrenal glands dump adrenaline and noradrenaline into the bloodstream, trying to push glucose back up. That adrenaline surge is what makes the heart pound and race. So if you are taking metformin alongside another diabetes medication and you feel your heart flutter, the first thing to check is your blood sugar. The palpitations in that scenario are not caused by metformin acting on the heart itself; they are caused by your body’s alarm system firing in response to low glucose.

People who are new to combination therapy, who skip meals, or who exercise more than usual are most vulnerable to these episodes. The fix is straightforward: eating something with fast-acting carbohydrates resolves the adrenaline response within minutes, and the palpitations fade with it. If hypoglycemic episodes keep recurring, the prescribing doctor usually adjusts the dose of the companion drug rather than metformin itself.

Vitamin B12 Deficiency and Anemia

A less obvious but well-documented route from metformin to palpitations involves vitamin B12. Long-term metformin use interferes with B12 absorption in the gut, and over months or years this can deplete your stores enough to cause megaloblastic anemia, a condition where red blood cells become abnormally large and less effective at carrying oxygen. When your tissues are not getting adequate oxygen, the heart compensates by beating faster and harder, which you feel as palpitations.

This is not just a theoretical concern. Clinicians have reported cases of patients on long-term metformin presenting to cardiology clinics with palpitations as their primary complaint, only for workup to reveal megaloblastic anemia driven by B12 deficiency rather than any primary heart problem.2Journal of Patient Safety & Quality Improvement. A Case of Metformin-Related Megaloblastic Anemia Presenting with Palpitation In at least one published case, the patient had no neuropsychiatric symptoms at all. The only signal was the palpitation itself, which resolved once the anemia was treated with B12 supplementation.

The tricky part is timing. B12 stores take a long time to run down, so the anemia might not show up until you have been on metformin for several years. By that point, a patient may not connect the new symptom to a drug they have been taking without incident for a long time. Guidelines in several countries now recommend periodic B12 monitoring for anyone on long-term metformin, but in practice it is not always done. If you have been on metformin for more than a couple of years and you start noticing palpitations along with fatigue or shortness of breath, asking your doctor to check your B12 and complete blood count is a reasonable step.

Electrolyte Problems From Gastrointestinal Side Effects

Stomach upset is the side effect people most associate with metformin. Nausea, bloating, and diarrhea are common, especially in the first weeks. Most of the time these symptoms are manageable and settle down on their own. Rarely, though, the diarrhea becomes severe enough to cause significant losses of electrolytes like potassium, magnesium, calcium, and phosphorus.3PubMed Central. An old friend turned foe: Metformin-induced diarrhea with resultant symptomatic hypokalemia, hypomagnesemia, hypocalcemia, and hypophosphatemia

Potassium and magnesium are critical to the electrical stability of heart cells. When their levels drop, the heart’s rhythm can become erratic. You might feel skipped beats, a fluttery sensation, or a sudden awareness of your heartbeat that was not there before. In severe cases, these electrolyte shifts can provoke actual arrhythmias that show up on an electrocardiogram. The published case literature describes patients who needed hospitalization for the electrolyte disturbances caused by metformin-induced diarrhea, underscoring that this is not trivial even if it is uncommon.

Older adults and people with kidney impairment are more susceptible because their ability to reabsorb electrolytes is already reduced. If you are on metformin and experiencing persistent diarrhea that does not resolve after the initial adjustment period, it is worth flagging to your doctor rather than writing it off as a minor inconvenience. The palpitations in this scenario respond to correcting the electrolyte deficit, not to changing the cardiac treatment.

Thyroid Function Changes

Metformin has a peculiar side relationship with the thyroid. In people who already have a thyroid condition, whether hypothyroidism, Hashimoto’s disease, or polycystic ovary syndrome with thyroid involvement, metformin tends to modestly lower thyroid-stimulating hormone levels while leaving the actual thyroid hormones unchanged.4PubMed Central. Metformin and Thyroid: An Update This effect appears to be independent of whether the patient is also taking thyroid replacement medication.

Why does this matter for palpitations? If someone is on levothyroxine for an underactive thyroid and metformin lowers their TSH further, it can make their thyroid replacement look like an overdose on lab work, even if the actual thyroid hormone levels have not changed. Some clinicians, seeing the low TSH, might reduce the levothyroxine dose unnecessarily. Others might not adjust at all. Either way, the interplay between the two drugs can create a period of flux in thyroid signaling, and thyroid imbalances in either direction are a well-known trigger for palpitations.

In people with a completely normal thyroid, this effect does not appear to be significant. The TSH suppression seems limited to those who already have thyroid pathology. Still, for the millions of people who take both metformin and levothyroxine, this is a practical concern. If palpitations emerge after starting metformin in someone already on thyroid medication, checking thyroid function is a logical early step before assuming the heart itself is the problem.

The Paradox of Cardiac Protection

Here is where the story takes an unexpected turn. Despite the indirect pathways just described, the bulk of the cardiac research on metformin points in the opposite direction: it appears to protect against certain heart rhythm problems rather than cause them.

In animal studies, chronic metformin treatment reduced the incidence of ventricular fibrillation during experimentally induced heart attacks. The proposed mechanism involves activation of an enzyme called AMPK, which helps preserve the heart’s energy supply during oxygen deprivation and reduces the electrical instability that triggers dangerous rhythms.5PubMed Central. Effects of metformin on atrial and ventricular arrhythmias: evidence from cell to patient Separately, research in hypertensive rats showed that metformin reduced resting heart rate and dialed down the sympathetic nervous system’s input to the heart, essentially calming the cardiac stress response.6PubMed. Chronic metformin reduces systemic and local inflammatory proteins and improves hypertension-related cardiac autonomic dysfunction

Human data echoes this. A systematic review examining the association between metformin use and atrial fibrillation found that the drug appears to lower the risk of developing AF, not raise it. The proposed mechanisms include improvements in the lining of blood vessels, reductions in oxidative stress, and anti-inflammatory effects that keep atrial tissue healthier over time.7PubMed Central. Metformin and Atrial Fibrillation: A Systematic Review of Their Association In laboratory work, metformin was shown to reduce the cellular damage that fast heart rhythms inflict on atrial cells, suggesting it may slow the self-reinforcing cycle that makes atrial fibrillation harder to treat once it starts.

This puts metformin in an unusual position among diabetes drugs. Rather than adding cardiac risk, it seems to subtract it. But that does not erase the indirect routes described above. A person can benefit from metformin’s protective effects on cardiac rhythm while simultaneously experiencing palpitations because the drug quietly depleted their B12 or shifted their electrolytes. The two effects are not mutually exclusive; they operate through completely different biological channels.

Sorting Out What Is Actually Causing Your Palpitations

If you are on metformin and experiencing palpitations, the worst assumption you can make is that the drug is directly irritating your heart. It almost certainly is not. But that does not mean the drug is unrelated. A practical approach to figuring out the cause involves ruling things out in order of likelihood:

  • Blood sugar: If you take metformin alongside insulin or a sulfonylurea, check your glucose during or just after an episode. If it is below 70 mg/dL, hypoglycemia is the likely culprit, and a dose adjustment of the companion medication usually solves it.
  • Caffeine and stimulants: This has nothing to do with metformin specifically, but people who notice palpitations for the first time often forget to account for changes in their caffeine intake, decongestant use, or energy drink consumption. Eliminate these first before attributing the symptom to a medication.
  • B12 and anemia: A simple blood test can check B12 levels and red blood cell size. If you have been on metformin for more than two years and have not had B12 checked, ask for it.
  • Electrolytes: If you have been dealing with persistent diarrhea on metformin, a basic metabolic panel can reveal whether potassium, magnesium, or other electrolytes have drifted out of range.
  • Thyroid: If you take thyroid medication alongside metformin, a fresh TSH and free T4 check can determine whether the thyroid axis has shifted.

Palpitations are one of those symptoms that feel alarming because they involve the heart, but in the vast majority of cases they are benign and traceable to something correctable. The key is not to ignore them. Not because they are dangerous in themselves, but because they can be the first signal that one of those indirect pathways has shifted something in your body that needs attention.

Why Metformin Gets Blamed for Things It Does Not Do

Metformin is among the most widely prescribed drugs in the world, taken by tens of millions of people daily. When that many people use a medication, a certain number of them will develop palpitations from completely unrelated causes: stress, anxiety, sleep deprivation, excessive caffeine, dehydration, age-related changes in heart rhythm, undiagnosed valve problems, or simple premature ventricular contractions that most adults experience occasionally without ever noticing.

Because metformin is a daily fixture in these patients’ lives, it becomes the most obvious suspect. This is a pattern physicians see with almost every widely used chronic medication. The temporal association feels meaningful to the patient even when the causal link does not exist. Drug side-effect databases, which rely heavily on voluntary reporting, reflect this. A patient who reports palpitations while on metformin gets logged as a metformin palpitation case regardless of whether the drug had anything to do with it.

None of this means palpitations should be dismissed. It means the investigation should be methodical rather than jumping to conclusions. Stopping metformin because of palpitations without checking for the actual cause risks losing a drug that, for most people with type 2 diabetes, offers meaningful protection against cardiovascular disease while managing blood sugar effectively.

The Extended-Release Formulation and GI Tolerance

One practical consideration that gets overlooked in discussions of metformin’s side effects is the difference between immediate-release and extended-release formulations. The extended-release version releases the drug more slowly in the gut, which substantially reduces nausea and diarrhea for many patients. Since the electrolyte pathway to palpitations runs through severe diarrhea, switching to extended-release metformin can indirectly reduce palpitation risk for patients whose GI symptoms are the underlying driver.

The extended-release formulation does not change the B12 absorption issue or the thyroid interaction, so it is not a blanket fix. But if your palpitations correlate with periods of GI distress on immediate-release metformin, and your doctor has not already suggested the switch, it is worth raising. The cost difference between the two formulations has narrowed considerably as generics have become available, making this a low-barrier intervention.

Kidney function also plays a role in how metformin behaves. The drug is cleared entirely by the kidneys, and reduced kidney function causes it to accumulate to higher-than-intended blood levels. This accumulation amplifies all of metformin’s effects, both therapeutic and adverse. Patients with moderate kidney impairment are often kept on metformin at reduced doses, but their GI side effects and downstream electrolyte problems may still be disproportionate to what a patient with normal kidneys would experience on the same dose. For these patients, extra vigilance about GI symptoms and periodic electrolyte checks is reasonable even if their metformin dose has already been lowered.

Anxiety, Awareness, and the Palpitation Feedback Loop

There is a psychological dimension to palpitations that rarely gets enough attention. Once you notice your heart doing something unusual, anxiety about that sensation can trigger a sympathetic nervous system response, which raises your heart rate and makes palpitations more noticeable. This creates a feedback loop: palpitation leads to anxiety, anxiety leads to adrenaline, adrenaline leads to more palpitations.

People newly diagnosed with type 2 diabetes are already navigating a significant health stressor. They may be monitoring their bodies more closely than they did before, picking up on sensations that were always there but went unnoticed. Starting a new medication heightens this body-scanning behavior. A premature atrial contraction that would have passed undetected six months ago now registers as alarming because the person is primed to notice it.

This does not make the palpitations imaginary. The sensation is real and the heart really is doing something perceptible. But the cause may have nothing to do with metformin or any other medication. It may simply be the combination of heightened awareness and a normal cardiac variant that everyone experiences from time to time. Understanding this loop can itself be therapeutic. Patients who learn that isolated skipped beats and brief flutters are almost always harmless tend to notice them less, which breaks the anxiety cycle and reduces the frequency of episodes.