How long should metformin be stopped before surgery?

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: October 29, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Metformin Management Before Surgery

Metformin should be stopped the night before surgery and not restarted until 48 hours after surgery, after confirming adequate renal function. 1, 2

Rationale for Stopping Metformin Before Surgery

  • Metformin is associated with a risk of lactic acidosis, which is a rare but serious complication with mortality rates of 30-50% 1, 3
  • The primary concern is the development of lactic acidosis in the perioperative period, particularly in patients with compromised renal function 4
  • The plasma half-life of metformin is 6.2 hours, which means stopping the night before surgery allows for significant clearance 1

Risk Factors for Metformin-Associated Lactic Acidosis

  • Renal impairment (creatinine clearance <60 mL/min) is the primary risk factor 1, 5, 4
  • Other risk factors include:
    • Administration of iodinated contrast agents 1
    • Dehydration, which can occur during surgical fasting 4
    • Severe heart failure (left ventricular ejection fraction <30%) 1, 4
    • Hepatic impairment 4

Timing of Metformin Discontinuation

  • For patients with normal renal function: Stop metformin the night before surgery 1, 2
  • For patients with renal impairment: Consider stopping metformin earlier (48-72 hours before) and monitoring renal function 4
  • For emergency surgery: Proceed with surgery but monitor lactate levels and renal function closely 1

Perioperative Management Algorithm

  1. Preoperative Assessment:

    • Check renal function (eGFR) before surgery 4
    • Identify patients at high risk for lactic acidosis (renal impairment, heart failure, etc.) 1, 4
  2. Discontinuation Protocol:

    • Normal renal function: Stop metformin the night before surgery 1, 2
    • Impaired renal function (eGFR <60 mL/min): Consider earlier discontinuation 4
  3. Monitoring During Surgery:

    • Monitor lactate levels in high-risk patients 6
    • Watch for signs of lactic acidosis: arterial pH <7.35, blood lactate >5 mmol/L 1, 4
  4. Restarting Metformin:

    • Wait 48 hours after major surgery 1
    • Confirm adequate renal function before restarting 2, 4
    • Ensure patient is hemodynamically stable and taking oral nutrition 1

Recent Evidence on Metformin Continuation

  • A 2018 randomized controlled trial found that continuing metformin perioperatively did not significantly raise lactate levels to a clinically relevant degree 7
  • A 2019 study of CABG patients showed no difference in lactate levels or incidence of lactic acidosis when metformin was continued until the night before surgery 6
  • The 2024 AHA/ACC guideline notes that recent data suggest metformin is not associated with lactic acidosis as previously feared 1

Common Pitfalls and Caveats

  • Automatic suspension of metformin may not be necessary in all patients; checking renal function after surgery and withholding metformin if renal function deteriorates might be an acceptable alternative 1
  • Patients with normal renal function and no other risk factors have a very low risk of developing lactic acidosis 1, 7
  • Recognize metformin-associated lactic acidosis early: arterial pH <7.35, blood lactate >5 mmol/L, and detectable plasma metformin concentration 1
  • If metformin-associated lactic acidosis is suspected, prompt hemodialysis is recommended 4

Special Considerations for SGLT2 Inhibitors

  • SGLT2 inhibitors should be discontinued 3-4 days before surgery due to risk of euglycemic diabetic ketoacidosis 1
  • These medications should not be restarted until the patient is clinically stable and has resumed a normal diet 1

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Management of Metformin and Gliclazide Prior to Colonoscopy

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Perioperative use of metformin in cardiac surgery.

Medicina (Kaunas, Lithuania), 2010

Guideline

Metformin-Associated Lactic Acidosis Risk Factors and Management

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

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.

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.