Doctors Note Logo

Published on: 9/14/2026

Can taking metformin cause a high anion gap?

Yes, metformin can raise the anion gap, most often through a rare but serious complication called metformin-associated lactic acidosis, in which lactate builds up faster than the body can clear it. Risk rises sharply with reduced kidney function, liver disease, heavy alcohol use, dehydration, sepsis, heart failure, recent IV contrast, or an overdose, while a normal dose in a healthy person rarely does this. Warning signs include nausea, vomiting, stomach pain, muscle aches, unusual fatigue, rapid or deep breathing, dizziness, and cold or clammy skin, and these warrant emergency care. Keep in mind that a high anion gap has many other causes, including diabetic ketoacidosis, kidney failure, alcohol-related ketoacidosis, and certain toxic ingestions, so lab context matters. There are several important details and distinctions to consider, including how urgently to act and what to tell your clinician, so review the complete answer below.

Because a high anion gap can point to anything from a manageable medication effect to a life-threatening emergency, it helps to organize your symptoms, medications, and risk factors before your next call or visit. A free, instant, online symptom check can help you sort out which possible causes fit your situation, flag signs that need urgent attention, and give you clear language to describe what you are experiencing so you get the right tests and next steps faster.

Last reviewed for medical accuracy: 09/13/2026

answer background

Explanation

Metformin is one of the most commonly prescribed medications for type 2 diabetes. It works by improving insulin sensitivity and reducing glucose production in the liver. A question that sometimes comes up is whether metformin can cause an elevated anion gap. In short, metformin itself does not directly raise the anion gap—but a rare side effect called lactic acidosis can lead to a high anion gap metabolic acidosis. Below, we’ll explain what the anion gap is, how it’s calculated, why it matters, and how metformin-associated lactic acidosis fits in. We’ll also offer practical advice on when to seek help, including a free, online symptom check, using the doctor approved Ubie Symptom Checker.

What Is the Anion Gap?
The anion gap (AG) is a simple calculation clinicians use to help identify the cause of metabolic acidosis. It’s based on routine blood tests for electrolytes.

• Calculation:
AG = (Sodium) – (Chloride + Bicarbonate)
• Normal range:
Approximately 8–12 mEq/L (may vary slightly by lab)

Why It Matters
A raised anion gap indicates the presence of unmeasured acids in the blood. Detecting a high AG helps narrow down potential causes and guides further testing and treatment.

Common Causes of Elevated Anion Gap
When the AG is over 12 mEq/L, clinicians think of a mnemonic “MUDPILES” (though more modern lists exist). Key causes include:
• Lactic acidosis
• Ketoacidosis (diabetic, alcoholic, starvation)
• Uremia (advanced kidney failure)
• Ingestions (e.g., methanol, ethylene glycol, salicylates)

Metformin and Lactic Acidosis
Metformin-associated lactic acidosis (MALA) is a rare but serious complication. Here’s how it happens:
• Metformin reduces glucose production in the liver by blocking mitochondrial respiration pathways.
• In normal doses and healthy kidneys, metformin is cleared efficiently, and lactate levels stay normal.
• If metformin accumulates—often due to poor kidney function or dehydration—cells switch to anaerobic metabolism, producing excess lactic acid.
• Lactic acid dissociates into lactate and hydrogen ions, increasing the anion gap.

How Rare Is It?
• Incidence: Estimated at less than 10 cases per 100,000 patient-years in clinical practice.
• Risk factors make it more likely:
– Severe kidney impairment (eGFR < 30 mL/min/1.73 m²)
– Acute illness with dehydration or reduced blood flow (e.g., heart failure, severe infection)
– Liver disease (impaired lactate clearance)
– Excessive alcohol intake
– Use of other medications that affect kidney function

Recognizing the Signs and Symptoms
Early recognition of lactic acidosis is crucial. Symptoms tend to develop over hours to days and can include:
• Generalized weakness or fatigue
• Muscle pain or cramps
• Rapid breathing (hyperventilation)
• Abdominal discomfort, nausea, vomiting
• Low body temperature (especially in severe cases)

If you or a loved one on metformin experiences any of these symptoms—particularly if there’s a trigger like dehydration or acute illness—consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.

Diagnosis and Laboratory Findings
When lactic acidosis is suspected, clinicians will order:
• Serum electrolytes (to calculate the anion gap)
• Arterial blood gas (to confirm metabolic acidosis and measure pH)
• Serum lactate level (elevated in lactic acidosis)
• Kidney function tests (eGFR, creatinine)
• Liver function tests

In metformin-associated lactic acidosis, you’ll typically see:
• pH < 7.35 (acidemia)
• Bicarbonate < 20 mEq/L
• Anion gap > 12 mEq/L
• Lactate > 5 mmol/L (often much higher)

Management Principles
If MALA is confirmed or strongly suspected:

  1. Stop metformin immediately.
  2. Provide supportive care:
    – Intravenous fluids to restore circulation and kidney perfusion
    – Oxygen therapy if needed
    – Bicarbonate may be given in severe acidemia (pH < 7.1)
  3. Consider dialysis:
    – Hemodialysis effectively removes metformin and corrects acidosis
  4. Identify and treat underlying triggers:
    – Rehydrate if volume-depleted
    – Address infections or other acute illnesses
    – Optimize heart failure management

Preventing Metformin-Associated Lactic Acidosis
While MALA is rare, you can help reduce your risk by:
• Regularly monitoring kidney function (at least annually, more often if eGFR is borderline)
• Staying well hydrated, especially during illness or hot weather
• Avoiding excessive alcohol consumption
• Holding metformin temporarily during acute illnesses that involve dehydration or reduced oral intake
• Discussing any new medications or contrast dye procedures with your doctor—some agents may affect kidney function

When to Talk to Your Doctor
Metformin remains a safe and effective treatment for most people with type 2 diabetes. However, always check with your healthcare provider if you experience:
• New or worsening fatigue, muscle pain, or breathing difficulty
• Signs of dehydration (dizziness, low urine output)
• Any severe or persistent gastrointestinal upset

And remember: if you face symptoms that feel sudden, severe, or life-threatening, please reach out for medical help right away.

Summary: Can Metformin Cause a High Anion Gap?
• Metformin itself does not directly raise the anion gap.
• In rare cases, metformin-associated lactic acidosis produces a high anion gap metabolic acidosis.
• Risk rises in patients with kidney or liver impairment, dehydration, or other acute illnesses.
• Prompt recognition and treatment—including stopping metformin, supportive care, and possibly dialysis—are lifesaving.

No one should face worrisome symptoms alone. If you’re unsure what’s causing your symptoms or if they feel serious, try a free, online symptom check, using the doctor approved Ubie Symptom Checker. And always speak to a doctor about anything that could be life threatening or serious.

(References)

  • * Pasquel FJ, Klein R, Adigweme A, Hinedi Z, Coralli R, Pimentel JL, Umpierrez GE. Metformin-associated lactic acidosis. Am J Med Sci. 2015 Mar;349(3):263-7. doi: 10.1097/MAJ.0b013e3182a562b7. PMID: 24326619.

  • * DeFronzo R, Fleming GA, Chen K, Bicsak TA. Metformin-associated lactic acidosis: Current perspectives on causes and risk. Metabolism. 2016 Feb;65(2):20-9. doi: 10.1016/j.metabol.2015.10.014. Epub 2015 Oct 9. PMID: 26773926.

  • * Corremans R, Vervaet BA, D'Haese PC, Neven E, Verhulst A. Metformin: A Candidate Drug for Renal Diseases. Int J Mol Sci. 2018 Dec 21;20(1). doi: 10.3390/ijms20010042. Epub 2018 Dec 21. PMID: 30583483; PMCID: PMC6337137.

  • * Matyukhin I, Patschan S, Ritter O, Patschan D. Etiology and Management of Acute Metabolic Acidosis: An Update. Kidney Blood Press Res. 2020;45(4):523-531. doi: 10.1159/000507813. Epub 2020 Jul 14. PMID: 32663831.

  • * Lášticová M, Víšek J, Zima O, Šmahelová A, Bláha V. [Metformin -associated lactic acidosis]. Vnitr Lek. 2020 Fall;66(7):438-442. PMID: 33380123.

  • * Giaccari A, Solini A, Frontoni S, Del Prato S. Metformin Benefits: Another Example for Alternative Energy Substrate Mechanism? Diabetes Care. 2021 Mar;44(3):647-654. doi: 10.2337/dc20-1964. PMID: 33608326; PMCID: PMC7896249.

  • * Fadden EJ, Longley C, Mahambrey T. Metformin-associated lactic acidosis. BMJ Case Rep. 2021 Jul 8;14(7). doi: 10.1136/bcr-2020-239154. Epub 2021 Jul 8. PMID: 34244196; PMCID: PMC8268897.

  • * Koslover J, Bruce D, Patel S, Webb AJ. Metformin-'BRAINS & AIMS' pharmacological/prescribing principles of commonly prescribed (Top 100) drugs: Education and discussion. Br J Clin Pharmacol. 2023 Mar;89(3):931-938. doi: 10.1111/bcp.15653. Epub 2023 Jan 23. PMID: 36575901.

  • * Mueller L, Moser M, Prazak J, Fuster DG, Schefold JC, Zuercher P. Metformin's Role in Hyperlactatemia and Lactic Acidosis in ICU Patients: A Systematic Review. Pharmacology. 2023;108(3):213-223. doi: 10.1159/000528252. Epub 2023 Jan 18. PMID: 36652938; PMCID: PMC10233707.

  • * Fjære OL, Arthurson C, Ringdal KG, Morberg PCW. [Metformin-associated lactic acidosis]. Tidsskr Nor Laegeforen. 2023 Feb 21;143(3). doi: 10.4045/tidsskr.22.0719. Epub 2023 Feb 20. PMID: 36811419.

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.

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.