Type 2 Diabetes and Sleep: Causes of Diabetic Insomnia and What Helps

Diabetes supplies and sleep mask with alarm clocks representing diabetic insomnia

Key takeaways

  • Around 1 in 3 people with Type 2 diabetes have a related sleep disorder

  • Poor sleep raises blood sugar and reduces how well the body responds to insulin

  • Most sleep problems connected to diabetes are treatable once you know what is causing them


 

Around 1 in 3 people with Type 2 diabetes have a sleep disorder. Sleep problems are so common in people with diabetes that experts now describe the relationship as two-directional: diabetes disrupts sleep, and poor sleep makes blood sugar harder to manage.

A large study following over 1.2 million people from younger to older adults found that people newly diagnosed with type 2 diabetes had a significantly higher rate of developing sleep disorders within five years compared to those without diabetes

If you are not sleeping well and you have type 2 diabetes, your condition may be playing a larger role.

Can diabetes affect sleep?

Yes, in several ways. Symptoms and complications of Type 2 diabetes can affect how easily you fall asleep, how often you wake up, and how rested you feel in the morning. The most common are:

Excessive nighttime urination

When blood sugar is high, the kidneys filter more glucose out of the blood and pull extra water along with it. This leads to more urine production throughout the day and night.

Waking up once or twice to use the bathroom may not feel significant on its own, but more than 40% of people who wake at night to urinate have trouble falling back to sleep. Over weeks and months, that kind of fragmented sleep affects energy, mood, and blood sugar the following day.

Getting blood sugar into a better-controlled range often reduces how frequently this happens.

High and low blood sugar overnight

Blood sugar levels that are too high or too low can both disrupt sleep, though in different ways.

High blood sugar intensifies the need to urinate at night and disrupts the normal sleep stages your body cycles through. Low blood sugar, a condition called nocturnal hypoglycemia, can occur if you take insulin, a sulfonylurea, or a meglitinide. It triggers the release of stress hormones that can jolt you awake. 

Symptoms of nighttime low blood sugar include:

  • sweating

  • a racing heart

  • waking suddenly for no clear reason. 

  • Some people also notice vivid or unsettling dreams just before waking.

Blood sugar swings between high and low levels, known as glucose variability, are also linked to more nighttime waking, longer time to fall asleep, and overall poorer sleep quality.

If nocturnal hypoglycemia is waking you up regularly, speak with your doctor about whether your medication timing or dose could be adjusted.

Peripheral and diabetic neuropathy

Diabetes is the leading cause of peripheral neuropathy, affecting up to half of all people with diabetes and potentially more than half of those who have had the condition for over 10 years.

Peripheral neuropathy causes:

  • burning

  • tingling like “pins and needles”

  • numb

  • or aching in the feet and lower legs

These sensations tend to worsen when you are not moving, which makes falling and staying asleep harder. For some people, the discomfort is severe enough that the weight of a blanket on their feet is uncomfortable at bedtime.

If nerve pain is regularly affecting your sleep, there are treatment options beyond general sleep advice. It is worth raising with your doctor as a specific concern.

Restless leg syndrome (RLS)

Restless leg syndrome causes an uncomfortable urge to move the legs, usually described as a crawling or pulling sensation. Symptoms are worst in the evening and when sitting or lying still, which makes bedtime particularly difficult.

Between 7% and 10% of the US population has restless leg syndrome. Among people with Type 2 diabetes, that figure rises to approximately 1 in 4, more than double the general population rate. Because poor sleep is itself a risk factor for uncontrolled blood sugar, untreated RLS can make diabetes harder to manage.

Restless leg syndrome and peripheral neuropathy can feel similar, but they are different conditions with different treatments. If leg discomfort is keeping you up, ask your doctor about both.

Sleep apnea

More than half of people with Type 2 diabetes also have obstructive sleep apnea. Sleep apnea causes the airway to partially or fully close during sleep, which drops blood oxygen levels and briefly wakes the brain. This can happen dozens of times per hour without the person being fully aware of it.

A 2025 study published in Circulation Research, an American Heart Association journal, found that people with obstructive sleep apnea have a 37% higher risk of developing Type 2 diabetes, even after accounting for other risk factors.

Untreated sleep apnea raises cortisol and blood sugar overnight and reduces how well the body responds to insulin the following day. Treating it often improves blood sugar control alongside sleep quality.

Common signs include:

  • loud snoring

  • waking up gasping

  • morning headaches, 

  • feeling exhausted after a full night in bed. 

Many people with sleep apnea do not know they have it. If any of these sound familiar, ask your doctor about an evaluation.

For people with obesity, weight loss is one of the most effective ways to reduce sleep apnea severity. Our article on Zepbound and Sleep covers this in more detail.

Depression

People with diabetes have a significantly higher chance of developing depression than people without diabetes. In the United States, adults with diabetes are nearly twice as likely to experience depression compared to those without it  29.2% versus 17.9%, according to CDC data.

While depression is often associated with sleeping too much, it is also one of the more common causes of insomnia and poor sleep quality. Among people with depression, 75% have trouble falling or staying asleep.

If you have been feeling persistently low, lost interest in things you normally enjoy, or noticed significant changes in appetite or energy alongside your sleep problems, depression may be a contributing factor. It is worth raising with your doctor, since treating depression often improves sleep as well.

Can diabetes cause insomnia?

Yes. People with Type 2 diabetes are significantly more likely to experience insomnia and general sleeplessness than those without the condition.

A meta-analysis of 78 studies found that 39% of people with Type 2 diabetes experience insomnia symptoms, and those with insomnia had significantly higher fasting blood glucose and HbA1c levels than those without sleep problems. 

This means poor sleep and poor blood sugar control tend to reinforce each other over time. Poor sleep raises blood sugar, and high blood sugar makes sleep harder. The NIDDK notes that sleep disturbances carry a diabetes risk comparable to having a family history of the condition.

In most cases, diabetic insomnia is driven by one or more of the conditions above rather than being a standalone sleep disorder. That connection between blood sugar and sleep quality runs deeper than most people expect, which is covered in the next section.

How poor sleep affects blood sugar 

Sleep loss changes how the body handles glucose, even in people without diabetes.

A 2024 randomized trial conducted at Columbia University and published in Diabetes Care found that cutting sleep to just over 6 hours per night for six weeks increased insulin resistance by nearly 15% in women, with no changes to diet or activity. Postmenopausal women saw an even larger effect, more than 20%.

Poor sleep also raises cortisol, a stress hormone that signals the liver to release stored glucose.

Over time, consistently poor sleep can push A1C higher, making blood sugar harder to manage even when diet and medication stay consistent.

Sleep also affects appetite. Sleep loss raises ghrelin, the hormone that drives hunger, and lowers leptin, the hormone that signals fullness. For someone managing blood sugar through diet, those shifts make consistent food choices harder the following day.

For more on how specific sleep patterns affect blood sugar levels, see our article on how sleep deprivation affects blood sugar.

Also Read: Why Sleep Deprivation Can Lead to Serious Health Issues

How many hours should a person with diabetes sleep?

The standard recommendation for adults is 7 to 9 hours per night.

A meta-analysis of 10 prospective studies covering more than 447,000 adults found that sleeping fewer than 6 hours per night increased the risk of developing Type 2 diabetes by approximately 30% compared to those sleeping 7 hours.

Sleep timing matters too, not just total hours. Going to bed and waking at different times from day to day can impair how the body processes glucose even when total sleep time is adequate.

A study supported by the NHLBI found that shifting sleep schedules quickly lowers insulin sensitivity and raises the risk of developing Type 2 diabetes and prediabetes. Research has linked irregular sleep timing to higher blood sugar and greater insulin resistance in people with prediabetes and Type 2 diabetes.

Also Read: Why Do Women Need More Sleep Than Men?

Tips for better sleep with Type 2 diabetes

Good sleep hygiene makes a real difference for people with diabetes, both for sleep quality and for blood sugar control. Here are practical steps worth adding to your routine.

1. Monitor your blood sugar before bed

Checking your blood sugar before bed gives you a chance to correct levels that are too high or too low before they disrupt your sleep. If you use a continuous glucose monitor, reviewing overnight patterns with your doctor can also help identify what is waking you up.

2. Be mindful of what you eat in the evening

Large or high-carbohydrate meals close to bedtime cause blood sugar spikes that affect sleep quality. A lighter evening meal with lean protein and non-starchy vegetables, eaten at least two to three hours before bed, supports more stable overnight blood sugar. A short walk after dinner can also help bring blood sugar down before you sleep.

3. Cut off alcohol and caffeine early

Alcohol reduces sleep quality, worsens sleep apnea, and can trigger low blood sugar overnight in people on certain medications. Caffeine consumed within six hours of bedtime can delay how quickly you fall asleep and lighten overall sleep depth.

4. Keep a consistent sleep schedule

Going to bed and waking at the same time every day, including weekends, helps stabilize the body's internal clock. Research has found that irregular sleep timing is associated with higher A1C levels and greater insulin resistance in people with diabetes. Keeping a regular wake time is one of the more effective ways to anchor that rhythm over time.

5. Get checked for sleep apnea

Many people with Type 2 diabetes have sleep apnea and do not know it. If you snore loudly, wake up gasping, or feel unrested despite enough time in bed, ask your doctor about an evaluation. Treating sleep apnea can improve both sleep quality and blood sugar control.

If you are seeking natural sleep aids to improve your sleep at night without melatonin, Sip2Sleep® is a suitable option to discuss with your healthcare provider for compatibility with your overall plan.

Sip2Sleep® Natural Nightly Sleep Supplement | 30 - Day Supply - Sip2Sleep

When to see a doctor

Talk to your healthcare team if:

  • You have trouble falling or staying asleep more than three nights a week for two weeks or longer

  • You regularly wake up sweating, with a racing heart, or for no clear reason

  • Leg pain or discomfort is keeping you awake at night

  • You or a bed partner has noticed snoring, gasping, or pauses in breathing during sleep

  • You feel excessively tired during the day despite spending enough time in bed

  • Your blood sugar or A1C has become harder to manage alongside worsening sleep

Frequently asked questions

Can diabetes cause insomnia?

Yes. High blood sugar, nerve pain, frequent urination, nighttime low blood sugar, and restless legs can all disrupt sleep in ways that meet the criteria for insomnia. Identifying the specific cause is usually more effective than treating the insomnia alone.

Why do people with diabetes wake up in the middle of the night?

The most common reasons are frequent urination from high blood sugar, nighttime low blood sugar from insulin or sulfonylureas, nerve discomfort in the legs, and undiagnosed sleep apnea. Your doctor can help identify which is most likely based on your medications, blood sugar patterns, and symptoms.

Does high blood sugar make it hard to sleep?

Yes. High blood sugar increases urinary frequency at night, can cause physical restlessness, and disrupts normal sleep stages. Some people also feel overheated or experience increased thirst when blood sugar is elevated overnight.

Can better sleep lower blood sugar?

Yes, getting enough sleep improves insulin sensitivity and reduces the stress hormones that raise blood sugar overnight. While sleep will not replace medication or dietary management, it is a meaningful part of blood sugar control.

Does diabetes cause fatigue?

Yes. Fatigue is common in people with Type 2 diabetes and can come from high blood sugar, poor sleep quality, anemia, depression, or other related conditions. If tiredness is significantly affecting your daily life, it is worth discussing with your doctor to find the specific cause.

Can metformin affect sleep?

Metformin does not commonly cause insomnia, but some people do report sleep changes after starting it. If you noticed changes in your sleep around the time you began a new diabetes medication, let your doctor know. They can help determine whether it is related and suggest alternatives if needed.

Note: This article is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult your doctor before making any changes to your medication or treatment plan.


About the author

Dr. Ruchir P. Patel, MD, FACP, is the Medical Director of the Insomnia and Sleep Institute of Arizona and the founder of Sip2Sleep. He is triple board-certified in sleep medicine, obesity medicine, and internal medicine. Dr. Patel is a multi-year Phoenix Magazine Top Doctor and holds the Inspire Excellence designation.

References

  1. Surani S, Brito V, Surani A, Ghamande S. Effect of diabetes mellitus on sleep quality. World J Diabetes. 2015 Jun 25;6(6):868-73. doi: 10.4239/wjd.v6.i6.868. PMID: 26131327; PMCID: PMC4478581. 

  2. Henson, J., Hernández Ibarburu, G., Drebert, Z., Slater, T., Hall, A. P., Khunti, K., Sargeant, J. A., Zaccardi, F., Davies, M. J., & Yates, T. (2024). Sleep disorders in younger and middle-older age adults with newly diagnosed type 2 diabetes mellitus: A retrospective cohort study in >1million individuals. Diabetes Research and Clinical Practice, 217, 111887. https://doi.org/10.1016/j.diabres.2024.111887

  3. Leslie SW, Sajjad H, Singh S. Nocturia. [Updated 2024 Feb 17]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2026 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK518987/

  4. Gardner D, Tan HC, Lim GH, Zin Oo M, Xin X, Rama Chandran S. Relationship between CGM-derived nocturnal hypoglycemia and subjective sleep quality in people with type 1 diabetes. Sci Rep. 2023 Nov 28;13(1):20887. doi: 10.1038/s41598-023-47351-x. PMID: 38017001; PMCID: PMC10684550. 

  5. Bodman MA, Dreyer MA, Varacallo MA. Diabetic Peripheral Neuropathy. [Updated 2024 Feb 25]. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2026 Jan-. Available from: https://www.ncbi.nlm.nih.gov/books/NBK442009/

  6. Zhu J, Hu Z, Luo Y, Liu Y, Luo W, Du X, Luo Z, Hu J and Peng S (2024) Diabetic peripheral neuropathy: pathogenetic mechanisms and treatment. Front. Endocrinol. 14:1265372. doi: 10.3389/fendo.2023.1265372

  7. Tasali, E., Pamidi, S., Covassin, N., & Somers, V. K. (2025). Obstructive sleep apnea and cardiometabolic disease: Obesity, hypertension, and diabetes. Circulation Research, 137(5). https://doi.org/10.1161/CIRCRESAHA.125.325676

  8. Koyama, A. K., Hora, I. A., Bullard, K. M., Benoit, S. R., Tang, S., & Cho, P. (2023). State-specific prevalence of depression among adults with and without diabetes — United States, 2011–2019. Preventing Chronic Disease, 20, 220407. https://doi.org/10.5888/pcd20.220407

  9. Johns Hopkins Medicine. (n.d.). Depression and sleep: Understanding the connection. https://www.hopkinsmedicine.org/health/wellness-and-prevention/depression-and-sleep-understanding-the-connection

  10. Koopman ADM, Beulens JW, Dijkstra T, Pouwer F, Bremmer MA, van Straten A, Rutters F. Prevalence of Insomnia (Symptoms) in T2D and Association With Metabolic Parameters and Glycemic Control: Meta-Analysis. J Clin Endocrinol Metab. 2020 Mar 1;105(3):614–43. doi: 10.1210/clinem/dgz065. PMID: 31603475; PMCID: PMC7110921. 

  11. Tasali, E., Pamidi, S., Covassin, N., & Somers, V. K. (2025). Obstructive sleep apnea and cardiometabolic disease: Obesity, hypertension, and diabetes. Circulation Research, 137(5). https://doi.org/10.1161/CIRCRESAHA.125.325676

  12. Zuraikat FM, Laferrère B, Cheng B, Scaccia SE, Cui Z, Aggarwal B, Jelic S, St-Onge MP. Chronic Insufficient Sleep in Women Impairs Insulin Sensitivity Independent of Adiposity Changes: Results of a Randomized Trial. Diabetes Care. 2024 Jan 1;47(1):117-125. doi: 10.2337/dc23-1156. PMID: 37955852; PMCID: PMC10733650. 

  13. National Heart, Lung, and Blood Institute. (2018, June 4). Study: Irregular sleep may raise diabetes risk by lowering insulin sensitivity. National Institutes of Health. https://www.nhlbi.nih.gov/news/2018/study-irregular-sleep-may-raise-diabetes-risk-lowering-insulin-sensitivityople with prediabetes and Type 2 diabetes.