Table of ContentsView AllTable of ContentsSurgery’s ImpactUncontrolled LevelsComplications/SolutionsPost-Surgery Management
Table of ContentsView All
View All
Table of Contents
Surgery’s Impact
Uncontrolled Levels
Complications/Solutions
Post-Surgery Management
When you have surgery, the procedure itself and the effects of anesthesia put stress on the body that may result in elevatedblood sugar(glucose) levels. Because of this, people withdiabeteshave an especially high risk for blood sugar complications following a surgical procedure. People whodon’t have diabetesor who have an undiagnosed case can also experience increased glucose levels post-surgery and the accompanying problems.Hero Images / Getty ImagesWhichever category you fall into, you can take appropriate steps to control your glucose levels before, during, and after surgery.How Surgery Affects Blood SugarThe stress of an operation, along with potential changes in lifestyle, diet, and exercise before and after surgery, can dramatically change your glucose levels. While everyone’s at risk for high blood sugar levels after surgery, people with diabetes face even greater risks.While the exact reason for this cannot always be determined, there are a few different factors that may be at play. The physical trauma associated with surgery can result in an increase in the stress hormone cortisol, along with catecholamines (neurotransmitters released into the bloodstream when you’re stressed), both of which may result in increased insulin resistance—a lack of sensitivity to normal levels of insulin, requiring more and more insulin to remove glucose from the bloodstream.Additionally, high levels of insulin often seen in diabetes can make arteries and veins less flexible, restricting blood flow that leads to slower healing times and poor circulation to the heart and other organs.How to Prepare for Cataract Surgery When You Have DiabetesHow Uncontrolled Levels Impact Surgery and RecoveryBlood sugar that’s even slightly elevated can lead to delayed healing and increase your chances of getting a wound infection from less than 2% to almost 18%. In general, the higher the blood sugar, the higher these risks.Additional risks include:Slow or poor wound healingFluid and electrolyte imbalanceKidney issuesHeart and/or lung problemsNeurological complicationsStrokePost-surgical deathThis increased risk is why the hospital may check your glucose frequently as you recover from surgery, whether you have diabetes or not.Potential Complications and SolutionsSeveral complications may arise when you have diabetes and undergo surgery:Glucose FluctuationsIf you have diabetes, make sure your healthcare provider has your blood sugar checked before meals and at bedtime while you’re in the hospital. Checking your glucose during surgery is reasonable if the surgery is a lengthy one or if your glucose levels have been unpredictable.Even those with diabetes who normally have well-controlled glucose levels thanks to diet and exercise can experience high levels of blood glucose during the hours and days following surgery. If your glucose is fluctuating widely between checks, you may even need to have it checked during the night if you’re having symptoms oflowor high blood glucose. An increase in your glucose values either before or after your surgery can be an indication of an infection.If you are having same-day surgery, have your blood glucose level checked before you leave the facility.If you have diabetes, you may want to test more frequently once you’re home until you are completely healed.Medication InteractionsBe sure to let your surgeon know which medications you’re currently taking or have recently taken.Metformin, a common medication for balancing blood sugar, has mixed reviews when it comes to postoperative care.Evidence suggests that metformin may increase the risk of a potentially fatal condition called lactic acidosis, which is a buildup of lactic acid in the blood. This condition primarily affects people with impaired kidney function in addition to their diabetes. For patients with neither condition, this is a very rare complication.No safety guidelines exist about metformin use and surgery, but some sources recommend discontinuing the drug for up to 48 hours before surgery.The American Diabetes Association recommends withholding metformin on the day of surgery.Some healthcare providers don’t tell their patients to stop taking metformin before surgery unless they also have major risk factors for lactic acidosis, including severe problems with their kidneys, liver, or lungs.What to Know About Glucophage (Metformin)Other medications called SGLT2 inhibitors (gliflozins) may increase the risk of a potentially fatal condition calleddiabetic ketoacidosis. The medication, in combination with another trigger such as surgery, makes your body break down fat at a dangerous speed. Your body then tries to burn it off, which causes your liver to produce ketones. The ketones build up in your blood and make it acidic.People with type 1 diabetes are at a much higher risk of surgically triggered ketoacidosis than those with type 2.Guidelines recommend that SGLT2 drugs be discontinued three to four days before surgery and not be used routinely for diabetes management in the hospital.Insulin EffectsIf you take insulin, talk to your surgeon as well about what dose you should take the night before and/or the morning of your surgery. Bothhyperglycemia(having too much glucose in the blood) and hypoglycemia (having too little glucose in the blood) can be dangerous for surgery.To avoid these and other possible complications, be sure to provide your healthcare provider with your complete list of current prescriptions, over-the-counter medications, and supplements.Post-Surgery Management TipsYour diabetes needs to be well controlled after your surgery as well to prevent complications such as wound infections, slow healing, and increased scarring.If you’re not consistent about taking care of yourself, taking medications as prescribed, and routinely checking your glucose levels, seek help from your healthcare team. They can work with you on an effective treatment plan.A lot of factors can make it difficult to eat regularly while you’re in the hospital, such as vomiting, lack of appetite, stress, or pain. If you’re not eating well or if you’ve been prescribed medications that may increase your blood sugar, you may need to stay longer for blood-sugar monitoring.Keep in mind that the following are essential to a quick and healthy recovery:Eating appropriate foods after surgery (whole grains, fruits, vegetables, and lean protein)Frequently checking your glucose levelsTaking your insulin or other diabetes medications as prescribedExercise can also help control glucose levels and is an important part of recovery for people with or without diabetes. Your surgeon will be the best judge of what type of physical activity is possible after surgery and how quickly you can attempt more strenuous exercise during your recovery.Simply checking your glucose levels more frequently than usual is one change in your daily routine that may have the single largest impact on how well and how quickly you heal after surgery.A Word From VerywellSurgery becomes more complicated when you have diabetes, for a number of different factors. It is worth the time and effort to work to control your glucose levels—both before and after surgery—to maintain good health. Doing so can help your body heal faster and avoid infection—a sure bonus during the post-operative period.
When you have surgery, the procedure itself and the effects of anesthesia put stress on the body that may result in elevatedblood sugar(glucose) levels. Because of this, people withdiabeteshave an especially high risk for blood sugar complications following a surgical procedure. People whodon’t have diabetesor who have an undiagnosed case can also experience increased glucose levels post-surgery and the accompanying problems.
Hero Images / Getty Images

Whichever category you fall into, you can take appropriate steps to control your glucose levels before, during, and after surgery.
How Surgery Affects Blood Sugar
The stress of an operation, along with potential changes in lifestyle, diet, and exercise before and after surgery, can dramatically change your glucose levels. While everyone’s at risk for high blood sugar levels after surgery, people with diabetes face even greater risks.
While the exact reason for this cannot always be determined, there are a few different factors that may be at play. The physical trauma associated with surgery can result in an increase in the stress hormone cortisol, along with catecholamines (neurotransmitters released into the bloodstream when you’re stressed), both of which may result in increased insulin resistance—a lack of sensitivity to normal levels of insulin, requiring more and more insulin to remove glucose from the bloodstream.
Additionally, high levels of insulin often seen in diabetes can make arteries and veins less flexible, restricting blood flow that leads to slower healing times and poor circulation to the heart and other organs.
How to Prepare for Cataract Surgery When You Have Diabetes
How Uncontrolled Levels Impact Surgery and Recovery
Blood sugar that’s even slightly elevated can lead to delayed healing and increase your chances of getting a wound infection from less than 2% to almost 18%. In general, the higher the blood sugar, the higher these risks.
Additional risks include:
This increased risk is why the hospital may check your glucose frequently as you recover from surgery, whether you have diabetes or not.
Potential Complications and Solutions
Several complications may arise when you have diabetes and undergo surgery:
Glucose Fluctuations
If you have diabetes, make sure your healthcare provider has your blood sugar checked before meals and at bedtime while you’re in the hospital. Checking your glucose during surgery is reasonable if the surgery is a lengthy one or if your glucose levels have been unpredictable.
Even those with diabetes who normally have well-controlled glucose levels thanks to diet and exercise can experience high levels of blood glucose during the hours and days following surgery. If your glucose is fluctuating widely between checks, you may even need to have it checked during the night if you’re having symptoms oflowor high blood glucose. An increase in your glucose values either before or after your surgery can be an indication of an infection.
If you are having same-day surgery, have your blood glucose level checked before you leave the facility.If you have diabetes, you may want to test more frequently once you’re home until you are completely healed.
Medication Interactions
Be sure to let your surgeon know which medications you’re currently taking or have recently taken.
Metformin, a common medication for balancing blood sugar, has mixed reviews when it comes to postoperative care.
Evidence suggests that metformin may increase the risk of a potentially fatal condition called lactic acidosis, which is a buildup of lactic acid in the blood. This condition primarily affects people with impaired kidney function in addition to their diabetes. For patients with neither condition, this is a very rare complication.
No safety guidelines exist about metformin use and surgery, but some sources recommend discontinuing the drug for up to 48 hours before surgery.The American Diabetes Association recommends withholding metformin on the day of surgery.
Some healthcare providers don’t tell their patients to stop taking metformin before surgery unless they also have major risk factors for lactic acidosis, including severe problems with their kidneys, liver, or lungs.
What to Know About Glucophage (Metformin)
Other medications called SGLT2 inhibitors (gliflozins) may increase the risk of a potentially fatal condition calleddiabetic ketoacidosis. The medication, in combination with another trigger such as surgery, makes your body break down fat at a dangerous speed. Your body then tries to burn it off, which causes your liver to produce ketones. The ketones build up in your blood and make it acidic.
People with type 1 diabetes are at a much higher risk of surgically triggered ketoacidosis than those with type 2.
Guidelines recommend that SGLT2 drugs be discontinued three to four days before surgery and not be used routinely for diabetes management in the hospital.
Insulin Effects
If you take insulin, talk to your surgeon as well about what dose you should take the night before and/or the morning of your surgery. Bothhyperglycemia(having too much glucose in the blood) and hypoglycemia (having too little glucose in the blood) can be dangerous for surgery.
To avoid these and other possible complications, be sure to provide your healthcare provider with your complete list of current prescriptions, over-the-counter medications, and supplements.
Post-Surgery Management Tips
Your diabetes needs to be well controlled after your surgery as well to prevent complications such as wound infections, slow healing, and increased scarring.
If you’re not consistent about taking care of yourself, taking medications as prescribed, and routinely checking your glucose levels, seek help from your healthcare team. They can work with you on an effective treatment plan.
A lot of factors can make it difficult to eat regularly while you’re in the hospital, such as vomiting, lack of appetite, stress, or pain. If you’re not eating well or if you’ve been prescribed medications that may increase your blood sugar, you may need to stay longer for blood-sugar monitoring.
Keep in mind that the following are essential to a quick and healthy recovery:
Exercise can also help control glucose levels and is an important part of recovery for people with or without diabetes. Your surgeon will be the best judge of what type of physical activity is possible after surgery and how quickly you can attempt more strenuous exercise during your recovery.
Simply checking your glucose levels more frequently than usual is one change in your daily routine that may have the single largest impact on how well and how quickly you heal after surgery.
A Word From Verywell
Surgery becomes more complicated when you have diabetes, for a number of different factors. It is worth the time and effort to work to control your glucose levels—both before and after surgery—to maintain good health. Doing so can help your body heal faster and avoid infection—a sure bonus during the post-operative period.
11 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read oureditorial processto learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
Duggan EW, Carlson K, Umpierrez GE.Perioperative hyperglycemia management: An update[published correction appears inAnesthesiology. 2018 Nov;129(5):1053].Anesthesiology. 2017;126(3):547–560. doi:10.1097/ALN.0000000000001515
Weijers RN.Fundamentals about onset and progressive disease character of type 2 diabetes mellitus.World J Diabetes. 2020;11(5):165-181. doi:10.4239/wjd.v11.i5.165
de Vries FE, Gans SL, Solomkin JS, et al.Meta-analysis of lower perioperative blood glucose target levels for reduction of surgical-site infection.Br J Surg. 2017;104(2):e95-e105. doi:10.1002/bjs.10424
Duncan AE.Hyperglycemia and perioperative glucose management.Curr Pharm Des. 2012;18(38):6195–6203. doi:10.2174/138161212803832236
Aldam P, Levy N, Hall GM.Perioperative management of diabetic patients: new controversies.Br J Anaesth. 2014;113(6):906–909. doi:10.1093/bja/aeu259
MedlinePlus. Medical Encyclopedia:Preparing for surgery when you have diabetes.
American Diabetes Association Professional Practice Committee.16. Diabetes Care in the Hospital: Standards of Care in Diabetes-2024.Diabetes Care. 2024 Jan 1;47(Suppl 1):S295-S306. doi: 10.2337/dc24-S016
American Diabetes Association.DKA (Ketoacidosis) & Ketones.
Pharmacy Times.Understanding SGLT2 inhibitors' diabetic ketoacidosis risk.
Hormone Health Network.Hyperglycemia in the hospital.
Sudhakaran S, Surani SR.Guidelines for perioperative management of the diabetic patient.Surg Res Pract. 2015;2015:284063. doi:10.1155/2015/284063U.S. National Library of Medicine, Institute for Quality and Efficiency in Health Care.Hyperglycemia and hypoglycemia in type 2 diabetes.
Sudhakaran S, Surani SR.Guidelines for perioperative management of the diabetic patient.Surg Res Pract. 2015;2015:284063. doi:10.1155/2015/284063
U.S. National Library of Medicine, Institute for Quality and Efficiency in Health Care.Hyperglycemia and hypoglycemia in type 2 diabetes.
Meet Our Medical Expert Board
Share Feedback
Was this page helpful?Thanks for your feedback!What is your feedback?OtherHelpfulReport an ErrorSubmit
Was this page helpful?
Thanks for your feedback!
What is your feedback?OtherHelpfulReport an ErrorSubmit
What is your feedback?