Type 2 Diabetes and Sleep: What’s the Connection?

If you have type 2 diabetes, you probably pay attention to what you eat and try to stay physically active. But there is another important component of managing your condition that you may not always prioritize: sleep.
You may have heard that making sure you get good sleep is an important part of staying healthy, particularly if you have type 2 diabetes. But what exactly is the connection between diabetes and sleep, does diabetes cause insomnia, and why should sleep be considered a crucial pillar in managing the condition? Here’s what you need to know.
Sleep and Insulin Resistance
Sleep is also essential for hormone regulation, and insulin is a hormone. “In general, poor sleep plays a role in insulin resistance,” says Bidwell, which occurs when your body has difficulty using insulin to move glucose from your blood into cells. This can result in high blood sugar. “If you are struggling to gain control of your blood glucose, looking at your sleep and doing what you can to get the recommended seven-plus hours can be a game changer,” Bidwell says.
While it’s not clearly understood why sleeping longer may be detrimental to your health, there are many potential hormonal changes that occur with sleep loss. “There is a biochemical cascade driven by inflammatory substances, such as cytokines, after sleep loss that can set someone up for insulin resistance,” notes Bidwell. What’s more, as the aforementioned research points out, sleep deprivation activates your sympathetic nervous system, responsible for your fight-or-flight stress response, which can also decrease insulin sensitivity. This is an area of ongoing research.
How Uncontrolled Blood Sugar Can Disrupt Sleep
The Link Between Sleep Apnea and Type 2 Diabetes
The relationship between type 2 diabetes and OSA is complex. First, obesity is a major risk factor for both conditions. Second, OSA may lead to increases in blood glucose due to increases in stress hormones. Third, type 2 diabetes may worsen OSA via damage to nerves involved in respiration.
How Sleep Impacts a Healthy Diet and Weight Loss
There are two main hunger hormones: leptin, which turns off your appetite, and ghrelin, which stimulates hunger. “When you don’t sleep well, leptin goes down, and ghrelin goes up,” says Bidwell. The result is that you’re less satisfied with the food you’re eating but also hungrier, particularly for sugary foods and other simple carbohydrates that can be easy sources of quick energy for the body and brain. “People say, ‘I have all these cravings, and I have no willpower,’” she notes. “It’s rarely ever just about willpower; there are other factors, like lack of sleep, setting people up for not being as successful as they could be.”
8 Ways to Sleep Better When You Have Diabetes
Next up video playing in 10 seconds
How to Improve Your Sleep if You Have Diabetes
Here’s what Reynolds advises patients to do to get better sleep with type 2 diabetes.
- Set a bedtime and wake time. “On the weekend, you might sleep in, and then the Monday blues set in, and it’s tough to get up. So keep a set wake and bedtime for every day, which is important for sleep quality,” she says.
- Go screen-free. The time to scroll through your phone is not when you climb into bed, as blue light suppresses melatonin, a hormone necessary for falling asleep.
- Exercise. Physical activity not only helps improve insulin sensitivity by encouraging muscle cells to take up blood glucose for energy, but it is also associated with better sleep.
- Clean up your sleep hygiene. Keep your room dark, cool, and quiet to set the stage for a restful night (and waking up less).
- Find your wind-down routine. Take a warm shower, do a relaxing skin-care routine, read a book, or write in a journal — whatever helps you prepare for bed. Keeping a mood journal (writing about your feelings and emotions) can play a role in decreasing anxiety surrounding chronic conditions like diabetes.
- Drink smart. Avoid caffeine at least eight hours before bedtime, and don’t drink alcohol before bed. Both can cut into sleep quality, says Reynolds.
- Avoid having a heavy meal. Not only can heavy meals impact your blood sugar levels, but eating one close to bedtime can keep your blood sugar high overnight, which will affect the quality of your sleep, says Reynolds.
The Takeaway
- Sleep plays an important role in managing type 2 diabetes.
- Getting less than five hours per night or more than eight is associated with a higher A1C level.
- Poor sleep can make it harder for your body to use insulin effectively.
- Lack of sleep can also increase the level of a hormone that makes you feel hungry, so you may overeat or choose foods that make your blood sugar spike.

Elise M. Brett, MD
Medical Reviewer
Dr. Brett practices general endocrinology and diabetes and has additional certification in neck ultrasound and fine-needle aspiration biopsy, which she performs regularly in the office. She is voluntary faculty and associate clinical professor at the Icahn School of Medicine at Mount Sinai. She is a former member of the board of directors of the American Association of Clinical Endocrinology. She has lectured nationally and published book chapters and peer reviewed articles on various topics, including thyroid cancer, neck ultrasound, parathyroid disease, obesity, diabetes, and nutrition support.

Jessica Migala
Author
Jessica Migala is a freelance writer with over 15 years of experience, specializing in health, nutrition, fitness, and beauty. She has written extensively about vision care, diabetes, dermatology, gastrointestinal health, cardiovascular health, cancer, pregnancy, and gynecology. She was previously an assistant editor at Prevention where she wrote monthly science-based beauty news items and feature stories.
She has contributed to more than 40 print and digital publications, including Cosmopolitan, O:The Oprah Magazine, Real Simple, Woman’s Day, Women’s Health, Fitness, Family Circle, Health, Prevention, Self, VICE, and more. Migala lives in the Chicago suburbs with her husband, two young boys, rescue beagle, and 15 fish. When not reporting, she likes running, bike rides, and a glass of wine (in moderation, of course).
- Your Heart and Diabetes. Centers for Disease Control and Prevention. May 15, 2024.
- About Sleep. Centers for Disease Control and Prevention. May 15, 2024.
- Mokhlesi B, Temple KA, Tjaden AH, et al. Association of Self-Reported Sleep and Circadian Measures With Glycemia in Adults With Prediabetes or Recently Diagnosed Untreated Type 2 Diabetes. Diabetes Care. July 2019.
- Healthy Weight. Centers for Disease Control and Prevention. May 15, 2024.
- Antza C, Kostopoulos G, Mostafa S, et al. The links between sleep duration, obesity and type 2 diabetes mellitus. The Journal of Endocrinology. November 2, 2021.
- Diabetes symptoms: When diabetes symptoms are a concern. Mayo Clinic. June 27, 2023.
- Hypoglycemia: Nocturnal. Johns Hopkins Medicine.
- Diabetes and Mental Health. Centers for Disease Control and Prevention. May 15, 2024.
- Fang H, Tu S, Sheng J, et al. Depression in sleep disturbance: A review on a bidirectional relationship, mechanisms and treatment. Journal of Cellular and Molecular Medicine. April 2019.
- Pacheco D et al. Lack of Sleep and Diabetes. Sleep Foundation. October 26, 2023.
- FDA Approves First Medication for Obstructive Sleep Apnea. U.S. Food and Drug Administration. December 20, 2024.
- Al Khatib HK, Harding SV, Darzi J, et al. The effects of partial sleep deprivation on energy balance: a systematic review and meta-analysis. European Journal of Clinical Nutrition. May 2017.
- Zhu B, Quinn L, Kapella MC, et al. Relationship between sleep disturbance and self-care in adults with type 2 diabetes. Acta Diabetologica. June 21, 2018.
- Wang Y, Huang W, O’Neil A, et al. Association between sleep duration and mortality risk among adults with type 2 diabetes: a prospective cohort study. Diabetologia. November 1, 2020.
- Exercising for Better Sleep. Johns Hopkins Medicine.
- Journaling and Your Health. American Diabetes Association.