Which diabetes medication class is most likely to cause metabolic acidosis and hyperkalemia?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: May 27, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Metformin is the diabetes medication most likely to cause both metabolic acidosis and hyperkalemia

Metformin causes lactic acidosis (a form of metabolic acidosis) and can lead to hyperkalemia, particularly in patients with acute kidney injury or chronic kidney disease. 1

Why Metformin Causes These Complications

Metformin accumulates in patients with impaired kidney function, leading to metformin-associated lactic acidosis (MALA). When metformin levels become toxic (therapeutic range <5 mcg/mL), patients develop:

  • Severe lactic acidosis - the hallmark metabolic acidosis associated with metformin toxicity 2
  • Refractory hyperkalemia - a rare but serious manifestation requiring multiple interventions, sometimes even continuous renal replacement therapy 1

The mechanism involves metformin accumulation when clearance is impaired (renal dysfunction) or when lactic acid clearance is compromised (liver failure), combined with conditions causing anaerobic metabolism (sepsis, hypoxia, shock) 2.

High-Risk Clinical Scenarios

Metformin should be avoided or discontinued in patients with 2:

  • eGFR <30 mL/min per 1.73 m² (absolute contraindication)
  • eGFR 30-45 mL/min per 1.73 m² (dose reduction required)
  • Acute kidney injury
  • Hypoxia or shock states
  • Liver disease or alcoholism
  • Acute heart failure
  • Before iodinated contrast procedures (if eGFR <60 mL/min per 1.73 m²)

A recent study of over 1,200 patients with type 2 diabetes and COVID-19 found inpatient metformin use increased lactic acidosis risk significantly (adjusted hazard ratio 4.46,95% CI 1.11–18.0), with higher risk associated with higher doses, worse kidney function, and greater illness severity 2.

Important Distinction: SGLT2 Inhibitors Cause Acidosis BUT NOT Hyperkalemia

While SGLT2 inhibitors cause euglycemic diabetic ketoacidosis (a different type of metabolic acidosis), they actually reduce hyperkalemia risk rather than increase it 3. In fact, SGLT2 inhibitors show minimal effect on blood pressure and no excess risk of hyperkalemia, distinguishing them from other diabetes medications 4. A 2025 study found SGLT2 inhibitors were associated with a lower risk of hyperkalemia compared to DPP-4 inhibitors (hazard ratio 0.74) 3, and another 2025 study found no clinically significant changes in potassium levels with SGLT2 inhibitor therapy 5.

Clinical Bottom Line

When you see the combination of metabolic acidosis AND hyperkalemia in a diabetic patient, think metformin toxicity first, especially if the patient has any degree of kidney impairment or acute illness. Check metformin levels, lactate, and kidney function immediately, and discontinue the medication 1.

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.