Medically reviewed on September 30, 2022 by Karen Janson, MS, MD. To give you technically accurate, evidence-based information, content published on the Everlywell blog is reviewed by credentialed professionals with expertise in medical and bioscience fields.
Table of contents
Infection and high blood sugar often go hand in hand. When your body is fighting an illness, your organs require more energy to battle the invading pathogen. This requires more glucose to be released into the bloodstream. If you have diabetes, however, a blood sugar spike caused by infection can lead to additional complications.
Can infection cause high blood sugar? Yes, but you can also take steps to keep your blood sugar levels manageable. Keep reading to learn more about how and why infection can cause high blood sugar levels and how maintaining homeostasis may keep potentially dangerous side effects at bay.
Infection is stressful to the body. In addition to the telltale fever and surge in antibody activity, the body responds to illness by releasing stress hormones such as epinephrine (adrenaline) and cortisol. These hormones, in part, increase blood glucose levels and insulin levels to provide enough fuel for the body to win the battle.
If an individual is otherwise healthy, this rise in blood glucose is not something to worry about and levels return to normal as the illness resolves. If you have diabetes, however, the change in blood sugar can potentially trigger other serious health problems.
Diabetes is the body’s inability to control blood sugar levels due to a lack of insulin production (type 1 diabetes) or the development of insulin resistance (type 2 diabetes). When your body is unable to use insulin to maintain normal blood sugar levels, the resulting hyperglycemia (excess sugar) can bring about serious health problems.
If you have diabetes, or are at risk for diabetes, it’s important to take extra care of your health to maintain balance in the body. Homeostasis is sustained through monitoring, lifestyle choices, and medications that help keep your blood sugar regulated.
People with diabetes are prone to more frequent, and more serious, infectious diseases than those without blood glucose control problems. In addition, some infections appear to occur most frequently in diabetic patients, or have special characteristics when they develop in these patients.  These infections include:
Elevated blood sugar levels are thought to impair many of the body’s natural immune defenses, increasing the risk of viral, bacterial, fungal, and parasitic infections. The rise in blood glucose level that occurs with each new infection worsens this effect.
Despite your best efforts, additional internal and external factors may cause your blood sugar levels to rise. Here are some triggers that can raise your blood sugar, according to the CDC: 
Maintaining a healthy lifestyle and keeping a close eye on your blood glucose level through testing can help keep your blood sugar in check. Those healthy habits can also give a boost to other areas of the body, promoting holistic wellness.
Preventing illness, by minimizing risk factors, is the best way to avoid the infection–elevated blood sugar–infection cycle. Certain steps are recommended for diabetics to lower their HbA1c (a measure of their average blood sugar levels the past three months) and avoid infection: 
Even when we do our best to stay well, sometimes we just can’t avoid illness. If you find yourself down and out with an infection, the CDC recommends the following tips for a quick recovery: 
If you are diabetic, you should also:
If you notice more serious symptoms, such as a change in alertness, temperature over 101, trouble breathing, excessive vomiting and/or diarrhea, sudden weight loss, low blood sugar, or urinary ketones, seek medical attention. If left untreated, abnormal blood sugar levels may lead to more threatening conditions such as diabetic ketoacidosis, hypoglycemia, a blood infection or sepsis, or coma. 
Can infection cause high blood sugar? Yes, but you can do your part to give your body the tools it needs to fight infection while keeping your glucose at manageable levels. Glucose testing and Everlywell HbA1c test kits will help you understand your glycemic control.
At Everlywell, we empower you to take control of your health and wellness with our line of at-home tests and nutritional supplements. Through early detection, monitoring, and wellness support, we can aid you on your path to a healthier tomorrow.
Does caffeine affect blood sugar?
Can stress raise blood sugar levels?
Can high blood sugar cause headaches?