Doctors Note Logo

Published on: 10/22/2026

Whether Metformin Is Stopped Before Surgery, and Why

Metformin is usually stopped on the day of surgery, and sometimes 24 to 48 hours beforehand, mainly to lower the risk of lactic acidosis when kidney function, hydration, or IV contrast dye may be affected. The exact timing depends on your kidney function, the type of anesthesia, how long you must fast, and whether imaging with contrast is planned, so there are several important factors to consider before you skip a dose. See below to understand how long to pause it, when to restart it after surgery, and how blood sugar is managed in the meantime.

If you are unsure what applies to your situation, or you are noticing symptoms like nausea, unusual fatigue, muscle aches, or blood sugar swings around your procedure, a free, instant symptom check can help you organize what you are experiencing in just a few minutes. It is a private, no-cost way to see which possible causes fit your symptoms and what questions to raise with your surgeon, anesthesiologist, or prescriber before your operation date.

Last reviewed for medical accuracy: 10/22/2026

answer background

Concerned about your symptoms?

Explanation

Should You Stop Metformin Before Surgery?

If you’re taking metformin for type 2 diabetes, you may wonder whether you need to stop metformin before surgery. The short answer is: in most cases, yes—but exactly when and for how long depends on your health status, the type of procedure, and the anesthesia plan. This article explains the reasoning, guidelines, and practical steps so you can discuss the plan confidently with your care team.


Why Consider Stopping Metformin?

Metformin is a first-line oral medication widely prescribed to control blood sugar by improving your body’s response to insulin. It’s generally safe, but certain factors around surgery can increase the risk of complications:

  • Risk of Lactic Acidosis
    Metformin is rarely associated with lactic acidosis (a buildup of lactic acid in the blood) when your kidneys are working well. However, stressors around surgery—fasting, dehydration, low blood pressure, contrast dyes and anesthesia—can reduce kidney function temporarily, raising that risk.

  • Impaired Kidney Clearance
    Metformin is eliminated by the kidneys. Procedures that involve contrast dyes (for imaging tests) or significant blood loss can compromise kidney function. If your kidneys clear metformin more slowly, higher levels can accumulate.

  • Fasting and Blood Sugar Variability
    You’ll likely be asked not to eat or drink (“NPO”) for several hours before anesthesia. Without food intake, blood sugar can drop, and the usual balance of medications may need adjustment. Holding metformin can simplify managing glucose levels with insulin if needed.


General Guidelines: When to Stop Metformin Before Surgery

Guidance from the American Diabetes Association (ADA), the U.S. Food and Drug Administration (FDA), and anesthesia societies typically recommend:

  • Minor Procedures (no contrast, minimal fasting)

    • Stop metformin the morning of surgery.
    • Resume once you’re eating and drinking normally and kidney function is stable.
  • Major Surgery or Procedures Involving Iodinated Contrast

    • Stop metformin 24–48 hours before the procedure.
    • Check kidney function (eGFR or creatinine) before restarting.
    • Resume only when labs confirm adequate kidney clearance and you’re tolerating oral intake.
  • Emergency Surgery

    • Metformin is usually held immediately.
    • Monitor kidney function and lactate levels post-op.
    • Endocrinology or anesthesia teams will recommend when to restart.

Recommended Timing Summary

Situation When to Stop Metformin
Minor surgery, no contrast Hold morning of surgery
Major surgery, long fasting, no contrast Hold 24 hours before surgery
Procedures with iodinated contrast (CT scans, angiography) Hold 48 hours before procedure
Emergency or unknown status Hold immediately; reassess post-op

Risks of Continuing Metformin Through Surgery

Remaining on metformin when you should hold it can lead to:

  • Lactic acidosis with symptoms like rapid breathing, muscle pain, and unusual tiredness
  • Low blood sugar (hypoglycemia), especially if you must fast
  • Delayed recovery of kidney function if contrast dyes are used

While these risks are uncommon, they are potentially serious. That’s why individualized planning is essential.


How to Prepare: Step-by-Step

  1. Talk to Your Care Team Early
    Tell your surgeon, primary care doctor, anesthesiologist, and diabetes educator that you’re on metformin. They’ll tailor the plan based on your health and type of surgery.

  2. Check Kidney Function
    Labs (serum creatinine, eGFR) within a week of surgery help determine how quickly your body clears metformin.

  3. Agree on a Medication Schedule

    • Note the exact day and time to skip metformin.
    • Plan alternative diabetes management (e.g., insulin sliding scale) during the hold.
  4. Plan for Blood Sugar Monitoring

    • Frequent glucose checks in the perioperative period detect highs and lows.
    • Adjust insulin or other medications as needed.
  5. Restarting Metformin

    • Must have stable vital signs, good oral intake, and normal kidney labs.
    • Usually 24–48 hours after surgery, or sooner if labs are reassuring.

What to Watch For

Even if you stop metformin as advised, stay vigilant for:

  • Signs of lactic acidosis: rapid breathing, dizziness, severe weakness
  • Low blood sugar: sweating, shaking, confusion
  • Dehydration or reduced urine output

If you experience any worrying symptoms, seek medical attention right away.


Sample Plan

Here’s an example plan for a patient with type 2 diabetes scheduled for a CT scan with contrast:

  • T minus 48 hours: Last dose of metformin
  • Day before: Confirm fasting labs (kidney function)
  • Procedure day: Monitor glucose; use insulin if needed
  • Post-procedure: Repeat kidney labs after 24 hours
  • If eGFR and creatinine are stable and you’re eating/drinking well → restart metformin

Special Considerations

  • Impaired Kidney Function (eGFR < 60 mL/min/1.73m2)
    Longer holds may be needed. Your nephrologist or endocrinologist should weigh in.
  • Elderly Patients
    Slower drug clearance can increase risk, so guidelines may be more conservative.
  • Multiple Diabetes Medications
    Other drugs (sulfonylureas, SGLT2 inhibitors) also have perioperative considerations. Make sure all your medications are reviewed.

Take Action: Stay Informed and Safe

Knowing when to stop metformin before surgery helps reduce complications and smooth your recovery. To check if any new symptoms need attention, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.

Discuss your specific situation with your healthcare team well in advance. If you notice any serious or life-threatening signs—difficulty breathing, severe dizziness, chest pain, uncontrolled bleeding—seek emergency care immediately.


Final Reminder

This information is for educational purposes and does not replace medical advice. Always speak to your doctor or specialist about your unique health needs before making changes to medication or surgery plans.

(References)

  • * Diabetes Prevention Program Research Group. Effects of withdrawal from metformin on the development of diabetes in the diabetes prevention program. Diabetes Care. 2003 Apr;26(4):977-80. doi: 10.2337/diacare.26.4.977. PMID: 12663559; PMCID: PMC1360737.

  • * Lund SS, Tarnow L, Stehouwer CD, Schalkwijk CG, Teerlink T, Gram J, Winther K, Frandsen M, Smidt UM, Pedersen O, Parving HH, Vaag AA. Impact of metformin versus repaglinide on non-glycaemic cardiovascular risk markers related to inflammation and endothelial dysfunction in non-obese patients with type 2 diabetes. Eur J Endocrinol. 2008 May;158(5):631-41. doi: 10.1530/EJE-07-0815. PMID: 18426821.

  • * Wan G, Sun X, Li F, Wang X, Li C, Li H, Yu X, Cao F. Survival Benefit of Metformin Adjuvant Treatment For Pancreatic Cancer Patients: a Systematic Review and Meta-Analysis. Cell Physiol Biochem. 2018;49(3):837-847. doi: 10.1159/000493214. Epub 2018 Sep 5. PMID: 30184547.

  • * Mariano F, Biancone L. Metformin, chronic nephropathy and lactic acidosis: a multi-faceted issue for the nephrologist. J Nephrol. 2021 Aug;34(4):1127-1135. doi: 10.1007/s40620-020-00941-8. Epub 2020 Dec 29. PMID: 33373028; PMCID: PMC8357762.

  • * Masur S, Eisert A, Freitag M. [Metformin Therapy During Surgical Interventions and Iodinated Contrast Agent Use]. Dtsch Med Wochenschr. 2021 Jan;146(2):121-127. doi: 10.1055/a-1241-2407. Epub 2021 Jan 19. PMID: 33465808.

  • * Theurey P, Vial G, Fontaine E, Monternier PA, Fouqueray P, Bolze S, Moller DE, Hallakou-Bozec S. Reduced lactic acidosis risk with Imeglimin: Comparison with Metformin. Physiol Rep. 2022 Mar;10(5):e15151. doi: 10.14814/phy2.15151. PMID: 35274817; PMCID: PMC8915386.

  • * Gastaldi G, Lucchini B, Thalmann S, Alder S, Laimer M, Brändle M, Wiesli P, Lehmann R, Working group of the SGED/SSED. Swiss recommendations of the Society for Endocrinology and Diabetes (SGED/SSED) for the treatment of type 2 diabetes mellitus (2023). Swiss Med Wkly. 2023 Apr 1;153:40060. doi: 10.57187/smw.2023.40060. Epub 2023 Apr 1. PMID: 37011604.

  • * Jensterle M, Ferjan S, Janez A. The maintenance of long-term weight loss after semaglutide withdrawal in obese women with PCOS treated with metformin: a 2-year observational study. Front Endocrinol (Lausanne). 2024;15:1366940. doi: 10.3389/fendo.2024.1366940. Epub 2024 Apr 11. PMID: 38665260; PMCID: PMC11043580.

  • * Lambourg EJ, Fu EL, McGurnaghan S, Conway BR, Dhaun N, Grant CH, Pearson ER, Mark PB, Petrie J, Colhoun H, Bell S, Scottish Diabetes Research Network Epidemiology Group. Stopping Versus Continuing Metformin in Patients With Advanced CKD: A Nationwide Scottish Target Trial Emulation Study. Am J Kidney Dis. 2025 Feb;85(2):196-204.e1. doi: 10.1053/j.ajkd.2024.08.012. Epub 2024 Nov 7. PMID: 39521399; PMCID: PMC12101959.

  • * Buggy DJ, Columb MO, Hermanides J, Hollmann MW, Coburn M, Zarbock A, MOPED Investigators. Withholding or continuing glucose-lowering drugs for elective surgery in patients with type 2 diabetes mellitus: a secondary analysis of the MOPED international, prospective, observational study. Br J Anaesth. 2026 Jul;137(1):99-109. doi: 10.1016/j.bja.2026.03.068. Epub 2026 May 26. PMID: 42191528; PMCID: PMC13494077.

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.