High blood sugar can happen without diabetes, and the causes are different from what drives type 2 diabetes

High blood sugar—medically called hyperglycemia—does not always mean you have diabetes. Your glucose can spike temporarily or stay elevated for reasons that have nothing to do with insulin resistance or pancreatic function. Stress, infection, certain medications, hormonal changes, and even the way your body responds to illness can all raise blood sugar. Understanding which cause is at work matters because the treatment depends on fixing the underlying problem, not on managing diabetes itself.

The distinction matters practically. If a medication is raising your glucose, switching drugs may solve it. If an infection is the culprit, treating the infection brings glucose back down. If stress or a hormonal shift is responsible, the elevation often resolves on its own once the trigger passes. A doctor can run tests to separate temporary hyperglycemia from the pattern that defines diabetes—and that difference shapes what happens next.

Key Takeaways

  • Stress, infection, surgery, and certain medications can raise blood sugar without causing diabetes.
  • Hormonal changes during menopause, pregnancy, or thyroid disease can elevate glucose temporarily or persistently.
  • A single high reading or a few elevated readings do not diagnose diabetes; doctors look for a pattern over time.
  • Corticosteroids, some antipsychotics, and diuretics are common medications that can raise blood sugar as a side effect.

Stress and the fight-or-flight response

When you face a stressor—physical danger, emotional pressure, or even a medical procedure—your body releases hormones like cortisol and adrenaline. These hormones tell your liver to release stored glucose into the bloodstream, preparing muscles for action. This response is ancient and useful in a true emergency, but it raises blood sugar whether or not you have diabetes.

The effect is temporary in most people. Once the stressor passes, glucose returns to baseline. But chronic stress—ongoing work pressure, grief, financial strain—can keep cortisol elevated, which may sustain higher glucose levels over weeks or months. People without diabetes can see fasting glucose climb into the 110–130 mg/dL range during periods of sustained stress, even though their insulin response is normal.

This is why a single high reading at a doctor's visit does not diagnose diabetes. The stress of the appointment itself—sometimes called "white coat syndrome"—can raise glucose. Doctors account for this by ordering repeat tests or a fasting measurement taken at home, where stress is lower.

Infection and acute illness

Any active infection—urinary tract infection, pneumonia, abscess, or even a common cold—triggers an inflammatory response. Your immune system releases cytokines and other signaling molecules that cause the liver to release glucose and make cells less responsive to insulin temporarily. Blood sugar rises as part of the body's effort to fuel the immune response and fight the infection.

This hyperglycemia can occur in people with no history of diabetes and no underlying insulin resistance. A person with a urinary tract infection might see glucose spike to 180 mg/dL or higher, then return to normal once antibiotics clear the infection. Sepsis—a severe systemic infection—can cause dramatic glucose elevation even in young, healthy people.

Hospitalized patients without diabetes often show elevated glucose during their stay, which is why hospitals monitor blood sugar in all patients, not just those with a diabetes diagnosis. Once the infection resolves, glucose normalizes without any diabetes-specific treatment.

Medications that raise blood sugar

Corticosteroids are among the most common culprits. Prednisone, dexamethasone, and other steroids suppress inflammation and are used for conditions like asthma, autoimmune disease, and severe allergies. They also increase insulin resistance and cause the liver to release more glucose. Even a short course of steroids can raise fasting glucose by 20–50 mg/dL in some people. Longer courses or higher doses carry a higher risk.

Other medications that can elevate glucose include certain antipsychotics (like olanzapine and clozapine), some diuretics (water pills used for high blood pressure), beta-blockers (heart medications), and statins (cholesterol drugs)—though the statin effect is usually modest. Decongestants containing pseudoephedrine can also raise glucose acutely. If you start a new medication and notice your glucose climbing, tell your doctor; switching to an alternative or adjusting the dose may bring it back down.

Hormonal changes and endocrine conditions

Hormones regulate glucose metabolism at multiple points. During menopause, the drop in estrogen can worsen insulin resistance, raising fasting glucose and glucose after meals. Some women see their glucose climb 10–20 mg/dL during the menopausal transition, even without developing diabetes. The effect usually stabilizes after menopause ends, though some women remain at higher baseline glucose.

Pregnancy brings a different hormonal shift. Placental hormones—particularly human placental lactogen—reduce insulin sensitivity in the second and third trimesters. This is normal and expected; it ensures the fetus gets enough glucose. Some pregnant people develop gestational diabetes, which is hyperglycemia that appears only during pregnancy and resolves after delivery. Others show elevated glucose without meeting the diagnostic threshold for gestational diabetes.

Thyroid disease, particularly hyperthyroidism (overactive thyroid), can raise glucose by increasing metabolic rate and insulin resistance. Polycystic ovary syndrome (PCOS), a hormonal condition affecting people with ovaries, is associated with insulin resistance and elevated glucose in roughly 30–40% of people with the condition, even without diabetes. Cushing's syndrome, caused by excess cortisol, reliably raises blood sugar and can cause diabetes-like hyperglycemia.

Pancreatitis and pancreatic disease

The pancreas produces insulin, but it also produces digestive enzymes. When the pancreas becomes inflamed—acute pancreatitis—or is damaged by chronic inflammation, scarring, or cystic fibrosis, it may not produce enough insulin even though the person does not have diabetes in the traditional sense. Glucose rises because insulin supply is low, not because cells are resistant to it.

Acute pancreatitis causes temporary hyperglycemia that resolves as inflammation subsides. Chronic pancreatitis or pancreatic cancer can cause persistent hyperglycemia that resembles diabetes but stems from pancreatic damage rather than the metabolic pattern that defines type 2 diabetes. A doctor can distinguish this by measuring C-peptide (a marker of insulin production) and reviewing imaging of the pancreas.

Liver disease and impaired glucose regulation

The liver stores glucose as glycogen and releases it between meals to maintain stable blood sugar. Liver disease—cirrhosis, hepatitis, fatty liver disease—can impair this regulation. The liver may release glucose too readily, raising fasting glucose, or fail to clear glucose efficiently from the bloodstream after a meal. Some people with advanced liver disease show glucose in the diabetic range without having diabetes.

Liver disease also reduces the production of proteins that regulate glucose metabolism, compounding the problem. If you have known liver disease and your glucose is elevated, your doctor will assess whether the elevation is due to liver dysfunction, insulin resistance, or both.

When high blood sugar does not mean diabetes

Diabetes is defined by a specific pattern: fasting glucose of 126 mg/dL or higher on two separate occasions, or a two-hour glucose of 200 mg/dL or higher during an oral glucose tolerance test, or an HbA1c (average glucose over three months) of 6.5% or higher. A single high reading, or high readings that appear only during stress or illness, do not meet this definition.

If your glucose is elevated but you do not meet the diagnostic criteria for diabetes, your doctor will look for the cause. They may order tests for thyroid function, cortisol, pancreatic enzymes, or liver function. They may ask about recent infections, new medications, or major life stressors. Once the cause is identified, treatment targets that cause rather than treating you as if you have diabetes.

That said, elevated glucose—even without diabetes—is worth taking seriously. It can signal an underlying condition that needs attention, and persistently high glucose over time increases risk for heart disease and other complications. Your doctor may recommend monitoring your glucose periodically, lifestyle changes like improved diet and exercise, or treatment of the underlying cause.

Frequently Asked Questions

Can stress alone cause my blood sugar to stay high?

Acute stress raises glucose temporarily, but it usually returns to baseline once the stressor passes. Chronic stress can keep glucose elevated over weeks or months because cortisol remains high. If your glucose stays elevated after the stressor resolves, the cause is likely something else—a medication, infection, or metabolic condition—and your doctor should investigate.

If my blood sugar is high during an infection, does that mean I have diabetes?

No. Infections raise glucose in people without diabetes as part of the immune response. Once the infection clears, glucose typically returns to normal. Diabetes is diagnosed based on glucose levels when you are well, not during acute illness. Your doctor will retest after you recover.

Can I have high blood sugar from a medication without developing diabetes?

Yes. Some medications raise glucose as a side effect but do not cause the underlying insulin resistance or pancreatic dysfunction that defines diabetes. If you stop the medication or switch to an alternative, glucose often normalizes. Tell your doctor if a new medication coincides with elevated glucose readings.

What is the difference between high blood sugar and prediabetes?

Prediabetes is a diagnosis based on fasting glucose of 100–125 mg/dL or HbA1c of 5.7–6.4%, measured on repeat tests. It reflects a pattern of impaired glucose regulation over time. A single or occasional high reading, or high readings only during illness or stress, is not prediabetes. Prediabetes carries risk for developing type 2 diabetes and warrants lifestyle changes and monitoring.

Should I change my diet if my blood sugar is high but I do not have diabetes?

That depends on the cause. If your glucose is high only during stress or illness, dietary changes may not help until the underlying trigger resolves. If the cause is a medication or hormonal condition, diet alone usually will not normalize glucose. Your doctor can advise whether dietary changes are useful in your situation and what other steps might help.