Because of this, people withdiabeteshave an especially high risk for blood sugar complications following a surgical procedure.
In general, the higher the blood sugar, the higher these risks.
An increase in your glucose values either before or after your surgery can be an indication of an infection.

Hero Images / Getty Images
Metformin, a common medication for balancing blood sugar, has mixed reviews when it comes to postoperative care.
This condition primarily affects people with severe impaired kidney function in addition to their diabetes.
Other medications called SGLT2 inhibitors (gliflozins) may increase the risk of a potentially fatal condition calleddiabetic ketoacidosis.
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.
They can work with you on an effective treatment plan.
Doing so can help your body heal faster and avoid infectiona sure bonus during the post-operative period.
Duggan EW, Carlson K, Umpierrez GE.Perioperative hyperglycemia management: An update[published correction appears inAnesthesiology.
2018 Nov;129(5):1053].Anesthesiology.
2017;104(2):e95-e105.
doi:10.1002/bjs.10424
Duncan AE.Hyperglycemia and perioperative glucose management.Curr Pharm Des.
AME Case Rep. 2023 Sep 4;7:39. doi: 10.21037/acr-22-100
MedlinePlus.
Medical Encyclopedia:Preparing for surgery when you have diabetes.
American Diabetes Association Professional Practice Committee, ElSayed NA, McCoy RG, et al.16.
Diabetes care in the hospital: standards of care in diabetes2025.Diabetes Care.
2025;48(Supplement_1):S321-S334.
2017; 18: 38. doi:10.1186/s40360-017-0145-6
American Diabetes Association.DKA (Ketoacidosis) & Ketones.
Pharmacy Times.Understanding SGLT2 inhibitors' diabetic ketoacidosis risk.
Hormone Health internet.Hyperglycemia in the hospital.
Sudhakaran S, Surani SR.Guidelines for perioperative management of the diabetic patient.Surg Res Pract.