What to Do When Blood Sugar Is High After Surgery

High blood sugar after surgery is common, even if you’ve never had diabetes. Surgery triggers a powerful stress response that floods your body with hormones designed to keep you alive during the procedure, and one major side effect is a spike in blood glucose. About 25% of surgical patients develop blood sugar above 140 mg/dL within the first 24 hours, and that number climbs to nearly 35% by the third day after surgery. The good news: for most people, this is temporary and manageable.

Why Surgery Raises Blood Sugar

When a surgeon cuts into tissue, your brain activates two emergency systems: one releases cortisol and the other releases adrenaline and noradrenaline. Cortisol tells your liver to produce more glucose and dump it into your bloodstream, ensuring your vital organs have fuel to handle the crisis. Adrenaline redirects blood flow to your heart and muscles. Together, these hormones are protective in the short term. The problem is they don’t shut off immediately after the operation ends.

Cortisol levels start climbing within 30 to 60 minutes of the first incision, peak between 4 and 24 hours later, and can take several days to fully normalize. The more invasive the surgery, the bigger the hormone surge. When cortisol stays elevated for too long, it keeps your liver churning out glucose your body can’t use efficiently, leading to persistent high blood sugar, slower wound healing, and a weakened immune response.

Medications given during and after surgery can make things worse. Dexamethasone, a steroid commonly used to prevent nausea and reduce pain after joint replacements and other procedures, significantly raises blood sugar. In one study of diabetic patients undergoing hip or knee replacement, those who received dexamethasone had roughly four times the odds of elevated blood sugar in the first 24 hours compared to those who didn’t. If you know you received a steroid during your surgery, that’s likely contributing to your numbers.

What Blood Sugar Levels to Watch For

The American Diabetes Association recommends a blood sugar target of 100 to 180 mg/dL in the period after surgery. For most hospitalized patients who aren’t in intensive care, that same 100 to 180 mg/dL window applies. Readings that stay above 180 mg/dL on two or more checks within 24 hours generally call for treatment, usually insulin.

Those numbers matter because the risk of wound infection rises sharply as blood sugar climbs. A study published in JAMA Surgery found that patients with post-surgical glucose above 220 mg/dL were more than 12 times as likely to develop a surgical site infection compared to those at 110 mg/dL or below. Even moderately elevated readings between 111 and 140 mg/dL carried more than three times the infection risk. For people recovering from abdominal surgery specifically, blood sugar above 140 mg/dL was the single strongest predictor of wound infection.

How Long It Typically Lasts

For people without diabetes, stress-related blood sugar spikes are usually transient. Most cases appear within the first 24 hours. A smaller group, about 6%, develops high blood sugar on the second day, and only around 3% see it emerge on the third day. The peak of the problem tends to fall within the first 72 hours.

If you had well-controlled diabetes before surgery, expect your numbers to run higher than usual for several days to a week. Your pre-surgery insulin or medication routine may not be enough during this window, and adjustments are normal. If your blood sugar hasn’t started trending back toward your usual range within a week or so, that’s worth a conversation with your care team.

Steps You Can Take at Home

Check More Frequently

If you normally check your blood sugar a few times a day, increase to every two to three hours during the first few days of recovery. If you use a continuous glucose monitor, watch it closely rather than relying on periodic glances. Frequent monitoring helps you catch a rising trend before it becomes a problem and gives you the data you need to adjust.

Stay Hydrated

High blood sugar pulls water from your tissues and increases urination, which can lead to dehydration surprisingly fast, especially when you’re also recovering from surgery. Drink water consistently throughout the day. If nausea makes that difficult, take small sips every 15 minutes rather than trying to drink large amounts at once. Stick to sugar-free liquids.

Adjust Your Eating Pattern

Your body needs fuel to heal, so skipping meals isn’t the answer. Instead, focus on the type of food you eat. Choose slow-digesting carbohydrates like whole grains, beans, and non-starchy vegetables over white bread, juice, crackers, or sweetened foods. Keep carbohydrate portions moderate, roughly 30 grams per meal. Include protein and healthy fats at every meal and snack, as these slow down glucose absorption and don’t trigger the same insulin spikes that refined carbohydrates do. Spacing meals three to four hours apart helps prevent the sharp peaks and valleys that make blood sugar harder to control.

Talk to Your Doctor About Medication

If your blood sugar stays above 300 mg/dL for two to three days despite your efforts, medication changes are likely needed. For people on long-acting insulin who keep waking up with high readings, a modest increase of a few units per day is a common adjustment. For those on mealtime insulin, small increases before meals can help with post-eating spikes. These changes should be made with your prescriber’s guidance, not guessed at, since surgery also changes how much you’re eating and moving.

If you take oral diabetes medications, some may have been paused before surgery. Check with your surgical team or endocrinologist about when to restart them.

Warning Signs That Need Urgent Attention

Most post-surgical blood sugar spikes resolve on their own or with minor adjustments. But certain situations require prompt medical contact:

  • Blood sugar above 300 mg/dL that doesn’t come down after correction with insulin or fluids, especially if it persists for more than a few hours
  • Ketones in your urine, which you can check with over-the-counter test strips. If your blood sugar is above 240 mg/dL, check for ketones every three hours. Moderate or large ketone levels need medical attention
  • Confusion, extreme drowsiness, or difficulty staying awake, which can signal dangerously high blood sugar affecting your brain
  • Persistent vomiting or inability to keep fluids down, which accelerates dehydration and can rapidly worsen hyperglycemia
  • Signs of wound infection alongside high blood sugar, including redness spreading from the incision, warmth, increasing pain, or drainage that looks cloudy or smells foul

People Without Diabetes Can Be Affected Too

One of the more surprising aspects of post-surgical blood sugar spikes is that they frequently hit people who had completely normal glucose levels before their operation. Researchers call this “stress hyperglycemia,” and it’s driven entirely by the hormonal surge of surgery rather than by an underlying metabolic problem. In studies tracking general surgery patients, about one in four developed blood sugar above 140 mg/dL within the first day, and most of those had no prior diabetes diagnosis.

If this is happening to you and you’ve never dealt with blood sugar issues before, it doesn’t necessarily mean you have diabetes. But it does mean your body is under significant stress, and keeping glucose in a reasonable range will help your recovery. It’s also worth getting your hemoglobin A1C checked at a follow-up appointment, since surgery sometimes unmasks prediabetes or early diabetes that was previously undetected.

Why Managing It Matters for Healing

Persistently high blood sugar does two things that directly slow your recovery. First, it impairs your immune system’s ability to fight off bacteria at the surgical site. White blood cells don’t function as effectively when surrounded by excess glucose, which is why infection rates climb so steeply with higher blood sugar levels. Second, elevated glucose interferes with the cellular processes that rebuild tissue, meaning your incision takes longer to close and strengthen.

Keeping your blood sugar in the 100 to 180 mg/dL range during the first week of recovery isn’t just a number on a screen. It translates directly into lower odds of needing antibiotics for a wound infection, shorter healing time, and a smoother overall recovery. The effort you put into monitoring, hydration, and eating well during these first few days pays off in ways you’ll feel weeks later.