Diabetes Management

    Metformin Management Around Surgery: When to Stop and Restart

    Metformin (Glucophage) is the most commonly prescribed diabetes medication worldwide. Perioperative management requires careful timing because metformin combined with surgical stress, dehydration, or IV contrast dye increases the risk of lactic acidosis, a rare but serious complication. This guide covers the current evidence-based approach to stopping and restarting metformin around surgery.

    Why Metformin Requires Special Handling Around Surgery

    • Metformin is cleared by the kidneys. Surgery can temporarily reduce kidney function through dehydration, blood loss, anesthesia effects, and post-operative fluid shifts.
    • Lactic acidosis occurs when metformin accumulates in the body due to impaired kidney clearance. The mortality rate of metformin-associated lactic acidosis is approximately 50%, according to a review in the journal Diabetes, Obesity and Metabolism.
    • IV contrast dye (used in CT scans and angiography) can cause contrast-induced nephropathy, further impairing the kidney clearance of metformin.
    • Surgical stress triggers a cortisol response that raises blood glucose, which can mask the fact that metformin has been withheld and create a false sense of poor glucose control.
    • The American Diabetes Association recommends an individualized approach: the decision to hold metformin depends on the type of surgery, expected fasting duration, and baseline kidney function.

    When to Stop and Restart Metformin

    • Minor procedures (dental work, skin biopsies, colonoscopy without contrast): metformin can usually be continued. Confirm with your prescriber.
    • Moderate surgery (laparoscopic procedures, joint replacement): most guidelines recommend holding metformin the morning of surgery. Resume when eating normally and kidney function is stable, typically 24 to 48 hours post-operatively.
    • Major surgery or procedures involving IV contrast dye: hold metformin 24 to 48 hours before the procedure. The American College of Radiology recommends checking serum creatinine 48 hours after contrast exposure before resuming metformin.
    • If you are NPO (nothing by mouth) for more than 12 hours: hold metformin regardless of surgery type, as prolonged fasting with metformin increases hypoglycemia and lactic acidosis risk.
    • Your surgeon or anesthesiologist will provide specific instructions. Do not stop or restart metformin without their guidance, as abrupt changes in blood sugar control create their own surgical risks.

    Managing Blood Sugar While Metformin Is Held

    • Check blood glucose at least 4 times daily (before meals and at bedtime) while metformin is withheld. Hospital teams typically use a sliding scale insulin protocol for inpatients.
    • Blood glucose above 180 mg/dL increases surgical site infection risk. The Surgical Care Improvement Project (SCIP) set a target of below 180 mg/dL in the first 18 to 24 hours after surgery.
    • Do not double your metformin dose to compensate for missed doses. Resume at your normal dose when cleared by your provider.
    • Symptoms of lactic acidosis include: nausea, vomiting, rapid breathing, muscle pain, weakness, and abdominal discomfort. These can overlap with normal post-surgical symptoms, so report them to your care team even if you think they are surgery-related.
    • If you have an eGFR below 30 mL/min at any point during or after surgery, metformin should not be restarted until kidney function improves. Your provider will check labs before resuming the medication.
    Related
    Frequently asked

    Questions patients ask.

    Can I take my metformin the morning of surgery?

    For most moderate to major surgeries, no. The standard recommendation is to hold metformin the morning of surgery because you will be fasting and under anesthesia, both of which affect kidney function and fluid balance. For minor outpatient procedures where you resume eating within a few hours, some providers allow the morning dose. Always follow your specific pre-surgical instructions rather than general advice.

    How long does metformin stay in my system after I stop it?

    Metformin has a half-life of approximately 6 hours in patients with normal kidney function, meaning it is mostly cleared within 24 to 36 hours of the last dose. In patients with reduced kidney function (eGFR 30 to 60 mL/min), clearance takes longer. This is why the 24 to 48 hour pre-operative hold window is recommended: it allows the drug to clear before the kidney stress of surgery begins.

    Will my blood sugar spike if I skip metformin for surgery?

    Some elevation is expected. Surgical stress hormones (cortisol, epinephrine) raise blood glucose independently of medication changes. Your surgical team will manage glucose with short-acting insulin if needed. A blood sugar of 140 to 180 mg/dL during the perioperative period is an acceptable and safe range per the American Diabetes Association's 2024 Standards of Care. The goal is to avoid both hyperglycemia and hypoglycemia.

    For patients

    Get a personalized care plan.

    This guide provides general information. For instructions tailored to your specific procedure, ask your provider about QR Rx care plans.

    These medication guides are for educational purposes only and do not replace medical advice. Always follow your healthcare provider's specific medication instructions.